/* =========================================================
   Studio site — editorial serif brand system
   Palette: near-black / olive-grey / taupe / cream (no accent hue)
   Logo: "LL" monogram (one L mirrored) + lowercase "lillie&lily" wordmark, per the
   brand pack — see assets/logo-*.svg.

   ── HOW TO RESTYLE ──────────────────────────────────────
   Almost everything is a dial in :root below.

   COLOUR      Five warm neutrals under "Ink & ground", lifted from
               the brand pack. --accent stands in for a hue this
               palette doesn't have — see the note there to bring
               colour back.
   FONT        Two fonts:
                 --font-display  Playfair Display — the monogram,
                                 the wordmark, all headings (h1–h4)
                 --font-sans     Poppins           — body, nav,
                                 buttons, labels, forms
               Both load from Google Fonts (the @import below).
   WEIGHT      --weight-body / --weight-head / --weight-display /
               --weight-label.
   SIZE        --step-hero / --step-h2 / --step-h3 (headings)
               and the `font-size` on `body` (body copy).
   ─────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,500&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* ---- Ink & ground — the brand pack's five neutrals ---- */
  --ink-1: #16140f;           /* near-black */
  --ink-2: #57544a;           /* dark olive-grey */
  --ink-3: #9a9488;           /* mid warm grey */
  --ink-4: #cdc6b5;           /* light taupe */
  --ink-5: #eae3d2;           /* cream */

  --bg: var(--ink-5);         /* page background */
  --surface: #f8f5ec;         /* cards, header, footer — a touch lighter than bg */
  --surface-2: #efe9da;       /* hover state for cards */
  --border: var(--ink-4);     /* visible hairlines, inputs */
  --border-soft: #ddd6c4;     /* faint section dividers */

  --text: var(--ink-2);       /* body copy — dark olive-grey, not flat black */
  --heading: var(--ink-1);    /* headings, logo — near-black */
  --text-strong: var(--ink-1);/* the rare element that must pop */
  --text-dim: #7c7768;        /* secondary paragraphs, ledes (between ink-2/ink-3) */
  --muted: var(--ink-3);      /* eyebrows, meta, labels */

  /* This palette is deliberately neutral — no colour hue in the brand
     pack. --accent stands in for one on buttons, active nav, focus
     rings and hover borders; --accent-dim is its hover/pressed shade.
       neutral (current)   : #57544a  /  dim #16140f  (ink-2 / ink-1)
       bring colour back   : pick any hue and drop it in here, e.g.
         rustic red        : #a4453a  /  dim #853730
         warm terracotta   : #b96a4e  /  dim #9a5540 */
  --accent: var(--ink-2);
  --accent-dim: var(--ink-1);
  --on-accent: var(--ink-5);  /* text sitting on an accent-filled button */

  /* ---- Type — two fonts ---- */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
                 /* DISPLAY: the "LL" monogram, the "lillie&lily" wordmark,
                    and every heading (h1–h4). High-contrast editorial serif. */
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
                 /* SANS: body copy, nav, buttons, labels, forms. */
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Role aliases — the rules below still reference these names. */
  --font-script: var(--font-display);   /* wordmark + h1 */
  --font-serif:  var(--font-display);   /* h2–h4 */
  --font-head:   var(--font-display);

  --weight-body: 400;        /* paragraphs (Poppins Regular) */
  --weight-head: 600;        /* section headings (Playfair SemiBold) */
  --weight-script: 500;      /* wordmark + h1 display (Playfair Medium — matches the pack's wordmark weight) */
  --weight-mark: 900;        /* the "LL" monogram only — Playfair Black */
  --weight-label: 500;       /* small uppercase labels (Poppins Medium) */
  --weight-strong: 600;      /* <strong>, tile titles */

  --tracking-head: -0.01em;  /* heading letter-spacing (not applied to the display font's h1) */

  /* ---- Layout & scale ---- */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 72px;          /* height of the sticky menu bar */

  --step-hero: clamp(2.6rem, 7vw, 6rem);
  --step-h2: clamp(1.6rem, 3.4vw, 2.6rem);
  --step-h3: clamp(1.1rem, 1.6vw, 1.35rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: var(--weight-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  /* No forced -webkit-font-smoothing: on a light background the default
     (subpixel) rendering keeps the thin weights from looking washed out. */
}

strong, b { font-weight: var(--weight-strong); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 8vw, 90px); }
.section + .section { border-top: 1px solid var(--border-soft); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: var(--weight-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 { color: var(--heading); }

/* h1 — Playfair Display, the wordmark's own weight. Hero + page titles. */
h1 {
  font-family: var(--font-script);
  font-weight: var(--weight-script);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* h2–h4 — the same serif, a touch heavier. Section headings. */
h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: var(--weight-head);
  line-height: 1.15;
  letter-spacing: var(--tracking-head);
}

.h2 { font-size: var(--step-h2); margin: 0 0 1rem; }
.lede {
  font-family: var(--font-serif);
  font-weight: var(--weight-body);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--text-dim);
  max-width: 58ch;
  line-height: 1.55;
}

.text-accent { color: var(--accent); }

/* Small uppercase labels: always the sans, a touch more weight so
   they stay legible. (.footer-grid h4 is an <h4> — pull it back to
   sans so it doesn't inherit the serif heading style.) */
.fact dt, .field label, .detail-list dt, .footer-grid h4,
.hero-meta, .tile__meta, .tile__tag, .tile__index {
  font-family: var(--font-sans);
  font-weight: var(--weight-label);
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

/* Overlay state: the menu bar sits over the full-screen showcase,
   muted and background-free. JS (main.js) adds/removes .is-overlay
   as the showcase scrolls past. Without JS the bar stays solid.
   There's no scrim/wash over the video (it would dull the footage), so
   these are light/white with a soft text-shadow for legibility instead
   of relying on a darkened background behind them. */
.site-header.is-overlay {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header.is-overlay .brand,
.site-header.is-overlay .brand__mark,
.site-header.is-overlay .brand__word,
.site-header.is-overlay .nav-links a,
.site-header.is-overlay .nav-toggle {
  /* two shadows: a tight one for definition against pale footage, a
     wider soft one for contrast against mid-tones — no background wash */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.35);
}
.site-header.is-overlay .brand,
.site-header.is-overlay .brand__mark,
.site-header.is-overlay .brand__word { color: rgba(255, 255, 255, 0.95); }
.site-header.is-overlay .brand__divider { background: rgba(255, 255, 255, 0.4); }
.site-header.is-overlay .nav-links a { color: rgba(255, 255, 255, 0.75); }
.site-header.is-overlay .nav-links a:hover,
.site-header.is-overlay .nav-links a[aria-current="page"] { color: #fff; }
.site-header.is-overlay .nav-cta { border-color: rgba(255, 255, 255, 0.45); }
.site-header.is-overlay .nav-cta:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.7); }
.site-header.is-overlay .nav-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  cursor: pointer;
}
/* The monogram is "LL" — one L mirrored — not a "J". The flip span
   mirrors its "L" horizontally so it sits back-to-back with the
   normal one, meeting in the middle like the brand pack's mark. */
.brand__mark {
  font-family: var(--font-display);
  font-weight: var(--weight-mark);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--heading);
  display: inline-flex;
}
.brand__mark-flip {
  display: inline-block;
  transform: scaleX(-1);
  margin-right: -0.06em;
}
.brand__divider {
  width: 1px;
  height: 1.3rem;
  background: var(--border);
  flex: none;
}
.brand__word {
  font-family: var(--font-display);
  font-weight: var(--weight-script);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--heading);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: var(--weight-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--heading); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  border: 1px solid var(--border);
  padding: 0.6rem 1.1rem !important;
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { border-color: var(--accent); background: var(--surface); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.28s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.95rem;
  }
  .nav-cta { border: 0; border-radius: 0; padding-inline: 0 !important; }
  .nav-links a[aria-current="page"]::after { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  --_bg: var(--accent);
  --_fg: var(--on-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--_bg);
  color: var(--_fg);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: var(--weight-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--accent-dim); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  --_bg: transparent;
  --_fg: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--text-dim); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: var(--weight-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
  transition: border-color 0.15s ease, gap 0.15s ease;
}
.arrow-link:hover { border-color: var(--accent); gap: 0.85rem; }
.arrow-link .text-accent { transition: none; }

/* ---------- Showcase (full-screen media, first section) ---------- */

.showcase {
  position: relative;
  margin-top: calc(-1 * var(--header-h));   /* slide up under the sticky bar */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #ecebe6;
}
.showcase__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* applies when .showcase__media is an <img>/<video> */
  z-index: 0;
}
/* hero.mov has black pillarboxing baked into the file itself — the actual
   footage is a centred 576×576 square inside a 1024×576 frame (verified by
   sampling decoded pixels, not a guess). object-fit alone can't strip pixels
   that are part of the source, so this zooms in by exactly 1024/576 to crop
   the bars out. Safe across viewport shapes (derived from the cover-fit math,
   not eyeballed) — on very tall/narrow screens it just frames a little
   tighter than the bare minimum, never reveals a bar or cuts real content.
   Remove this rule (and its class on the <video> in index.html) if you swap
   in different footage that doesn't have this padding. */
.showcase__media--crop-bars {
  transform: scale(1.77778);
  transform-origin: center;
}
.showcase__media--placeholder {
  background:
    radial-gradient(130% 90% at 72% 18%, #efeee9 0%, #e4e2db 55%, #d7d5cd 100%);
}
.showcase__media--placeholder::after {
  content: "IMAGE / VIDEO";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: #a29e95;
}
/* No wash over the whole media — the video's own colour is the point, so
   nothing dims or mutes the bulk of it. The one exception is a small dark
   haze confined to the top strip behind the menu bar, so the logo/nav
   text stay readable through the video's lighter moments without ever
   touching the rest of the footage. Combined with the light colours +
   text-shadow on the header (below) as a second line of defence. */
.showcase__header-haze {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: calc(var(--header-h) * 2.4);
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

/* Currently unused on index.html — the showcase eyebrow + headline were
   removed so the video runs clean with no text over it (the page's h1
   moved to a visually-hidden one right after <main>, for SEO/structure).
   These rules are kept in case you want the overlay text back later —
   just re-add a `<div class="showcase__inner wrap">…</div>` with an
   `.eyebrow.eyebrow--onmedia` and an `h1` inside, between the video and
   the scroll cue in index.html. Colours are already light-on-video to
   match the header/cue treatment below. */
.showcase__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3.5rem, 13vh, 9rem);
}
.showcase__inner .eyebrow { margin-bottom: 1.1rem; }
.showcase__inner h1 {
  font-size: var(--step-hero);
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  margin: 0;
  max-width: 15ch;
}
.eyebrow--onmedia { color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); }

.showcase__cue {
  position: absolute;
  left: 50%;
  bottom: 1.7rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}
.showcase__cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translateY(-5px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(9px); }
}

/* ---------- Hero (intro block below the showcase) ---------- */

.hero {
  padding-block: clamp(64px, 12vw, 150px) clamp(56px, 10vw, 120px);
  scroll-margin-top: var(--header-h);
}
.hero h1 {
  font-size: var(--step-hero);
  margin: 0 0 1.6rem;
  max-width: 16ch;
}
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.5rem); max-width: 52ch; }
.hero .lede--lead { color: var(--text); }
.hero .btn-row { margin-top: 2.6rem; }
.hero-meta {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero-meta span:not(:last-child)::after {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}

/* ---------- Page header (interior pages) ---------- */

.page-head { padding-block: clamp(70px, 12vw, 150px) clamp(40px, 7vw, 80px); }
.page-head h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 0 0 1.4rem;
  max-width: 18ch;
}

/* ---------- Gallery grid ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
.tile {
  grid-column: span 6;
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.tile--wide { grid-column: span 8; }
.tile--narrow { grid-column: span 4; }
.tile--full { grid-column: span 12; }

.tile__media {
  display: block;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 10%, #edece7 0%, #e3e1da 55%, #d8d6ce 100%);
}
.tile--wide .tile__media { aspect-ratio: 16 / 9; }
.tile--full .tile__media { aspect-ratio: 21 / 9; }
/* Drop an <img> OR <video> straight into .tile__media — it fills the frame.
   The index number and tag stay on top; DOM order doesn't matter. */
.tile__media :is(img, video) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
}
.tile:hover .tile__media :is(img, video) { transform: scale(1.04); }

.tile__index {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.tile__ph {
  position: absolute; inset: 0;
  z-index: 0;
  display: flex; align-items: center; justify-content: center;
  color: #a29e95;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.tile__body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 1.15rem;
}
.tile__title { font-size: 1rem; font-weight: var(--weight-strong); color: var(--heading); }
.tile__meta { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tile__tag {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--border);
  padding: 0.3rem 0.6rem;
  color: var(--text-dim);
}

@media (max-width: 820px) {
  .tile, .tile--wide, .tile--narrow { grid-column: span 12; }
}

/* ---------- Split / feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media {
  aspect-ratio: 4 / 5;
  max-height: 520px;
  background: radial-gradient(120% 120% at 20% 10%, #edece7, #dddbd3 60%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Drop an <img> or <video> straight into .split__media — it fills the frame. */
.split__media :is(img, video) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.split__media .tile__ph { z-index: 0; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; }
}

/* ---------- Offer cards (ways to work together) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
  counter-reset: card;
}
.card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.card:hover { border-color: var(--accent); background: var(--surface-2); }
.card__num {
  counter-increment: card;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.card__num::before { content: "0" counter(card) " / "; color: var(--muted); }
.card h3 { font-size: var(--step-h3); margin: 0; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }
.card ul {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.card li { padding-left: 1.1rem; position: relative; }
.card li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 1px; background: var(--accent);
}
.card .arrow-link { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Disciplines marquee / list ---------- */

.disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  border: 1px solid var(--border);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}
.chip--accent { border-color: var(--accent); color: var(--text); }

/* ---------- Two-column prose ---------- */

.prose-cols {
  columns: 2;
  column-gap: clamp(28px, 5vw, 64px);
  color: var(--text-dim);
}
.prose-cols p { margin: 0 0 1.1rem; break-inside: avoid; }
@media (max-width: 720px) { .prose-cols { columns: 1; } }

/* ---------- Stat / fact row ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
}
.fact { background: var(--bg); padding: clamp(1.4rem, 3vw, 2.2rem); }
.fact dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.fact dd { margin: 0; font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: var(--weight-head); color: var(--heading); }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Process steps ---------- */

.steps { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
.step {
  background: var(--bg);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
}
.step__n { font-family: var(--mono); color: var(--accent); font-size: 0.9rem; }
.step h3 { margin: 0 0 0.5rem; font-size: var(--step-h3); }
.step p { margin: 0; color: var(--text-dim); max-width: 60ch; }
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- Pricing / packages ---------- */

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 20px); }
.pkg { border: 1px solid var(--border); padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; }
.pkg--feature { border-color: var(--accent); }
.pkg h3 { margin: 0; font-size: var(--step-h3); }
.pkg__price { font-size: 1.5rem; font-weight: var(--weight-head); color: var(--heading); }
.pkg__price span { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.pkg ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; color: var(--text-dim); }
.pkg li { padding-left: 1.2rem; position: relative; }
.pkg li::before { content: "+"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(2.4rem, 6vw, 4.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}
.cta-band h2 { font-size: var(--step-h2); margin: 0; max-width: 20ch; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.4rem; max-width: 640px; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 0.95rem;
  border-radius: 4px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Contact details ---------- */

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 7vw, 90px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.detail-list dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.detail-list dd { margin: 0; font-size: 1.05rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 8vw, 90px);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
}
.footer-grid h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-grid a { color: var(--text-dim); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { color: var(--text-dim); max-width: 40ch; margin: 0.8rem 0 0; font-size: 0.92rem; }
.footer-bottom {
  margin-top: clamp(32px, 6vw, 60px);
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Misc ---------- */

/* Visually hidden but present for screen readers / SEO — used for the
   page's h1 on the home page, which has no visible heading text since
   the showcase text was removed but a page still wants exactly one h1. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.divider-label {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.72rem;
  font-weight: var(--weight-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* Reveal on scroll — only hides content when JS is present (html.js) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
