/* ═══════════════════════════════════════════════════════════════════════════
   ALZARDOZI COUTURE — alzardozi.com
   One stylesheet, no framework, no build step.
   Designed by CHNT — Creative Hub for Next-gen Technologies.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Typefaces ──────────────────────────────────────────────────────────────
   Bodoni Moda is the same high-contrast didone as the drawn ALZARDOZI wordmark;
   Jost carries the wide-tracked capitals of the COUTURE line. Both are hosted
   here, so nothing is fetched from a third party and text paints in one pass. */
@font-face { font-family: Display; src: url(fonts/bodoni-moda-latin-400-normal.woff2) format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Display; src: url(fonts/bodoni-moda-latin-500-normal.woff2) format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Display; src: url(fonts/bodoni-moda-latin-400-italic.woff2) format('woff2');
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Body; src: url(fonts/jost-latin-300-normal.woff2) format('woff2');
  font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: Body; src: url(fonts/jost-latin-400-normal.woff2) format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Body; src: url(fonts/jost-latin-500-normal.woff2) format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper:  #f6f2ea;
  --paper-2:#f0ebe0;
  --paper-3:#e8e1d4;
  --card:   #fbf9f4;
  --ink:    #1f1b18;
  --ink-2:  #433c34;
  --muted:  #7d7366;
  --line:   rgba(31,27,24,.11);
  --line-2: rgba(31,27,24,.2);
  --gold:   #8c7d66;
  --gold-2: #6a5d49;
  --gold-3: #c2ae89;
  --dark:   #14110d;

  --ff-d: Display, Didot, 'Bodoni MT', Georgia, serif;
  --ff-b: Body, 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;

  --t-1:  clamp(.78rem, .75rem + .14vw, .86rem);
  --t0:   clamp(1rem, .97rem + .17vw, 1.09rem);
  --t1:   clamp(1.1rem, 1.02rem + .36vw, 1.32rem);
  --t2:   clamp(1.4rem, 1.22rem + .8vw, 1.95rem);
  --t3:   clamp(1.85rem, 1.45rem + 1.8vw, 3rem);
  --t4:   clamp(2.3rem, 1.7rem + 3vw, 4.4rem);
  --t5:   clamp(2.8rem, 1.8rem + 4.6vw, 6rem);

  --caps: .2em;
  --caps-w: .28em;
  --gut: clamp(1.15rem, .7rem + 2.2vw, 3rem);
  --max: 1320px;
  --r:   18px;              /* the curve — used on every image and panel */
  --r-s: 10px;
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow: 0 2px 8px rgba(31,27,24,.05), 0 30px 60px -36px rgba(31,27,24,.3);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-b); font-weight: 300; font-size: var(--t0); line-height: 1.75;
  color: var(--ink); background: var(--paper);
  /* The house pencil artwork, as the paper the site is printed on. One
     42 KB tile, fixed so it never repaints while scrolling. */
  background-image: url(img/paper.webp);
  background-size: 760px 760px; background-attachment: fixed;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

/* ── Type ───────────────────────────────────────────────────────────────── */
.d, h1, h2, h3 { font-family: var(--ff-d); font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: var(--t4); line-height: 1.04; }
h2 { font-size: var(--t3); line-height: 1.1; }
h3 { font-size: var(--t2); line-height: 1.22; }
.xl { font-size: var(--t5); line-height: .98; letter-spacing: -.022em; }
em, .it { font-style: italic; }
h1 em, h2 em, .xl em { color: var(--gold-2); }
p { max-width: 66ch; }
.lede { font-size: var(--t1); line-height: 1.6; color: var(--ink-2); max-width: 36ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font-size: .68rem; font-weight: 500; letter-spacing: var(--caps-w);
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--line-2); }
.cap { font-size: .66rem; font-weight: 500; letter-spacing: var(--caps-w);
  text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(3.5rem, 2.5rem + 5vw, 8rem); }
.sec--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
@media (min-width: 900px) {
  .head { grid-template-columns: minmax(0,7fr) minmax(0,5fr); align-items: end; gap: 2rem 3rem; }
}
.row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: 0 1.8rem; border: 1px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg); cursor: pointer; overflow: hidden; isolation: isolate;
  font-size: .7rem; font-weight: 500; letter-spacing: var(--caps-w); text-transform: uppercase;
  white-space: nowrap; transition: color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--ease);
}
/* the gold sweep — a gradient that slides across on hover */
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%);
  background: linear-gradient(100deg, var(--gold-2), var(--gold-3), var(--gold-2));
  transition: transform .5s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover { color: #fff; border-color: transparent; }
.btn:active { transform: scale(.98); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { color: #fff; }
.btn--sm { min-height: 42px; padding: 0 1.2rem; font-size: .65rem; }
.btn--wa { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--wa svg { width: 17px; height: 17px; color: #2f8f5b; }
.btn--wa:hover svg { color: #fff; }

.link {
  display: inline-flex; align-items: center; gap: .6rem; padding-bottom: 5px; position: relative;
  font-size: .68rem; font-weight: 500; letter-spacing: var(--caps-w); text-transform: uppercase;
}
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .3; }
.link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::before { transform: scaleX(1); transform-origin: left; }
.link { white-space: nowrap; }
.link .ar, .btn .ar { width: 18px; height: 10px; flex: none; }
.link .ar { transition: transform .4s var(--ease); }
.link:hover .ar, .btn:hover .ar { transform: translateX(4px); }

/* ── Loading bar ────────────────────────────────────────────────────────── */
#bar {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 300; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-3), var(--gold-2));
  background-size: 200% 100%;
  transform-origin: left; transform: scaleX(0);
  transition: transform .25s linear, opacity .5s .2s;
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
#bar.done { opacity: 0; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 200; height: 90px;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  border-bottom: 1px solid transparent;
  transition: height .45s var(--ease), background-color .45s, border-color .45s;
}
.hdr.small { height: 68px; backdrop-filter: saturate(1.2) blur(14px);
  background: color-mix(in oklab, var(--paper) 80%, transparent); border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 1.2rem; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: .9rem; flex: none; }
.brand__em { width: 70px; transition: width .45s var(--ease); }
.hdr.small .brand__em { width: 54px; }
.brand__st { display: grid; gap: .3rem; justify-items: center; }
.brand__wm { height: 21px; width: auto; transition: height .45s var(--ease); }
.hdr.small .brand__wm { height: 18px; }
.brand__co { height: 7.5px; width: auto; }

.nav { margin-left: auto; display: none; }
@media (min-width: 1000px) { .nav { display: block; } }
.nav ul { display: flex; gap: clamp(.9rem, .2rem + 1vw, 1.8rem); list-style: none; padding: 0; }
.nav a { position: relative; display: inline-block; padding: .55rem 0;
  font-size: .68rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { color: var(--ink); }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
@media (min-width: 1000px) { .hdr__act { margin-left: 1.2rem; } }
.icon-b { display: grid; place-items: center; width: 44px; height: 44px; border: 0;
  background: none; cursor: pointer; border-radius: 999px; transition: background-color .3s; }
.icon-b:hover { background: var(--paper-3); }
.icon-b svg { width: 20px; height: 20px; }
.hdr__act .btn { display: none; }
@media (min-width: 720px) { .hdr__act .btn { display: inline-flex; } }
#burger { display: grid; }
@media (min-width: 1000px) { #burger { display: none; } }

/* mobile menu */
.mm { position: fixed; inset: 0; z-index: 250; display: grid; align-content: center; justify-items: center;
  gap: 1rem; background: var(--paper); background-image: url(img/paper.webp); background-size: 760px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.mm.open { opacity: 1; visibility: visible; }
.mm a { font-family: var(--ff-d); font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem); }
.mm a:hover { color: var(--gold-2); font-style: italic; }
.mm__x { position: absolute; top: 24px; right: var(--gut); }

/* ── Hero slider ────────────────────────────────────────────────────────── */
.hero { position: relative; }
.slider { position: relative; height: min(88svh, 860px); min-height: 480px; overflow: hidden;
  border-radius: 0 0 var(--r) var(--r); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease);
  will-change: opacity; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.on img { animation: kb 9s linear both; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.11); } }
@media (prefers-reduced-motion: reduce) { .slide.on img { animation: none; } }
/* Two scrims: one from the foot so the copy always has a dark ground, one from
   the left so the headline never has to fight the panel it sits beside. */
.slider::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(14,11,8,.82) 2%, rgba(14,11,8,.32) 44%, rgba(14,11,8,.1) 100%),
    linear-gradient(100deg, rgba(14,11,8,.62) 0%, rgba(14,11,8,.3) 34%, transparent 62%);
}
/* The photographs are portrait and the hero is landscape, so the crop is
   vertical — this frames the piece rather than its hanging rod. */
.slide img { object-position: 50% 46%; }
/* On a wide screen the words keep to the left half, clear of the piece. */
@media (min-width: 900px) {
  .hero__copy .wrap > * { max-width: min(46%, 30rem); }
  .hero__copy .row { max-width: none; }
}
.hero__copy { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero__copy .eyebrow { color: rgba(246,242,234,.78); }
.hero__copy .eyebrow::before { background: rgba(246,242,234,.4); }
.hero__copy h1 { color: #faf7f1; max-width: 9ch; margin: 1.1rem 0 1.3rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero__copy h1 em { color: var(--gold-3); }
.hero__copy .lede { color: rgba(246,242,234,.9); max-width: 38ch; margin-bottom: 1.8rem; }
.hero__copy .btn { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.hero__copy .btn--ghost { --bg: transparent; --fg: #faf7f1; --bd: rgba(250,247,241,.45); }
.dots { position: absolute; left: var(--gut); bottom: 1.1rem; z-index: 3; display: flex; gap: .5rem; }
.dots button { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(250,247,241,.35); transition: background-color .4s; }
.dots button[aria-current='true'] { background: var(--gold-3); }
@media (min-width: 900px) { .dots { left: auto; right: calc(var(--gut) + 68px); bottom: 1.5rem; } }

/* ── Marquee of category names ──────────────────────────────────────────── */
.mq { overflow: hidden; border-block: 1px solid var(--line); padding-block: .95rem; }
.mq__t { display: flex; width: max-content; animation: mq 48s linear infinite; }
.mq:hover .mq__t { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq ul { display: flex; list-style: none; padding: 0; }
.mq li { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; white-space: nowrap;
  font-family: var(--ff-d); font-size: clamp(1.1rem, .9rem + 1vw, 1.7rem); font-style: italic; }
.mq i { font-style: normal; font-size: .5em; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .mq__t { animation: none; } }

/* ── Cards & grids ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: clamp(1.4rem, 1rem + 1.6vw, 2.6rem) clamp(1rem, .6rem + 1.2vw, 1.8rem);
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(265px, 100%), 1fr)); }

.card { display: block; position: relative; }
.card__ph, .card__cat, .card__nm, .card__meta { display: block; }
.card__ph {
  display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-3);
  aspect-ratio: 4/5; box-shadow: 0 1px 2px rgba(31,27,24,.05);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.card:hover .card__ph { box-shadow: var(--shadow); transform: translateY(-4px); }
.card:hover .card__ph img { transform: scale(1.05); }
.card__ph::after { content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.card__cat { margin-top: .9rem; font-size: .6rem; font-weight: 500;
  letter-spacing: var(--caps-w); text-transform: uppercase; color: var(--muted); }
.card__nm { font-family: var(--ff-d); font-size: var(--t1); line-height: 1.2; margin-top: .3rem;
  transition: color .3s; }
.card:hover .card__nm { color: var(--gold-2); }
.card__meta { margin-top: .25rem; font-size: .8rem; color: var(--muted); }

/* a zoom cue, revealed on hover */
.card__zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 999px; background: rgba(251,249,244,.9);
  opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s var(--ease); }
.card:hover .card__zoom, .card:focus-visible .card__zoom { opacity: 1; transform: none; }
.card__zoom svg { width: 16px; height: 16px; }

/* ── Category tiles ─────────────────────────────────────────────────────── */
.cats { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.cat {
  position: relative; display: grid; align-content: end; gap: .35rem;
  min-height: clamp(260px, 27vw, 360px); padding: 1.5rem; overflow: hidden;
  border-radius: var(--r); color: #faf7f1; isolation: isolate;
}
.cat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s var(--ease); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14,11,8,.9) 0%, rgba(14,11,8,.55) 34%, rgba(14,11,8,.12) 72%);
  transition: background-color .5s; }
.cat:hover img { transform: scale(1.06); }
.cat__n { font-family: var(--ff-d); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.8rem); line-height: 1.12; }
.cat__c { font-size: .62rem; font-weight: 500; letter-spacing: var(--caps-w);
  text-transform: uppercase; color: rgba(250,247,241,.74);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* the first tile spans two columns on a wide screen — a little asymmetry */
@media (min-width: 900px) { .cats > :first-child { grid-column: span 2; } }

/* ── Dark act ───────────────────────────────────────────────────────────── */
.dark {
  background: var(--dark); color: #f2ede3; position: relative; isolation: isolate;
  --ink: #f2ede3; --ink-2: #d4ccbd; --muted: #9a9080; --line: rgba(242,237,227,.12);
  --line-2: rgba(242,237,227,.26); --gold-2: #cfbd9b; --paper-3: #241f18;
}
.dark h2 em, .dark .xl em { color: var(--gold-3); }
.dark .btn { --bg: #f2ede3; --fg: var(--dark); --bd: #f2ede3; }
.dark .btn--ghost, .dark .btn--wa { --bg: transparent; --fg: #f2ede3; --bd: rgba(242,237,227,.3); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 1rem + 2.5vw, 3.5rem); margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { padding-top: 1.1rem; border-top: 1px solid var(--line-2); }
.stats dt { font-family: var(--ff-d); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1; }
.stats dd { margin: .6rem 0 0; font-size: .62rem; font-weight: 500;
  letter-spacing: var(--caps-w); text-transform: uppercase; color: var(--muted); }

/* ── Split feature ──────────────────────────────────────────────────────── */
.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; }
  .split--r > :first-child { order: 2; } }
.split__ph { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/5;
  box-shadow: var(--shadow); }
/* the arch — a Mughal curve, used where a picture is the hero of its section */
.split__ph--arch { border-radius: 50% 50% var(--r) var(--r) / 42% 42% var(--r) var(--r); }
.split__ph img { width: 100%; height: 100%; object-fit: cover; }
.split__c { display: grid; gap: 1.2rem; justify-items: start; }

/* ── Filters ────────────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.chip {
  padding: .6rem 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; background: none;
  cursor: pointer; font-size: .68rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); transition: color .3s, border-color .3s, background-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip span { color: var(--muted); margin-left: .45rem; font-size: .9em; }
.chip[aria-pressed='true'] span { color: rgba(246,242,234,.6); }
.count { margin-bottom: 1.2rem; font-size: .8rem; color: var(--muted); }

/* hidden by the filter — :has() keeps the logic in CSS */
.card.hide { display: none; }

/* ── Lightbox ───────────────────────────────────────────────────────────── */
dialog#lb { width: min(1080px, 94vw); max-height: 92svh; margin: auto; padding: 0; border: 0; border-radius: var(--r);
  background: var(--card); color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
dialog#lb::backdrop { background: rgba(14,11,8,.78); backdrop-filter: blur(3px); }
.lb__in { display: grid; max-height: 92svh; }
@media (min-width: 820px) { .lb__in { grid-template-columns: 1.15fr .85fr; } }
.lb__ph { position: relative; background: var(--paper-3); aspect-ratio: 4/5; max-height: 92svh; }
.lb__ph img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: .4rem; }
.lb__thumbs button { width: 46px; height: 46px; padding: 0; border: 2px solid transparent; cursor: pointer;
  border-radius: var(--r-s); overflow: hidden; background: none; }
.lb__thumbs button[aria-current='true'] { border-color: var(--paper); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb__c { padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); display: grid; gap: .9rem; align-content: start;
  overflow-y: auto; }
.lb__x { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(251,249,244,.92); }
.lb__sp { display: grid; gap: .5rem; margin-top: .4rem; font-size: .85rem; }
.lb__sp div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem;
  padding-block: .5rem; border-top: 1px solid var(--line); }
.lb__sp dt { font-size: .62rem; font-weight: 500; letter-spacing: var(--caps-w);
  text-transform: uppercase; color: var(--muted); padding-top: .15rem; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .62rem; font-weight: 500; letter-spacing: var(--caps-w);
  text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .85rem 1rem; font-weight: 300;
  border: 1px solid var(--line-2); border-radius: var(--r-s);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  transition: border-color .3s, background-color .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field :is(input, select, textarea):focus { border-color: var(--gold); outline: none;
  background: var(--card); }
.hint { font-size: .8rem; color: var(--muted); }

/* ── Panels, FAQ, footer ────────────────────────────────────────────────── */
.panel { padding: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); border-radius: var(--r);
  background: color-mix(in oklab, var(--card) 72%, transparent); border: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: .7rem; align-items: start; }
.ticks svg { width: 16px; color: var(--gold); margin-top: .45em; }

details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--ff-d); font-size: var(--t1); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--gold); transition: transform .35s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { padding-bottom: 1.3rem; color: var(--ink-2); }

.ftr { background: var(--paper-2); background-image: url(img/paper.webp); background-size: 760px;
  border-top: 1px solid var(--line); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2rem; }
.ftr__top { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .ftr__top { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; } }
/* four columns only once there is room for the e-mail address to sit on one line */
@media (min-width: 1100px) { .ftr__top { grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 3rem; } }
/* and a long address or address-line can always break rather than push the page wide */
.ftr li, .ftr a { overflow-wrap: anywhere; }
.ftr__brand { display: grid; gap: 1.1rem; justify-items: start; }
.ftr__brand .brand { flex-direction: column; align-items: flex-start; gap: .7rem; }
.ftr__brand .brand__em { width: 110px; }
.ftr__brand .brand__st { justify-items: start; }
.ftr__brand .brand__wm { height: 27px; }
.ftr__brand .brand__co { height: 9px; }
.ftr h4 { font-family: var(--ff-b); font-size: .62rem; font-weight: 500; letter-spacing: var(--caps-w);
  text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.ftr a:hover { color: var(--gold-2); }
.ftr__bot { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: grid; gap: .6rem; font-size: .8rem; color: var(--muted); }
.ftr__bot a { text-decoration: underline; text-underline-offset: 3px; }

/* ── WhatsApp pill ──────────────────────────────────────────────────────── */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 180; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 999px; background: #25d366; color: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,.22); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 27px; height: 27px; }
@media (max-width: 719px) { .wa-fab { bottom: 80px; } }

/* sticky action bar on phones */
.mbar { position: fixed; inset: auto 0 0 0; z-index: 190; display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); background: color-mix(in oklab, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px); }
@media (min-width: 720px) { .mbar { display: none; } }
.mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem;
  font-size: .64rem; font-weight: 500; letter-spacing: var(--caps-w); text-transform: uppercase; }
.mbar a + a { background: var(--ink); color: var(--paper); }
/* the bar is fixed, so the page needs room underneath or it covers the last line */
@media (max-width: 719px) { body { padding-bottom: 60px; } }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
/* Scroll-driven animations where the browser supports them — the work happens
   off the main thread, so the page never stutters. Older browsers get the
   IntersectionObserver fallback in app.js. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 8% cover 26%; }
  }
  @supports not (animation-timeline: view()) {
    .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
    .rv.in { opacity: 1; transform: none; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── Performance ────────────────────────────────────────────────────────── */
/* Long grids are only laid out as they come into view. */
.grid, .cats { content-visibility: auto; contain-intrinsic-size: auto 600px; }

/* ── View transitions between pages ─────────────────────────────────────── */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .35s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gut); top: 10px; z-index: 400; padding: .7rem 1rem;
  background: var(--ink); color: var(--paper); border-radius: var(--r-s); }

/* ── Built-by credit ─────────────────────────────────────────────────────────
   The studio line sits on its own rule above the copyright, with the address
   spelled out so it can be read and typed, not only clicked. */
.credit {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
}
.credit__by { font-size: .62rem; font-weight: 500; letter-spacing: var(--caps-w);
  text-transform: uppercase; color: var(--muted); }
.credit__link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .55rem .7rem; }
.credit__name {
  font-family: var(--ff-d); font-size: 1.22rem; letter-spacing: .06em;
  /* the house gold, as a gradient on the letters themselves */
  background: linear-gradient(100deg, var(--gold-2), var(--gold-3), var(--gold-2));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position .7s var(--ease);
}
.credit__link:hover .credit__name { background-position: -200% 0; }
.credit__full { font-size: .82rem; color: var(--ink-2); }
.credit__url {
  font-size: .78rem; color: var(--muted); padding-bottom: 2px;
  border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s;
}
.credit__link:hover .credit__url { color: var(--gold-2); border-color: var(--gold-2); }
@media (max-width: 560px) { .credit__full { display: none; } }

.ftr__bot { margin-top: 1.2rem; padding-top: 1.2rem; }
