/* SAVA | Your Statement — site design system
   Colours and type follow SAVA Brand Playbook 1.1 (13 Nov 2026).
   Gold (#B08D57) only on espresso. Bronze on cream/beige. Light gold on grey sage. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-Italic.ttf") format("truetype"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-MediumItalic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --cream: #F3EBDD; --cream-card: #FBF6EC; --beige: #CDBFAA; --espresso: #2B1F18; --sage: #49544A;
  --gold: #B08D57; --bronze: #7A5A2E; --light-gold: #D8BE8A; --black: #1C1713;
  --body-brown: #3A2F27; --muted: #5E5248; --sand-line: #CBBFA9;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 80px); --max: 1320px;
  --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--body-brown); font-family: var(--sans); font-size: clamp(16px, .6vw + 12px, 18px); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--espresso); color: var(--cream); }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }

/* Cross-document view transitions removed (Nov 2026): the JS curtain already animates page changes, and running both made the browser abort one with a console error. */
::view-transition-old(root) { animation: vt-out .45s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* type */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin: 0 0 18px; }
.on-dark .eyebrow { color: var(--gold); }
.on-sage .eyebrow { color: var(--light-gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--espresso); line-height: 1.05; margin: 0; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-sage h1, .on-sage h2, .on-sage h3 { color: var(--cream); }
h1 { font-size: clamp(44px, 7vw, 104px); }
h2 { font-size: clamp(36px, 4.6vw, 68px); }
h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.lede { font-size: clamp(18px, 1.3vw, 21px); max-width: 58ch; }
.on-dark p, .on-dark .lede { color: var(--beige); }
.on-sage p, .on-sage .lede { color: var(--cream); }
.italic { font-style: italic; }
.small { font-size: 14px; color: var(--muted); }
.on-dark .small { color: var(--beige); }
.center { text-align: center; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }

/* layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 168px) 0; }
.on-dark { background: radial-gradient(120% 80% at 50% 0%, #3A2B22 0%, var(--espresso) 60%); color: var(--beige); }
.on-sage { background: radial-gradient(120% 80% at 50% 0%, #586458 0%, var(--sage) 60%); color: var(--cream); }
.on-beige { background: radial-gradient(120% 80% at 50% 0%, #D9CDBB 0%, var(--beige) 60%); }
.on-cream { background: radial-gradient(120% 80% at 50% 0%, #FAF5EC 0%, var(--cream) 60%); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); color: var(--cream); transition: background .5s var(--ease), padding .5s var(--ease), color .4s; }
.site-header.light { color: var(--espresso); }
.site-header.scrolled { background: rgba(243,235,221,.93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--espresso); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--sand-line); }
.brand { display: block; width: 120px; }
.brand img { width: 120px; height: auto; }
.brand .logo-espresso { display: none; }
.site-header.light .logo-cream, .site-header.scrolled .logo-cream { display: none; }
.site-header.light .logo-espresso, .site-header.scrolled .logo-espresso { display: block; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn-ghost { padding: 10px 18px; border: 1px solid currentColor; }
.nav .btn-ghost::after { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; z-index: 60; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--espresso); color: var(--cream); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); }
  .nav a { font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none; }
  body.menu-open .nav { clip-path: inset(0 0 0 0); }
  body.menu-open .site-header { color: var(--cream); background: transparent; border-color: transparent; }
  body.menu-open .site-header .logo-cream { display: block; } body.menu-open .site-header .logo-espresso { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--espresso); background: var(--espresso); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--cream); transform: translateY(101%); transition: transform .55s var(--ease-out); z-index: -1; }
.btn:hover { color: var(--espresso); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn.outline { background: transparent; color: var(--espresso); }
.btn.outline::before { background: var(--espresso); }
.btn.outline:hover { color: var(--cream); }
.on-dark .btn { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.on-dark .btn::before { background: var(--gold); }
.on-dark .btn.outline { background: transparent; color: var(--cream); border-color: rgba(243,235,221,.6); }
.on-dark .btn.outline::before { background: var(--cream); }
.on-dark .btn.outline:hover { color: var(--espresso); }
.on-sage .btn { background: var(--cream); color: var(--sage); border-color: var(--cream); }
.on-sage .btn::before { background: var(--light-gold); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.link-line { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; }

/* page curtain */
.curtain { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: grid; place-items: center; }
.curtain .panel { position: absolute; inset: 0; background: var(--espresso); transform: translateY(100%); }
.curtain .panel.p1 { background: var(--sage); }
.curtain img { position: relative; width: 96px; opacity: 0; transform: scale(.92); transition: opacity .4s, transform .7s var(--ease-out); }
.curtain.in .panel { animation: cur-in .7s var(--ease-out) forwards; }
.curtain.in .panel.p2 { animation-delay: .08s; }
.curtain.in img { opacity: 1; transform: scale(1); transition-delay: .35s; }
.curtain.reveal .panel { transform: translateY(0); animation: cur-out .95s var(--ease-out) .1s forwards; }
.curtain.reveal .panel.p1 { animation-delay: .2s; }
@keyframes cur-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes cur-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* loader */
.loader { position: fixed; inset: 0; z-index: 120; background: var(--espresso); display: grid; place-items: center; transition: clip-path 1.2s var(--ease-out); clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); }
.loader .inner { text-align: center; }
.loader img { width: min(300px, 62vw); opacity: 0; animation: fade-up 1.2s var(--ease-out) .15s forwards; }
.loader .bar { width: 120px; height: 1px; background: rgba(176,141,87,.25); margin: 28px auto 0; position: relative; overflow: hidden; }
.loader .bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: bar 1.3s var(--ease) .3s forwards; }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* reveals */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-line > span { display: block; transform: translateY(110%); transition: transform 1.25s var(--ease-out); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
.img-reveal { overflow: hidden; position: relative; }
.img-reveal img, .img-reveal video { transform: scale(1.18); transition: transform 1.9s var(--ease-out); }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--espresso); transform-origin: top; transition: transform 1.2s var(--ease-out); }
.img-reveal.is-in img, .img-reveal.is-in video { transform: scale(1); }
.img-reveal.is-in::after { transform: scaleY(0); }
.graded { filter: sepia(.2) saturate(.8) contrast(1.04) brightness(.97); }
.parallax { will-change: transform; }

/* hero */
.hero { min-height: 100svh; display: grid; align-items: end; position: relative; overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .hero-inner { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(44px, 8vh, 100px); pointer-events: none; }
.hero .hero-inner a, .hero .hero-inner button { pointer-events: auto; }
.hero .hero-logo { width: min(520px, 76vw); margin-bottom: 26px; }
.hero .tag-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.hero .hero-copy { max-width: 44ch; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--beige); }
.scroll-cue i { width: 1px; height: 54px; background: rgba(176,141,87,.35); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { top: -40%; } to { top: 100%; } }
.hero-sub { min-height: 74svh; display: grid; align-items: end; padding: 170px 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-sub .wrap { position: relative; z-index: 2; pointer-events: none; }
.hero-sub .wrap a { pointer-events: auto; }
@media (max-width: 759px) {

  .hero-sub:has(.scene) { padding-top: 48svh; min-height: 0; }
  .hero h1 { font-size: 42px; }
}

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); padding: 22px 0; white-space: nowrap; background: var(--cream); }
.marquee .track { display: inline-flex; gap: 56px; animation: marquee 40s linear infinite; padding-right: 56px; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 36px); color: var(--espresso); }
.marquee b { font-weight: 400; color: var(--bronze); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* pieces */
.pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.piece { position: relative; cursor: pointer; display: block; text-align: left; width: 100%; }
.piece .frame { aspect-ratio: 4/5; overflow: hidden; background: var(--beige); position: relative; }
.piece .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.piece:hover .frame img { transform: scale(1.06); }
.piece .hover-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; background: rgba(43,31,24,.9); color: var(--cream); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transform: translateY(100%); transition: transform .6s var(--ease-out); display: flex; justify-content: space-between; }
.piece:hover .hover-note, .piece:focus-visible .hover-note { transform: none; }
.piece .meta { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-top: 16px; }
.piece h3 { font-size: 24px; }
.piece .kind { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.piece .price { font-size: 13px; font-weight: 500; color: var(--espresso); white-space: nowrap; padding-top: 6px; }
.piece .tagno { position: absolute; top: 14px; left: 14px; background: var(--cream); color: var(--espresso); font-size: 10px; letter-spacing: .18em; padding: 6px 10px; text-transform: uppercase; z-index: 1; }
.piece.hide { display: none; }
.rail { display: flex; gap: clamp(20px, 2.4vw, 36px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 28px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.rail .piece { flex: 0 0 min(76vw, 340px); scroll-snap-align: start; }
.on-dark .piece h3, .on-dark .piece .price { color: var(--cream); }
.on-dark .piece .kind { color: var(--beige); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters button { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 12px 18px; border: 1px solid var(--sand-line); transition: all .4s var(--ease); }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 1px solid rgba(176,141,87,.45); }
.step { padding: 36px 24px 12px 0; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 54px; color: var(--gold); display: block; line-height: 1; margin-bottom: 22px; }
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { font-size: 15px; margin: 0; }
.steps.light { border-color: var(--sand-line); }
.steps.light .step::before { color: var(--bronze); }
.steps.light .step::after { background: var(--bronze); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* tag 3D card */
.tag-stage { perspective: 1200px; display: grid; place-items: center; padding: 40px 0; }
.tag3d { width: min(300px, 74vw); aspect-ratio: 55/120; background: var(--espresso); color: var(--cream); padding: 30px 26px; position: relative; transform-style: preserve-3d; transition: transform .3s ease-out; box-shadow: 0 50px 90px -40px rgba(28,23,19,.7); border-radius: 6px; animation: sway 7s ease-in-out infinite; }
.tag3d.tracking { animation: none; }
@keyframes sway { 0%,100% { transform: rotateY(-10deg) rotateX(4deg); } 50% { transform: rotateY(10deg) rotateX(-3deg); } }
.tag3d .hole { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); margin: 0 auto 20px; box-shadow: inset 0 1px 3px rgba(0,0,0,.5); }
.tag3d .mono { width: 96px; margin: 0 auto 6px; transform: translateZ(40px); }
.tag3d .name { text-align: center; font-size: 12px; letter-spacing: .5em; padding-left: .5em; transform: translateZ(30px); }
.tag3d .gl { height: 1px; background: rgba(176,141,87,.7); margin: 14px 0 18px; }
.tag3d dl { margin: 0; transform: translateZ(20px); }
.tag3d dt { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--beige); }
.tag3d dd { margin: 2px 0 11px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--cream); border-bottom: 1px solid rgba(205,191,170,.3); padding-bottom: 3px; }
.tag3d .foot { position: absolute; left: 18px; right: 18px; bottom: 16px; text-align: center; font-size: 9.5px; color: var(--beige); }
.tag3d .shine { position: absolute; inset: 0; border-radius: 6px; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(216,190,138,.22), transparent 55%); pointer-events: none; }

/* quote */
.quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(42px, 6.6vw, 100px); line-height: 1.02; color: var(--cream); text-align: center; margin: 0 auto; max-width: 15ch; }
.quote-sign { text-align: center; margin-top: 30px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* features */
.feature-img { aspect-ratio: 4/5; }
.feature-img img, .feature-img video { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--sand-line); }
.facts div { padding: 22px 18px 0 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 42px; color: var(--espresso); line-height: 1; margin-bottom: 6px; }
.facts span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sand-line); border: 1px solid var(--sand-line); }
.card-grid > div { background: var(--cream-card); padding: clamp(28px, 3vw, 44px); }
.card-grid h3 { margin-bottom: 12px; }
.card-grid p { margin: 0; font-size: 15px; }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

/* honours */
.honours { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand-line); }
.honours li { display: grid; grid-template-columns: 70px 1fr 2fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--sand-line); align-items: baseline; transition: padding .5s var(--ease); }
.honours li:hover { padding-left: 14px; }
.honours .n { font-family: var(--serif); font-size: 22px; color: var(--bronze); }
.honours h3 { font-size: 30px; }
.honours p { margin: 0; }
@media (max-width: 760px) { .honours li { grid-template-columns: 40px 1fr; } .honours li p { grid-column: 2; } }

/* heights */
.height { display: grid; grid-template-columns: 90px 240px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid rgba(216,190,138,.35); align-items: baseline; }
.height .h-n { font-family: var(--serif); font-size: 48px; color: var(--light-gold); line-height: 1; }
.height h3 { font-size: 30px; }
.height .when { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--light-gold); margin-top: 8px; }
.height p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; }
@media (max-width: 760px) { .height { grid-template-columns: 56px 1fr; } .height p { grid-column: 2; } }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--black); background: transparent; border: 0; border-bottom: 1px solid var(--sand-line); padding: 10px 0 12px; border-radius: 0; outline: none; transition: border-color .4s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--espresso); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--espresso) 50%), linear-gradient(135deg, var(--espresso) 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.check-result { margin-top: 18px; font-size: 15px; min-height: 1.6em; color: var(--body-brown); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gutter); visibility: hidden; }
.modal .scrim { position: absolute; inset: 0; background: rgba(28,23,19,.72); opacity: 0; transition: opacity .5s var(--ease); }
.modal .sheet { position: relative; background: var(--cream); width: min(1040px, 100%); max-height: 90svh; overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr; transform: translateY(40px) scale(.98); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s; }
.modal.open { visibility: visible; }
.modal.open .scrim { opacity: 1; }
.modal.open .sheet { transform: none; opacity: 1; }
.modal .ph { background: var(--beige); min-height: 320px; }
.modal .ph img { width: 100%; height: 100%; object-fit: cover; }
.modal .body { padding: clamp(28px, 4vw, 56px); }
.modal .close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: var(--cream); z-index: 2; font-size: 24px; line-height: 1; }
.spec { list-style: none; padding: 0; margin: 24px 0 30px; border-top: 1px solid var(--sand-line); }
.spec li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--sand-line); font-size: 15px; }
.spec li span:first-child { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
@media (max-width: 760px) { .modal .sheet { grid-template-columns: 1fr; } }

/* contact */
.map-frame { width: 100%; aspect-ratio: 16/10; border: 0; filter: grayscale(.85) sepia(.35) contrast(.95); }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand-line); }
.contact-list li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--sand-line); }
.contact-list li > span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list a { border-bottom: 1px solid var(--sand-line); }
.contact-list a:hover { border-color: var(--espresso); }
@media (max-width: 560px) { .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* footer */
.site-footer { background: var(--espresso); color: var(--beige); padding: clamp(72px, 9vw, 120px) 0 32px; overflow: hidden; }
.site-footer .big { width: min(720px, 92%); margin-bottom: 64px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; font-size: 15px; }
.site-footer a:hover { color: var(--cream); }
.site-footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(176,141,87,.3); font-size: 13px; letter-spacing: .12em; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--espresso); color: var(--cream); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; border: 1px solid rgba(176,141,87,.6); transform: translateY(140%); transition: transform .7s var(--ease-out); }
.wa-float.show { transform: none; }
.wa-float svg { width: 18px; height: 18px; fill: var(--gold); }

.cursor { position: fixed; top: 0; left: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid var(--bronze); border-radius: 50%; pointer-events: none; z-index: 200; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; opacity: 0; }
.cursor.big { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(205,191,170,.3); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
}
/* ================================================================
   v2: tokens from the UI Color Palette plugin (OKLCH shade scales of
   espresso, sage and gold, source colours locked) and the fixes from
   docs/audit.md. Shades are used only where a brand colour fails
   contrast or for interactive states.
   ================================================================ */
:root {
  --espresso-700: #443831;   /* hover surface on espresso */
  --espresso-200: #D9CBC3;   /* chip hover on cream */
  --gold-700: #503400;       /* accent text on warm beige, 6.4:1 */
  --gold-200: #E8C99A;       /* accent text on grey sage, 4.96:1 */
  --gold-300: #C9A876;       /* focus ring on dark grounds */
  --sage-200: #C6D1C7;       /* selected chip edge on cream */
  --accent-her: #5E2F36;     /* claret, reserved, not used yet */
  --focus: var(--bronze);
}
body { font-size: clamp(17px, .5vw + 14px, 18px); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .modal .btn:focus-visible { outline-color: var(--gold-300); }
.on-sage :focus-visible { outline-color: var(--gold-200); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--espresso); color: var(--cream); padding: 12px 18px; font-size: 14px; transition: top .3s; }
.skip:focus { top: 16px; }
.h3 { display: block; font-family: var(--serif); font-weight: 500; color: var(--espresso); font-size: clamp(22px, 2vw, 26px); line-height: 1.1; }
.on-dark .h3 { color: var(--cream); }
.inline-link { border-bottom: 1px solid currentColor; }

/* contrast fixes (audit section 5) */
.on-beige .eyebrow { color: var(--gold-700); }
.on-beige .small, .on-beige .kind { color: var(--body-brown); }
.on-sage .eyebrow, .on-sage .quote-sign, .height .when { color: var(--gold-200); }

/* hero: static mark until the 3D scene is ready, or instead of it */
.hero .static-mark { position: absolute; right: 6%; top: 50%; width: min(460px, 42vw); transform: translateY(-46%); opacity: .9; pointer-events: none; transition: opacity .8s; }
.has-3d .hero .static-mark { opacity: 0; }
@media (max-width: 759px) { .hero .static-mark { left: 50%; right: auto; top: 26svh; width: 64vw; transform: translate(-50%, -50%); } }
.hero-sub .seal-bg { position: absolute; right: -6%; top: 50%; width: min(560px, 60vw); transform: translateY(-50%); opacity: .14; pointer-events: none; }
@media (max-width: 759px) { .hero-sub.on-dark, .hero-sub.on-sage { padding-top: 140px; min-height: 0; } .hero-sub .seal-bg { top: 30%; } }

/* pieces: second photo on hover, price and Try lift 4px */
.piece .frame img { position: absolute; inset: 0; }
.piece .frame img.second { opacity: 0; transition: opacity .3s ease; }
.piece .lift { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; transition: transform .3s ease; }
.piece .try { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.on-dark .piece .try { color: var(--gold); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .piece:hover .frame img.second { opacity: 1; }
  .piece:hover .lift { transform: translateY(-4px); }
}
.piece:focus-visible { outline-offset: 6px; }

/* shop by */
.shop-by { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.shop-tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--espresso); color: var(--cream); }
.shop-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.shop-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,31,24,0) 40%, rgba(43,31,24,.85)); }
.shop-tile .label { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.shop-tile .label b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.shop-tile .label span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--beige); }
.shop-tile .rule-line { display: block; width: 48px; height: 1px; background: var(--gold); margin: 14px 0 0; transition: width .6s var(--ease-out); }
.shop-tile.plain { display: grid; place-items: center; text-align: center; }
.shop-tile.plain::after { display: none; }
.shop-tile.plain .label { position: static; }
.shop-tile.plain .rule-line { margin: 16px auto 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .shop-tile:hover img { transform: scale(1.05); } .shop-tile:hover .rule-line { width: 96px; } }
@media (max-width: 700px) { .shop-by { grid-template-columns: 1fr; } .shop-tile { aspect-ratio: 16/9; } }

/* filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: end; justify-content: space-between; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--sand-line); }
.filter-groups { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.filter-group .glabel { display: block; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { min-height: 44px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--sand-line); background: var(--cream-card); transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { background: var(--espresso-200); border-color: var(--espresso-200); color: var(--espresso); }
.filters button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.size-filter select { min-height: 44px; min-width: 180px; font: inherit; font-size: 14px; color: var(--black); background: var(--cream-card); border: 1px solid var(--sand-line); padding: 8px 36px 8px 14px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--espresso) 50%), linear-gradient(135deg, var(--espresso) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.size-filter select:disabled { color: var(--muted); }
.pieces-count { font-family: var(--serif); font-size: 26px; color: var(--espresso); margin: 0; }
.pieces-empty { padding: 48px 0; text-align: center; }

/* quotes, benefits, FAQ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.quotes figure { margin: 0; padding-top: 24px; border-top: 1px solid rgba(176,141,87,.5); }
.quotes blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--cream); }
.quotes figcaption { margin-top: 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.placeholder { outline: 1px dashed var(--gold); outline-offset: 6px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--sand-line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--sand-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 28px); color: var(--espresso); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 26px; color: var(--bronze); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; max-width: 64ch; }
.faq details > div p { margin: 0; }
.ph-text { font-weight: 600; letter-spacing: .04em; color: var(--gold-700); }

/* timeline (Fitting) */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 56px; --fill: 100%; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; }
.timeline::before { background: var(--sand-line); }
.timeline::after { background: var(--bronze); height: calc(var(--fill) - 16px); bottom: auto; }
.tl-step { position: relative; padding: 0 0 48px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: -48px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bronze); border: 3px solid var(--cream); box-shadow: 0 0 0 1px var(--bronze); z-index: 1; }
.timeline.animate .tl-step::before { background: var(--cream); transition: background .4s; }
.timeline.animate .tl-step.done::before { background: var(--bronze); }
.tl-step .n { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.tl-step h3 { margin: 6px 0 8px; }
.tl-step p { margin: 0; max-width: 54ch; }

/* size guide */
.size-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.size-table caption { text-align: left; font-family: var(--serif); font-size: 26px; color: var(--espresso); padding-bottom: 12px; }
.size-table th, .size-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sand-line); }
.size-table th { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.measure { counter-reset: m; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.measure li { counter-increment: m; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.measure li::before { content: counter(m); font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--bronze); }
@media (max-width: 760px) { .size-tables { grid-template-columns: 1fr; } }

/* form */
.field-error { min-height: 1.2em; margin: 6px 0 0; font-size: 14px; color: #7A2E2E; }
.field [aria-invalid="true"] { border-bottom-color: #7A2E2E; }
.req { color: var(--bronze); }
.fit-result { margin-top: 8px; padding: 24px; background: var(--cream); border: 1px solid var(--sand-line); }
.fit-result .h3 { margin-bottom: 8px; }
.fit-result p { margin: 0 0 16px; }

/* sticky pill */
.wa-float { min-height: 48px; border-radius: 999px; padding: 12px 22px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
@media (max-width: 640px) { .wa-float { left: 50%; right: auto; transform: translate(-50%, 160%); bottom: max(14px, env(safe-area-inset-bottom)); } .wa-float.show { transform: translate(-50%, 0); } }

.modal-title { font-size: clamp(32px, 3.4vw, 46px); }
.draft-banner { background: var(--gold-700); color: var(--cream); text-align: center; padding: 14px 16px; font-size: 14px; letter-spacing: .06em; position: relative; z-index: 60; margin-top: 74px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); margin: 48px 0 14px; }
.prose p, .prose li { color: var(--body-brown); }

@media (prefers-reduced-motion: reduce) {
  .piece .frame img.second { display: none; }
  .hero .static-mark { opacity: .9 !important; }
}
.site-footer .h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 600; }
.piece .frame { display: block; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps.four { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wa-float { white-space: nowrap; }

/* ================================================================
   v3: blends of sage, cream and espresso, after the SAVA banner.
   Every text colour on these grounds keeps the pairs in
   docs/palette-and-contrast.md.
   ================================================================ */
:root { --sage-mist: #C6D1C7; }

/* living grounds: a soft second light in each colour */
.on-dark { background:
  radial-gradient(55% 45% at 92% 100%, rgba(88,100,88,.38), transparent 70%),
  radial-gradient(120% 80% at 50% 0%, #3A2B22 0%, var(--espresso) 60%); }
.on-sage { background:
  radial-gradient(60% 50% at 8% 100%, rgba(43,31,24,.28), transparent 70%),
  radial-gradient(120% 80% at 50% 0%, #586458 0%, var(--sage) 62%); }
.on-cream { background:
  radial-gradient(50% 40% at 0% 100%, rgba(198,209,199,.45), transparent 70%),
  radial-gradient(120% 80% at 50% 0%, #FAF5EC 0%, var(--cream) 60%); }
.on-beige { background:
  radial-gradient(50% 45% at 100% 0%, rgba(198,209,199,.40), transparent 70%),
  radial-gradient(120% 80% at 50% 0%, #D9CDBB 0%, var(--beige) 60%); }
/* mist: cream that turns to pale sage, like the left of the banner */
.on-mist { background: linear-gradient(180deg, var(--cream) 0%, #E4E5DA 55%, var(--sage-mist) 100%); color: var(--body-brown); }
.on-mist .eyebrow { color: var(--bronze); }

/* blend: the colour above fades into this section instead of a hard edge */
.blend::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(56px, 7vw, 110px); background: linear-gradient(180deg, var(--from), transparent); pointer-events: none; z-index: 0; }
.blend > .wrap { position: relative; z-index: 1; }

/* the banner itself */
.banner { line-height: 0; background: var(--espresso); }
.banner img { width: 100%; height: auto; }

/* shop tiles in brand colours */
.shop-tile.tile-sage { background: radial-gradient(120% 90% at 50% 0%, #586458, var(--sage) 70%); }
.shop-tile.tile-blend { background: linear-gradient(160deg, var(--sage) 0%, #3A3A30 50%, var(--espresso) 100%); }
.shop-tile.tile-sage .label span, .shop-tile.tile-blend .label span { color: var(--gold-200); }
.shop-tile.tile-sage .rule-line, .shop-tile.tile-blend .rule-line { background: var(--gold-200); }

/* steps and quotes on sage */
.on-sage .steps { border-top-color: rgba(232,201,154,.5); }
.on-sage .step::before { color: var(--gold-200); }
.on-sage .step::after { background: var(--gold-200); }
.on-sage .step h3 { color: var(--cream); }
.on-sage .facts { border-top-color: rgba(232,201,154,.5); }
.on-sage .facts b { color: var(--cream); }
.on-sage .facts span { color: var(--cream); }
.on-sage .btn.outline { background: transparent; color: var(--cream); border-color: rgba(243,235,221,.7); }
.on-sage .btn.outline::before { background: var(--cream); }
.on-sage .btn.outline:hover { color: var(--sage); }

/* footer: sage light rising from the bottom */
.site-footer { background: radial-gradient(70% 60% at 50% 120%, rgba(88,100,88,.55), transparent 70%), var(--espresso); }/* small gold text that can sit over the sage light uses the lighter gold (5.6:1 or more) */
.on-dark .piece .try, .quotes figcaption, .site-footer .h4 { color: var(--gold-300); }
/* v4: golden-hour light from the founder's mood images (warm light on espresso, cream sky over sage) */
.on-dark { background:
  radial-gradient(45% 55% at 0% 30%, rgba(176,141,87,.22), transparent 70%),
  radial-gradient(55% 45% at 92% 100%, rgba(88,100,88,.38), transparent 70%),
  radial-gradient(120% 80% at 50% 0%, #3A2B22 0%, var(--espresso) 60%); }
.on-sage { background:
  radial-gradient(70% 40% at 50% 0%, rgba(243,235,221,.16), transparent 70%),
  radial-gradient(60% 50% at 8% 100%, rgba(43,31,24,.28), transparent 70%),
  radial-gradient(120% 80% at 50% 0%, #586458 0%, var(--sage) 62%); }
.on-mist { background: linear-gradient(180deg, #FAF5EC 0%, var(--cream) 30%, #E4E5DA 65%, var(--sage-mist) 100%); }
/* ================================================================
   v5: phones (iPhone Safari, Android Chrome, Samsung Internet)
   ================================================================ */
html { scroll-padding-top: 88px; -webkit-tap-highlight-color: transparent; text-size-adjust: 100%; }
a, button, summary, label, select, input, textarea { touch-action: manipulation; }
img { -webkit-user-drag: none; }

/* older iPhones and Android browsers without svh units */
.hero { min-height: 100vh; min-height: 100svh; }
.hero-sub { min-height: 74vh; min-height: 74svh; }
@supports not (min-height: 1svh) { .hero .hero-inner { padding-top: 46vh; } }

/* notch and home-bar safe areas (viewport-fit=cover is set in every page) */
.site-header { padding-top: max(20px, env(safe-area-inset-top)); padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.site-header.scrolled { padding-top: max(12px, env(safe-area-inset-top)); }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.site-footer { padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px)); }

/* the blurred header made the full-screen menu shrink to the header height */
body.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 900px) {
  .nav { overflow-y: auto; overscroll-behavior: contain; padding: max(96px, calc(env(safe-area-inset-top) + 80px)) 24px max(40px, env(safe-area-inset-bottom)); justify-content: flex-start; }
  .nav a { display: block; min-height: 48px; padding: 8px 0; }
  .nav .btn-ghost { margin-top: 12px; display: inline-flex; align-items: center; padding: 12px 22px; font-family: var(--sans); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
  .menu-btn { width: 48px; height: 48px; }
}
html.lock, html.lock body { overflow: hidden; }

/* finger-sized targets (44 to 48 px) */
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer li:not(:has(a)) { padding: 10px 0; }
.inline-link, .link-line { display: inline-block; padding-block: 10px; }
.contact-list a { display: inline-block; padding-block: 8px; }
.modal .close { width: 48px; height: 48px; }
.btn { min-height: 48px; }
.filters button { min-height: 44px; }

/* no zoom-on-tap in iPhone Safari: form text at 16 px or more */
.field input, .field select, .field textarea, .size-filter select, #tag-no { font-size: max(16px, 1em); }
.field input, .field textarea { -webkit-appearance: none; appearance: none; border-radius: 0; }
.field input, .field select { min-height: 48px; }
.field input[type="date"] { min-height: 48px; display: block; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }

/* tables scroll inside themselves instead of widening the page */
.size-tables { min-width: 0; }
.size-tables > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-table td.ph-text { white-space: normal; word-break: break-word; font-size: 13px; }

/* pieces rail: swipe with a hint of the next card */
.rail { -webkit-overflow-scrolling: touch; scroll-padding-left: var(--gutter); overscroll-behavior-x: contain; }

/* readable small text on phones */
@media (max-width: 640px) {
  .eyebrow, .glabel, .filter-group .glabel, .field label, .spec li span:first-child, .contact-list li > span, .tl-step .n, .height .when, .site-footer .h4, .quote-sign { font-size: 12px; }
  .piece .kind, .piece .try, .shop-tile .label span, .quotes figcaption, .wa-float { font-size: 12px; }
  .piece .tagno { font-size: 11px; }
  .tag3d dt { font-size: 10px; } .tag3d .foot { font-size: 10.5px; }
  .scroll-cue { font-size: 12px; }
  .legal { font-size: 12px; }
  h2 { font-size: clamp(32px, 9vw, 40px); }
  .pad { padding: 72px 0; }
  .head-row { margin-bottom: 32px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .hero .btn-row .btn { width: auto; flex: 1 1 auto; }
  .filters { gap: 6px; }
  .filters button { padding: 10px 14px; font-size: 12px; }
  .facts b { font-size: 34px; }
  .quote { font-size: clamp(38px, 11vw, 52px); }
  .honours li { padding: 22px 0; }
  .honours h3 { font-size: 26px; }
}

/* piece pop-up becomes a bottom sheet on phones */
@media (max-width: 760px) {
  .modal { padding: 0; align-items: end; }
  .modal .sheet { width: 100%; max-height: 92svh; max-height: 92vh; border-radius: 16px 16px 0 0; transform: translateY(100%); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: env(safe-area-inset-bottom); }
  @supports (max-height: 1svh) { .modal .sheet { max-height: 92svh; } }
  .modal.open .sheet { transform: none; }
  .modal .ph { min-height: 0; aspect-ratio: 4/3; }
  .modal .close { position: sticky; top: 10px; margin: 10px 10px -58px auto; display: block; border-radius: 50%; background: rgba(243,235,221,.92); }
  .modal .body .btn-row .btn { width: 100%; justify-content: center; }
}

/* landscape phones: don't force a full-height hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero, .hero-sub { min-height: 0; }
  .hero .hero-inner { padding-top: 110px; }
  .hero .static-mark { opacity: .35; }
}
.contact-list a { padding-block: 11px; }
.link-line { padding-block: 13px 9px; }
@media (max-width: 640px) { .tag3d dt { font-size: 11px; } }

/* mist starts on the same cream as the section above, so there is no step */
.on-mist { background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 18%, #E4E5DA 62%, var(--sage-mist) 100%); }

/* quicker, shorter entrances on phones */
@media (max-width: 640px) { .reveal { transform: translateY(18px); transition-duration: .7s; } .split-line > span { transition-duration: .8s; } .img-reveal img, .img-reveal video { transition-duration: 1.1s; } .img-reveal::after { transition-duration: .8s; } }

/* forms keep their own cream-card colours inside sage or espresso sections */
.on-sage form, .on-dark form { color: var(--body-brown); }
.on-sage form p, .on-dark form p, .on-sage form .check-result, .on-dark form .check-result { color: var(--body-brown); }
.on-sage form .btn, .on-dark form .btn { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.on-sage form .btn::before, .on-dark form .btn::before { background: var(--cream); }
.on-sage form .btn:hover, .on-dark form .btn:hover { color: var(--espresso); }
.on-sage form :focus-visible, .on-dark form :focus-visible { outline-color: var(--bronze); }
/* ================================================================
   v6: 3D on every device, and a pause control
   ================================================================ */
.hero-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; pointer-events: auto; }
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid rgba(243,235,221,.45); border-radius: 999px; color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: rgba(43,31,24,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .3s, background .3s; }
.motion-toggle:hover { border-color: var(--gold-300); background: rgba(43,31,24,.6); }
.motion-toggle:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
.mt-icon { width: 12px; height: 12px; position: relative; flex: none; }
.mt-icon::before, .mt-icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: var(--gold-300); }
.mt-icon::before { left: 1px; } .mt-icon::after { right: 1px; }
.motion-paused .mt-icon::before { left: 2px; width: 0; height: 0; top: 0; background: none; border-left: 10px solid var(--gold-300); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.motion-paused .mt-icon::after { display: none; }
.motion-paused .marquee .track, .motion-paused .scroll-cue i::after, .motion-paused .tag3d, .motion-paused .loader .bar::after { animation-play-state: paused; }
.motion-paused .reveal, .motion-paused .split-line > span, .motion-paused .img-reveal img, .motion-paused .img-reveal::after { transition-duration: .01ms; }

/* the scene is a real image to screen readers; keep it behind the text for touch and clicks */
.hero .scene { z-index: 0; }
.hero .hero-inner { z-index: 2; }
.hero .static-mark { z-index: 1; }

@media (max-width: 759px) {
  /* phones: the mark sits in the top part of the hero, the words underneath */
  .hero { align-items: end; }
  .hero .hero-inner { padding-top: 54vh; padding-top: 54svh; }
  .hero .static-mark { top: 28svh; top: 28vh; width: 70vw; }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .hero .tag-row { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero-tools { flex-direction: row; justify-content: space-between; align-items: center; }
  .hero-tools .scroll-cue i { height: 36px; }
  /* a soft dark band so the words stay readable over the moving gold dust */
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(43,31,24,0), rgba(43,31,24,.82) 38%); z-index: 1; pointer-events: none; }
}
@media (min-width: 760px) and (max-width: 1179px) {
  .hero .hero-copy { max-width: 40ch; }
  .hero h1 { max-width: 9.5em; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero .scene { opacity: .55; }
}
.hero .static-mark, .hero-sub .seal-bg { height: auto; aspect-ratio: 1; }

/* phones: mark in the top 45%, headline and Book a Fitting inside the first screen */
@media (max-width: 759px) {
  .hero .hero-inner { padding-top: 45vh; padding-top: 45svh; padding-bottom: 28px; }
  .hero .static-mark { top: 24vh; top: 24svh; width: 62vw; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero .tag-row.mt-m { margin-top: 16px; }
  .hero .lede { font-size: 16.5px; line-height: 1.55; }
  .hero .btn-row.mt-m { margin-top: 20px; }
  .hero .btn-row .btn { padding: 14px 18px; }
}
@media (max-width: 759px) and (max-height: 700px) {
  .hero .hero-inner { padding-top: 42vh; padding-top: 42svh; }
  .hero .lede { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
/* portrait tablets (iPad, Android tablets): same stacking as phones */
@media (min-width: 760px) and (max-width: 1179px) and (orientation: portrait) {
  .hero .hero-inner { padding-top: 50vh; padding-top: 50svh; }
  .hero .static-mark { left: 50%; right: auto; top: 25vh; top: 25svh; width: 50vw; transform: translate(-50%, -50%); }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(180deg, rgba(43,31,24,0), rgba(43,31,24,.8) 36%); z-index: 1; pointer-events: none; }
}
/* brand packaging imagery */
.pack-figure { margin: 0; }
.pack-figure figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; }
.pack-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 4px; }
.pack-strip::-webkit-scrollbar { display: none; }
.pack-strip img { width: 100%; height: auto; display: block; }
.pack-strip:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.on-dark .pack-strip:focus-visible { outline-color: var(--gold-300); }
.pack-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; }
.pack-stack { display: grid; gap: 24px; }
.billboard { width: 100%; height: auto; border-radius: 4px; }
.swipe-hint { display: none; color: var(--bronze); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
@media (max-width: 860px) { .pack-pair { grid-template-columns: 1fr; } }
/* phones: wide boards become swipeable strips at a readable height */
@media (max-width: 640px) {
  .pack-strip img { width: auto; max-width: none; height: 230px; }
  .pack-pair .pack-strip img, .pack-stack .pack-strip img { height: 190px; }
  .swipe-hint { display: inline; }
  .billboard { aspect-ratio: 4/3; object-fit: cover; }
}
/* ==========================================================================
   Advisory v2 + Colour Playbook, 18 November 2026
   60 / 30 / 10: cream, pearl and beige as base; espresso, sage and one mood
   ground as support; gold, bronze or cognac as accent. Gold only on espresso.
   ========================================================================== */
:root { --champagne: #E8DBBE; --pearl: #F7F2E9; --mist: #E4E5DA; --cognac: #8A4B26; --oxblood: #4A1F27; }

/* Menu: four plain labels and one filled button (gold fill, espresso text, 5.18:1) */
.nav .btn-solid { padding: 10px 18px; background: var(--gold); color: var(--espresso); border: 1px solid var(--gold); font-weight: 600; transition: filter .3s; }
.nav .btn-solid::after { display: none; }
.nav .btn-solid:hover { filter: brightness(1.08); }
@media (max-width: 900px) {
  .nav .btn-solid { margin-top: 12px; display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; font-family: var(--sans); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
}

/* Main button on espresso: gold fill, espresso text */
.on-dark .btn:not(.outline) { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.on-dark .btn:not(.outline)::before { background: var(--cream); }
.on-dark .btn:not(.outline):hover { color: var(--espresso); }

/* Hero: what, where, how, then the tag */
.hero-trust { margin: 18px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--light-gold); }
.hero-tag { pointer-events: auto; display: grid; gap: 10px; width: 236px; margin-left: auto; padding: 30px 20px 16px; background: linear-gradient(160deg, var(--pearl), var(--champagne)); color: var(--espresso); border-radius: 4px; position: relative; box-shadow: 0 30px 60px -28px rgba(0,0,0,.75); transform: rotate(-4deg); transition: transform .6s var(--ease-out); }
.hero-tag:hover { transform: rotate(-1deg) translateY(-4px); }
.hero-tag:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 6px; }
.ht-hole { position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--espresso); box-shadow: inset 0 0 0 2px var(--gold); }
.ht-name { font-family: var(--serif); font-size: 26px; letter-spacing: .32em; text-align: center; padding: 0 0 8px .32em; border-bottom: 1px solid var(--gold); }
.ht-rows { display: grid; gap: 7px; }
.ht-rows > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; }
.ht-rows i { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ht-rows b { font-weight: 600; color: var(--espresso); text-align: right; }
.ht-rows > span:first-child b { font-family: var(--serif); font-size: 21px; letter-spacing: .06em; font-weight: 500; }
.ht-foot { font-size: 11.5px; color: var(--body-brown); border-top: 1px solid rgba(122,90,46,.3); padding-top: 8px; }
.hero .tag-row { align-items: flex-end; }
@media (max-width: 759px) {
  .hero-tag { width: min(100%, 320px); margin-left: 0; align-self: flex-start; transform: rotate(-2deg); }
  .hero .lede { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) { .hero-tag, .hero-tag:hover { transform: none; transition: none; } }

/* Proof strip: quick relief on cream, one line of facts */
.proof-strip { padding: clamp(32px, 4.5vw, 56px) 0; }
.proof-strip .facts { margin-top: 0; border-top: 0; }
.proof-strip .facts div { padding-top: 0; }
.proof-strip .facts b { font-size: clamp(40px, 4vw, 56px); }
.proof-strip .facts span { font-size: 14px; color: var(--body-brown); max-width: 30ch; display: block; }

.shoes-intro { max-width: 56ch; margin: -8px 0 32px; }

/* Champagne: the Fitting, warm and near the action */
.on-champagne { background: radial-gradient(120% 80% at 50% 0%, #F1E7CF 0%, var(--champagne) 60%); color: var(--body-brown); }
.on-champagne .eyebrow { color: var(--cognac); }
.on-champagne .steps { border-top-color: rgba(138,75,38,.35); }

/* Sage mist band */
.on-mistband { background: linear-gradient(180deg, var(--mist) 0%, var(--sage-mist) 100%); color: var(--body-brown); }
.on-mistband .eyebrow, .on-mistband .small { color: var(--espresso); }

/* Occasion tap targets */
.occasions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; }
.occasions .glabel { flex-basis: 100%; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--body-brown); }
.occ { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 22px; border: 1px solid var(--espresso); border-radius: 999px; font-family: var(--serif); font-size: 21px; color: var(--espresso); background: rgba(251,246,236,.55); transition: background .3s, color .3s; }
.occ:hover, .occ:focus-visible { background: var(--espresso); color: var(--cream); }
ol.steps { list-style: none; padding-left: 0; margin: 0; }

/* Tag check on the espresso band */
.tag-check-home { max-width: 480px; }
.tag-check-home .field label { color: var(--light-gold); font-size: 12px; }
.tag-check-home #tag-no { color: var(--cream); border-bottom-color: rgba(216,190,138,.6); font-family: var(--serif); font-size: 30px; letter-spacing: .06em; }
.tag-check-home #tag-no::placeholder { color: rgba(205,191,170,.55); }
.on-dark form.tag-check-home p, .on-dark form.tag-check-home .check-result { color: var(--beige); }
.on-dark form.tag-check-home .btn { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.on-dark form.tag-check-home .btn::before { background: var(--cream); }
.tag-check-home .link-line, .tag-check-home .inline-link { color: var(--cream); }
.on-dark form.tag-check-home :focus-visible { outline-color: var(--gold-300); }
.tag-check-home .btn-row { align-items: center; gap: 22px; }

/* Closing band */
.closing .lede { margin-left: auto; margin-right: auto; color: var(--cream); }
.link-line { min-height: 44px; }

/* Palette audit, APCA pass (18 Nov 2026): gold #B08D57 is Lc 42 on espresso, too weak for 12-14 px text.
   Small gold text and gold button fills move to light gold #D8BE8A (8.88:1, Lc 67). #B08D57 stays for lines, borders and ornaments. */
.on-dark .eyebrow, .on-dark .piece .try, .quotes figcaption, .site-footer .h4 { color: var(--light-gold); }
.nav .btn-solid, .on-dark .btn:not(.outline), .on-dark form.tag-check-home .btn { background: var(--light-gold); border-color: var(--light-gold); color: var(--espresso); }
.tag-check-home #tag-no::placeholder { color: #AFA290; }

/* ==========================================================================
   Mobile pass, all phones (Android Chrome, Samsung Internet, iOS Safari)
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, .piece, .occ, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(176,141,87,.18); }
img { -webkit-user-drag: none; }
.site-header.scrolled { -webkit-backdrop-filter: blur(10px); }

/* Home hero: the main button sits inside the first screen on every phone */
@media (max-width: 759px) {
  .hero .hero-inner { padding-top: 30vh; padding-top: 30svh; }
  .hero .lede { font-size: 16px; line-height: 1.55; }
  .hero h1 { margin-bottom: 0; }
  .hero .btn-row { gap: 12px; }
  .hero .btn-row .btn { width: 100%; justify-content: space-between; }
  .hero-trust { font-size: 12.5px; line-height: 1.6; }
}
@media (max-width: 759px) and (max-height: 700px) {
  .hero .hero-inner { padding-top: 22vh; padding-top: 22svh; }
}
/* Landscape phones: the copy and button come first, the tag waits */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-tag { display: none; }
}

/* Small phones, 320 to 359 px (older Android, iPhone SE 1st gen) */
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  h1, .hero h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .btn { padding: 16px 18px; letter-spacing: .14em; font-size: 11.5px; }
  .occ { font-size: 18px; padding: 8px 16px; }
  .facts b, .proof-strip .facts b { font-size: 34px; }
  .wa-float { padding: 12px 16px; letter-spacing: .12em; }
  .tag-check-home #tag-no { font-size: 24px; }
}

/* Closing band on light pages */
.closing-light h2 { margin-left: auto; margin-right: auto; }

/* Accessibility review, WCAG 2.2 AA (18 Nov 2026) */
h2.eyebrow { font-family: var(--sans); line-height: 1.4; }
.tag-check-home #tag-no:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.tag-check-home #tag-no:focus-visible { outline-color: var(--gold-300); }
.field input, .field select, .field textarea { border-bottom-color: var(--muted); }
.tag-check-home #tag-no { border-bottom-color: rgba(216,190,138,.75); }
@media (max-width: 900px) {
  .nav { visibility: hidden; transition: clip-path .7s var(--ease-out), visibility 0s .7s; }
  body.menu-open .nav { visibility: visible; transition-delay: 0s; }
}
.wa-float:not(.show) { visibility: hidden; transition: transform .7s var(--ease-out), visibility 0s .7s; }
html { scroll-padding-bottom: 96px; }
.on-champagne .step::before { color: var(--cognac); }
.on-champagne .step::after { background: var(--cognac); }
.on-dark .quote-sign { color: var(--light-gold); }
.on-sage .btn:hover { color: var(--espresso); }
.on-mistband .swipe-hint { color: var(--espresso); }
@media (min-width: 901px) { .nav a { padding: 13px 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; } }

/* Device sweep 320-430 px: nothing under 12 px, main button inside the first screen on 568 px tall phones */
.piece .tagno, .piece .hover-note, .ht-foot, .ht-rows i { font-size: 12px; }
@media (max-width: 359px) { .btn { font-size: 12px; } }
@media (max-width: 759px) and (max-height: 600px) { .hero .hero-inner { padding-top: 15vh; padding-top: 15svh; } .hero .eyebrow { margin-bottom: 8px; } }

/* Home link: only inside the phone menu (the logo does this job on desktop) */
.nav .nav-home { display: none; }
@media (max-width: 900px) { .nav .nav-home { display: block; } }

/* Phone hero: the seal sits in the space above the headline, matched to the 3D ring */
@media (max-width: 759px) {
  .hero .static-mark { top: 72px; left: 50%; right: auto; width: min(60vw, calc(30svh - 84px)); transform: translateX(-50%); }
}
@media (max-width: 759px) and (max-height: 700px) {
  .hero .static-mark { width: min(60vw, calc(22svh - 84px)); }
}
@media (max-width: 759px) and (max-height: 600px) {
  .hero .static-mark { width: 62vw; opacity: .22; }
  .hero .scene { opacity: .22; }
}
@media (max-width: 759px) and (max-height: 700px) and (min-height: 601px) {
  .hero .hero-inner { padding-top: 26vh; padding-top: 26svh; }
  .hero .static-mark { width: min(60vw, calc(26svh - 84px)); }
}

/* ==========================================================================
   Colour layer, 18 Nov 2026: cool, calm, warm-welcoming. Kampala at golden hour,
   lubugo barkcloth underfoot, Savile Row finish. All pairs checked: 6.18:1 or better.
   ========================================================================== */
:root {
  --ink: #1C1713; --pearl: #F7F2E9; --champagne: #E8DBBE; --camel: #C19A6B; --cognac: #8A4B26;
  --oxblood: #4A1F27; --claret: #6B2A36; --midnight: #1B2536; --windsor: #25392F; --blush: #D8B9AA; --steel-mist: #C9D3DE;
  --barkcloth: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.55' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.16 0 0 0 0 0.09 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
::selection { background: var(--light-gold); color: var(--espresso); }
html { scrollbar-color: var(--camel) var(--espresso); }

/* Hero: a low golden-hour glow, like late sun over the lake */
.hero.on-dark { background:
  radial-gradient(70% 55% at 88% 18%, rgba(193,154,107,.20), transparent 70%),
  radial-gradient(60% 50% at 8% 100%, rgba(73,84,74,.30), transparent 70%),
  linear-gradient(180deg, #33251D 0%, var(--espresso) 55%, #241913 100%); }

/* Proof strip on pearl with champagne hairlines: the calmest moment on the page */
.proof-strip.on-cream { background: var(--pearl); border-bottom: 1px solid var(--champagne); }
.proof-strip .facts div { border-left: 1px solid var(--champagne); padding-left: 22px; }
.proof-strip .facts div:first-child { border-left: 0; padding-left: 0; }
.proof-strip .facts b { color: var(--cognac); }
@media (max-width: 600px) { .proof-strip .facts div { border-left: 0; padding-left: 0; border-top: 1px solid var(--champagne); padding-top: 16px; } .proof-strip .facts div:first-child { border-top: 0; padding-top: 0; } }

/* Lubugo barkcloth: a quiet Ugandan texture under the beige band and the footer */
.on-beige { position: relative; isolation: isolate; }
.on-beige::after { content: ""; position: absolute; inset: 0; background-image: var(--barkcloth); opacity: .18; mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.on-beige > .wrap { position: relative; z-index: 1; }

/* Shoe cards and FAQ lift onto pearl */
.on-cream .piece .frame, .on-cream .faq details { background: var(--pearl); }
.on-cream .faq details { padding: 0 20px; border: 1px solid var(--champagne); border-bottom: 1px solid var(--champagne); margin-bottom: 10px; }
.on-cream .faq { border-top: 0; }

/* Occasion chips: each one takes its own playbook mood when touched (one mood at a time) */
.occ { transition: background .35s, color .35s, border-color .35s; }
.occ-kwanjula:hover, .occ-kwanjula:focus-visible { background: var(--oxblood); border-color: var(--oxblood); color: var(--cream); }
.occ-wedding:hover, .occ-wedding:focus-visible { background: var(--claret); border-color: var(--claret); color: var(--cream); }
.occ-boardroom:hover, .occ-boardroom:focus-visible { background: var(--midnight); border-color: var(--midnight); color: var(--cream); }
.occ-sunday:hover, .occ-sunday:focus-visible { background: var(--sage-mist); border-color: var(--sage); color: var(--espresso); }
.occ-weekend:hover, .occ-weekend:focus-visible { background: var(--windsor); border-color: var(--windsor); color: var(--cream); }
.occ-gift:hover, .occ-gift:focus-visible { background: var(--blush); border-color: var(--cognac); color: var(--espresso); }

/* Fitting band: champagne with a soft camel warmth */
.on-champagne { background: radial-gradient(90% 70% at 15% 0%, rgba(247,242,233,.9), transparent 65%), var(--champagne); }

/* Gold hairline with a small diamond between the dark closing band and the footer */
.closing { position: relative; }
.closing::after { content: "\25C6"; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); color: var(--camel); font-size: 12px; line-height: 18px; background: var(--espresso); padding: 0 10px; z-index: 2; }

/* Footer: ink with barkcloth, light gold headings */
.site-footer { background: var(--ink); position: relative; isolation: isolate; border-top: 1px solid rgba(193,154,107,.45); }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--barkcloth); opacity: .35; mix-blend-mode: screen; filter: invert(1); pointer-events: none; z-index: -1; }
.site-footer .h4 { color: var(--light-gold); }

@media (prefers-reduced-motion: reduce) { .occ { transition: none; } }

/* ==========================================================================
   Clean and seamless, 18 Nov 2026
   One quiet vertical gradient per ground, no stacked glow blobs. Each ground
   ends on its own base colour, so the next section's fade starts from the
   exact colour above it. Lights are warm neutrals (never yellow or white),
   darks are warm brown (never black), sage keeps the page cool and restful.
   ========================================================================== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.on-dark      { background: radial-gradient(90% 60% at 50% 0%, rgba(193,154,107,.07), transparent 70%), linear-gradient(180deg, #32251D 0%, var(--espresso) 100%); }
.on-sage      { background: linear-gradient(180deg, #505B51 0%, var(--sage) 100%); }
.on-cream     { background: linear-gradient(180deg, #F8F2E8 0%, var(--cream) 100%); }
.on-beige     { background: linear-gradient(180deg, #D7CBB9 0%, var(--beige) 100%); }
.on-champagne { background: linear-gradient(180deg, #F0E7D2 0%, var(--champagne) 100%); }
.on-mistband  { background: linear-gradient(180deg, #E6E6DC 0%, var(--sage-mist) 100%); }
.on-mist      { background: linear-gradient(180deg, var(--cream) 0%, #EAE8DD 45%, var(--sage-mist) 100%); }
.proof-strip.on-cream { background: linear-gradient(180deg, #F2EBDF 0%, var(--pearl) 100%); }

/* Hero: one soft camel light, then it settles exactly on espresso */
.hero.on-dark { background:
  radial-gradient(65% 55% at 82% 22%, rgba(193,154,107,.14), transparent 72%),
  linear-gradient(180deg, #34261E 0%, #2F2219 45%, var(--espresso) 100%); }

/* Eased fade between sections: long, with no visible band */
.blend { position: relative; }
.blend::before {
  height: clamp(110px, 13vw, 220px);
  background: linear-gradient(180deg,
    var(--from) 0%,
    color-mix(in srgb, var(--from) 82%, transparent) 14%,
    color-mix(in srgb, var(--from) 58%, transparent) 30%,
    color-mix(in srgb, var(--from) 34%, transparent) 50%,
    color-mix(in srgb, var(--from) 14%, transparent) 72%,
    color-mix(in srgb, var(--from) 4%, transparent) 88%,
    transparent 100%);
}
.proof-strip.blend::before { height: 90px; }

/* Texture whispers rather than speaks */
.on-beige::after { opacity: .09; }
.site-footer::before { opacity: .22; }

/* Smooth, unhurried interactions */
:root { --ease-calm: cubic-bezier(.22,.61,.36,1); }
a, button, .btn, .occ, .piece .frame img, summary { transition-timing-function: var(--ease-calm); }
.faq details > div { animation: faq-in .45s var(--ease-calm); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq details > div { animation: none; } }

/* Dark into light: a crisp, tailored seam with a camel hairline, never a grey wash */
:is(.on-cream, .on-beige, .on-champagne, .on-mist, .on-mistband).blend[style*="#2B1F18"]::before,
:is(.on-cream, .on-beige, .on-champagne, .on-mist, .on-mistband).blend[style*="#49544A"]::before { display: none; }
:is(.on-cream, .on-beige, .on-champagne, .on-mist, .on-mistband).blend[style*="#2B1F18"],
:is(.on-cream, .on-beige, .on-champagne, .on-mist, .on-mistband).blend[style*="#49544A"],
.hero + .on-champagne, .on-dark + .on-champagne { box-shadow: inset 0 1px 0 rgba(193,154,107,.55); }

/* ==========================================================================
   Competitive Edge pass (19 Nov 2026): real photos, pairs.js, Instagram
   showroom, quiet hero, honest Fitting promise. Brand grounds only:
   espresso, cream, warm beige and grey sage.
   ========================================================================== */
[hidden] { display: none !important; }

/* Instagram showroom in the header: smaller than Book on WhatsApp */
.nav .nav-ig { display: inline-flex; align-items: center; gap: 8px; }
.nav .nav-ig::after { display: none; }
.ig-ico { width: 18px; height: 18px; flex: none; }
.nav .nav-ig:hover span, .nav .nav-ig:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 901px) and (max-width: 1180px) {
  .nav .nav-ig span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav .nav-ig { min-width: 44px; min-height: 44px; justify-content: center; }
}
@media (max-width: 900px) {
  .nav .nav-ig { min-height: 48px; gap: 12px; }
  .nav .nav-ig .ig-ico { width: 26px; height: 26px; }
}
[data-ig]:focus-visible { outline: 2px solid var(--bronze) !important; outline-offset: 4px; }

/* hero: one sentence of proof, two buttons, a quiet showroom link */
.hero-ig { margin: 18px 0 0; }
.ig-text { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--cream); text-decoration: underline; text-decoration-color: rgba(243,235,221,.45); text-underline-offset: 5px; }
.ig-text:hover { text-decoration-color: var(--cream); }
.quiet-line { margin: 6px 0 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--beige); letter-spacing: .01em; }
.on-cream .ig-text, .on-beige .ig-text { color: var(--espresso); text-decoration-color: rgba(43,31,24,.4); }

/* who are you dressing: one photo tile and one honest ask */
.shop-by { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.shop-tile.photo-tile { background: var(--cream); }
.shop-tile.photo-tile img { object-fit: contain; padding: 4% 4% 22%; }
.who-ask { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 56px); background: var(--cream-card); border: 1px solid var(--sand-line); }
.who-ask .h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 0; color: var(--espresso); }
.who-ask p { color: var(--body-brown); max-width: 36ch; }
@media (max-width: 700px) { .shop-by { grid-template-columns: 1fr; } .who-ask .btn { width: 100%; justify-content: center; } }

/* pair cards: the cleaned photo, whole, on cream */
.pair { position: relative; display: flex; flex-direction: column; text-align: left; }
.pair.hide { display: none; }
.pair .frame { position: relative; display: block; width: 100%; aspect-ratio: 4/5; overflow: hidden; background: var(--cream); border: 1px solid rgba(193,154,107,.28); padding: 0; cursor: pointer; }
.pair .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-calm, ease), opacity .45s ease; }
.pair .frame img.second { opacity: 0; }
@media (hover: hover) { .pair:hover .frame img.second { opacity: 1; } .pair:hover .frame img:first-of-type { transform: scale(1.03); } }
.pair .tagno { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--espresso); color: var(--cream); font-size: 11px; letter-spacing: .18em; padding: 6px 10px; text-transform: uppercase; }
.pair .sold-badge { position: absolute; top: 12px; right: 12px; z-index: 1; background: var(--espresso); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .2em; padding: 6px 12px; text-transform: uppercase; }
.pair.is-sold .frame img { opacity: .55; }
.pair-meta { padding-top: 16px; display: grid; gap: 6px; }
.pair-name { margin: 0; font-size: 24px; line-height: 1.15; }
.pair-name button { font: inherit; color: var(--espresso); text-align: left; padding: 0; min-height: 44px; display: inline-flex; align-items: center; }
.pair-name button:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pair-facts { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--espresso); }
.pair-line { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body-brown); }
.pair-ask { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.pair-ask:hover { color: var(--espresso); }
.rail .pair { flex: 0 0 min(76vw, 320px); scroll-snap-align: start; }
@media (max-width: 600px) { .pair-line { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.clean-frame { background: var(--cream); border: 1px solid rgba(193,154,107,.28); }
.clean-frame img { object-fit: contain !important; }

/* product view */
.modal .ph { background: var(--cream); display: flex; flex-direction: column; }
.pv-main { position: relative; aspect-ratio: 4/5; width: 100%; }
.pv-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pv-thumbs { display: flex; gap: 8px; padding: 10px 12px 14px; overflow-x: auto; }
.pv-thumb { flex: 0 0 56px; height: 70px; padding: 0; background: var(--cream-card); border: 1px solid var(--sand-line); }
.pv-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pv-thumb[aria-pressed="true"] { border-color: var(--espresso); box-shadow: 0 0 0 1px var(--espresso); }
.pv-h { margin: 22px 0 8px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.pv-occ { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pv-occ li { padding: 7px 12px; border: 1px solid var(--sand-line); background: var(--cream-card); font-size: 13px; color: var(--espresso); }
.pv-p { margin: 0; color: var(--body-brown); }
.pv-note { margin-top: 18px; color: var(--muted); }
@media (max-width: 900px) { .modal .ph { aspect-ratio: auto; } .pv-main { max-height: 58svh; aspect-ratio: 4/5; margin: 0 auto; max-width: 100%; } }

/* showroom band */
.showroom .grid-2 { align-items: center; }
.btn.btn-cream, .on-dark .btn.btn-cream:not(.outline) { background: var(--cream); border-color: var(--cream); color: var(--espresso); gap: 12px; }
.on-dark .btn.btn-cream::before { background: var(--cream-card); }
.qr-card { display: grid; justify-items: center; gap: 12px; width: min(100%, 300px); margin-left: auto; padding: 22px; background: var(--cream); color: var(--espresso); font-size: 13px; letter-spacing: .06em; text-align: center; }
.qr-card img { width: 100%; height: auto; }
.qr-contact { margin: clamp(28px, 4vw, 48px) 0 0; width: 240px; border: 1px solid var(--sand-line); }
.qr-foot { display: grid; gap: 8px; width: 132px; margin-top: 22px; padding: 10px; background: var(--cream); color: var(--espresso); font-size: 11px; line-height: 1.3; text-align: center; }
.qr-foot img { width: 100%; height: auto; }
@media (max-width: 899px) { .qr-card, .qr-foot { display: none !important; } }

/* Fitting: the promise in one line, and what happens if the size is wrong */
.fit-promise { max-width: 56ch; margin: -12px 0 clamp(28px, 4vw, 44px); }
.swap-line { margin: clamp(24px, 3vw, 36px) 0 0; padding: 16px 20px; border-left: 2px solid var(--bronze); background: var(--cream-card); color: var(--espresso); max-width: 62ch; }
.on-sage .tag-check-home .field label { color: var(--gold-200); }
.on-sage .tag-check-home #tag-no { border-bottom-color: rgba(232,201,154,.6); }
.on-sage form.tag-check-home .check-result, .on-sage form.tag-check-home p { color: var(--cream); }
.on-sage .tag-check-home { align-self: end; }

/* where we fit */
.where-fit { align-items: end; }

/* video slot (empty until videoUrl is set) */
.wrap.narrow { max-width: 900px; }
.video-stage { position: relative; aspect-ratio: 16/9; background: var(--espresso); overflow: hidden; }
.video-stage iframe, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { padding: 0; cursor: pointer; }
.vp-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--cream); }
.vp-icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--espresso); }

/* customer words (empty until a quote has permission) */
.quote-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.cq { margin: 0; padding: 28px; background: var(--cream-card); border: 1px solid var(--sand-line); }
.cq blockquote { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--espresso); }
.cq figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .08em; color: var(--body-brown); }

/* shop filters: occasion select shares the size select look */
.occ-filter select { min-height: 44px; min-width: 220px; font: inherit; font-size: max(16px, 1em); color: var(--black); background: var(--cream-card); border: 1px solid var(--sand-line); padding: 8px 36px 8px 14px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--espresso) 50%), linear-gradient(135deg, var(--espresso) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
@media (max-width: 600px) { .occ-filter, .occ-filter select { width: 100%; } }
.shop-tile.photo-tile { aspect-ratio: 4/5; }
.shop-tile.photo-tile img { padding: 6% 8% 30%; }
.shop-tile.photo-tile::after { background: linear-gradient(180deg, rgba(43,31,24,0) 52%, rgba(43,31,24,.86) 100%); }
@media (max-width: 700px) { .shop-tile.photo-tile { aspect-ratio: 4/5; min-height: 0; } }

/* Real photos (20 Nov 2026): every pair is a cleaned, square shop photo, shown edge to edge */
.pair .frame { aspect-ratio: 1 / 1; background: var(--espresso); border: 0; }
.pair .frame img { object-fit: cover; }
@media (hover: hover) { .pair:hover .frame img:first-of-type { transform: scale(1.04); } }
.pv-main { aspect-ratio: 1 / 1; }
.pv-main img { object-fit: cover; }
.modal .ph { background: var(--espresso); }
@media (max-width: 900px) { .pv-main { max-height: none; } }
.clean-frame { background: var(--espresso); border: 0; aspect-ratio: 1 / 1; }
.clean-frame img { object-fit: cover !important; }
.shop-tile.photo-tile { background: var(--espresso); }
.shop-tile.photo-tile img { object-fit: cover; padding: 0; }
.shop-tile.photo-tile::after { background: linear-gradient(180deg, rgba(28,23,19,0) 45%, rgba(28,23,19,.82) 100%); }

/* 4:3 shoe frames (21 Nov 2026): the photos keep the camera's landscape shape, so a whole pair fits */
.pair .frame, .pv-main, .clean-frame { aspect-ratio: 4 / 3; }
.shop-tile.photo-tile img { object-position: center 40%; }
.pv-thumb { flex: 0 0 72px; height: 54px; }
.pv-thumb img { object-fit: cover; }

/* ---------- Nov 2026: size on every card, size finder, style notes ---------- */
/* size line on each shoe card */
.pair-size { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 6px; font-size: 14px; color: var(--body-brown); }
.pair-size .ps-k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pair-size .ps-v { font-weight: 600; color: var(--espresso); font-variant-numeric: tabular-nums; }
.pair-size .ps-alt { color: var(--muted); font-variant-numeric: tabular-nums; }
.pair-size .ps-link { font-size: 13px; color: var(--bronze); border-bottom: 1px solid currentColor; padding: 10px 0 2px; margin: -10px 0 0; }
.pair-size.is-ask .ps-v { font-weight: 500; color: var(--body-brown); }

/* size finder */
.sizer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--cream-card); border: 1px solid var(--sand-line); box-shadow: 0 30px 60px -40px rgba(43,31,24,.35); }
.sizer-tabs { grid-column: 1 / -1; display: flex; border-bottom: 1px solid var(--sand-line); }
.sizer-tabs [role="tab"] { flex: 1; min-height: 52px; padding: 14px 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s, background .3s; }
.sizer-tabs [role="tab"][aria-selected="true"] { color: var(--espresso); border-bottom-color: var(--bronze); background: #fff8ee; }
.sizer-tabs [role="tab"]:hover { color: var(--espresso); }
.sizer-panel { padding: clamp(22px, 3vw, 36px); }
.sizer-fields { display: grid; gap: 22px; }
.sizer-fields .field select, .sizer-fields .field input { min-height: 48px; font-size: 18px; }
.sizer-result { grid-row: 2 / span 2; grid-column: 2; padding: clamp(22px, 3vw, 36px); background: var(--espresso); color: var(--beige); }
.sizer-big { margin: 0; display: grid; gap: 4px; }
.sizer-uk { font-family: var(--serif); font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--cream); }
.sizer-result .small { color: var(--beige); font-size: 15px; }
.sizer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; margin: 24px 0 8px; padding-top: 20px; border-top: 1px solid rgba(176,141,87,.45); }
.sizer-grid dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--light-gold); }
.sizer-grid dd { margin: 4px 0 0; font-size: 20px; color: var(--cream); font-variant-numeric: tabular-nums; }
.sizer-result .btn { background: var(--light-gold); color: var(--espresso); border-color: var(--light-gold); }
.sizer-result .btn::before { background: var(--cream); }
@media (max-width: 760px) {
  .sizer { grid-template-columns: 1fr; }
  .sizer-result { grid-row: auto; grid-column: auto; }
  .sizer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sizer-tabs [role="tab"] { letter-spacing: .08em; }
}
.fit-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--sand-line); padding-top: 28px; }
.fit-notes .small { margin: 8px 0 0; }
@media (max-width: 760px) { .fit-notes { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 18px; border: 1px solid var(--sand-line); background: var(--cream-card); }
.size-table.world { min-width: 640px; }
.size-table.world caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.size-table.world th, .size-table.world td { padding: 11px 14px; text-align: center; }
.size-table.world tbody th { font-weight: 600; color: var(--espresso); font-size: 15px; letter-spacing: 0; text-transform: none; }
.size-table.world tbody tr:nth-child(even) { background: rgba(205,191,170,.18); }
.size-table.world tr.is-you { background: var(--espresso); }
.size-table.world tr.is-you th, .size-table.world tr.is-you td { color: var(--cream); }

/* style notes: home card on sage */
.notes-grid { align-items: center; }
.note-card { background: var(--cream-card); color: var(--body-brown); padding: clamp(28px, 4vw, 48px); border-top: 2px solid var(--gold-200); box-shadow: 0 40px 70px -45px rgba(0,0,0,.55); }
.on-sage .note-card p { color: var(--body-brown); }
.on-sage .note-card .tip-title { color: var(--espresso); }
.on-sage .note-card .tip-cat, .on-sage .note-card .tip-link { color: var(--bronze); }
.on-sage .note-card .tip-meta { color: var(--muted); }
.on-sage .notes-all { color: var(--cream); display: inline-block; }
.note-nav { display: flex; gap: 10px; margin-top: 24px; }
.note-btn { width: 48px; height: 48px; border: 1px solid var(--sand-line); color: var(--espresso); font-size: 18px; transition: background .3s, color .3s, border-color .3s; }
.note-btn:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.tip-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tip-cat { color: var(--bronze); }
.tip-title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--espresso); margin: 0; }
.tip-text { margin: 12px 0 0; }
.tip-link { display: inline-block; margin-top: 12px; color: var(--bronze); font-size: 15px; padding: 6px 0; }

/* style notes page */
.crumbs a { border-bottom: 1px solid currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 10px 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--sand-line); background: var(--cream-card); transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--espresso-200); border-color: var(--espresso-200); }
.chip[aria-pressed="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tips-grid { grid-template-columns: 1fr; } }
.tip-card { background: var(--cream-card); border: 1px solid var(--sand-line); padding: 28px; scroll-margin-top: 110px; }
.tip-card .tip-title { font-size: clamp(24px, 2vw, 30px); }
.tip-card.is-today { border-color: var(--bronze); box-shadow: inset 0 3px 0 var(--bronze); }
.tip-flag { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--espresso); }
.tip-card:target { outline: 2px solid var(--bronze); outline-offset: 4px; }

/* the daily pop-up */
.tip-pop { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; width: min(380px, calc(100vw - 36px)); background: var(--cream-card); color: var(--body-brown); border: 1px solid var(--sand-line); border-top: 2px solid var(--gold); box-shadow: 0 30px 60px -20px rgba(28,23,19,.45); padding: 18px 20px 16px; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.tip-pop.show { opacity: 1; transform: none; }
.tip-pop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tip-pop .eyebrow { margin: 0; color: var(--bronze); }
.tip-close { width: 44px; height: 44px; margin: -10px -12px -10px 0; font-size: 26px; line-height: 1; color: var(--espresso); }
.tip-pop .tip-meta { margin: 8px 0 6px; }
.tip-pop .tip-meta span:last-child { display: none; }
.tip-pop .tip-title { font-size: 24px; }
.tip-pop .tip-text { font-size: 15px; line-height: 1.55; margin-top: 8px; }
.tip-pop .tip-link { font-size: 14px; }
.tip-pop-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--sand-line); }
.tip-next, .tip-all { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); }
.tip-all { color: var(--bronze); border-bottom: 1px solid currentColor; min-height: 0; padding: 12px 0 2px; }
@media (max-width: 640px) {
  .tip-pop { left: 12px; right: 12px; width: auto; bottom: max(12px, env(safe-area-inset-bottom)); }
  body.tip-open .wa-float { transform: translate(-50%, 160%); }
}
@media (prefers-reduced-motion: reduce) { .tip-pop { transition: none; transform: none; } }
@media print { .tip-pop, .wa-float { display: none !important; } }

/* ---------- Nov 2026: order buttons and the bag ---------- */
.site-header .brand { margin-right: auto; }
.site-header .nav { order: 2; }
.bag-btn { order: 3; position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-left: clamp(10px, 1.6vw, 22px); color: inherit; }
.site-header .menu-btn { order: 4; }
.bag-btn svg { width: 24px; height: 24px; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--light-gold); color: var(--espresso); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; transform: scale(0); transition: transform .3s var(--ease-out); }
.bag-btn.has .bag-count { transform: scale(1); }
.bag-btn.bump .bag-count { animation: bag-bump .5s var(--ease-out); }
@keyframes bag-bump { 40% { transform: scale(1.35); } }
body.menu-open .bag-btn { visibility: hidden; }

/* card actions */
.pair-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pair-order, .pair-bag { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--espresso); transition: background .3s, color .3s; }
.pair-order { background: var(--espresso); color: var(--cream); }
.pair-order:hover { background: var(--black); }
.pair-bag { color: var(--espresso); }
.pair-bag:hover { background: var(--espresso); color: var(--cream); }
.pair-bag.added { border-color: var(--bronze); color: var(--bronze); }
.pair-bag.added:hover { background: transparent; color: var(--bronze); }
.modal .btn-row .btn.outline.added { color: var(--bronze); border-color: var(--bronze); }

/* the drawer */
.bag { position: fixed; inset: 0; z-index: 95; visibility: hidden; }
.bag.open { visibility: visible; }
.bag-scrim { position: absolute; inset: 0; background: rgba(28,23,19,.5); opacity: 0; transition: opacity .4s var(--ease); }
.bag.open .bag-scrim { opacity: 1; }
.bag-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); color: var(--body-brown); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease-out); box-shadow: -30px 0 60px -30px rgba(28,23,19,.4); padding-bottom: env(safe-area-inset-bottom); }
.bag.open .bag-panel { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: max(18px, env(safe-area-inset-top)) 22px 14px; border-bottom: 1px solid var(--sand-line); }
.bag-title { font-size: 34px; }
.bag-x { width: 44px; height: 44px; font-size: 30px; line-height: 1; color: var(--espresso); }
.bag-body { flex: 1; overflow-y: auto; padding: 18px 22px 26px; overscroll-behavior: contain; }
.bag-empty { margin: 0 0 22px; }
.bag-list { list-style: none; margin: 0; padding: 0; }
.bag-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--sand-line); }
.bag-item img { width: 96px; height: 72px; object-fit: cover; background: var(--cream-card); }
.bag-name { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--espresso); }
.bag-info .small { margin: 2px 0 0; }
.bag-size { margin-top: 8px; }
.bag-size select, .bag-size input, .bag-foot input { min-height: 44px; }
.bag-remove { margin-top: 6px; min-height: 44px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; padding: 12px 0 2px; }
.bag-foot { display: grid; gap: 14px; padding-top: 20px; }
.bag-foot .small { margin: 0; }
.bag-send { justify-content: center; }
.bag-clear { justify-self: start; min-height: 44px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bag-toast { position: fixed; left: 50%; top: max(84px, calc(env(safe-area-inset-top) + 70px)); z-index: 96; margin: 0; max-width: calc(100vw - 32px); padding: 12px 18px; background: var(--espresso); color: var(--cream); font-size: 14px; border: 1px solid rgba(176,141,87,.6); transform: translate(-50%, -12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); }
.bag-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .bag-panel, .bag-scrim, .bag-toast, .bag-count { transition: none; } .bag-btn.bump .bag-count { animation: none; } }

/* ---------- Nov 2026: night sky, 3D motion, cross-sell ---------- */
.hero .stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; animation: sky-in 2.4s var(--ease) .3s forwards; }
@keyframes sky-in { to { opacity: 1; } }
/* the italic word in the hero catches the light, slowly */
.hero h1 .italic { background: linear-gradient(100deg, var(--cream) 0%, var(--cream) 38%, var(--light-gold) 50%, var(--cream) 62%, var(--cream) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cream); animation: sheen 7s ease-in-out 1.6s infinite; }
@keyframes sheen { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0 0; } }

/* cards rise in with depth */
.pair.reveal { transform: perspective(1000px) translateY(46px) rotateX(9deg); transform-origin: 50% 100%; }
.pair.reveal.is-in { transform: none; }
/* 3D tilt and light sheen on the photo */
.pair .frame, .mini { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); will-change: transform; }
.pair .frame.tilting, .mini.tilting { transition: transform .08s linear, box-shadow .4s; box-shadow: 0 30px 50px -28px rgba(28,23,19,.55); }
.pair .frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,244,222,.22), transparent 45%); }
.pair .frame.tilting::after { opacity: 1; }

/* the shoe that flies into the bag */
.fly { position: fixed; z-index: 97; object-fit: cover; pointer-events: none; box-shadow: 0 18px 40px -12px rgba(28,23,19,.5); transform-origin: center; }

/* small pair buttons: you may also like, recently viewed */
.also { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--sand-line); }
.also-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.mini { display: grid; gap: 6px; text-align: left; align-content: start; }
.mini img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--espresso); }
.mini-name { font-size: 13px; line-height: 1.3; color: var(--espresso); }
.mini-size { font-size: 12px; color: var(--muted); }
.mini:hover .mini-name { text-decoration: underline; text-underline-offset: 3px; }
.recent { margin-bottom: 36px; }
.recent .also-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 760px) { .recent .also-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  .hero .stars { animation: none; opacity: 1; }
  .hero h1 .italic { animation: none; }
  .pair.reveal { transform: none; }
}
.motion-paused .hero h1 .italic { animation-play-state: paused; }

/* keep the desktop menu on one line now the bag icon sits in the header */
@media (min-width: 901px) { .nav a { white-space: nowrap; } }
@media (min-width: 901px) and (max-width: 1240px) { .nav { gap: clamp(14px, 1.6vw, 24px); } .nav-ig span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .brand, .brand img { width: 104px; } }
@media (min-width: 901px) and (max-width: 1040px) { .nav a:not(.btn-solid) { letter-spacing: .12em; font-size: 11px; } .nav .btn-solid { padding: 9px 12px; } }

/* ---------- Nov 2026: every device ---------- */
/* 12 px is the smallest text anywhere (CLAUDE.md). Small labels keep their caps, with a little less tracking. */
.scroll-cue, .piece .kind, .piece .tagno, .pair .tagno, .filters button, .height .when, .field label, .spec li span:first-child,
.contact-list li > span, .site-footer h4, .site-footer .h4, .wa-float, .piece .try, .shop-tile .label span, .filter-group .glabel,
.tl-step .n, .size-table th, .ht-rows i, .ht-foot, .qr-foot, .pair-size .ps-k, .sizer-grid dt, .tip-meta, .tip-flag, .bag-count, .tag3d dt, .tag3d .foot { font-size: 12px; }
.field label, .filter-group .glabel, .contact-list li > span, .site-footer h4, .site-footer .h4 { letter-spacing: .16em; }
.tag3d dt { letter-spacing: .14em; }
@media (max-width: 640px) { .btn { font-size: 12px; } }
@media (min-width: 901px) and (max-width: 1040px) { .nav a:not(.btn-solid) { font-size: 12px; letter-spacing: .08em; } }

/* touch: no grey flash on Android, no double-tap zoom delay, no accidental text selection on buttons */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, select, label, [role="tab"], .mini, .chip { touch-action: manipulation; }
button, .btn, .chip, .pair-order, .pair-bag, .note-btn, .bag-btn { -webkit-user-select: none; user-select: none; }
/* iOS: never zoom into a field (fields stay 16 px or more), and keep native controls in the brand font */
input, select, textarea { font-size: max(16px, 1em); }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* long words and links never push the page sideways */
main, footer { overflow-wrap: anywhere; }
h1, h2, h3, .quote { overflow-wrap: normal; word-break: normal; hyphens: manual; }
img, svg, video, canvas, iframe { max-width: 100%; }
/* phones turned sideways and short screens: the hero fits without hiding the main button */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 96px 0 40px; }
  .hero h1 { font-size: clamp(34px, 7vh + 2vw, 56px); }
  .hero .lede { font-size: 16px; }
  .hero .static-mark, .hero .scene { opacity: .25; }
  .hero-tools, .scroll-cue { display: none; }
  .hero-sub.on-dark, .hero-sub.on-sage { padding-top: 96px; min-height: 0; }
  .modal .sheet { max-height: 100dvh; }
}
/* big screens: keep lines readable and the page centred */
@media (min-width: 1700px) { :root { --max: 1440px; } body { font-size: 19px; } }
/* fold and very narrow phones */
@media (max-width: 340px) {
  :root { --gutter: 14px; }
  .btn { padding: 15px 14px; letter-spacing: .1em; }
  .pair-order, .pair-bag { padding: 10px 12px; letter-spacing: .08em; }
  .sizer-tabs [role="tab"] { padding: 12px 8px; }
  .tip-pop-foot { flex-wrap: wrap; }
}
/* dynamic viewport units where supported (address bars on iOS and Android) */
@supports (height: 100dvh) { .bag-panel { height: 100dvh; } }
.tip-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
.tip-pop .tip-link { min-height: 44px; }
/* phones turned sideways: the home hero fits in one screen, main button included */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding: 76px 0 22px; }
  .hero .eyebrow, .hero .hero-ig, .hero .quiet-line { display: none; }
  .hero h1 { font-size: clamp(30px, 6.5vh + 1.6vw, 48px); }
  .hero h1 .split-line { display: inline-block; margin-right: .26em; }
  .hero .tag-row.mt-m { margin-top: 12px; }
  .hero .lede { max-width: 62ch; line-height: 1.45; margin: 0; }
  .hero .btn-row.mt-m { margin-top: 14px; }
  .hero .btn { padding: 13px 18px; }
}
@media (max-height: 520px) and (orientation: landscape) { .hero .tag-row { display: block; } .hero .hero-copy { max-width: none; } }
.nav .btn-solid { min-height: 44px; display: inline-flex; align-items: center; }
/* low-end phones: skip work for the footer until it is near the screen */
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* ---------- Nov 2026: review mode (?review=1) ---------- */
.rv-tab { position: fixed; right: 0; top: 50%; z-index: 98; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; min-width: 44px; padding: 18px 12px; background: var(--light-gold); color: var(--espresso); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--gold); box-shadow: -8px 0 24px -12px rgba(28,23,19,.5); }
.rv-tab span { display: inline-block; transform: rotate(90deg); margin-bottom: 8px; }
.rv-panel { position: fixed; right: max(16px, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); z-index: 99; width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 18px 20px 20px; background: var(--cream-card); color: var(--body-brown); border: 1px solid var(--sand-line); border-top: 3px solid var(--light-gold); box-shadow: 0 30px 70px -20px rgba(28,23,19,.55); }
.rv-head { display: flex; justify-content: space-between; align-items: center; }
.rv-title { font-size: 28px; }
.rv-x { width: 44px; height: 44px; margin-right: -10px; font-size: 28px; color: var(--espresso); }
.rv-help { margin: 6px 0 12px; font-size: 15px; line-height: 1.5; }
.rv-spot { padding: 10px 12px; background: var(--cream); border-left: 3px solid var(--bronze); font-size: 14px; }
.rv-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rv-v { color: var(--espresso); }
.rv-row { display: flex; gap: 8px; margin: 10px 0 14px; flex-wrap: wrap; }
.rv-btn { flex: 1; min-height: 44px; padding: 10px 12px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--espresso); color: var(--cream); border: 1px solid var(--espresso); }
.rv-btn.ghost { background: transparent; color: var(--espresso); }
.rv-l { display: block; margin: 12px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rv textarea, .rv input { width: 100%; font: inherit; font-size: 16px; color: var(--black); background: #fff; border: 1px solid var(--sand-line); padding: 10px 12px; border-radius: 0; }
.rv textarea:focus, .rv input:focus { outline: 2px solid var(--bronze); outline-offset: 0; }
.rv-mood { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.rv-mood button { min-height: 44px; flex: 1; padding: 8px 10px; font-size: 13px; border: 1px solid var(--sand-line); background: #fff; color: var(--espresso); }
.rv-mood button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.rv-send { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 16px; background: var(--espresso); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .55; transition: opacity .3s; }
.rv-send.ready { opacity: 1; }
.rv-leave { display: block; min-height: 44px; margin: 6px auto 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rv-hint { position: fixed; left: 50%; top: max(84px, calc(env(safe-area-inset-top) + 70px)); transform: translateX(-50%); z-index: 99; width: max-content; max-width: calc(100vw - 24px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; background: var(--espresso); color: var(--cream); font-size: 14px; box-shadow: 0 16px 40px -14px rgba(28,23,19,.6); }
.rv-cancel { min-height: 40px; padding: 0 14px; background: var(--light-gold); color: var(--espresso); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
body.rv-picking, body.rv-picking * { cursor: crosshair !important; }
body.rv-picking main *:hover { outline: 2px dashed rgba(122,90,46,.6); outline-offset: 2px; }
.rv-marked { outline: 3px solid var(--light-gold) !important; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(216,190,138,.35); }
@media (max-width: 640px) {
  .rv-tab { top: auto; bottom: 120px; }
  .rv-panel { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: auto; max-height: 82dvh; border-left: 0; border-right: 0; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media print { .rv { display: none; } }
