﻿/* Kurly Cakes. One stylesheet for the whole site.
   Grid: 12 columns on a centred axis. Spacing: multiples of 8px only.
   Frames: 4:5 portraits, 1:1 grids, 3:2 wide. Radius: 2px everywhere. */

@font-face { font-family: 'Noto Serif Display'; src: url(../fonts/noto-serif-display.woff2) format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Serif Display'; src: url(../fonts/noto-serif-display-italic.woff2) format('woff2'); font-weight: 700 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  /* colour */
  --ivory: #FBF7F2;
  --paper: #FFFDFA;
  --cream: #F5EDE4;
  --blush: #F2DDD7;
  --blush-deep: #E4BEB5;
  --lilac: #EEE8F3;
  --lilac-line: #A48FB8;
  --lilac-ink: #4F3A5E;
  --ink: #3A2422;
  --ink-2: #5E423E;
  --ink-deep: #2B1A18;
  --gold: #B89668;
  --gold-soft: rgba(184, 150, 104, .55);
  --line: rgba(58, 36, 34, .14);
  --field: #8C7470;
  --error: #9B2C2C;
  --on-dark: #FBF7F2;
  --on-dark-2: #E2D2C9;

  /* type */
  --serif: 'Noto Serif Display', 'Bodoni 72', Didot, Georgia, serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* spacing scale (8px base) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px;
  --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;

  --gut: 16px;
  --gap: 16px;
  --sec: 64px;
  --head: 72px;
  --r: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1312px;
}
@media (min-width: 768px) { :root { --gut: 32px; --gap: 24px; --sec: 96px; } }
@media (min-width: 1024px) { :root { --gut: 48px; --gap: 32px; --sec: 128px; --head: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + var(--s3)); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 1.125rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--blush-deep); color: var(--ink-deep); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s2); top: -100px; z-index: 200; background: var(--ink); color: var(--on-dark); padding: var(--s1) var(--s2); text-decoration: none; }
.skip:focus { top: var(--s2); }

/* ---------- grid ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s6); }
.grid > * { grid-column: 1 / -1; }
.center { text-align: center; display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s8); }

/* ---------- type ---------- */
.display, .h2, .h3, .h4 { font-family: var(--serif); color: var(--ink); text-wrap: balance; }
.display { font-weight: 800; font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5.5rem); line-height: 1.02; letter-spacing: -.012em; }
.display em, .h2 em { font-style: italic; font-weight: 700; }
.h2 { font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); line-height: 1.06; letter-spacing: -.01em; }
.h3 { font-weight: 700; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); line-height: 1.15; }
.h4 { font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.eyebrow { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.lede { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.6; color: var(--ink-2); }
p { max-width: 64ch; }

/* gold underline for text links */
.u, .nav a:not(.btn), .more {
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
  padding-bottom: 2px;
}
.u:hover, .more:hover { background-size: 100% 2px; }
.nav a:not(.btn) { background-size: 0 1px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 1px; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 56px; padding: 0 var(--s4);
  font: 600 1rem/1.2 var(--sans); letter-spacing: .04em; text-decoration: none; text-align: center;
  border: 1px solid var(--ink); border-radius: var(--r); cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn .ico { width: 20px; height: 20px; }
.btn-solid { background: var(--ink); color: var(--on-dark); }
.btn-solid:hover { background: var(--ink-deep); box-shadow: inset 0 -2px 0 var(--gold); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-dark); box-shadow: inset 0 -2px 0 var(--gold); }
.btn-sm { min-height: 48px; padding: 0 var(--s3); font-size: .9375rem; }
.more { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 600; font-size: 1rem; }
.more .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
a:hover > .more .ico, .more:hover .ico { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: var(--r); }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--head);
  background: var(--ivory); border-bottom: 1px solid transparent;
  transition: border-color .4s, background-color .4s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: var(--s3); }
.brand { grid-column: 2; display: block; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-soft); }
.logo { width: 56px; height: 56px; }
.nav { display: none; }
.nav ul { display: flex; gap: var(--s4); }
.nav a:not(.btn) { font: 600 .9375rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 6px; }
.menu-btn { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: var(--s1); min-height: 48px; padding: 0 var(--s1) 0 0; border: 0; background: none; cursor: pointer; font: 600 .875rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.header-order { grid-column: 3; justify-self: end; }
@media (max-width: 380px) { .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (min-width: 1024px) {
  .logo { width: 80px; height: 80px; }
  .menu-btn, .header-order { display: none; }
  .nav { display: flex; align-items: center; }
  .nav-l { grid-column: 1; justify-self: start; }
  .nav-r { grid-column: 3; justify-self: end; gap: var(--s4); }
}

/* menu sheet */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--ivory); padding: var(--s2) var(--gut) var(--s5); overflow-y: auto; display: flex; flex-direction: column; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--gold-soft); }
.menu-title { font: 600 .875rem var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.menu-links { padding: var(--s3) 0; }
.menu-links a { display: block; padding: var(--s1) 0; font: 700 2rem/1.25 var(--serif); text-decoration: none; }
.menu-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.menu-actions { display: grid; gap: var(--s2); margin-top: auto; }
.menu-contact { margin-top: var(--s3); text-align: center; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec-top0 { padding-top: 0; }
.sec-tint { background: var(--cream); }
.sec-head { text-align: center; max-width: 800px; margin: 0 auto var(--s8); display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.sec-head .lede { margin-top: var(--s1); }
.mark { display: block; width: 64px; height: 1px; background: var(--gold); margin-top: var(--s2); }
.rule { height: 1px; background: var(--gold-soft); }
.page-head { padding: var(--s10) 0 var(--s8); }
.page-head .sec-head { margin-bottom: 0; }
.page-head .center { margin-top: var(--s5); }
.page-head-tight { padding-bottom: var(--s6); }
@media (min-width: 1024px) { .page-head { padding: var(--s12) 0 var(--s10); } }

/* ---------- frames ---------- */
.frame { position: relative; display: block; overflow: hidden; background: var(--cream); border-radius: var(--r); }
.f-45 { aspect-ratio: 4 / 5; }
.f-11 { aspect-ratio: 1 / 1; }
.f-32 { aspect-ratio: 3 / 2; }
.frame picture, .frame img { width: 100%; height: 100%; }
.frame img { object-fit: cover; transition: transform 1.2s var(--ease); }
.pos-top img { object-position: 50% 20%; }
.zoom:hover img, a:hover .zoom img, .zoom:focus-visible img { transform: scale(1.03); }

/* ---------- hero ---------- */
.hero { padding: var(--s6) 0 var(--sec); }
.hero-grid { align-items: center; row-gap: var(--s6); }
.hero-copy .display { margin-top: var(--s3); }
.hero-copy .lede { margin-top: var(--s3); max-width: 34ch; }
.hero-media { position: relative; }
.hero-media::before { content: ''; position: absolute; inset: var(--s3) calc(var(--s3) * -1) calc(var(--s3) * -1) var(--s3); border: 1px solid var(--gold-soft); border-radius: var(--r); pointer-events: none; }
.hero-media .frame img { transform: translate3d(0, var(--py, 0px), 0) scale(1.06); transition: none; }
@media (max-width: 1023px) { .hero-media::before { inset: var(--s2) calc(var(--s2) * -1) calc(var(--s2) * -1) var(--s2); } .hero-media { margin-right: var(--s2); } }
@media (min-width: 1024px) {
  .hero { padding-top: var(--s8); }
  .hero-copy { grid-column: 1 / span 6; padding-right: var(--s4); }
  .hero-media { grid-column: 7 / span 6; }
}

/* ---------- proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: var(--paper); }
.proof-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-list li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1); padding: var(--s4) var(--s2); text-align: center; }
.proof-list li:nth-child(2n) { border-left: 1px solid var(--gold-soft); }
.proof-list li:nth-child(n+3) { border-top: 1px solid var(--gold-soft); }
.proof-v { font: 800 clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem)/1.1 var(--serif); }
.proof-l { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
@media (min-width: 768px) {
  .proof-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof-list li { padding: var(--s5) var(--s2); }
  .proof-list li:nth-child(n+3) { border-top: 0; }
  .proof-list li + li { border-left: 1px solid var(--gold-soft); }
}
.proof-plain { max-width: 864px; margin: 0 auto var(--s8); grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.proof-plain li:nth-child(n) { border-top: 0; border-left: 0; }
.proof-plain li + li { border-left: 1px solid var(--gold-soft); }

/* ---------- collection cards ---------- */
.cards { row-gap: var(--s8); }
.card-link { display: block; text-decoration: none; }
.card .h3 { margin-top: var(--s3); }
.card p { margin-top: var(--s1); color: var(--ink-2); }
.card .more { margin-top: var(--s2); }
@media (min-width: 768px) {
  .cards > li { grid-column: span 6; }
  .cards > li:nth-child(5) { grid-column: 4 / span 6; }
}
@media (min-width: 1024px) {
  .cards > li { grid-column: span 4; }
  .cards > li:nth-child(4) { grid-column: 3 / span 4; }
  .cards > li:nth-child(5) { grid-column: 7 / span 4; }
}

/* ---------- generic column sets ---------- */
.g4 > li { grid-column: span 6; }
.g3 > li { grid-column: 1 / -1; }
@media (min-width: 768px) { .g3 > li { grid-column: span 4; } }
@media (min-width: 1024px) { .g4 > li { grid-column: span 3; } }
.g4 { row-gap: var(--gap); }

/* ---------- steps ---------- */
.steps-list > li { border-top: 1px solid var(--gold); padding-top: var(--s3); }
.steps-list .num { display: block; font: 800 2.5rem/1 var(--serif); color: var(--ink-2); margin-bottom: var(--s3); }
.steps-list p { margin-top: var(--s1); color: var(--ink-2); }
@media (min-width: 768px) { .steps-list > li { grid-column: span 6; } }
@media (min-width: 1024px) { .steps-list > li { grid-column: span 3; } }

/* ---------- split ---------- */
.split { align-items: center; }
.split-copy > * + * { margin-top: var(--s3); }
.split-copy .h2 { margin-top: var(--s2); }
@media (min-width: 1024px) {
  .split-media { grid-column: 1 / span 6; }
  .split-copy { grid-column: 8 / span 5; }
  .split-form { align-items: start; }
  .split-form .split-copy { grid-column: 1 / span 5; position: sticky; top: calc(var(--head) + var(--s5)); }
  .split-form .split-formcol { grid-column: 7 / span 6; }
}

/* ---------- band ---------- */
.band { background: var(--blush); padding-block: var(--sec); }
.band-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.band .lede { max-width: 56ch; color: var(--ink-2); }
.band .btns { justify-content: center; margin-top: var(--s3); }
.band-alt { margin-top: var(--s2); font-size: 1rem; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1); }
.chip { min-height: 48px; padding: 0 var(--s3); border: 1px solid var(--field); border-radius: var(--r); background: transparent; cursor: pointer; font: 600 .9375rem var(--sans); letter-spacing: .04em; transition: background-color .3s, color .3s; }
.chip:hover { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.count { max-width: none; text-align: center; margin: var(--s3) 0 var(--s5); font-size: 1rem; color: var(--ink-2); }
.gallery { row-gap: var(--s5); }
@media (min-width: 768px) { .gallery > li { grid-column: span 4; } }
@media (min-width: 1024px) { .gallery > li { grid-column: span 3; } }
.tile-open { width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-top: var(--s2); }
.tile-cat { font: 600 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.tile-req { display: inline-block; margin-top: var(--s1); font-size: .9375rem; font-weight: 600; }
.empty { text-align: center; padding: var(--s8) 0; }
@media (max-width: 767px) { .tile-meta { flex-direction: column; gap: 0; } .tile-meta .h4 { font-size: 1.0625rem; } }

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(32, 19, 18, .97); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(32, 19, 18, .97); }
.lb-in { height: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: var(--s8) var(--s1) var(--s3); }
.lightbox .icon-btn { color: var(--on-dark); }
.lightbox :focus-visible { outline-color: var(--on-dark); }
.lb-close { position: absolute; top: var(--s1); right: var(--s1); }
.lb-fig { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); min-height: 0; }
.lb-media { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; justify-content: center; }
.lb-media picture { height: 100%; aspect-ratio: var(--ar, 4 / 5); max-width: 100%; }
.lb-media img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r); }
.lb-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s1) var(--s3); text-align: center; }
.lb-title { font: 700 1.5rem/1.2 var(--serif); }
.lb-count { font-size: .9375rem; color: var(--on-dark-2); }
.lightbox .btn-solid { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.lightbox .btn-solid:hover { background: var(--blush); }
@media (max-width: 767px) {
  .lb-in { grid-template-columns: minmax(0, 1fr); padding: var(--s8) var(--s2) var(--s2); }
  .lb-prev, .lb-next { position: absolute; bottom: var(--s2); }
  .lb-prev { left: var(--s1); } .lb-next { right: var(--s1); }
  .lb-fig { padding-bottom: var(--s8); }
  .lb-cap .btn { white-space: normal; }
}

/* ---------- weddings ---------- */
@media (min-width: 768px) {
  .pair > :nth-child(1) { grid-column: 1 / span 6; }
  .pair > :nth-child(2) { grid-column: 7 / span 6; }
}
@media (min-width: 1024px) {
  .pair > :nth-child(1) { grid-column: 2 / span 5; }
  .pair > :nth-child(2) { grid-column: 7 / span 5; }
}
.tier { text-align: center; padding: var(--s5) var(--s3); background: var(--paper); border: 1px solid var(--line); border-top: 1px solid var(--gold); border-radius: var(--r); }
.tier-n { display: block; font: 900 5rem/1 var(--serif); color: var(--ink); }
.tier .h3 { margin-top: var(--s2); }
.tier p { margin: var(--s1) auto 0; color: var(--ink-2); }
.tier .kv { margin-top: var(--s3); grid-template-columns: minmax(0, 1fr); }
.tier .kv dd { border-top: 0; padding-top: 0; }
@media (min-width: 768px) { .tiers > li { grid-column: span 4; } }
.finishes .h3 { margin-top: var(--s3); }
.finishes p { margin-top: var(--s1); color: var(--ink-2); }
.styles { margin-top: var(--s8); border-block: 1px solid var(--gold-soft); padding-block: var(--s4); row-gap: var(--s2); text-align: center; }
.styles-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s4); }
.styles-list li { font-weight: 600; }
@media (min-width: 768px) { .styles-list li + li { border-left: 1px solid var(--gold-soft); padding-left: var(--s4); } }

/* ---------- key value lists ---------- */
.kv { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); column-gap: var(--s3); }
.kv dt, .kv dd { padding: var(--s2) 0; border-top: 1px solid var(--line); }
.kv dt { font: 600 .8125rem/1.7 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.kv dd { font-size: 1rem; }

/* ---------- placeholders for the owner ---------- */
.tbc { display: inline-block; padding: 0 var(--s1); font: 600 .875rem/1.7 var(--sans); letter-spacing: .01em; color: var(--lilac-ink); background: var(--lilac); border: 1px dashed var(--lilac-line); border-radius: var(--r); }
.tbc-block { padding: var(--s4); background: var(--lilac); border: 1px dashed var(--lilac-line); border-radius: var(--r); color: var(--lilac-ink); }
.tbc-block p { font-size: 1rem; }
.tbc-label { font-weight: 700; margin-bottom: var(--s1); }

/* ---------- about ---------- */
.pillars > li { border-top: 1px solid var(--gold); padding-top: var(--s3); }
.pillars p { margin-top: var(--s1); color: var(--ink-2); }
.about-grid { margin-top: 0; }

/* ---------- faq ---------- */
.faq { max-width: 864px; margin: 0 auto; border-top: 1px solid var(--gold-soft); }
.qa { border-bottom: 1px solid var(--gold-soft); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.q { font: 700 clamp(1.25rem, 1.15rem + .4vw, 1.5rem)/1.3 var(--serif); }
.qa-mark { position: relative; flex: 0 0 24px; height: 24px; }
.qa-mark::before, .qa-mark::after { content: ''; position: absolute; left: 4px; right: 4px; top: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.qa-mark::after { transform: rotate(90deg); }
.qa[open] .qa-mark::after { transform: rotate(0); }
.qa .a { padding: 0 0 var(--s3); }
.faq-help { max-width: 864px; margin: var(--s8) auto 0; text-align: center; display: grid; gap: var(--s1); justify-items: center; }

/* ---------- contact ---------- */
.contact-tiles { row-gap: var(--gap); }
@media (min-width: 768px) { .contact-tiles > li { grid-column: span 6; } }
.ctile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1); min-height: 240px; padding: var(--s5) var(--s3); text-align: center; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .4s, box-shadow .4s; }
.ctile:hover { border-color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.ctile .ico-lg { width: 32px; height: 32px; margin-bottom: var(--s1); }
.ctile-l { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.ctile-v { font: 800 clamp(1.5rem, 1.3rem + .8vw, 2rem)/1.2 var(--serif); }
.ctile-main { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.ctile-main .ctile-l { color: var(--on-dark-2); }
.contact-info { margin-top: var(--s8); }
@media (min-width: 768px) { .contact-info > * { grid-column: 3 / span 8; } }
@media (min-width: 1024px) { .contact-info > * { grid-column: 4 / span 6; } }

/* ---------- forms ---------- */
.order-shell { max-width: 864px; margin-inline: auto; }
.form { display: grid; gap: var(--s4); }
.card-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4) var(--s3); }
@media (min-width: 768px) { .card-form { padding: var(--s6); } }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--s1); align-content: start; }
.field label, .field legend { font-weight: 600; font-size: 1rem; line-height: 1.4; }
.req, .opt { margin-left: var(--s1); font: 600 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.req { color: var(--ink); }
.field input:not([type=radio]):not([type=checkbox]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 56px; padding: var(--s2); background: var(--paper);
  border: 1px solid var(--field); border-radius: var(--r); font-size: 1.125rem; line-height: 1.4;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--s6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error) !important; }
.hint { font-size: .9375rem; color: var(--ink-2); }
.err { font-size: .9375rem; font-weight: 600; color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices legend { margin-bottom: var(--s1); }
.choices .hint { margin-bottom: var(--s1); }
.choice-row { display: flex; flex-wrap: wrap; gap: var(--s1); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 var(--s3); border: 1px solid var(--field); border-radius: var(--r); background: var(--paper); font-weight: 600; font-size: 1rem; transition: background-color .3s, color .3s, border-color .3s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.choices[aria-invalid="true"] .choice span { border-color: var(--error); }
.choice-cards .choice-row { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .choice-cards .choice-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice-cards .choice span { min-height: 72px; justify-content: flex-start; font: 700 1.25rem var(--serif); }
.check { display: flex; gap: var(--s2); align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { flex: 0 0 24px; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); }

.drop { padding: var(--s3); border: 1px dashed var(--field); border-radius: var(--r); background: var(--paper); display: grid; gap: var(--s1); }
.drop input { font-size: 1rem; max-width: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, 80px); gap: var(--s1); }
.thumbs li { width: 80px; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--cream); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.form-foot { display: grid; gap: var(--s2); justify-items: start; }
.form-note, .form-aside { font-size: 1rem; color: var(--ink-2); }
.form-aside { text-align: center; margin: var(--s5) auto 0; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.consult-aside .h3 { margin-bottom: var(--s2); }
.ticks li { position: relative; padding: var(--s1) 0 var(--s1) var(--s4); border-top: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 24px; width: 16px; height: 1px; background: var(--gold); }

/* order steps */
.inspo { display: flex; align-items: center; gap: var(--s2); padding: var(--s2); margin-bottom: var(--s4); background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: var(--r); }
.inspo .frame { flex: 0 0 64px; width: 64px; }
.inspo p { font-size: 1rem; }
.inspo strong { font-family: var(--serif); }
.progress { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: var(--s6); counter-reset: none; }
.progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s1); text-align: center; }
.progress li + li::before { content: ''; position: absolute; top: 16px; right: calc(50% + 24px); width: calc(100% - 48px); height: 1px; background: var(--gold-soft); }
.p-n { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--field); border-radius: 50%; font: 600 .875rem var(--sans); background: var(--ivory); }
.p-l { font: 600 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.progress .is-current .p-n, .progress .is-done .p-n { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.progress .is-done + li::before, .progress .is-current::before { background: var(--gold); }
@media (max-width: 767px) { .progress li:not(.is-current) .p-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .p-l { white-space: nowrap; } }
.step { display: grid; gap: var(--s4); }
.step-h { display: grid; gap: var(--s1); margin-bottom: var(--s3); }
.js .step:not(.is-active) { display: none; }
.step-nav { display: flex; justify-content: space-between; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.step-nav .btn { flex: 1 1 0; max-width: 240px; }
.step-nav [data-next], .step-nav [data-submit] { margin-left: auto; }
html:not(.js) [data-next], html:not(.js) [data-back] { display: none; }
.review { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.review > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.review dt { font: 600 .8125rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.review dd { grid-column: 1; overflow-wrap: anywhere; }
.review .edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 44px; padding: 0 var(--s2); border: 1px solid var(--field); border-radius: var(--r); background: none; font: 600 .875rem var(--sans); cursor: pointer; }
.review .edit:hover { border-color: var(--ink); }
@media (min-width: 768px) { .review > div { grid-template-columns: 200px minmax(0, 1fr) auto; } .review dd { grid-column: 2; } .review .edit { grid-column: 3; grid-row: 1; } }

/* confirmation */
.done { text-align: center; padding: var(--s8) var(--s3); background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--r); display: grid; gap: var(--s2); justify-items: center; }
.done:focus { outline: none; }
.done .h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.done p { margin-inline: auto; color: var(--ink-2); }
.done .btns { justify-content: center; margin-top: var(--s2); }
.done-summary { width: 100%; max-width: 560px; margin-top: var(--s3); text-align: left; }

/* ---------- 404 ---------- */
.page-404 { padding-block: var(--s16); }
.page-404 p.center { margin-top: var(--s4); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: var(--s12) 0 var(--s5); }
.site-footer .rule { background: rgba(184, 150, 104, .45); margin-block: var(--s6); }
.site-footer :focus-visible { outline-color: var(--on-dark); }
.foot-brand { display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; }
.logo-foot { width: 112px; height: 112px; }
.foot-tag { font: 700 clamp(1.5rem, 1.3rem + .8vw, 2rem)/1.2 var(--serif); margin-top: var(--s1); }
.foot-sub { color: var(--on-dark-2); font-size: 1rem; }
.foot-cols { text-align: center; }
.foot-col .eyebrow { color: var(--on-dark-2); margin-bottom: var(--s2); }
.foot-col ul { display: grid; gap: var(--s1); font-size: 1rem; }
.foot-col:first-child ul { grid-template-columns: repeat(2, max-content); justify-content: center; column-gap: var(--s4); }
.foot-col a { color: var(--on-dark); }
.foot-col .tbc { color: var(--lilac-ink); }
@media (min-width: 768px) { .foot-cols > * { grid-column: span 4; } }
.copy { text-align: center; font-size: .9375rem; color: var(--on-dark-2); max-width: none; }

/* ---------- mobile action bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 64px; background: var(--ivory); border-top: 1px solid var(--gold-soft); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font: 600 .8125rem var(--sans); letter-spacing: .06em; }
.mbar a + a { border-left: 1px solid var(--line); }
.mbar .ico { width: 22px; height: 22px; }
.mbar .mbar-main { background: var(--ink); color: var(--on-dark); }
body { padding-bottom: 64px; }
body.is-form .mbar { display: none; }
body.is-form { padding-bottom: 0; }
@media (min-width: 768px) { .mbar { display: none; } body { padding-bottom: 0; } }

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
/* The wipe sits on the picture, not the observed frame: a clipped target never counts as visible. */
.js .rv-img > picture { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.js .rv-img.in > picture { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .rv-img > picture { clip-path: none; }
  .hero-media .frame img { transform: none; }
  .zoom:hover img, a:hover .zoom img { transform: none; }
}




