@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap");
:root {
  --paper: #faf8f3;
  --white: #fffefa;
  --ink: #273c32;
  --muted: #696e65;
  --terra: #a84f36;
  --terra-hover: #8c3c28;
  --line: #dedfd3;
  --sage: #e7ebdf;
  --peach: #f0e4d7;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 20px;
  height: 20px;
  flex: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 12px 20px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  transform: translateY(0);
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.19em;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.serif {
  font-family: var(--display);
}
.section-heading {
  font: 400 clamp(38px, 4.2vw, 58px)/1.07 var(--display);
  letter-spacing: -0.035em;
}
.section-heading em {
  color: var(--terra);
  font-weight: 400;
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}
.section-top .eyebrow {
  margin-bottom: 15px;
}
.section-top > p {
  max-width: 340px;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 550;
}
.text-link:hover {
  color: var(--terra);
  border-color: var(--terra);
}
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--terra);
  color: #fffaf5;
  font-size: 12px;
  font-weight: 550;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.button:hover {
  background: var(--terra-hover);
  transform: translateY(-2px);
}
.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.button.secondary:hover {
  background: var(--sage);
}
.button.green {
  background: var(--ink);
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--sage);
}
.site-header {
  height: 88px;
  position: relative;
  z-index: 25;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 38px/0.9 var(--display);
  letter-spacing: -2px;
}
.brand svg {
  width: 31px;
  height: 35px;
  color: var(--terra);
}
.brand small {
  font: 500 8px/1 var(--sans);
  letter-spacing: 0.14em;
  display: block;
  margin-top: 8px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}
.nav-links a {
  padding: 12px 0;
  position: relative;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--terra);
}
.nav-links a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--terra);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.region-select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  max-width: 140px;
  min-height: 44px;
  cursor: pointer;
}
.nav-actions .button {
  min-height: 44px;
  padding: 10px 18px;
}
.menu-button {
  display: none;
}
.mobile-menu {
  display: none;
}
.studio-footer {
  border-top: 1px solid var(--line);
  padding: 55px 0 24px;
}
.footer-upper {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 42px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 12px;
  max-width: 255px;
  margin-top: 17px;
}
.footer-links {
  display: flex;
  gap: 80px;
}
.footer-links > div {
  display: grid;
  gap: 9px;
  align-content: start;
  font-size: 12px;
}
.footer-links b {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: var(--terra);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.footer-bottom span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-bottom svg {
  width: 12px;
  height: 12px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 26px;
}
.template-card {
  min-width: 0;
  animation: card-in 0.35s var(--ease) both;
}
.template-image {
  position: relative;
  background: #eae7df;
  padding: 25px;
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 1/0.99;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.template-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, #fff8 0, transparent 65%);
  z-index: -1;
}
.template-image[data-tone="rose"] {
  background: #e9ddd5;
}
.template-image[data-tone="green"] {
  background: #dce2d6;
}
.template-image[data-tone="sand"] {
  background: #e9e1d1;
}
.template-image[data-tone="blue"] {
  background: #dde2e2;
}
.preview-paper {
  width: 192px;
  height: 307.2px;
  position: relative;
  box-shadow: 0 12px 22px #2b302122;
  transition: transform 0.5s var(--ease);
  transform: rotate(-4deg);
  flex: none;
}
.template-card:nth-child(even) .preview-paper {
  transform: rotate(4deg);
}
.template-card:hover .preview-paper {
  transform: rotate(0) translateY(-5px);
}
.preview-render {
  position: absolute;
  left: 0;
  top: 0;
  width: 400px;
  height: 640px;
  transform: scale(0.48);
  transform-origin: top left;
  pointer-events: none;
}
.template-badge-hot {
  background: #7a1430 !important;
  color: #fff7e8 !important;
  border-color: transparent !important;
  font-weight: 600;
}
.template-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 8px;
  letter-spacing: 0.11em;
  background: #fffdf4e8;
  border: 1px solid #fff8;
  padding: 5px 8px;
  border-radius: 3px;
  z-index: 2;
}
.save-template {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fffc;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: background 0.2s;
}
.save-template svg {
  width: 16px;
  height: 16px;
}
.save-template:hover {
  background: white;
}
.save-template[aria-pressed="true"] {
  color: var(--terra);
}
.save-template[aria-pressed="true"] svg {
  fill: var(--terra);
}
.preview-template {
  position: absolute;
  bottom: 15px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: #fffdf4ee;
  border-radius: 3px;
  min-height: 34px;
  padding: 7px 11px;
  font-size: 10px;
  z-index: 3;
}
.preview-template svg {
  width: 13px;
  height: 13px;
}
.template-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 17px;
  align-items: center;
}
.template-name {
  font: 500 25px/1.2 var(--display);
  letter-spacing: -0.02em;
}
.template-sub {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
.template-open {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
}
.template-open:hover {
  background: var(--ink);
  color: white;
}
.template-open svg {
  width: 17px;
  height: 17px;
}
.collection-price {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.collection-price a {
  color: var(--terra);
  font-weight: 550;
}
.collection-price a:hover {
  text-decoration: underline;
}
.toast-studio {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  border-radius: 5px;
  transition: 0.2s;
  max-width: 90vw;
}
.toast-studio.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.studio-dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  max-width: min(820px, 94vw);
  width: 820px;
  max-height: 92svh;
  box-shadow: 0 30px 100px #0003;
}
.studio-dialog::backdrop {
  background: #18291ee0;
  backdrop-filter: blur(6px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.dialog-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
}
.dialog-preview {
  display: grid;
  place-items: center;
  background: var(--peach);
  padding: 30px;
  overflow: hidden;
}
.dialog-preview .preview-paper {
  transform: none;
}
.dialog-copy {
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.dialog-copy h2 {
  font: 400 38px/1.05 var(--display);
}
.dialog-copy p {
  font-size: 13px;
  color: var(--muted);
}
.dialog-copy ul {
  padding-left: 17px;
  font-size: 12px;
  line-height: 2;
}
.dialog-copy .eyebrow {
  font-size: 8px;
}
.dialog-copy .button {
  width: 100%;
}
.dialog-copy .fine-print {
  font-size: 10px;
  text-align: center;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.empty-state h2 {
  font: 36px var(--display);
}
.empty-state p {
  color: var(--muted);
  margin: 10px 0 20px;
}
.back-top {
  color: var(--terra);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .template-image {
    aspect-ratio: 1/1.04;
  }
  .preview-paper {
    width: 216px;
    height: 345.6px;
  }
  .preview-render {
    transform: scale(0.54);
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .nav-links {
    gap: 20px;
  }
  .nav-actions {
    gap: 10px;
  }
  .template-image {
    padding: 30px 10px;
  }
  .preview-paper {
    width: 164px;
    height: 262.4px;
  }
  .preview-render {
    transform: scale(0.41);
  }
  .template-name {
    font-size: 23px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 76px;
  }
  .brand {
    font-size: 34px;
  }
  .brand svg {
    width: 26px;
  }
  .brand small {
    font-size: 7px;
  }
  .nav-links {
    display: none;
  }
  .menu-button {
    display: grid;
  }
  .nav-actions > .button {
    display: none;
  }
  .mobile-menu.open {
    display: grid;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    gap: 0;
    background: var(--paper);
    padding: 10px 20px 25px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px #0001;
  }
  .mobile-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .button {
    margin-top: 16px;
    border-bottom: 0;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .template-image {
    aspect-ratio: 1/1.1;
  }
  .section-top {
    align-items: start;
  }
  .section-top > p {
    max-width: 240px;
  }
  .footer-links {
    gap: 35px;
  }
  .preview-paper {
    width: 180px;
    height: 288px;
  }
  .preview-render {
    transform: scale(0.45);
  }
}
@media (max-width: 550px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .section-heading {
    font-size: 40px;
  }
  .section-top {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 27px;
  }
  .section-top > p {
    max-width: 100%;
  }
  .region-select {
    max-width: 112px;
    font-size: 10px;
  }
  .nav-actions {
    gap: 8px;
  }
  .icon-button {
    width: 40px;
    height: 40px;
  }
  .collection-grid {
    gap: 26px 12px;
  }
  .template-image {
    padding: 25px 5px;
    aspect-ratio: 1/1.38;
    border-radius: 5px;
  }
  .preview-paper {
    width: 132px;
    height: 211.2px;
  }
  .preview-render {
    transform: scale(0.33);
  }
  .template-badge {
    top: 9px;
    left: 8px;
    font-size: 6px;
    padding: 4px 5px;
  }
  .save-template {
    top: 5px;
    right: 4px;
    min-width: 36px;
    min-height: 36px;
  }
  .preview-template {
    right: 7px;
    bottom: 8px;
    min-height: 36px;
    font-size: 8px;
    padding: 5px 8px;
  }
  .template-name {
    font-size: 22px;
  }
  .template-meta {
    padding-top: 12px;
  }
  .template-open {
    width: 34px;
    height: 34px;
  }
  .template-sub {
    font-size: 9px;
  }
  .collection-price {
    font-size: 9px;
  }
  .collection-price a {
    font-size: 9px;
  }
  .footer-upper {
    flex-direction: column;
    gap: 35px;
  }
  .footer-links {
    justify-content: space-between;
  }
  .footer-bottom {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .footer-bottom > span:last-child {
    width: 100%;
  }
  .dialog-content {
    grid-template-columns: 1fr;
  }
  .dialog-preview {
    padding: 24px;
    min-height: 310px;
  }
  .dialog-preview .preview-paper {
    width: 165px;
    height: 264px;
  }
  .dialog-preview .preview-render {
    transform: scale(0.4125);
  }
  .dialog-copy {
    padding: 25px;
  }
  .dialog-copy ul {
    display: none;
  }
  .studio-dialog {
    width: 94vw;
  }
  .dialog-top {
    padding: 12px 18px;
  }
  .dialog-copy .button {
    min-height: 48px;
  }
  .dialog-copy h2 {
    font-size: 32px;
  }
  .dialog-copy {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.save-template {
  width: 44px;
  height: 44px;
}
.preview-template {
  min-height: 44px;
}
.template-open {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 550px) {
  .save-template {
    top: 3px;
    right: 3px;
    width: 44px;
    height: 44px;
  }
  .template-open,
  .collection-grid .template-open {
    width: 44px;
    height: 44px;
  }
  .template-name {
    font-size: 21px;
  }
  .hero-customise input {
    font-size: 18px;
  }
  .hero-description {
    font-size: 14px;
  }
  .video-format-badge {
    top: 50px;
    bottom: auto;
    left: 8px;
  }
  .template-badge {
    max-width: 100px;
    font-size: 6px;
  }
  .collection-price {
    flex-wrap: wrap;
    gap: 5px;
  }
  .dialog-copy p {
    font-size: 13px;
  }
}

/* The regular price, struck through beside the offer price. */
.mrp {
  opacity: 0.55;
  font-size: 0.8em;
  margin-right: 4px;
  text-decoration: line-through;
}

/* Policy pages: a calm reading column. */
.legal {
  max-width: 760px;
  padding-top: 140px;
  padding-bottom: 80px;
  line-height: 1.7;
}
.legal h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 400;
  margin: 8px 0 4px;
}
.legal h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  margin: 36px 0 8px;
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin: 6px 0;
}
.legal-kicker,
.legal-updated {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.legal-contact {
  margin-top: 40px;
}
.legal-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
