/* Aldane Jewellers demo · "the watchmaker's catalogue". Young Serif (display), Public Sans (text, tabular figures). */
@font-face { font-family: "Young Serif"; src: url("youngserif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("publicsans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f5f1e8;
  --paper-2: #ece6d9;
  --card: #fcfaf5;
  --ink: #1f2125;
  --graphite: #232529;
  --graphite-2: #2e3035;
  --muted: #595b61;
  --line: rgba(31, 33, 37, .16);
  --line-2: rgba(31, 33, 37, .32);
  --ox: #7a1f2b;
  --ox-deep: #5c1620;
  --ox-soft: #e6a7ad;
  --cream: #f3ece0;
  --ease: cubic-bezier(.22, .8, .16, 1);
  --display: "Young Serif", "Georgia", serif;
  --text: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -.012em; }
em { font-style: normal; color: var(--ox); }
figure { margin: 0; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--graphite); color: var(--paper); padding: .8rem 1.1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--ox); outline-offset: 3px; border-radius: 3px; }
.repairs :focus-visible, .xmas :focus-visible, .foot :focus-visible, .dock :focus-visible, .preview-bar :focus-visible { outline-color: var(--cream); }

.preview-bar { margin: 0; background: var(--graphite); color: #d6d1c7; font-size: 13px; line-height: 1.4; text-align: center; padding: .55rem 1rem; letter-spacing: .01em; }
.preview-bar strong { color: #fff; font-weight: 600; }

/* labels: catalogue small caps */
.kicker, .ref, .cap-n, .spec dt, .tk-head, .tk-rows dt, .c-list dt, .form-k, .tag, .coords, .map-note {
  font-family: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.kicker { color: var(--ox); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .8rem; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker.light { color: var(--ox-soft); }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); max-width: 19ch; }
.fill { display: inline-block; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: #6a1b25; background: #f3dfdc; border: 1px dashed rgba(122, 31, 43, .45); border-radius: 4px; padding: .3rem .6rem; margin: 0; }
.small { font-size: 14px; color: var(--muted); }

/* HEADER */
.top { position: sticky; top: 0; z-index: 40; background: rgba(245, 241, 232, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.scrolled .top { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.brand-mark path { stroke: var(--ox); stroke-width: 2; }
.brand-mark circle:last-child { fill: var(--ink); stroke: none; }
.brand-word { font: 27px/1 var(--display); letter-spacing: -.01em; }
.brand-sub { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-left: .65rem; border-left: 1px solid var(--line-2); }
.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: .55rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1px; background: var(--ox); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.top-call { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; background: var(--graphite); color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 600; transition: background .25s; }
.top-call:hover { background: var(--ox); }
.top-call svg, .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.4rem; border-radius: 999px; font: 600 15.5px var(--text); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-ox { background: var(--ox); color: #fff; }
.btn-ox:hover { background: var(--ox-deep); box-shadow: 0 14px 26px -14px rgba(122, 31, 43, .8); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-cream { background: var(--cream); color: var(--graphite); }
.btn-cream:hover { background: #fff; }
.btn-ink { background: var(--graphite); color: var(--cream); }
.btn-ink:hover { background: var(--ox); }
.show-sm { display: none; }

/* HERO */
.hero { position: relative; padding: 1.6rem 0 2.2rem; overflow: hidden; }
.hero::before { /* engine-turned guilloché, centred on the watch */
  content: ""; position: absolute; left: 50%; top: 52%; width: 1300px; height: 1300px; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 13px, rgba(31, 33, 37, .045) 13px 14px);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent);
}
.hero-h { display: grid; grid-template-columns: 1fr 1fr; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1; margin-bottom: 1.3rem; letter-spacing: -.02em; }
.h-a, .h-b { display: block; }
.h-a { text-align: right; padding-right: .45rem; }
.h-b { padding-left: .45rem; }

.spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: clamp(280px, calc(100vh - 430px), 470px); }
.spread::before { content: ""; position: absolute; inset: -9px; border: 1px solid var(--line-2); pointer-events: none; }
.half { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--graphite); }
.half-ph, .half-ph img { display: block; width: 100%; height: 100%; }
.half-ph img { object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.half-gift img { object-position: 50% 62%; }
.half-fix img { object-position: 30% 50%; }
.half:hover img { transform: scale(1.045); }
.half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 22, .18), transparent 30%, transparent 55%, rgba(20, 20, 22, .35)); pointer-events: none; }
.tag { position: absolute; top: .8rem; z-index: 2; font-size: 10.5px; letter-spacing: .12em; color: #fff; background: rgba(20, 20, 22, .6); padding: .3rem .6rem; border-radius: 2px; white-space: nowrap; }
.half-gift .tag { left: .8rem; }
.half-fix .tag { right: .8rem; }
.half-cap { position: absolute; bottom: 1rem; z-index: 2; width: min(290px, 40%); background: var(--card); padding: .9rem 1rem 1rem; display: grid; gap: .15rem; box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .6); }
.half-gift .half-cap { left: 1rem; }
.half-fix .half-cap { right: 1rem; text-align: right; }
.cap-n { color: var(--ox); font-size: 11px; }
.cap-t { font: 24px/1.1 var(--display); background: linear-gradient(var(--ox), var(--ox)) no-repeat 0 100% / 0 1px; transition: background-size .5s var(--ease); justify-self: start; }
.half-fix .cap-t { justify-self: end; background-position: 100% 100%; }
.half:hover .cap-t, .half:focus-visible .cap-t { background-size: 100% 1px; }
.cap-s { font-size: 14px; line-height: 1.4; color: var(--muted); }

.dial-wrap { position: absolute; left: 50%; top: 50%; width: clamp(150px, 16.5vw, 232px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3; border-radius: 50%; padding: 7px; background: var(--paper); box-shadow: 0 30px 50px -22px rgba(20, 20, 22, .65), 0 0 0 1px var(--line-2); }
.dial { width: 100%; height: 100%; display: block; overflow: visible; }
.d-case { fill: var(--graphite); }
.d-draw { fill: none; stroke: var(--ox); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 100px 100px; }
.d-guil { fill: none; stroke: rgba(31, 33, 37, .1); stroke-width: .7; }
.d-min { fill: none; stroke: var(--ink); stroke-width: 4; stroke-dasharray: .07 .93; stroke-dashoffset: .035; }
.d-idx { fill: var(--ink); }
.d-brand { font: 11.5px var(--display); letter-spacing: .2em; fill: var(--ink); }
.d-sub { font: 600 5.6px var(--text); letter-spacing: .32em; fill: var(--muted); }
.d-tz { fill: var(--ox); }
.d-win { fill: #fff; stroke: var(--line-2); stroke-width: .8; }
.d-date { font: 600 11px var(--text); fill: var(--ink); }
.hand { transform-box: view-box; transform-origin: 50% 50%; }
.h-h { transform: rotate(305deg); }
.h-m { transform: rotate(60deg); }
.h-h path, .h-m path { fill: var(--ink); }
.h-s line { stroke: var(--ox); stroke-width: 1.5; stroke-linecap: round; }
.h-s circle { fill: var(--ox); }
.d-pin { fill: var(--ox); }
.d-pin2 { fill: var(--paper); }

.hero-foot { text-align: center; margin-top: 1.7rem; }
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); margin: 0 auto 1.1rem; max-width: 60ch; }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero .ctas { justify-content: center; }
.proof { margin: 1rem 0 0; font-size: 14.5px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .1rem .45rem; }
.proof strong { color: var(--ink); font-weight: 700; }
.stars { color: var(--ox); letter-spacing: .08em; }
.status { display: inline-flex; align-items: center; gap: .45rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3f7a4f; }
.status.is-closed .dot { background: #9a8f80; }

/* SPEC STRIP */
.spec { border-block: 1px solid var(--line-2); background: var(--paper-2); }
.spec-in { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; }
.spec-in div { padding: 1.3rem 1.4rem; border-left: 1px solid var(--line); }
.spec-in div:first-child { border-left: 0; padding-left: 0; }
.spec dt { color: var(--ox); font-size: 11px; margin-bottom: .3rem; }
.spec dd { margin: 0; font-size: 15.5px; font-weight: 500; }
.spec a { text-decoration: none; }
.spec a:hover { text-decoration: underline; }

/* PROOF */
.proof-sec { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.proof-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.gauge { position: relative; width: min(340px, 100%); aspect-ratio: 1; justify-self: center; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.g-track { fill: none; stroke: var(--line); stroke-width: 2; }
.g-ticks { fill: none; stroke: var(--line-2); stroke-width: 7; stroke-dasharray: .007 .993; }
.g-fill { fill: none; stroke: var(--ox); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 14; }
.g-read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; }
.g-read b { font: 400 clamp(4.4rem, 9vw, 6.6rem)/1 var(--display); letter-spacing: -.03em; }
.g-read span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.proof-sec h2 { max-width: 20ch; }
.proof-sec h2 span { color: var(--muted); }
.themes { list-style: none; padding: 0; margin: 2.2rem 0 1.2rem; border-top: 1px solid var(--line-2); }
.themes li { display: flex; align-items: baseline; gap: 1.4rem; padding: .95rem 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.themes li:hover { padding-left: .6rem; }
.t-n { font-size: 13px; font-weight: 600; color: var(--ox); letter-spacing: .08em; }
.t-w { font: clamp(1.25rem, 2vw, 1.55rem)/1.2 var(--display); }
.source { font-size: 14px; color: var(--muted); }
.source a { color: var(--ox); font-weight: 600; }
.slot { margin-top: 1.6rem; border: 1px dashed rgba(122, 31, 43, .45); padding: 1.1rem; border-radius: 4px; }
.slot .fill { border: 0; background: none; padding: 0; font-size: 14.5px; }

/* WHAT WE DO: the catalogue */
.counter { position: relative; isolation: isolate; padding: clamp(1rem, 2vw, 2rem) 0 clamp(4.5rem, 9vw, 8rem); }
/* texture: fine paper grain everywhere, an engine-turned rosette in the corner; both faint, both fade in from the top */
.counter::before, .counter::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.counter::before { inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .11 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(90deg, rgba(31, 33, 37, .022) 0 1px, transparent 1px 7px);
  opacity: .55;
  -webkit-mask: linear-gradient(transparent, #000 14%); mask: linear-gradient(transparent, #000 14%);
}
.counter::after { right: -260px; top: 6%; width: 760px; height: 760px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(31, 33, 37, .05) 0 .5deg, transparent .5deg 3deg), repeating-radial-gradient(circle, transparent 0 11px, rgba(31, 33, 37, .05) 11px 12px);
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent); mask: radial-gradient(closest-side, #000 20%, transparent);
}
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .5rem 2rem; margin-bottom: 2.8rem; }
.sec-head .kicker { grid-column: 1 / -1; }
.cat-rail:focus-visible { outline-offset: 6px; }
.cat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.item { position: relative; padding: 1.1rem 1.3rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(252, 250, 245, .35); transition: background .4s; }
.item::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--ox); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 2; }
.item:hover { background: var(--card); }
.item:hover::before { transform: scaleX(1); }
.ref { display: flex; align-items: center; gap: .7rem; font-size: 11px; color: var(--muted); margin-bottom: .8rem; }
.ref::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* the plate: a photo set in a hairline frame, like a catalogue illustration */
.plate { position: relative; margin: 0 0 1.3rem; aspect-ratio: 4 / 3; outline: 1px solid var(--line-2); outline-offset: 5px; background: var(--paper-2); overflow: hidden; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.plate .pl-b { opacity: 0; }
.plate.is-b .pl-b { opacity: 1; }
@media (hover: hover) {
  .item:hover .plate:not(.is-b) .pl-b { opacity: 1; }
  .item:hover .plate.is-b .pl-b { opacity: 0; }
  .item:hover .plate img { transform: scale(1.04); }
}
.plate figcaption { position: absolute; left: .6rem; top: .6rem; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(20, 20, 22, .6); padding: .25rem .5rem; border-radius: 2px; }
.pl-next { position: absolute; right: .5rem; bottom: .5rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(245, 241, 232, .92); cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); transition: background .25s; }
.pl-next:hover { background: #fff; }
.pl-next span { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink); }
.pl-next span:first-child, .pl-next[aria-pressed="true"] span:last-child { background: var(--ink); }
.pl-next[aria-pressed="true"] span:first-child { background: none; }
.item h3 { font-size: 1.6rem; margin-bottom: .55rem; }
.item p { margin: 0; color: var(--muted); font-size: 16px; }
.item .src { margin-top: .8rem; font-size: 13.5px; color: var(--ox); font-weight: 500; }
.item .fill { margin-top: .6rem; }
.rail-hint { display: none; }

/* REPAIRS */
.repairs { background: var(--graphite); color: var(--cream); padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(6rem, 11vw, 9.5rem); overflow: hidden; }
.repairs::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 80px); pointer-events: none; }
.rep-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.repairs h2 em { color: var(--ox-soft); }
.rep-lede { font-size: 1.15rem; color: #d3cdc2; max-width: 38ch; margin: 1.4rem 0; }
.rep-list { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid rgba(243, 236, 224, .2); }
.rep-list li span { font-size: 14.5px; color: #d3cdc2; }
.rep-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(243, 236, 224, .2); }
.repairs .fill, .xmas .fill { color: #fbe9e4; background: rgba(255, 255, 255, .09); border-color: rgba(251, 233, 228, .45); }
.rep-art { position: relative; padding-bottom: 3rem; }
.bench { position: relative; margin-left: 12%; }
.bench img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); }
.bench figcaption, .xmas figcaption, .loupe figcaption { position: absolute; right: .8rem; top: .8rem; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(20, 20, 22, .6); padding: .3rem .6rem; border-radius: 2px; }
.ticket { --stub: 92px; position: absolute; left: 0; bottom: 0; width: min(390px, 78%); transform: rotate(-3deg); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); }
.tk-paper {
  display: flex; color: var(--ink); background: var(--card);
  -webkit-mask: radial-gradient(circle 9px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.tk-main { flex: 1; padding: 1.1rem 1.2rem 1rem; min-width: 0; }
.tk-head { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 .6rem; padding-bottom: .55rem; border-bottom: 3px double var(--line-2); font-size: 10.5px; }
.tk-head span:last-child { color: var(--ox); }
.tk-rows { margin: 0; }
.tk-rows div { display: grid; grid-template-columns: 76px 1fr; gap: .6rem; padding: .42rem 0; border-bottom: 1px dotted var(--line-2); align-items: baseline; }
.tk-rows dt { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.tk-rows dd { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 500; }
.ticket .fill { font-size: 12px; padding: .15rem .45rem; color: #6a1b25; background: #f3dfdc; border-color: rgba(122, 31, 43, .45); }
.tk-bar { display: block; height: 26px; margin-top: .8rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .85; width: 70%; }
.tk-stub { width: var(--stub); flex: none; border-left: 2px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: 1rem .4rem; background: #f4efe4; }
.tk-stub span:first-child { font-size: 11px; font-weight: 600; color: var(--muted); }
.tk-num { font: 26px/1 var(--display); color: var(--ox); }
.tk-keep { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; }
.stamp { position: absolute; right: -34px; top: -58px; width: 96px; height: 96px; margin: 0; border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--ox); border: 2px solid var(--ox); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 5px var(--ox); background: rgba(252, 250, 245, .9); transform: rotate(-14deg); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }

/* CHRISTMAS */
.xmas { background: var(--ox-deep); color: var(--cream); padding: clamp(4.5rem, 9vw, 8rem) 0; overflow: hidden; }
.xmas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, rgba(255, 255, 255, .07), transparent 70%); pointer-events: none; }
.xmas-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.xmas h2 em { color: #f4cfc4; }
.xmas-lede { font-size: 1.12rem; color: #ecd9d2; max-width: 46ch; margin: 1.4rem 0 1rem; }
.x-list { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(243, 236, 224, .25); }
.x-list li { padding: 1.3rem 1.3rem 1.4rem 0; border-bottom: 1px solid rgba(243, 236, 224, .25); }
.x-list li:nth-child(even) { padding-left: 1.3rem; border-left: 1px solid rgba(243, 236, 224, .25); }
.x-list h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.x-list p { margin: 0 0 .6rem; color: #e6d2cb; font-size: 15.5px; }
.x-hours { margin: 2rem 0 0; display: grid; gap: 1rem; }
.x-hours div { display: grid; grid-template-columns: 210px 1fr; gap: 1rem; align-items: start; }
.x-hours dt { font-weight: 600; }
.x-hours dd { margin: 0; }
.x-hours small { display: block; margin-top: .5rem; font-size: 14px; color: #e6d2cb; }
.xmas-art { position: relative; padding-bottom: 4rem; }
.x-tall { position: relative; margin-left: 10%; }
.x-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.x-small { position: absolute; left: 0; bottom: 0; width: 52%; border: 8px solid var(--ox-deep); box-shadow: 0 30px 40px -24px rgba(0, 0, 0, .7); }
.x-small img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ABOUT */
.about { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.about-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.loupe { position: relative; width: min(400px, 100%); aspect-ratio: 1; justify-self: center; border-radius: 50%; padding: 12px; background: var(--graphite); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 18px var(--paper), 0 0 0 19px var(--line), 0 40px 70px -30px rgba(20, 20, 22, .55); }
.loupe picture, .loupe img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.loupe img { transition: transform 1.4s var(--ease); }
.loupe picture { overflow: hidden; }
.loupe:hover img { transform: scale(1.08); }
.loupe figcaption { top: auto; bottom: -3.2rem; right: 50%; transform: translateX(50%); white-space: nowrap; background: var(--graphite); }
.about-big { font: clamp(1.4rem, 2.4vw, 1.95rem)/1.35 var(--display); color: var(--muted); margin: 1.6rem 0 1.4rem; max-width: 30ch; }

/* VISIT */
.visit { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.visit-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); }
address { font-style: normal; font-size: 1.15rem; line-height: 1.55; margin: 1.6rem 0 .8rem; }
.visit-note { color: var(--muted); max-width: 46ch; }
.coords { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); font-size: 11.5px; margin: 0 0 1.6rem; }
.coords span + span { padding-left: 1.4rem; border-left: 1px solid var(--line-2); }
.hours-card { background: var(--card); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); align-self: start; box-shadow: 0 30px 60px -45px rgba(20, 20, 22, .5); }
.hours-card h3 { font-size: 1.8rem; }
.now { margin: .4rem 0 0; font-size: 14px; color: var(--ox); font-weight: 600; }
.hours { list-style: none; margin: 1.2rem 0 1rem; padding: 0; border-top: 1px solid var(--line-2); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .8rem; border-bottom: 1px solid var(--line); font-size: 15.5px; position: relative; }
.hours li span:last-child { font-weight: 500; }
.hours li.shut span:last-child { color: var(--muted); }
.hours li.is-today { background: var(--graphite); color: var(--cream); border-bottom-color: var(--graphite); }
.hours li.is-today::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ox-soft); }
.hours li.is-today span:last-child { color: var(--cream); }
.map { grid-column: 1 / -1; position: relative; height: 280px; background: #e3dccd; border: 1px solid var(--line-2); overflow: hidden; }
.map svg { width: 100%; height: 100%; display: block; }
.m-grid { fill: none; stroke: rgba(31, 33, 37, .07); stroke-width: 1; }
.m-road { fill: none; stroke: #faf7f0; stroke-width: 24; stroke-linecap: round; }
.m-road.thin { stroke-width: 12; }
.m-block { fill: #d3c9b6; stroke: var(--ink); stroke-width: 1.4; }
.m-lab { font: 600 12px var(--text); letter-spacing: .16em; fill: var(--ink); }
.m-street { font: 600 12px var(--text); letter-spacing: .22em; fill: var(--muted); }
.m-pin { fill: var(--ox); stroke: #fff; stroke-width: 3; }
.m-pulse { fill: var(--ox); opacity: .2; transform-box: fill-box; transform-origin: center; }
.m-north circle { fill: none; stroke: var(--line-2); }
.m-north path { fill: var(--ink); }
.m-north text { font: 600 11px var(--text); fill: var(--ink); }
.m-scale path { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.map-note { position: absolute; right: .9rem; bottom: .8rem; margin: 0; font-size: 10.5px; color: var(--ink); background: rgba(252, 250, 245, .92); padding: .35rem .7rem; }

/* CONTACT */
.contact { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-lede { color: var(--muted); max-width: 42ch; margin: 1.4rem 0 1.6rem; }
.c-list { margin: 0; border-top: 1px solid var(--line-2); }
.c-list div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.c-list dt { font-size: 11px; color: var(--ox); }
.c-list dd { margin: 0; overflow-wrap: anywhere; }
.form { display: grid; gap: .4rem; background: var(--card); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-k { color: var(--ox); margin: 0 0 .4rem; }
.form label { font-size: 14.5px; font-weight: 600; margin-top: .6rem; }
.form input, .form textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 3px; padding: .8rem .9rem; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ox); box-shadow: 0 0 0 3px rgba(122, 31, 43, .2); }
.form .btn { margin-top: 1rem; justify-self: start; }
.form-done { background: #f3dfdc; padding: .8rem 1rem; margin: .6rem 0 0; }

/* FOOTER */
.foot { background: #1b1c20; color: #c9c4ba; padding: 3.5rem 0 3rem; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: end; }
.foot-word { font: 46px/1 var(--display); color: var(--cream); margin: 0; }
.foot-word span { display: block; font: 600 11px var(--text); letter-spacing: .3em; text-transform: uppercase; color: #a39e95; margin-top: .6rem; }
.foot a { color: var(--cream); }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.credits { font-size: 12.5px; color: #a39e95; margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(243, 236, 224, .14); line-height: 1.65; }
.credits a { color: #d8d3c9; }
.credits p { margin: 0 0 .6rem; }
.credits ul { list-style: none; margin: .9rem 0 1rem; padding: 0; columns: 2 340px; column-gap: 2.4rem; }
.credits li { break-inside: avoid; margin: 0 0 .3rem; }

.dock { display: none; }

/* legal pages */
.legal { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.7rem; margin: 2.2rem 0 .6rem; max-width: none; }
.legal p { color: #3d3f44; }
.legal .back { margin-top: 2.4rem; }
.legal-top .top-in { justify-content: space-between; }

/* MOTION, only when it's welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .h-a { opacity: 0; transform: translateX(-36px); animation: in-x 1.1s .1s var(--ease) forwards; }
  .js .h-b { opacity: 0; transform: translateX(36px); animation: in-x 1.1s .18s var(--ease) forwards; }
  .js .half-gift { opacity: 0; transform: translateX(-9%); animation: in-x 1.3s .2s var(--ease) forwards; }
  .js .half-fix { opacity: 0; transform: translateX(9%); animation: in-x 1.3s .2s var(--ease) forwards; }
  .js .half-cap { opacity: 0; transform: translateY(14px); animation: in-x .9s 1.05s var(--ease) forwards; }
  .js .dial-wrap { opacity: 0; animation: dial-in 1.2s .55s var(--ease) forwards; }
  .js .d-draw { stroke-dashoffset: 1; animation: draw 1.6s .9s var(--ease) forwards; }
  .js .hero-foot > * { opacity: 0; transform: translateY(16px); animation: in-x .9s var(--ease) forwards; }
  .js .hero-foot > :nth-child(1) { animation-delay: .95s; }
  .js .hero-foot > :nth-child(2) { animation-delay: 1.05s; }
  .js .hero-foot > :nth-child(3) { animation-delay: 1.15s; }
  .js .ticking .h-s { animation: turn 60s linear infinite; }
  .js .ticking .h-m { animation: turn 3600s linear infinite; }
  .js .ticking .h-h { animation: turn 43200s linear infinite; }
  .dot { animation: ping 2.4s infinite; }
  .status.is-closed .dot { animation: none; }
  .m-pulse { animation: pulse 2.6s ease-out infinite; }

  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .cat .reveal:nth-child(3n+2) { transition-delay: .1s; }
  .js .cat .reveal:nth-child(3n+3) { transition-delay: .2s; }
  .js .gauge .g-fill { stroke-dashoffset: 100; transition: stroke-dashoffset 2s .3s var(--ease); }
  .js .gauge.in .g-fill { stroke-dashoffset: 14; }

  .js .ticket { opacity: 0; transform: translateY(160px) rotate(5deg); transition: opacity .6s var(--ease), transform 1.3s var(--ease); }
  .js .ticket.in { opacity: 1; transform: rotate(-3deg); }
  .js .ticket .stamp { opacity: 0; transform: rotate(-14deg) scale(1.8); transition: opacity .25s 1.1s, transform .45s 1.1s cubic-bezier(.3, 1.6, .5, 1); }
  .js .ticket.in .stamp { opacity: 1; transform: rotate(-14deg) scale(1); }
  .ticket { transition: transform .5s var(--ease); }
  .js .ticket.in:hover { transform: rotate(-1deg) translateY(-6px); transition: transform .5s var(--ease); }

  .still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
  .still .reveal, .still .ticket, .still .ticket .stamp, .still .hero-foot > *, .still .h-a, .still .h-b, .still .half, .still .half-cap, .still .dial-wrap { opacity: 1 !important; }
  .still .h-a, .still .h-b, .still .half, .still .half-cap, .still .hero-foot > *, .still .reveal { transform: none !important; }
  .still .dial-wrap { transform: translate(-50%, -50%) !important; }
  .still .ticket { transform: rotate(-3deg) !important; }
  .still .d-draw { stroke-dashoffset: 0 !important; }
  .still .gauge .g-fill { stroke-dashoffset: 14 !important; }
}
@keyframes in-x { to { opacity: 1; transform: none; } }
@keyframes dial-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-60deg); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 122, 79, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(63, 122, 79, 0); } }
@keyframes pulse { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.6); opacity: 0; } }

/* TABLET */
@media (max-width: 980px) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
  .proof-in, .rep-in, .xmas-in, .about-in, .visit-in, .contact-in { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 1fr 1fr; }
  .spec-in { grid-template-columns: 1fr 1fr; }
  .spec-in div:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec-in div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .xmas-art { max-width: 520px; }
  .rep-art { max-width: 600px; }
  .foot-grid { grid-template-columns: 1fr; align-items: start; gap: 1.2rem; }
  .sec-head { grid-template-columns: 1fr; }
}

/* PHONE */
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 2rem); }
  .preview-bar { font-size: 12px; padding: .45rem .8rem; }
  .top-in { min-height: 60px; gap: 1rem; }
  .brand-word { font-size: 24px; }
  .brand-sub { display: none; }
  .top-call { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .top-call-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero { padding: 1.1rem 0 1.6rem; }
  .hero::before { top: 46%; width: 800px; height: 800px; }
  .hero-h { grid-template-columns: 1fr; font-size: clamp(1.9rem, 9.2vw, 2.6rem); line-height: 1.05; margin-bottom: 1rem; }
  .h-a { text-align: left; padding: 0; }
  .h-b { text-align: right; padding: 0; }
  .spread { height: clamp(220px, 32vh, 300px); gap: 4px; }
  .spread::before { inset: -6px; }
  .tag { font-size: 8.5px; letter-spacing: .04em; top: .5rem; padding: .2rem .4rem; white-space: normal; max-width: calc(100% - 1rem); line-height: 1.3; text-wrap: balance; }
  .half-gift .tag { left: .5rem; }
  .half-fix .tag { right: .5rem; text-align: right; }
  .half-cap { width: auto; bottom: .5rem; padding: .45rem .6rem; }
  .half-gift .half-cap { left: .5rem; }
  .half-fix .half-cap { right: .5rem; }
  .cap-s { display: none; }
  .cap-n { font-size: 9.5px; }
  .cap-t { font-size: 17px; }
  .dial-wrap { width: clamp(108px, 31vw, 140px); padding: 5px; top: 44%; }
  .hero-foot { margin-top: 1.2rem; }
  .lede { font-size: 15.5px; margin-bottom: .9rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero .ctas { flex-wrap: nowrap; gap: .5rem; }
  .hero .ctas .btn { flex: 1 1 0; padding: .7rem .8rem; font-size: 15px; min-width: 0; }
  .proof { font-size: 13.5px; margin-top: .8rem; }
  .spec-in div { padding: 1rem .8rem 1rem 0; }
  .spec-in div:nth-child(even) { padding-left: .9rem; }
  .spec dd { font-size: 14.5px; }
  .gauge { width: min(260px, 80%); }
  /* the catalogue becomes a swipeable strip */
  .cat-rail { margin: 0 -1rem; padding: 0 1rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1rem; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .cat { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: .8rem; border: 0; }
  .item { scroll-snap-align: start; padding: 1rem 1rem 1.5rem; border: 1px solid var(--line); border-top-color: var(--line-2); }
  .item h3 { font-size: 1.4rem; }
  .item p { font-size: 15px; }
  .plate figcaption { font-size: 9px; letter-spacing: .08em; }
  .rail-hint { display: block; margin: .3rem 0 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .rail-hint span { color: var(--ox); }
  .counter::after { width: 460px; height: 460px; right: -200px; }
  .bench { margin-left: 0; }
  .rep-art { padding-bottom: 0; }
  .ticket { position: relative; width: min(360px, 96%); margin: -3.5rem auto 0; --stub: 74px; }
  .tk-rows div { grid-template-columns: 64px 1fr; }
  .tk-head { font-size: 9px; letter-spacing: .1em; }
  .tk-main { padding: .9rem .9rem .8rem; }
  .tk-num { font-size: 20px; }
  .stamp { width: 78px; height: 78px; font-size: 8px; top: -44px; right: 6px; }
  .x-list { grid-template-columns: 1fr; }
  .x-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .x-hours div { grid-template-columns: 1fr; gap: .4rem; }
  .loupe { width: min(280px, 82%); margin-bottom: 1rem; }
  .coords { flex-direction: column; }
  .coords span + span { padding-left: 0; border-left: 0; }
  .map { height: 220px; }
  .map-note { left: .6rem; right: .6rem; text-align: center; }
  .c-list div { grid-template-columns: 1fr; gap: .1rem; }
  .form .btn { justify-self: stretch; }
  .foot { padding-bottom: 6.5rem; }
  .foot-word { font-size: 38px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 50;
    background: rgba(35, 37, 41, .94); backdrop-filter: blur(10px); border-radius: 999px; padding: .35rem; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6);
  }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--cream); text-decoration: none; border-radius: 999px; font-weight: 600; font-size: 15px; }
  .dock a:first-child { background: var(--ox); color: #fff; }
}

/* never wider than the phone: clip sideways overflow at the page (Agency review, 7 Oct) */
html, body { overflow-x: clip; }

/* rule 48 polish: on a phone the opening-hours line below the hero clears the sticky bar on first view */
@media (max-width: 640px) {
  .hero { padding: .8rem 0 1.1rem; }
  .hero-h { margin-bottom: .7rem; }
  .spread { height: clamp(190px, 27vh, 250px); }
  .hero-foot { margin-top: 1rem; }
  .hero .proof { display: none; }
  .spec { padding-bottom: 5.5rem; }
}

/* Sitecomb 90+ gate (12 Oct 2026): every footer and credit link is big enough to tap on a phone (24 px),
   the small print stays readable (13 px or more), and the demo bar is a landmark. */
.preview-bar { display: block; }
.foot a, .credits a, .preview-bar a { display: inline-block; min-height: 24px; line-height: 24px; padding: 0 1px; }
.credits, .credits p, .credits li { font-size: max(13px, 1em); }
/* Sitecomb 90+ gate: no text under 12 px on a phone */
.cap-n, dt, .ref, .plate figcaption { font-size: 12.5px; }
/* the glow behind "At the counter" stays inside the page on a phone */
.counter { overflow-x: hidden; overflow-x: clip; }

/* T-025 (walkthrough gap 6): every demo leads back to the offer. Fixed at the bottom; the phone dock sits just above it. */
.sahbis-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .35rem .5rem; margin: 0; padding: .4rem .6rem calc(.4rem + env(safe-area-inset-bottom)); white-space: nowrap; background: #111214; color: #e9e9ee; font: 600 12.5px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; border-top: 1px solid rgba(255,255,255,.18); }
.sahbis-bar i { font-style: normal; opacity: .6; }
.sahbis-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; display: inline-flex; align-items: center; }
.sahbis-bar a.sahbis-bar-btn { background: #e0262c; color: #fff; text-decoration: none; padding: .3rem .7rem; border-radius: 999px; min-height: 30px; }
body { padding-bottom: 50px; }
@media (max-width: 899px) { .dock { bottom: calc(54px + env(safe-area-inset-bottom)) !important; } }
