/* ============================================================
   Milk & Honey Studios — Giovanna Dasso
   Sage / forest / moss · "from dirt to canopy"
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* DAPPLED LIGHT — top of the canopy */
  --parchment: #f1efe2;       /* page background, sun-bleached cream */
  --parchment-2: #e8ecdb;     /* section bg, pale moss cream */
  --parchment-3: #d6e0c2;     /* card bg, deeper moss tone */
  --bone: #fafaf2;            /* near-white highlight */

  /* CANOPY → FOREST FLOOR — greens, grays, earth-without-brown */
  --sage: #94a87d;            /* signature sage */
  --sage-soft: #b6c4a3;       /* faded sage */
  --sage-deep: #5e7349;       /* deep sage */
  --moss: #6e8047;            /* warm moss */
  --moss-deep: #4a5a30;       /* moss in shadow */
  --forest: #2c3a22;          /* deep forest */
  --forest-night: #1a2414;    /* darkest, near-black green */
  --fern: #4f6b3d;            /* fern green */

  /* LICHEN, MIST, STONE — neutrals that aren't brown */
  --mist: #d8dccd;            /* lichen mist */
  --stone: #aab19a;           /* stone-sage gray */
  --ink: #1a2414;             /* primary text — forest night */
  --ink-2: #3d4d33;           /* dark sage text */
  --ink-3: #6a7a5b;           /* mid sage gray text */

  /* SUN THROUGH LEAVES — accents (no brown, no orange-gold) */
  --gold-leaf: #b8a647;       /* moss-gold accent */
  --gold-leaf-bright: #d4c25f;/* sun on leaves */
  --gold-leaf-deep: #8e8030;  /* shaded gold */
  --berry: #6b3c4e;           /* deep berry — for emergency contrast */

  --line: rgba(26, 36, 20, 0.10);
  --line-strong: rgba(26, 36, 20, 0.20);
  --shadow-sm: 0 2px 6px rgba(26,36,20,0.06);
  --shadow: 0 8px 28px rgba(26,36,20,0.10);
  --shadow-lg: 0 24px 60px rgba(26,36,20,0.14);

  --display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --script: 'Caveat', cursive;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
}

body {
  font-family: var(--body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: var(--sage); color: var(--forest-night); }

/* Canvas paper texture — fine grain + subtle weave for that fine-art-paper feel */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.10; mix-blend-mode: multiply;
  background-image:
    /* Coarse fiber speckle */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.16  0 0 0 0 0.08  0 0 0 0.85 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.07; mix-blend-mode: multiply;
  background-image:
    /* Fine canvas weave — diagonal cross-hatch */
    repeating-linear-gradient(45deg, rgba(94,115,73,0.0) 0, rgba(94,115,73,0.0) 1px, rgba(94,115,73,0.18) 1px, rgba(94,115,73,0.18) 2px, rgba(94,115,73,0.0) 2px, rgba(94,115,73,0.0) 3px),
    repeating-linear-gradient(-45deg, rgba(94,115,73,0.0) 0, rgba(94,115,73,0.0) 1px, rgba(94,115,73,0.12) 1px, rgba(94,115,73,0.12) 2px, rgba(94,115,73,0.0) 2px, rgba(94,115,73,0.0) 3px);
}

/* ============== Layout ============== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
section { padding: clamp(60px, 9vw, 120px) 0; position: relative; z-index: 2; }
section + section { padding-top: 0; }

/* ============== Typography ============== */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--ink); line-height: 1.1; }
h1 { font-size: clamp(46px, 7vw, 92px); letter-spacing: -0.015em; }
h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.012em; }
h3 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.005em; }
h4 { font-size: clamp(18px, 2vw, 22px); }

.eyebrow {
  font-family: var(--body); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600; color: var(--moss-deep);
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--sage); display: inline-block; }
.eyebrow.no-rule::before { display: none; }

.script { font-family: var(--script); color: var(--moss-deep); font-size: 1.4em; line-height: 1; }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); max-width: 680px; line-height: 1.55; font-weight: 400; }
p + p { margin-top: 1em; }
.muted { color: var(--ink-3); }

/* ============== Icons ============== */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.icon-2 { width: 24px; height: 24px; vertical-align: middle; }
.icon-3 { width: 36px; height: 36px; }
.icon-4 { width: 48px; height: 48px; }
.icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--parchment-3); color: var(--moss-deep);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); flex-shrink: 0;
}
.icon-circle .icon { width: 26px; height: 26px; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--forest); color: var(--bone); }
.btn-primary:hover { background: var(--forest-night); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold-leaf); color: var(--forest-night); }
.btn-gold:hover { background: var(--gold-leaf-bright); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sage { background: var(--sage); color: var(--forest-night); }
.btn-sage:hover { background: var(--sage-deep); color: var(--bone); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--bone); }
.btn-ghost { color: var(--forest); padding-left: 0; padding-right: 0; }
.btn-ghost::after { content: "→"; transition: transform .25s; }
.btn-ghost:hover::after { transform: translateX(6px); }

/* ============== Mega menu navigation ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(241, 239, 226, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: padding .25s, background .25s;
}
.nav.scrolled { padding-top: 8px; padding-bottom: 8px; background: rgba(241, 239, 226, 0.97); }

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo .word { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .word .top { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.nav-logo .word .bot { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--moss-deep); margin-top: 4px; font-weight: 600; }

.megamenu { display: flex; gap: 4px; align-items: center; flex: 1; justify-content: center; padding: 0 24px; }

.mm-item { position: relative; }
.mm-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  border-radius: 999px; cursor: pointer; transition: all .2s;
}
.mm-trigger:hover { color: var(--forest-night); background: var(--parchment-2); }
.mm-trigger.active { color: var(--forest-night); }
.mm-trigger .chev { width: 10px; height: 10px; opacity: 0.6; transition: transform .2s; }
.mm-item:hover .mm-trigger { color: var(--forest-night); background: var(--parchment-2); }
.mm-item:hover .chev { transform: rotate(180deg); }

.mm-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-8px);
  background: var(--bone); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  min-width: 540px;
  margin-top: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, visibility .2s, transform .2s;
}
.mm-item:hover .mm-panel,
.mm-item:focus-within .mm-panel,
.mm-item.open .mm-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge so hover doesn't break in the gap between trigger and panel */
.mm-panel::before {
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
  background: transparent;
}
/* Decorative tip */
.mm-panel::after {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--bone); border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.mm-item.open .mm-trigger { color: var(--forest-night); background: var(--parchment-2); }
.mm-item.open .chev { transform: rotate(180deg); }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mm-link {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px; border-radius: 10px; text-decoration: none;
  transition: background .2s;
}
.mm-link:hover { background: var(--parchment-2); }
.mm-link .icon-circle { width: 44px; height: 44px; }
.mm-link .icon-circle .icon { width: 22px; height: 22px; }
.mm-link .meta .ttl { font-family: var(--display); font-size: 19px; color: var(--forest-night); line-height: 1.1; }
.mm-link .meta .desc { font-size: 13px; color: var(--ink-3); line-height: 1.4; margin-top: 4px; }

.mm-feature {
  margin-top: 16px; padding: 16px;
  background: linear-gradient(120deg, var(--parchment-3), var(--parchment-2));
  border-radius: 10px; display: flex; gap: 14px; align-items: center;
}
.mm-feature .icon-circle { background: var(--forest); color: var(--gold-leaf-bright); }
.mm-feature .meta .ttl { font-family: var(--display); color: var(--forest-night); font-size: 18px; }
.mm-feature .meta .desc { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--bone); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 1100px) { .megamenu { display: none; } .nav-toggle { display: inline-flex; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--parchment);
  padding: 80px var(--gutter) 40px;
  display: none; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.drawer.open { display: flex; }
.drawer-section { padding: 14px 0 4px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--moss-deep); font-weight: 700; border-bottom: 1px solid var(--line); margin-top: 12px; }
.drawer a { font-family: var(--display); font-size: 26px; padding: 10px 0; color: var(--ink); display: flex; align-items: center; gap: 14px; }
.drawer a .icon-circle { width: 40px; height: 40px; }
.drawer a .icon-circle .icon { width: 20px; height: 20px; }
.drawer-close { position: absolute; top: 18px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--bone); display: inline-flex; align-items: center; justify-content: center; }
.drawer-close .icon { width: 18px; height: 18px; }

/* ============== Hero ============== */
.hero { padding-top: 150px; padding-bottom: 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 80px; right: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(148,168,125,0.18), transparent 70%);
  border-radius: 50%; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; z-index: 2; }
.hero-headline { font-size: clamp(48px, 8vw, 104px); line-height: .98; letter-spacing: -0.02em; }
.hero-headline em { font-style: italic; color: var(--moss-deep); font-weight: 400; }
.hero-sub { margin-top: 26px; max-width: 520px; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { position: relative; aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .badge {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--bone); padding: 10px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-image .badge .icon { width: 14px; height: 14px; color: var(--moss-deep); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* Decorative branch separator */
.branch {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 40px 0; color: var(--sage); opacity: 0.7;
}
.branch::before, .branch::after {
  content: ""; flex: 1; max-width: 200px; height: 1px;
  background: linear-gradient(to right, transparent, var(--sage), transparent);
}
.branch .icon { width: 22px; height: 22px; color: var(--sage-deep); }

/* ============== Trust strip ============== */
.trust { background: var(--parchment-2); padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); align-items: center; justify-content: center; }
.trust-label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.trust-item { font-family: var(--display); font-size: clamp(18px, 2vw, 22px); color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.trust-item .icon { width: 18px; height: 18px; color: var(--moss-deep); }

/* ============== Section header ============== */
.sec-head {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end;
  margin-bottom: 56px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.sec-head h2 { max-width: 720px; }
.sec-head .sec-meta { color: var(--ink-3); font-size: 14px; text-align: right; display: inline-flex; align-items: center; gap: 8px; }
.sec-head .sec-meta .icon { width: 16px; height: 16px; color: var(--moss-deep); }
@media (max-width: 700px) { .sec-head { grid-template-columns: 1fr; } .sec-head .sec-meta { text-align: left; } }

/* ============== Card grid ============== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; } }

.card {
  background: var(--bone); border: 1px solid var(--line);
  border-radius: 8px; padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage); }
.card .icon-circle { margin-bottom: 4px; }
.card .num { font-family: var(--display); font-style: italic; color: var(--moss-deep); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.card .num .icon { width: 14px; height: 14px; }
.card h3 { font-size: 24px; line-height: 1.15; }
.card p { font-size: 15px; color: var(--ink-2); flex: 1; }
.card .price { font-family: var(--display); font-size: 28px; color: var(--ink); margin-top: 8px; }
.card .price small { font-size: 14px; color: var(--ink-3); font-family: var(--body); margin-left: 6px; }

.card-img { padding: 0; overflow: hidden; }
.card-img .ph { aspect-ratio: 4/5; background: var(--parchment-3); position: relative; overflow: hidden; }
.card-img .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-img:hover .ph img { transform: scale(1.04); }
.card-img .meta { padding: 18px 20px 22px; }
.card-img .meta h3 { font-size: 22px; }
.card-img .meta .tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss-deep); margin-top: 4px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card-img .meta .tag .icon { width: 13px; height: 13px; }

/* ============== Image strip / band ============== */
.strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--forest);
}
.strip .cell {
  aspect-ratio: 1/1; overflow: hidden; position: relative;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.strip .cell:last-child { border-right: none; }
.strip .cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: 0.85; }
.strip .cell:hover img { transform: scale(1.05); opacity: 1; }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip .cell:nth-child(n+4) { display: none; } }

.image-band {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px;
  margin: 0 0 80px;
}
.image-band > div { aspect-ratio: 1/1; overflow: hidden; border-radius: 6px; background: var(--parchment-3); }
.image-band > div:first-child { aspect-ratio: 1/1; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .image-band { grid-template-columns: 1fr 1fr; } .image-band > div:first-child { grid-column: span 2; } }

.parallax {
  height: 60vh; min-height: 380px; max-height: 600px;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  position: relative; display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.parallax::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,36,20,0.45), rgba(26,36,20,0.65)); }
.parallax .center { position: relative; z-index: 2; color: var(--bone); padding: 0 var(--gutter); max-width: 760px; text-align: center; }
.parallax h2 { color: var(--bone); font-style: italic; }
.parallax .lede { color: rgba(241,239,226,0.85); margin: 18px auto 0; }

/* ============== Gallery ============== */
.gallery { column-count: 4; column-gap: 16px; }
@media (max-width: 1100px) { .gallery { column-count: 3; } }
@media (max-width: 700px)  { .gallery { column-count: 2; } }
.gallery .tile {
  break-inside: avoid; margin-bottom: 16px; border-radius: 4px; overflow: hidden;
  background: var(--parchment-3); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s; cursor: zoom-in;
}
.gallery .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery .tile img { width: 100%; height: auto; display: block; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15,20,12,0.96); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox .close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--bone); color: var(--forest); font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.lightbox .close .icon { width: 18px; height: 18px; }

/* ============== Quote ============== */
.quote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.25;
  color: var(--ink); max-width: 920px;
}
.quote cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--body); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moss-deep); font-weight: 600; }

/* ============== Page header ============== */
.page-head {
  padding: 160px 0 60px;
  background: linear-gradient(180deg, var(--parchment-2) 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; top: 100px; right: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(148,168,125,0.20), transparent 70%);
  border-radius: 50%; z-index: 0;
}
.page-head .container { position: relative; z-index: 2; }
.page-head .breadcrumb { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moss-deep); font-weight: 600; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px; }
.page-head .breadcrumb .icon { width: 14px; height: 14px; }
.page-head h1 { font-size: clamp(56px, 8vw, 96px); }
.page-head p { margin-top: 18px; max-width: 720px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); }

/* ============== About ============== */
.about-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.about-grid img { border-radius: 6px; box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: 200px 60px 1fr;
  gap: 30px; padding: 30px 0; border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item .yr { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--moss-deep); }
.timeline-item .icon-circle { background: var(--parchment-3); }
.timeline-item h4 { font-size: 22px; margin-bottom: 6px; }
.timeline-item p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 700px) { .timeline-item { grid-template-columns: 1fr; gap: 8px; } .timeline-item .icon-circle { display: none; } }

/* ============== Books ============== */
.book {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  padding: 40px; background: var(--bone); border: 1px solid var(--line); border-radius: 8px;
  margin-bottom: 24px;
}
.book .cover {
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--sage-soft), var(--parchment-3));
  border: 1px solid var(--line-strong); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 30px 20px; text-align: center; box-shadow: var(--shadow);
  position: relative; color: var(--forest-night);
}
.book .cover .spine-decor { position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(to right, rgba(0,0,0,0.18), transparent); }
.book .cover .icon-art { width: 48px; height: 48px; color: var(--moss-deep); margin-bottom: 12px; opacity: 0.8; }
.book .cover .ttl { font-family: var(--display); font-size: 22px; line-height: 1.1; margin-bottom: 10px; }
.book .cover .auth { font-size: 12px; color: var(--moss-deep); letter-spacing: 0.1em; text-transform: uppercase; }
.book .meta .credit { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moss-deep); font-weight: 600; }
.book .meta h3 { margin-top: 8px; font-size: 32px; }
.book .meta .role { font-style: italic; color: var(--ink-2); margin-top: 4px; font-size: 16px; }
.book .meta p { margin-top: 16px; color: var(--ink-2); }
.book .meta .info { display: flex; gap: 26px; margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.book .meta .actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .book { grid-template-columns: 1fr; padding: 24px; } .book .cover { max-width: 240px; } }

/* ============== Tier ============== */
.tier {
  background: var(--bone); border: 1px solid var(--line);
  border-radius: 10px; padding: 32px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage); }
.tier .icon-circle { background: var(--parchment-3); margin-bottom: 8px; }
.tier.featured { background: var(--forest); color: var(--bone); border-color: var(--gold-leaf); }
.tier.featured h3, .tier.featured .price { color: var(--bone); }
.tier.featured p, .tier.featured li, .tier.featured .muted { color: rgba(241,239,226,0.78); }
.tier.featured .icon-circle { background: var(--moss-deep); color: var(--gold-leaf-bright); border-color: rgba(255,255,255,0.18); }
.tier.featured .badge-feat { display: inline-block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; background: var(--gold-leaf); color: var(--forest-night); padding: 4px 10px; border-radius: 999px; font-weight: 700; align-self: flex-start; }
.tier h3 { font-size: 22px; }
.tier .price { font-family: var(--display); font-size: 38px; color: var(--ink); line-height: 1; }
.tier .price small { font-size: 14px; font-family: var(--body); color: var(--ink-3); margin-left: 4px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 14px; flex: 1; }
.tier ul li { display: flex; align-items: flex-start; gap: 8px; }
.tier ul li .icon { width: 14px; height: 14px; margin-top: 4px; color: var(--moss-deep); flex-shrink: 0; }
.tier.featured ul li .icon { color: var(--gold-leaf-bright); }
.tier .btn { margin-top: auto; align-self: stretch; justify-content: center; white-space: nowrap; }
/* Equal heights across a tier row */
.tier-grid-5, .grid-5, .grid-4 { align-items: stretch; }
.tier-grid-5 .tier, .grid-5 .tier, .grid-4 .tier { height: 100%; }

/* ============== Form ============== */
.form { display: grid; gap: 18px; max-width: 720px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; background: var(--bone);
  border: 1px solid var(--line-strong); border-radius: 6px;
  color: var(--ink); font-size: 16px; transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sage-deep); }
.form textarea { min-height: 140px; resize: vertical; }
.form .submit-row { margin-top: 8px; }

/* ============== Testimonials ============== */
.testimonials { background: var(--parchment-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } }
.t-card { background: var(--bone); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.t-card .stars { color: var(--gold-leaf); letter-spacing: 2px; font-size: 14px; }
.t-card blockquote { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--ink); margin: 14px 0 16px; }
.t-card .from { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss-deep); font-weight: 600; }

/* ============== CTA strip ============== */
.cta-strip { background: var(--forest); color: var(--bone); padding: 80px 0; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; top: -40px; left: -40px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(148,168,125,0.20), transparent 70%); border-radius: 50%; }
.cta-strip::after { content: ""; position: absolute; bottom: -40px; right: -40px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(184,166,71,0.15), transparent 70%); border-radius: 50%; }
.cta-strip h2 { color: var(--bone); position: relative; }
.cta-strip .lede { color: rgba(241,239,226,0.78); position: relative; }
.cta-strip .form input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: var(--bone); }
.cta-strip .form input::placeholder { color: rgba(241,239,226,0.5); }
.cta-strip .form label { color: rgba(241,239,226,0.55); }
.cta-strip .container { position: relative; z-index: 2; }

/* ============== Footer ============== */
.footer { background: var(--forest-night); color: var(--bone); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--body); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-leaf-bright); margin-bottom: 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.footer h5 .icon { width: 14px; height: 14px; }
.footer .brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer .brand img { height: 60px; width: auto; }
.footer .brand .word .top { font-family: var(--display); font-size: 24px; color: var(--bone); line-height: 1; }
.footer .brand .word .bot { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-leaf-bright); margin-top: 5px; }
.footer p { color: rgba(241,239,226,0.66); font-size: 14px; line-height: 1.6; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(241,239,226,0.7); font-size: 14px; transition: color .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer ul a .icon { width: 12px; height: 12px; opacity: 0.6; }
.footer ul a:hover { color: var(--gold-leaf-bright); }
.footer .social { display: flex; gap: 12px; margin-top: 16px; }
.footer .social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bone); transition: all .2s;
}
.footer .social a .icon { width: 16px; height: 16px; }
.footer .social a:hover { background: var(--gold-leaf); color: var(--forest-night); border-color: var(--gold-leaf); }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,0.10); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(241,239,226,0.4);
}

/* ============== Misc ============== */
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.center { text-align: center; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--parchment-3); border: 1px solid var(--line);
  border-radius: 999px; font-size: 12px; letter-spacing: 0.08em;
  color: var(--ink-2); font-weight: 500;
}
.tag .icon { width: 12px; height: 12px; color: var(--moss-deep); }

[id] { scroll-margin-top: 100px; }

/* ============================================================
   v3 ADDITIONS — loader · cursor · animations · carousel
   instagram grid · videos · back-to-top · sticky mobile CTA
   ============================================================ */

/* === Page loader (subtle leaf bloom) === */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--parchment);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 18px;
  transition: opacity .8s ease, visibility .8s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 80px; height: 80px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.loader-mark img { width: 100%; height: 100%; object-fit: contain; }
.loader-mark::after {
  content: ""; position: absolute; inset: -10px;
  border: 1.5px solid var(--sage); border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1.6s linear infinite;
}
.loader-text {
  font-family: var(--display); font-size: 18px; color: var(--moss-deep);
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.7;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Custom cursor disabled — was causing artifacts */
.cursor-dot { display: none !important; }

/* ============================================================
   v6 — Logo wall · Credentials cards · Awards
   ============================================================ */

/* Portrait placeholder — clean slot until real photo provided */
.portrait-slot {
  aspect-ratio: 3/4;
  border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, var(--parchment-3) 0 12px, var(--parchment-2) 12px 24px);
  border: 1.5px dashed var(--line-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 32px 24px; text-align: center;
  color: var(--moss-deep); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.portrait-slot::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(148,168,125,0.12), transparent 70%);
  pointer-events: none;
}
.portrait-slot .icon-circle {
  width: 64px; height: 64px;
  background: var(--bone); color: var(--moss-deep);
  border: 1px solid var(--line);
  z-index: 2;
}
.portrait-slot .icon-circle .icon { width: 28px; height: 28px; }
.portrait-slot .ttl {
  font-family: var(--display); font-size: 22px; line-height: 1.2;
  color: var(--ink); z-index: 2;
}
.portrait-slot .sub {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; z-index: 2;
}
.portrait-slot code {
  font-family: ui-monospace, monospace;
  background: var(--bone); padding: 4px 10px; border-radius: 4px;
  font-size: 12px; color: var(--moss-deep); border: 1px solid var(--line);
  margin-top: 4px; z-index: 2;
}

/* Logo wall (replaces icon-only trust strip) */
.logo-wall {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  align-items: center; padding: 12px 0;
}
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } .logo-wall .logo-cell:nth-child(n+4) { display: none; } }
@media (max-width: 600px)  { .logo-wall { grid-template-columns: repeat(2, 1fr); } .logo-wall .logo-cell:nth-child(n+5) { display: none; } }

.logo-cell {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 10px;
  text-align: center;
  transition: opacity .25s, transform .25s;
}
.logo-cell:hover { transform: translateY(-2px); }
.logo-cell .logo-img {
  height: 56px; max-height: 56px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.logo-cell .logo-img img {
  height: 56px !important; width: auto !important;
  max-height: 56px !important; max-width: 200px !important;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.78);
  transition: filter .25s;
}
.logo-cell:hover .logo-img img { filter: grayscale(0%) opacity(1); }
.logo-cell .logo-placeholder {
  height: 56px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: 6px;
  font-family: var(--display);
  font-size: 18px; color: var(--moss-deep); font-style: italic;
  letter-spacing: -0.01em;
  background: rgba(255,255,255,0.4);
}
.logo-cell .logo-name {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}

/* Credentials grid + cards */
.creds-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  align-items: stretch;
}
.creds-grid > * { height: 100%; }
@media (max-width: 1000px) { .creds-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .creds-grid { grid-template-columns: 1fr; } }

.cred-card {
  background: var(--bone); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.cred-card:hover { transform: translateY(-4px); border-color: var(--sage); box-shadow: var(--shadow); }
.cred-card .ribbon-corner {
  position: absolute; top: 14px; right: -38px; transform: rotate(38deg);
  background: var(--gold-leaf); color: var(--forest-night);
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  padding: 4px 44px;
  box-shadow: var(--shadow-sm);
}
.cred-card .cred-mark {
  height: 64px; max-height: 64px;
  display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: 4px;
  overflow: hidden;
}
.cred-card .cred-mark img {
  height: 64px !important; width: auto !important;
  max-height: 64px !important; max-width: 220px !important;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.85);
}
.cred-card .cred-mark .placeholder {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 64px; width: 100%;
  background: linear-gradient(135deg, var(--parchment-3), var(--parchment-2));
  border: 1px dashed var(--line-strong); border-radius: 8px;
  font-family: var(--display); font-style: italic; color: var(--moss-deep);
  font-size: 15px; padding: 0 14px;
}
.cred-card .cred-mark .placeholder .icon { width: 22px; height: 22px; flex-shrink: 0; }
.cred-card .org { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--moss-deep); font-weight: 600; }
.cred-card h3 { font-size: 22px; line-height: 1.15; }
.cred-card .lead-line { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.cred-card ul.dots {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--ink-2); margin-top: 2px;
}
.cred-card ul.dots li { display: flex; align-items: flex-start; gap: 8px; }
.cred-card ul.dots li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage-deep); margin-top: 8px; flex-shrink: 0;
}
.cred-card .meta-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cred-card .meta-pills .pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--parchment-3); border: 1px solid var(--line);
  font-size: 11px; color: var(--ink-2); font-weight: 500;
}
.cred-card .source { font-size: 12px; color: var(--ink-3); margin-top: auto; padding-top: 10px; }
.cred-card .source a { color: var(--moss-deep); font-weight: 600; }
.cred-card .source a:hover { color: var(--forest); }

/* === Reveal-on-scroll entrance === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* Hero entrance baked-in (don't wait for IO) */
.hero .hero-grid > div > * { opacity: 0; animation: heroIn 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .hero-grid > div > *:nth-child(1) { animation-delay: 0.4s; }
.hero .hero-grid > div > *:nth-child(2) { animation-delay: 0.55s; }
.hero .hero-grid > div > *:nth-child(3) { animation-delay: 0.7s; }
.hero .hero-grid > div > *:nth-child(4) { animation-delay: 0.85s; }
.hero .hero-image { opacity: 0; animation: heroImgIn 1.1s cubic-bezier(.2,.7,.2,1) 0.5s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroImgIn { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* === Hero variant: video background === */
.hero-video-wrap {
  position: relative; aspect-ratio: 4/5;
  border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  background: var(--parchment-3);
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero-video-wrap .badge {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--bone); padding: 10px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-video-wrap .badge .icon { width: 14px; height: 14px; color: var(--moss-deep); }

/* === Auto-panning featured-work carousel (Alex Fisher style) === */
.work-carousel {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  padding: 8px 0;
}
.work-track {
  display: flex; gap: 24px;
  width: max-content;
  animation: pan 60s linear infinite;
}
.work-carousel:hover .work-track { animation-play-state: paused; }
@keyframes pan {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}
@media (prefers-reduced-motion) {
  .work-track { animation: none; }
  .work-carousel { overflow-x: auto; scroll-snap-type: x mandatory; }
}

.work-tile {
  flex: 0 0 auto;
  width: 360px; aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  border-radius: 8px;
  background: var(--parchment-3);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform .4s ease;
}
.work-tile:hover { transform: translateY(-6px); }
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.work-tile:hover img { transform: scale(1.06); }
.work-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,36,20,0.85) 0%, rgba(26,36,20,0.30) 40%, transparent 70%);
  opacity: 0.85;
}
.work-tile .meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 26px;
  z-index: 2; color: var(--bone);
  transform: translateY(8px); transition: transform .4s ease;
}
.work-tile:hover .meta { transform: translateY(0); }
.work-tile .meta .label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-leaf-bright); font-weight: 600;
  margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px;
}
.work-tile .meta .label .icon { width: 14px; height: 14px; }
.work-tile .meta h3 { color: var(--bone); font-size: 26px; line-height: 1.1; }
.work-tile .meta .more {
  margin-top: 12px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone); font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: all .4s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.work-tile:hover .meta .more { opacity: 1; transform: translateY(0); }
.work-tile .meta .more .icon { width: 12px; height: 12px; }
@media (max-width: 700px) {
  .work-tile { width: 280px; }
}

/* === Stories in motion (video tiles) === */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }
.video-tile {
  position: relative; overflow: hidden;
  border-radius: 8px; aspect-ratio: 4/5;
  background: var(--forest); box-shadow: var(--shadow);
  cursor: pointer;
}
.video-tile video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .6s ease, opacity .3s;
  opacity: 0.95;
}
.video-tile:hover video { transform: scale(1.03); opacity: 1; }
.video-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,36,20,0.55) 0%, transparent 50%);
  pointer-events: none;
}
.video-tile .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px; z-index: 2; color: var(--bone);
}
.video-tile .meta .label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-leaf-bright); font-weight: 600; margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.video-tile .meta h3 { color: var(--bone); font-size: 22px; line-height: 1.15; }
.video-tile .play {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(241,239,226,0.95);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 3; pointer-events: none;
  box-shadow: var(--shadow-sm);
}
.video-tile .play .icon { width: 18px; height: 18px; color: var(--forest); }

/* === Featured video band (full-width hero-ish) === */
.video-feature {
  position: relative; height: 70vh; min-height: 500px; max-height: 760px;
  overflow: hidden;
  background: var(--forest);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.video-feature video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
}
.video-feature .center {
  position: relative; z-index: 2; padding: 0 var(--gutter);
  max-width: 760px; margin: 0 auto; text-align: center;
  color: var(--bone); height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.video-feature h2 { color: var(--bone); font-style: italic; }
.video-feature .lede { color: rgba(241,239,226,0.92); margin: 18px auto 26px; }
.video-feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,36,20,0.30) 0%, rgba(26,36,20,0.55) 100%);
  pointer-events: none;
}

/* === Instagram grid === */
.ig-section { background: var(--parchment-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ig-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  margin-bottom: 36px;
}
.ig-handle {
  font-family: var(--body); font-weight: 600; color: var(--moss-deep);
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px;
}
.ig-handle .icon-circle { width: 38px; height: 38px; background: var(--bone); }
.ig-handle .icon-circle .icon { width: 18px; height: 18px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 1100px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } .ig-grid .ig-item:nth-child(n+9) { display: none; } }
@media (max-width: 600px)  { .ig-grid { grid-template-columns: repeat(3, 1fr); } .ig-grid .ig-item:nth-child(n+7) { display: none; } }
.ig-item {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border-radius: 4px; background: var(--parchment-3);
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ig-item:hover img { transform: scale(1.06); }
.ig-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(46,58,34,0.0), rgba(46,58,34,0.55));
  opacity: 0; transition: opacity .25s;
}
.ig-item:hover::after { opacity: 1; }
.ig-item .ig-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--bone); opacity: 0; transition: opacity .25s; z-index: 2;
}
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-item .ig-overlay .icon { width: 28px; height: 28px; }

/* === Polished image strip (replaces simple .strip) === */
.strip-clean {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  padding: 12px 0;
}
.strip-clean .cell {
  aspect-ratio: 1/1; overflow: hidden; position: relative;
  border-radius: 6px; background: var(--parchment-3);
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
}
.strip-clean .cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strip-clean .cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.strip-clean .cell:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .strip-clean { grid-template-columns: repeat(3, 1fr); gap: 8px; } .strip-clean .cell:nth-child(n+4) { display: none; } }

/* === Polished image band === */
/* Editorial 5-image collage — 1 hero + 4 small. Always fills the band, no orphan gaps. */
.image-band-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin: 60px 0 40px;
  aspect-ratio: 16 / 8;
}
.image-band-2 > div {
  overflow: hidden;
  border-radius: 8px; background: var(--parchment-3);
  box-shadow: var(--shadow-sm);
  transition: transform .4s, box-shadow .4s;
  position: relative;
}
.image-band-2 > div:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.image-band-2 > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.image-band-2 img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.image-band-2 > div:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
  .image-band-2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .image-band-2 > div { aspect-ratio: 1 / 1; }
  .image-band-2 > div:first-child { grid-column: span 2; aspect-ratio: 16/10; }
}

/* === Back-to-top button === */
.to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--forest); color: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--moss-deep); transform: translateY(-2px); }
.to-top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }

/* === Sticky mobile CTA bar === */
.mobile-cta {
  display: none;
}
@media (max-width: 700px) {
  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    background: var(--forest); color: var(--bone);
    border-radius: 14px; padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(120%); transition: transform .35s ease;
  }
  .mobile-cta.visible { transform: translateY(0); }
  .mobile-cta .label { font-size: 13px; font-weight: 500; line-height: 1.2; }
  .mobile-cta .label small { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-leaf-bright); margin-bottom: 2px; }
  .mobile-cta .btn { padding: 10px 18px; font-size: 12px; }
  .footer { padding-bottom: 100px; } /* keep footer content above sticky CTA */
}

/* === Mobile improvements === */
@media (max-width: 700px) {
  .hero { padding-top: 120px; padding-bottom: 50px; }
  .hero-headline { font-size: clamp(40px, 11vw, 64px); }
  .hero-ctas { gap: 8px; }
  .hero-ctas .btn { padding: 12px 18px; font-size: 13px; }
  section { padding: 60px 0; }
  .sec-head { margin-bottom: 32px; padding-bottom: 16px; }
  .nav { padding: 12px 18px; }
  .nav-logo img { height: 38px; }
  .nav-logo .word .top { font-size: 17px; }
  .nav-logo .word .bot { font-size: 8.5px; letter-spacing: 0.28em; }
  .btn { padding: 12px 22px; min-height: 44px; }  /* ≥44px tap targets */
  .nav-cta .btn { padding: 10px 16px; font-size: 12px; }
  .form input, .form select, .form textarea { font-size: 16px; }  /* prevents iOS zoom */
  .card { padding: 22px; }
  .tier { padding: 26px 20px; }
  .footer { padding: 60px 0 100px; }
  .page-head { padding: 130px 0 40px; }
  .page-head h1 { font-size: clamp(40px, 12vw, 64px); }
  .lightbox { padding: 16px; }
  .lightbox .close { top: 14px; right: 14px; }
}

/* === Section divider with branch === */
.divider-branch {
  margin: 60px 0; display: flex; align-items: center; justify-content: center;
  gap: 16px; color: var(--sage-deep);
}
.divider-branch::before, .divider-branch::after {
  content: ""; flex: 1; max-width: 240px; height: 1px;
  background: linear-gradient(to right, transparent, var(--sage), transparent);
}
.divider-branch .icon { width: 26px; height: 26px; opacity: 0.85; }

/* === Refined trust strip === */
.trust { padding: 26px 0; }
.trust-row { gap: clamp(20px, 4vw, 48px); }
.trust-item { font-size: clamp(15px, 1.6vw, 19px); }

/* === Card num polish (use icon instead of dot) === */
.card .num { color: var(--sage-deep); }

/* ============================================================
   v4 ADDITIONS — filterable gallery · advanced lightbox
   live Instagram · YouTube section
   ============================================================ */

/* === Filter chips (gallery v2) === */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 18px 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bone); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all .25s;
  min-height: 44px;
}
.chip .icon { width: 14px; height: 14px; color: var(--moss-deep); }
.chip:hover { border-color: var(--sage); background: var(--parchment-2); }
.chip.active { background: var(--forest); color: var(--bone); border-color: var(--forest); }
.chip.active .icon { color: var(--gold-leaf-bright); }
.chip .count { font-size: 11px; opacity: 0.6; margin-left: 4px; }

/* === Gallery v2 — masonry with metadata overlays === */
.gallery-v2 { column-count: 4; column-gap: 14px; }
@media (max-width: 1100px) { .gallery-v2 { column-count: 3; } }
@media (max-width: 700px)  { .gallery-v2 { column-count: 2; } }

.gallery-v2 .tile {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 6px; overflow: hidden;
  background: var(--parchment-3);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, opacity .35s ease;
}
.gallery-v2 .tile.hide { opacity: 0; pointer-events: none; transform: scale(0.96); }
.gallery-v2 .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-v2 .tile img {
  width: 100%; height: auto; display: block;
  transition: transform .8s ease;
}
.gallery-v2 .tile:hover img { transform: scale(1.04); }
.gallery-v2 .tile .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,36,20,0.78) 0%, rgba(26,36,20,0) 50%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.gallery-v2 .tile:hover .overlay { opacity: 1; }
.gallery-v2 .tile .overlay .meta { color: var(--bone); }
.gallery-v2 .tile .overlay .cat {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-leaf-bright); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.gallery-v2 .tile .overlay .cat .icon { width: 12px; height: 12px; }
.gallery-v2 .tile .overlay .ttl { font-family: var(--display); font-size: 18px; line-height: 1.15; }
.gallery-v2 .tile.hidden-cat { display: none; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }

/* === Advanced lightbox (replaces basic) === */
.lightbox.v2 {
  flex-direction: column;
  padding: 0;
}
.lightbox.v2 .stage {
  position: relative;
  width: 100vw; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
}
.lightbox.v2 .stage img {
  max-width: 92vw; max-height: 80vh;
  border-radius: 4px; box-shadow: var(--shadow-lg);
  transition: opacity .3s;
}
.lightbox.v2 .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(241,239,226,0.92); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow);
  transition: all .2s; z-index: 5;
}
.lightbox.v2 .arrow:hover { background: var(--bone); transform: translateY(-50%) scale(1.06); }
.lightbox.v2 .arrow .icon { width: 22px; height: 22px; }
.lightbox.v2 .arrow.prev { left: 24px; }
.lightbox.v2 .arrow.prev .icon { transform: rotate(180deg); }
.lightbox.v2 .arrow.next { right: 24px; }
.lightbox.v2 .meta-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 28px;
  background: rgba(15,20,12,0.55);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--bone);
  font-size: 13px;
  z-index: 4;
}
.lightbox.v2 .meta-bar .cat { color: var(--gold-leaf-bright); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; font-size: 11px; }
.lightbox.v2 .meta-bar .counter { font-family: var(--display); font-style: italic; }
@media (max-width: 700px) {
  .lightbox.v2 .stage { padding: 40px 12px 70px; }
  .lightbox.v2 .arrow { width: 44px; height: 44px; }
  .lightbox.v2 .arrow.prev { left: 8px; }
  .lightbox.v2 .arrow.next { right: 8px; }
  .lightbox.v2 .meta-bar { padding: 12px 16px; font-size: 12px; }
}

/* === Live Instagram (Lightwidget) iframe wrapper === */
.lw-wrap {
  position: relative;
  background: var(--parchment-3);
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
}
.lw-wrap iframe {
  width: 100%; border: 0; display: block;
  min-height: 540px;
}
.lw-wrap .lw-fallback {
  position: absolute; inset: 0; padding: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 18px;
  background: var(--parchment-2);
  pointer-events: none;
  opacity: 1; transition: opacity .4s;
}
.lw-wrap.loaded .lw-fallback { opacity: 0; pointer-events: none; }
.lw-wrap .lw-fallback .icon-circle { width: 56px; height: 56px; }
.lw-wrap .lw-fallback .icon-circle .icon { width: 26px; height: 26px; }
.lw-wrap .lw-fallback h3 { font-size: 22px; }
.lw-wrap .lw-fallback p { color: var(--ink-3); max-width: 420px; font-size: 14px; }

/* === YouTube section === */
.yt-section {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-night) 100%);
  color: var(--bone);
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
}
.yt-section::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,166,71,0.18), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.yt-section h2 { color: var(--bone); }
.yt-section .eyebrow { color: var(--gold-leaf-bright); }
.yt-section .eyebrow::before { background: var(--gold-leaf); }
.yt-section .lede { color: rgba(241,239,226,0.78); }
.yt-section .container { position: relative; z-index: 2; }

.yt-featured {
  position: relative; aspect-ratio: 16/9;
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
  background: var(--forest-night);
}
.yt-featured iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-featured .yt-poster {
  position: absolute; inset: 0; cursor: pointer;
}
.yt-featured .yt-poster img { width: 100%; height: 100%; object-fit: cover; }
.yt-featured .yt-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,36,20,0.55), transparent 50%);
}
.yt-featured .yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(241,239,226,0.96);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .25s, background .25s;
  z-index: 2;
}
.yt-featured .yt-poster:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: var(--bone); }
.yt-featured .yt-play::after {
  content: ""; display: block;
  border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--forest);
  margin-left: 6px;
}
.yt-featured .yt-meta {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  color: var(--bone);
}
.yt-featured .yt-meta .label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-leaf-bright); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.yt-featured .yt-meta h3 { color: var(--bone); font-size: 26px; line-height: 1.15; margin-top: 6px; }

.yt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .yt-grid { grid-template-columns: 1fr; } }

.yt-tile {
  position: relative; aspect-ratio: 16/9;
  border-radius: 8px; overflow: hidden;
  background: var(--forest);
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.yt-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.yt-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.yt-tile:hover img { transform: scale(1.05); }
.yt-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,36,20,0.55), transparent 50%);
  pointer-events: none;
}
.yt-tile .yt-play-sm {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(241,239,226,0.92);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
}
.yt-tile .yt-play-sm::after {
  content: ""; display: block;
  border-style: solid; border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent var(--forest);
  margin-left: 4px;
}
.yt-tile .yt-cap {
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  z-index: 2; color: var(--bone); font-size: 13px; font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ============================================================
   v5 ADDITIONS — UI fixes & polish
   ============================================================ */

/* === Hero CTAs — equal pills, clean wrap === */
.hero-ctas {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: stretch;
}
.hero-ctas .btn {
  min-height: 50px;
  padding: 14px 24px;
  display: inline-flex; align-items: center;
  justify-content: center;
}
/* Drop ghost variant inside hero — caused the orphaned-third-button issue */
.hero-ctas .btn-ghost { display: none; }

/* === Carousel arrows === */
.work-section { position: relative; }
.work-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bone); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 5;
  transition: transform .2s, background .2s;
}
.work-arrow:hover { background: var(--gold-leaf); transform: translateY(-50%) scale(1.06); }
.work-arrow:disabled { opacity: 0.4; cursor: not-allowed; }
.work-arrow .icon { width: 22px; height: 22px; }
.work-arrow.prev { left: clamp(8px, 2vw, 24px); }
.work-arrow.prev .icon { transform: rotate(180deg); }
.work-arrow.next { right: clamp(8px, 2vw, 24px); }
@media (max-width: 700px) { .work-arrow { width: 44px; height: 44px; } .work-arrow .icon { width: 18px; height: 18px; } }

/* === Video feature — better sizing === */
.video-feature {
  height: auto; min-height: 0; max-height: none;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.video-feature video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
}
.video-feature .center {
  position: relative; z-index: 2;
  padding: 40px var(--gutter);
  max-width: 760px; margin: 0 auto; text-align: center;
  color: var(--bone);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
@media (max-width: 700px) {
  .video-feature { aspect-ratio: 4/5; }
  .video-feature .center { padding: 30px 24px; }
}

/* === Image strip — even on tablet (4 instead of 5 to avoid orphan) === */
@media (min-width: 901px) and (max-width: 1100px) {
  .strip-clean { grid-template-columns: repeat(4, 1fr); }
  .strip-clean .cell:nth-child(5) { display: none; }
}

/* === Image band v2 — hide third cell on tablet to keep symmetry === */
@media (min-width: 801px) and (max-width: 1000px) {
  .image-band-2 { grid-template-columns: 1.4fr 1fr; }
  .image-band-2 > div:nth-child(3) { display: none; }
}

/* === Class tier grid — explicit 5-col on large, balanced on smaller === */
.tier-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1300px) { .tier-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .tier-grid-5 { grid-template-columns: 1fr; } }

/* === Published-books home callout === */
.books-callout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.books-callout-grid > * { height: 100%; }
@media (max-width: 1000px) { .books-callout-grid { grid-template-columns: 1fr; } }

.book-card {
  background: var(--bone); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage); }
.book-card .cover {
  aspect-ratio: 3/4;
  background: linear-gradient(150deg, var(--sage-soft), var(--parchment-3) 60%, var(--parchment-2));
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 24px; text-align: center;
  color: var(--forest-night);
  border-bottom: 1px solid var(--line);
}
.book-card .cover .icon-art { width: 44px; height: 44px; color: var(--moss-deep); margin-bottom: 14px; opacity: 0.85; }
.book-card .cover .ttl { font-family: var(--display); font-size: 22px; line-height: 1.15; margin-bottom: 10px; }
.book-card .cover .auth { font-size: 11px; color: var(--moss-deep); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.book-card .cover .ribbon {
  position: absolute; top: 16px; right: -32px; transform: rotate(38deg);
  background: var(--gold-leaf); color: var(--forest-night);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  padding: 4px 38px;
  box-shadow: var(--shadow-sm);
}
.book-card .cover .spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background: linear-gradient(to right, rgba(0,0,0,0.18), transparent);
}
.book-card .info { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.book-card .info .role { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss-deep); font-weight: 600; }
.book-card .info h4 { font-size: 19px; line-height: 1.2; }
.book-card .info p { font-size: 14px; color: var(--ink-2); flex: 1; }
.book-card .info .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.book-card .info .btn { padding: 10px 16px; font-size: 12px; }

/* === Shop — high-grade store === */
.shop-hero {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .shop-hero { grid-template-columns: 1fr; } }
.product-card {
  position: relative; overflow: hidden; border-radius: 8px;
  background: var(--bone); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage); }
.product-card .ph {
  aspect-ratio: 1/1; overflow: hidden; background: var(--parchment-3); position: relative;
}
.product-card.featured .ph { aspect-ratio: 4/5; }
.product-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.product-card:hover .ph img { transform: scale(1.05); }
.product-card .ribbon {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold-leaf); color: var(--forest-night);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm); z-index: 2;
}
.product-card .info { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card .info .cat { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss-deep); font-weight: 600; }
.product-card .info h4 { font-size: 19px; line-height: 1.15; }
.product-card .info .price-row { margin-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product-card .info .price { font-family: var(--display); font-size: 22px; color: var(--ink); }
.product-card .info .edition { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.shop-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 32px 0; margin: 40px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .shop-trust { grid-template-columns: repeat(2, 1fr); } }
.shop-trust .item {
  display: flex; align-items: flex-start; gap: 14px; padding: 8px 4px;
}
.shop-trust .item .icon-circle { background: var(--parchment-3); flex-shrink: 0; }
.shop-trust .item .meta h4 { font-size: 14px; margin-bottom: 4px; font-family: var(--body); font-weight: 600; }
.shop-trust .item .meta p { font-size: 13px; color: var(--ink-3); line-height: 1.4; }

.collection-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin-bottom: 48px;
}
@media (max-width: 1100px) { .collection-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .collection-strip { grid-template-columns: repeat(2, 1fr); } }
.collection-pill {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 14px;
  background: var(--bone); border: 1px solid var(--line); border-radius: 10px;
  text-align: center;
  transition: transform .25s, border-color .25s, background .25s;
}
.collection-pill:hover { transform: translateY(-3px); border-color: var(--sage); background: var(--parchment-2); }
.collection-pill .icon-circle { width: 44px; height: 44px; background: var(--parchment-3); }
.collection-pill .icon-circle .icon { width: 22px; height: 22px; }
.collection-pill .name { font-size: 13px; font-weight: 600; color: var(--ink); }
.collection-pill .count { font-size: 11px; color: var(--ink-3); }

/* === Lead form (per-journey) — compact inline form === */
.lead-form-section {
  background: var(--parchment-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.lead-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-aside .icon-circle { width: 64px; height: 64px; background: var(--bone); margin-bottom: 18px; }
.lead-aside .icon-circle .icon { width: 28px; height: 28px; }
.lead-aside .lede { margin-top: 14px; }
.lead-aside .points { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.lead-aside .points li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.lead-aside .points li .icon { width: 14px; height: 14px; color: var(--moss-deep); margin-top: 4px; flex-shrink: 0; }
.lead-form-card {
  background: var(--bone); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px;
}
.lead-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .lead-form-card .form-row { grid-template-columns: 1fr; } }

/* === Polish: ensure consistent btn alignment in groups === */
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* === Community / Forum === */
.forum-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .forum-grid { grid-template-columns: 1fr; } }

.topic-list { display: flex; flex-direction: column; gap: 14px; }
.topic-card {
  background: var(--bone); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 24px; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center;
}
.topic-card:hover { border-color: var(--sage); background: var(--parchment); transform: translateX(2px); }
.topic-card.active { border-color: var(--moss-deep); background: var(--parchment-2); }
.topic-card .icon-circle { width: 48px; height: 48px; background: var(--parchment-3); }
.topic-card .icon-circle .icon { width: 22px; height: 22px; }
.topic-card .meta h4 { font-size: 18px; line-height: 1.2; margin-bottom: 4px; }
.topic-card .meta p { font-size: 13px; color: var(--ink-3); }
.topic-card .stats { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; font-size: 11px; color: var(--ink-3); }
.topic-card .stats .num { font-family: var(--display); font-size: 22px; color: var(--moss-deep); line-height: 1; }

.thread-panel {
  background: var(--bone); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px;
}
.thread-panel .thread-head { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.thread-panel .thread-head .icon-circle { background: var(--parchment-3); }
.thread-panel .thread-head h3 { font-size: 22px; line-height: 1.15; }
.thread-panel .thread-head p { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

.posts { display: flex; flex-direction: column; gap: 14px; max-height: 540px; overflow-y: auto; padding-right: 4px; }
.post {
  background: var(--parchment); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.post.reply { margin-left: 32px; background: var(--parchment-2); border-left: 3px solid var(--sage); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.post .who {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-3);
}
.post .who .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sage); color: var(--forest-night);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px;
}
.post .who .name { color: var(--ink); font-weight: 500; font-size: 13px; }
.post .who .time { font-size: 11px; }
.post .body { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.post .actions { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); }
.post .actions button { background: none; border: 0; cursor: pointer; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; padding: 0; transition: color .2s; }
.post .actions button:hover { color: var(--moss-deep); }
.post .actions button.liked { color: var(--berry); }
.post .actions button .icon { width: 14px; height: 14px; }

.posts-empty { padding: 40px 20px; text-align: center; color: var(--ink-3); font-size: 14px; background: var(--parchment); border-radius: 8px; border: 1px dashed var(--line-strong); }

.post-form {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.post-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .post-form .row { grid-template-columns: 1fr; } }
.post-form input, .post-form textarea {
  width: 100%; padding: 10px 12px;
  background: var(--parchment); border: 1px solid var(--line-strong); border-radius: 6px;
  color: var(--ink); font-size: 14px;
}
.post-form input:focus, .post-form textarea:focus { outline: none; border-color: var(--sage-deep); }
.post-form textarea { min-height: 80px; resize: vertical; }
.post-form .submit-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.post-form .meta-note { font-size: 11px; color: var(--ink-3); }
.post-form .btn { padding: 10px 18px; font-size: 13px; }

.community-banner {
  background: var(--parchment-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 22px; display: flex; gap: 14px; align-items: center;
  margin-bottom: 24px;
}
.community-banner .icon-circle { background: var(--bone); flex-shrink: 0; }
.community-banner .meta h4 { font-size: 16px; margin-bottom: 4px; font-family: var(--body); font-weight: 600; }
.community-banner .meta p { font-size: 13px; color: var(--ink-3); line-height: 1.4; }

/* === YouTube modal overlay === */
.yt-modal {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(15,20,12,0.96);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.yt-modal.open { display: flex; }
.yt-modal .yt-frame {
  position: relative; width: 100%; max-width: 1200px;
  aspect-ratio: 16/9;
  background: var(--forest-night);
  border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.yt-modal .yt-frame iframe { width: 100%; height: 100%; border: 0; }
.yt-modal .close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bone); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.yt-modal .close .icon { width: 18px; height: 18px; }

