/* =====================================================================
   FABLOON Designer Studio
   ---------------------------------------------------------------------
   Direction: quiet couture. Simple, warm, unhurried.
   References (Mobbin): Farfetch (centred logo + split navigation),
   In Common With (full-bleed hero), SIGMA / SOTF (calm three-up
   categories with centred captions), Rains (edge-to-edge image strip),
   Steep (single centred serif quote), Shopify (narrow centred FAQ),
   Little Amps Coffee (address panel beside a photo).

   - One warm-white page; one soft tint used sparingly.
   - Dark only for the frame: header and footer, so the gold logo reads.
   - Type: "Span" (fallback Cormorant Garamond) for headings, Google Sans
     for everything else. Sentence case, moderate sizes.
   - Gold is the logo's bronze, used only for small captions and links.
   - Images: soft tonal slots, replaced by photography later.
   - Motion: gentle fade on first view; slow image zoom on hover.
   ===================================================================== */

:root {
  --bg: #faf8f5;
  --soft: #f2ede5;
  --ink: #221e1a;
  --text: #5b544b;
  --mute: #8a8278;
  --line: rgba(34, 30, 26, .12);
  --gold: #b08d4a;
  --gold-text: #8c6b2f;
  --dark: #1b1714;
  --dark-2: #241f1a;
  --on-dark: #efe9df;
  --on-dark-mute: rgba(239, 233, 223, .62);
  --line-dark: rgba(239, 233, 223, .14);

  --serif: "Span", "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Google Sans", "Google Sans Text", "Product Sans", system-ui, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 10vw, 144px);

  --logo-h: 76px;            /* header and footer logo share this */
  --ease: cubic-bezier(.25, .6, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
.ic { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--bg); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 300; padding: 12px 16px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 16px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec--soft { background: var(--soft); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.center { text-align: center; }
.center .lead, .center .cap { margin-inline: auto; }

/* ---------- type ---------- */
.cap {
  display: block; margin-bottom: 20px;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text);
}
.display, .title, .title-sm, .h1 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.display { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; }
.h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.08; }
.title { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.12; }
.title-sm { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.2; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.8; max-width: 60ch; }
.head { margin-bottom: clamp(48px, 6vw, 72px); }
.head .title + .lead { margin-top: 18px; }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.prose p + p { margin-top: 16px; }

/* ---------- links & buttons ---------- */
.link {
  display: inline-block; padding-bottom: 3px;
  font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--gold-text); }
.on-dark .link { color: var(--on-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 32px;
  font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--on-dark); }
.btn--ghost { background: transparent; border-color: rgba(239, 233, 223, .5); color: var(--on-dark); }
.btn--ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btns { justify-content: center; }

/* ---------- image slots (replace with photography) ---------- */
.img {
  position: relative; display: block; width: 100%; height: 100%;
  background: #e6ded2; overflow: hidden;
  transition: transform 1.4s var(--ease);
}
.img::after {
  content: attr(data-label);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 80%; text-align: center;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(34, 30, 26, .32);
}
.tone-2 { background: #ddd3c5; }
.tone-3 { background: #e9e2d9; }
.tone-4 { background: #d6ccbe; }
.tone-dark { background: #3a322a; }
.tone-dark::after { color: rgba(239, 233, 223, .35); }
.frame { position: relative; display: block; overflow: hidden; }
.frame:hover .img, a:hover > .frame .img { transform: scale(1.04); }
.r-45 { aspect-ratio: 4 / 5; }
.r-34 { aspect-ratio: 3 / 4; }
.r-23 { aspect-ratio: 2 / 3; }
.r-32 { aspect-ratio: 3 / 2; }
.r-11 { aspect-ratio: 1; }
.r-wide { aspect-ratio: 21 / 9; }

/* =====================================================================
   HEADER (centred logo, split navigation)
   ===================================================================== */
.topbar { background: var(--dark-2); color: var(--on-dark-mute); font-size: .74rem; letter-spacing: .06em; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar a { transition: color .3s; }
.topbar a:hover { color: var(--on-dark); }
.topbar span { margin: 0 10px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark); color: var(--on-dark);
  transition: transform .45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-block: 12px; }
.brand { display: inline-flex; }
.brand-logo { height: var(--logo-h); width: auto; }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav--right ul { justify-content: flex-end; }
.nav a {
  display: block; padding: 6px 0;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute);
  background: linear-gradient(var(--gold), var(--gold)) 50% 100% / 0 1px no-repeat;
  transition: color .3s, background-size .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); background-size: 100% 1px; }

.menu-btn { display: none; align-items: center; gap: 12px; justify-self: end; min-height: 44px; color: var(--on-dark); }
.menu-btn-text { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.menu-btn-lines { position: relative; width: 24px; height: 9px; }
.menu-btn-lines i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn-lines i:first-child { top: 0; }
.menu-btn-lines i:last-child { top: 8px; }
.menu-open .menu-btn-lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn-lines i:last-child { top: 4px; transform: rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; z-index: 99; overflow-y: auto;
  background: var(--dark); color: var(--on-dark);
  padding: 120px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  animation: fade .4s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.menu-panel li a { display: block; padding: 10px 0; font-family: var(--serif); font-size: clamp(1.8rem, 7.5vw, 2.4rem); line-height: 1.2; color: var(--on-dark); }
.menu-panel li a[aria-current="page"] { color: var(--gold); }
.menu-panel-foot { display: flex; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--line-dark); font-size: .9rem; color: var(--on-dark-mute); }

/* =====================================================================
   HOME
   ===================================================================== */
.hero { position: relative; height: min(88svh, 860px); min-height: 560px; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hero .img { position: absolute; inset: 0; }
.hero .img::after { top: 32px; left: auto; right: var(--gutter); transform: none; width: auto; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 23, 20, .05) 30%, rgba(27, 23, 20, .72) 100%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(48px, 8vh, 96px); }
.hero .cap { color: rgba(239, 233, 223, .78); }
.hero .display { color: var(--on-dark); max-width: 16ch; }
.hero .display em { display: block; font-style: normal; color: #e2cc98; font-size: .52em; line-height: 1.25; margin-top: 14px; }
.hero .btns { margin-top: 36px; }

.intro .lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.75; color: var(--ink); max-width: 46ch; margin-inline: auto; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-top: 48px; }
.facts li { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); padding: 0 22px; }
.facts li + li { border-left: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.split--wide-img { grid-template-columns: 1.1fr .9fr; }
.split-copy .title { margin-bottom: 24px; }
.split-copy .lead { margin-bottom: 32px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.trio-item { text-align: center; }
.trio-item .frame { margin-bottom: 28px; }
.trio-item .title-sm { margin-bottom: 12px; }
.trio-item p { font-size: .95rem; max-width: 34ch; margin-inline: auto; }
.trio-item .muted { margin-top: 10px; font-size: .86rem; color: var(--mute); }
.trio-item .link { margin-top: 24px; }

.express { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.express li { padding: 32px 24px; text-align: center; }
.express li + li { border-left: 1px solid var(--line); }
.express strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.1; color: var(--ink); margin-bottom: 6px; }
.express span { font-size: .95rem; }
.note { font-size: .85rem; color: var(--mute); max-width: 56ch; margin: 24px auto 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: 72px; counter-reset: st; }
.steps li { counter-increment: st; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .98rem; }
.steps li::before { content: counter(st); display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--gold-text); margin-bottom: 4px; }

.qualities { max-width: 980px; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.6; color: var(--ink); }
.qualities li { display: inline; white-space: nowrap; }
.qualities li:not(:last-child)::after { content: "·"; color: var(--gold); margin: 0 .55em; }

.turns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.turns li { background: var(--bg); padding: 44px 24px; text-align: center; transition: background-color .4s var(--ease); }
.turns li:hover { background: var(--soft); }
.turns .from { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.turns .arrow { display: block; margin: 10px auto; width: 28px; height: 28px; color: var(--gold); transition: transform .5s var(--ease); }
.turns li:hover .arrow { transform: translateY(4px); }
.turns .to { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--ink); }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strip figure { position: relative; }
.strip figcaption { padding: 16px var(--gutter) 0 0; font-size: .86rem; color: var(--ink); }
.strip figure:first-child figcaption { padding-left: var(--gutter); }

.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-slides { display: grid; }
.quote-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.quote-slide.is-current { opacity: 1; visibility: visible; }
.quote blockquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.3; color: var(--ink); }
.quote figcaption { margin-top: 28px; font-size: .85rem; color: var(--mute); }
.quote figcaption strong { color: var(--ink); font-weight: 500; }
.quote-nav { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; font-size: .8rem; color: var(--mute); letter-spacing: .1em; }
.quote-nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: border-color .3s, background-color .3s; }
.quote-nav button:hover { border-color: var(--ink); }
.small-note { margin-top: 40px; font-size: .86rem; color: var(--mute); }
.small-note a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.small-note a:hover { border-color: var(--ink); }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.numbers div { padding: 8px 16px; text-align: center; }
.numbers div + div { border-left: 1px solid var(--line); }
.numbers dt { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.1; color: var(--ink); }
.numbers dd { margin-top: 6px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.post-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; }
.post-card:hover .img { transform: scale(1.04); }
.post-card-meta { display: flex; gap: 12px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.post-card-meta span { color: var(--gold-text); }
.post-card-title { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.25; color: var(--ink); margin: 10px 0 12px; }
.post-card-title a { transition: color .3s; }
.post-card:hover .post-card-title a { color: var(--gold-text); }
.post-card-excerpt { font-size: .92rem; margin-bottom: 18px; }
.post-card .textlink { font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* FAQ (narrow, centred) */
.faq-list { border-top: 1px solid var(--line); text-align: left; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font: inherit; }
.faq-q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-size: 1.04rem; color: var(--ink); transition: color .3s; }
.faq-q button:hover { color: var(--gold-text); }
.faq-sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq-sign::after { transform: rotate(90deg); }
.is-open .faq-sign::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 40px 26px 0; }
.faq-a a { color: var(--ink); border-bottom: 1px solid var(--line); }
.is-open .faq-a { grid-template-rows: 1fr; }
.faq-more { margin-top: 40px; }

.visit { display: grid; grid-template-columns: 5fr 7fr; background: var(--bg); }
.visit-copy { padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.visit-copy .title { margin-bottom: 24px; }
.visit-copy address { font-style: normal; color: var(--ink); margin-bottom: 8px; max-width: 34ch; }
.visit-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; }
.visit .img { min-height: 460px; }

.closing .title { max-width: 22ch; margin: 0 auto 18px; }
.closing .lead { margin-bottom: 36px; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
.page-head { padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); text-align: center; }
.crumbs { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.page-head .h1 { max-width: 18ch; margin-inline: auto; }
.page-head .lead { margin: 24px auto 0; }
.page-head .btns { justify-content: center; margin-top: 32px; }
.page-banner { height: clamp(300px, 46vw, 620px); }

/* about */
.quote-big { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.25; color: var(--ink); max-width: 24ch; margin: 0 auto; }
.tags-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 40px auto 0; }
.tags-list li { padding: 12px 22px; border: 1px solid var(--line); font-size: .92rem; color: var(--ink); transition: border-color .3s, background-color .3s; }
.tags-list li:hover { border-color: var(--ink); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.person .frame { margin-bottom: 24px; }
.person .title-sm { margin-bottom: 4px; }
.person .role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.person p:last-child { font-size: .96rem; max-width: 46ch; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.fact-grid div { background: var(--bg); padding: 36px 20px; text-align: center; }
.fact-grid dt { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--ink); }
.fact-grid dd { margin-top: 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* services */
.tabs { position: sticky; top: var(--sticky-top, 100px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: top .45s var(--ease); }
.header-hidden .tabs { top: 0; }
.tabs ul { display: flex; justify-content: center; gap: 36px; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: block; padding: 18px 0; white-space: nowrap; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.tabs a:hover, .tabs a.is-active { color: var(--ink); border-color: var(--ink); }
.svc-banner { margin-bottom: 64px; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
.menu-group { padding: 32px 0; border-top: 1px solid var(--line); }
.menu-group .title-sm { margin-bottom: 14px; }
.menu-group p { font-size: .96rem; line-height: 1.95; }
.svc-note { margin-top: 48px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; color: var(--ink); max-width: 40ch; margin-inline: auto; }
.flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin-top: 20px; font-size: .9rem; color: var(--ink); }
.flow li:not(:last-child)::after { content: "→"; margin: 0 14px; color: var(--gold); }

/* online */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.who li { background: var(--bg); padding: 36px 28px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; color: var(--ink); text-align: center; }
.timeline { max-width: 820px; margin: 0 auto; counter-reset: tl; }
.timeline li { counter-increment: tl; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline li::before { content: counter(tl, decimal-leading-zero); font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--gold-text); }
.timeline h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.25; color: var(--ink); margin-bottom: 6px; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-bottom: 56px; }
.chip { padding: 6px 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); border-color: var(--ink); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 20px; }
.g-item.is-out { display: none; }
.g-open { display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; }
.g-open:hover .img { transform: scale(1.04); }
.g-grid .g-item:nth-child(4n+2) .img { background: #ddd3c5; }
.g-grid .g-item:nth-child(4n+3) .img { background: #e9e2d9; }
.g-grid .g-item:nth-child(4n) .img { background: #d6ccbe; }
.g-item figcaption { padding-top: 14px; text-align: center; }
.g-title { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: var(--ink); }
.g-tags { display: block; margin-top: 4px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.g-empty { text-align: center; padding: 64px 0; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--bg); animation: fade .35s var(--ease); }
.lightbox .img { height: 100%; }
.lb-info { padding: 72px clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.lb-count { font-size: .74rem; letter-spacing: .16em; color: var(--mute); }
.lb-tags { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.lb-btns { display: flex; gap: 10px; margin-top: 12px; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: border-color .3s; }
.lb-btn:hover { border-color: var(--ink); }
.lb-close { position: absolute; top: 24px; right: 24px; }

/* reviews */
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
.review { padding: 48px 0; border-top: 1px solid var(--line); }
.review blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.4; color: var(--ink); }
.review figcaption { margin-top: 20px; font-size: .9rem; }
.review-name { color: var(--ink); font-weight: 500; margin-right: 10px; }
.review-src { color: var(--mute); }
.review-tags { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* blog index */
.posts--two { grid-template-columns: 1fr 1fr; gap: 72px 40px; }
.posts--two .post-card-title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.posts--two .post-card-media { aspect-ratio: 3 / 2; }

/* article */
.article-head { padding: clamp(56px, 7vw, 96px) 0 48px; text-align: center; }
.article-head .h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); max-width: 22ch; margin: 18px auto 0; }
.article-meta { display: flex; justify-content: center; gap: 14px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.article-meta span { color: var(--gold-text); }
.article-hero { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.article-hero .img { aspect-ratio: 16 / 8; }
.article { max-width: 700px; margin: 0 auto; padding: 64px var(--gutter) var(--sec); }
.article p, .article li { font-size: 1.06rem; line-height: 1.85; }
.article p + p { margin-top: 22px; }
.article h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--ink); margin: 56px 0 18px; }
.article ul, .article ol { margin: 22px 0; padding-left: 1.2em; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { padding-left: 6px; margin-bottom: 10px; }
.article li::marker { color: var(--gold); }
.article strong { color: var(--ink); font-weight: 500; }
.article a:not(.btn) { color: var(--ink); border-bottom: 1px solid var(--gold); }
.article-cta { margin-top: 56px; padding: 48px 40px; background: var(--soft); text-align: center; }
.article-cta h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.article-cta p { margin: 0 auto 26px !important; max-width: 46ch; }
.article .related { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.article .related li { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.related a { display: block; padding: 20px 0; border: 0 !important; }
.rel-cat { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.rel-title { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--ink); transition: color .3s; }
.related a:hover .rel-title { color: var(--gold-text); }

/* contact */
.contact { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 112px); }
.info { display: grid; gap: 28px; align-content: start; }
.info dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.info dd { color: var(--ink); }
.info a:hover { color: var(--gold-text); }
.form-intro { margin: 12px 0 40px; }
.form-intro a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(34, 30, 26, .28); border-radius: 0;
  font-size: 1rem; color: var(--ink); transition: border-color .3s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23221e1a' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 11px no-repeat; padding-right: 22px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .err { font-size: .82rem; color: #9a2a2a; }
.field.has-error input, .field.has-error textarea { border-color: #9a2a2a; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; font-size: .9rem; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--ink); flex: none; }
.form-actions { grid-column: 1 / -1; }

.legal { max-width: 720px; margin: 0 auto; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--ink); margin: 48px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* =====================================================================
   FOOTER (column structure follows the reference footer)
   ===================================================================== */
.site-footer { background: var(--dark); color: var(--on-dark-mute); }
.footer-main { padding: clamp(64px, 7vw, 96px) 0 clamp(40px, 4vw, 56px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: clamp(32px, 4vw, 56px); }
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand p { font-size: .93rem; line-height: 1.8; max-width: 34ch; }
.footer-h { position: relative; font: 500 .72rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.footer-h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 32px; height: 1px; background: var(--gold); }
.footer-h--social { margin-top: 32px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: .9rem; transition: color .3s, padding-left .35s var(--ease); }
.footer-col ul:not(.footer-contact) a:hover { color: var(--on-dark); padding-left: 8px; }
.footer-contact { gap: 16px !important; }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; }
.fc-ic { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--gold); transition: background-color .3s, color .3s; }
.fc-ic .ic { width: 15px; height: 15px; }
.footer-contact li:hover .fc-ic { background: var(--gold); color: var(--dark); }
.footer-contact a { padding-top: 4px; line-height: 1.55; }
.footer-contact a:hover { color: var(--on-dark); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color .3s, color .3s, border-color .3s; }
.footer-social a:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--on-dark); }
.action-bar { display: none; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .nav ul { gap: 18px; }
  .nav a { font-size: .7rem; letter-spacing: .1em; }
  .posts { grid-template-columns: 1fr 1fr; gap: 56px 28px; }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --logo-h: 64px; }
  .topbar { display: none; }
  .nav { display: none; }
  .header-row { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; }
  .tabs { top: 88px; }
  .split, .split--wide-img { grid-template-columns: 1fr; }
  .split .frame { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; gap: 4px; }
  .strip figure:nth-child(3) figcaption { padding-left: var(--gutter); }
  .visit { grid-template-columns: 1fr; }
  .visit .img { min-height: 320px; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 55vh auto; overflow-y: auto; }
  .lb-info { padding: 40px var(--gutter); }
}

@media (max-width: 767px) {
  :root { --logo-h: 56px; --sec: 80px; }
  body { padding-bottom: 64px; }
  html { scroll-padding-top: 90px; }
  .tabs { top: 80px; }
  .tabs ul { justify-content: flex-start; gap: 24px; padding-inline: var(--gutter); }

  .hero { height: calc(100svh - 80px - 64px); min-height: 540px; }
  .qualities li { display: block; }
  .qualities li:not(:last-child)::after { content: none; }
  .qualities li + li::before { content: ""; display: block; width: 24px; height: 1px; background: var(--gold); margin: 14px auto; }
  .hero::after { background: linear-gradient(180deg, rgba(27, 23, 20, .05) 20%, rgba(27, 23, 20, .82) 100%); }
  .hero .img::after { top: 16px; }
  .hero-copy { bottom: 36px; }
  .hero .display { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero .btns { flex-direction: column; margin-top: 28px; }
  .hero .btn { width: 100%; }

  .facts { flex-direction: column; align-items: center; gap: 0; }
  .facts li { padding: 10px 0; width: 100%; max-width: 280px; text-align: center; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }

  .trio { grid-template-columns: 1fr; gap: 64px; }
  .express { grid-template-columns: 1fr; }
  .express li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; margin-top: 48px; }
  .turns { grid-template-columns: 1fr 1fr; }
  .turns li { padding: 32px 14px; }
  .turns .to { font-size: 1.3rem; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figcaption, .strip figure:first-child figcaption, .strip figure:nth-child(3) figcaption { padding: 12px 12px 0; font-size: .8rem; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .numbers div:nth-child(3) { border-left: 0; }
  .posts, .posts--two { grid-template-columns: 1fr; gap: 56px; }
  .btns .btn { flex: 1 1 100%; }
  .head--split { align-items: flex-start; }

  .duo { grid-template-columns: 1fr; gap: 56px; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 44px 1fr; gap: 14px; }
  .timeline li::before { font-size: 1.3rem; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
  .g-grid { grid-template-columns: 1fr 1fr; gap: 36px 12px; }
  .g-title { font-size: 1rem; }
  .review-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .article-cta { padding: 36px 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-col ul { gap: 2px; }
  .footer-col ul:not(.footer-contact) a { display: inline-block; padding-block: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--dark); border-top: 1px solid var(--line-dark);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); }
  .action-bar a + a { border-left: 1px solid var(--line-dark); }
  .action-bar a.is-main { color: var(--on-dark); }
  .action-bar .ic { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
