/* Minty Ideas: dark forest ground, sage paper bands, one serif voice.
   Layout: wide editorial container, asymmetric hero with a 9:16 phone, paper-toned service band. */
:root {
  --ink: #0b120e;
  --ink-2: #111a15;
  --ink-3: #172219;
  --line: rgba(214, 232, 220, 0.11);
  --line-strong: rgba(214, 232, 220, 0.22);
  --text: #e8ede6;
  --muted: #9aa89f;
  --forest: #2c6a4b;
  --forest-hi: #357a57;
  --forest-deep: #1b4231;
  --fern: #93c3a1;
  --gold: #f0cd5a;
  --paper: #eceee8;
  --paper-2: #e2e6de;
  --paper-ink: #13221a;
  --paper-muted: #4b5c51;
  --paper-line: rgba(19, 34, 26, 0.13);

  --f-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.2rem, 4.4vw, 3.3rem);
  --step-5: clamp(2.6rem, 6vw, 4.7rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fern); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fern); display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); color: var(--paper-ink); padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 0.97rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--forest); color: #f3f7f2; border-color: var(--forest-hi); }
.btn-primary:hover { background: var(--forest-hi); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--fern); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11, 18, 14, 0.82); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem 2rem; min-height: 70px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.brand-name { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.brand-name i { color: var(--gold); }
.nav-scroll { margin-left: auto; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; white-space: nowrap; position: relative; padding-block: 0.4rem; display: inline-block; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); }
.nav-cta { padding: 0.6rem 1.1rem; }
@media (max-width: 760px) {
  .nav { gap: 0; padding-top: 0.7rem; min-height: 0; }
  .nav-cta { margin-left: auto; padding: 0.5rem 0.95rem; font-size: 0.88rem; }
  .nav-scroll { order: 3; flex-basis: 100%; margin: 0.55rem calc(var(--gutter) * -1) 0; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .nav-scroll::-webkit-scrollbar { display: none; }
  .nav-links { gap: 1.4rem; padding: 0.35rem var(--gutter) 0.45rem; justify-content: space-between; min-width: max-content; }
  .nav-links a { font-size: 0.95rem; }
}

/* Sections */
section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); max-width: 780px; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow, .paper h2 em, .paper h1 em { color: var(--forest); }
.paper .lede { color: var(--paper-muted); }
.band { background: var(--ink-2); border-block: 1px solid var(--line); }

/* Hero */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(11, 18, 14, 0.96) 0%, rgba(11, 18, 14, 0.86) 48%, rgba(11, 18, 14, 0.5) 100%), url("rain-ripples.webp") center / cover no-repeat, var(--ink);
}
@media (max-width: 900px) { .hero { background: linear-gradient(180deg, rgba(11, 18, 14, 0.94) 0%, rgba(11, 18, 14, 0.82) 55%, rgba(11, 18, 14, 0.6) 100%), url("rain-ripples-sm.webp") center / cover no-repeat, var(--ink); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero-copy { display: grid; gap: 1.6rem; min-width: 0; }
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0.4rem 0 0; list-style: none; }
.hero-meta li { font-size: 0.84rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { justify-self: center; } }

/* Phone */
.hero-visual { position: relative; width: min(320px, 100%); }
.phone {
  position: relative; aspect-ratio: 9 / 16; width: 100%; max-width: 100%; border-radius: 34px;
  border: 1px solid var(--line-strong); padding: 10px; background: #070b09;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(214, 232, 220, 0.03);
}
.screen {
  position: relative; height: 100%; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(5, 9, 7, 0.35), rgba(5, 9, 7, 0.1) 35%, rgba(5, 9, 7, 0.75)), url("liquid-light-sm.webp") center / cover no-repeat, #1a1a17;
}
.screen .progress { position: absolute; top: 14px; left: 14px; right: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.2); overflow: hidden; }
.screen .progress span { display: block; height: 100%; width: 100%; background: #f2f6f1; transform-origin: left; animation: play 9s linear infinite; }
@keyframes play { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.screen .tag { position: absolute; top: 30px; left: 16px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242,246,241,0.85); }
.captions { position: absolute; left: 16px; right: 60px; top: 38%; display: grid; }
.captions p {
  grid-area: 1 / 1; font-family: var(--f-display); font-size: clamp(1.35rem, 4.2vw, 1.7rem); text-shadow: 0 2px 18px rgba(0,0,0,.55); line-height: 1.1; color: #f4f8f3;
  opacity: 0; animation: cap 9s infinite;
}
.captions p:nth-child(1) { animation-delay: 0s; }
.captions p:nth-child(2) { animation-delay: 3s; }
.captions p:nth-child(3) { animation-delay: 6s; }
.captions p em { color: var(--gold); }
@keyframes cap { 0% { opacity: 0; transform: translateY(8px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; } }
.rail { position: absolute; right: 12px; bottom: 90px; display: grid; gap: 16px; justify-items: center; }
.rail span { width: 34px; height: 34px; border-radius: 50%; background: rgba(242,246,241,0.16); border: 1px solid rgba(242,246,241,0.25); }
.rail small { font-size: 0.65rem; color: rgba(242,246,241,0.8); margin-top: -10px; }
.handle { position: absolute; left: 16px; bottom: 26px; right: 60px; font-size: 0.78rem; color: rgba(242,246,241,0.9); }
.handle b { display: block; font-weight: 700; }
.float-card {
  position: absolute; left: -38%; bottom: -7%; width: 230px; background: rgba(17, 26, 21, 0.94);
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 14px 10px; backdrop-filter: blur(8px);
}
.float-card .label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.float-card svg { width: 100%; height: auto; margin-top: 6px; }
@media (max-width: 1080px) { .float-card { left: -20%; } }
@media (max-width: 900px) { .float-card { left: auto; right: -8%; bottom: -6%; width: 200px; } }
@media (max-width: 480px) { .hero-visual { width: 72%; } .float-card { right: -18%; width: 180px; } }

/* Platforms strip */
.strip { padding-block: 1.6rem; border-block: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; }
.strip li { font-family: var(--f-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--muted); }
@media (max-width: 600px) { .strip ul { justify-content: flex-start; gap: 0.5rem 1.4rem; } .strip li:first-child { flex-basis: 100%; } }
.strip li:first-child { font-family: var(--f-body); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; align-self: center; color: var(--fern); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 0.9rem; text-decoration: none; min-width: 0; transition: background 0.2s ease; }
.card:hover { background: #f4f6f1; }
.card .kicker { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--forest); }
.card p { color: var(--paper-muted); font-size: 0.97rem; }
.card .more { margin-top: auto; padding-top: 0.6rem; font-weight: 600; font-size: 0.92rem; color: var(--forest-deep); }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Anatomy timeline */
.anatomy { display: grid; grid-template-columns: 0.9fr 2.2fr 0.9fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.anatomy > div { padding: clamp(1.3rem, 3vw, 2rem); display: grid; gap: 0.6rem; align-content: start; border-right: 1px solid var(--line); min-width: 0; }
.anatomy > div:last-child { border-right: 0; }
.anatomy .time { font-variant-numeric: tabular-nums; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; color: var(--fern); }
.anatomy p { color: var(--muted); font-size: 0.96rem; }
.anatomy .bar { height: 6px; border-radius: 6px; background: var(--forest); margin-bottom: 0.4rem; }
.anatomy > div:nth-child(2) .bar { background: var(--forest-deep); }
.anatomy > div:nth-child(3) .bar { background: var(--fern); }
@media (max-width: 760px) { .anatomy { grid-template-columns: 1fr; } .anatomy > div { border-right: 0; border-bottom: 1px solid var(--line); } .anatomy > div:last-child { border-bottom: 0; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 0.6rem; align-content: start; padding-top: 1.2rem; border-top: 1px solid var(--line-strong); min-width: 0; }
.steps li::before { content: "0" counter(s); font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--fern); }
.steps p { color: var(--muted); font-size: 0.96rem; }
.paper .steps li { border-top-color: var(--paper-line); }
.paper .steps li::before { color: var(--forest); }
.paper .steps p { color: var(--paper-muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Proof */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 0.3rem; background: var(--ink-2); }
.stat b { font-family: var(--f-display); font-weight: 400; font-size: var(--step-4); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.95rem; }
.quote { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1.2rem; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: var(--step-3); line-height: 1.2; }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.portrait {
  aspect-ratio: 4 / 5; width: 100%; max-width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--forest-deep), var(--ink-3)); display: grid; place-items: center; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait span { font-family: var(--f-display); font-size: 6rem; color: var(--fern); }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checks li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.9rem; }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks li::before { content: ""; width: 14px; height: 14px; margin-top: 0.4rem; border-radius: 50%; border: 1.5px solid var(--fern); background: radial-gradient(circle, var(--fern) 35%, transparent 40%); }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--muted); font-size: 0.96rem; }
.paper .checks li { border-color: var(--paper-line); }
.paper .checks li::before { border-color: var(--forest); background: radial-gradient(circle, var(--forest) 35%, transparent 40%); }
.paper .checks span { color: var(--paper-muted); }

.prose { display: grid; gap: 1.1rem; max-width: 68ch; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--text); font-weight: 600; }

/* Answer capsule */
.answer { border-left: 2px solid var(--fern); padding: 0.2rem 0 0.2rem 1.2rem; font-size: var(--step-1); color: var(--text); max-width: 64ch; line-height: 1.6; }

/* Breadcrumbs */
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero .hero-copy { max-width: 860px; }
.page-hero h1 { font-size: var(--step-5); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 1.2rem; font-family: var(--f-body); font-size: 1.5rem; color: var(--fern); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.5rem; color: var(--muted); max-width: 70ch; display: grid; gap: 0.8rem; }
.paper .faq, .paper .faq details { border-color: var(--paper-line); }
.paper .faq summary::after { color: var(--forest); }
.paper .faq .a { color: var(--paper-muted); }

/* Related */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related a { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; text-decoration: none; display: grid; gap: 0.35rem; transition: border-color 0.2s ease; min-width: 0; }
.related a:hover { border-color: var(--fern); }
.related span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: linear-gradient(110deg, rgba(11, 18, 14, 0.95) 0%, rgba(11, 18, 14, 0.86) 50%, rgba(11, 18, 14, 0.55) 100%), url("amber-glass-sm.webp") center / cover no-repeat, var(--ink-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 6vw, 4.5rem); display: grid; gap: 1.4rem; }
.cta h2 { max-width: 18ch; }
.cta p { color: #cfd8d1; max-width: 56ch; }
.email-line { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); justify-self: start; word-break: break-all; }
.email-line:hover { border-color: var(--fern); }

/* Contact form */
form.contact { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label, fieldset legend { font-size: 0.88rem; font-weight: 600; color: var(--text); }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.8rem 0.95rem; width: 100%; min-width: 0;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fern); box-shadow: 0 0 0 3px rgba(147, 195, 161, 0.18); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { display: inline-flex; align-items: center; gap: 0.45rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45rem 0.85rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.chips input { width: auto; accent-color: var(--forest); }
.chips label:has(input:checked) { border-color: var(--fern); background: rgba(147, 195, 161, 0.1); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.form-note { font-size: 0.9rem; color: var(--fern); }
.hp { position: absolute; left: -9999px; }
.contact-aside { display: grid; gap: 1.6rem; align-content: start; }
.contact-aside .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: 0.5rem; background: var(--ink-2); }
.contact-aside .box p { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; margin-top: clamp(3rem, 8vw, 6rem); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.foot-grid > * { min-width: 0; }
.foot-grid p { color: var(--muted); font-size: 0.95rem; max-width: 40ch; margin-top: 1rem; }
.foot-grid h4 { margin: 0 0 0.9rem; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fern); font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot-grid ul a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.foot-grid ul a:hover { color: var(--text); }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.mt-2 { margin-top: 2rem; }
.center-404 { min-height: 50vh; display: grid; align-content: center; gap: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .captions p:first-child { opacity: 1; }
  .screen .progress span { transform: scaleX(0.35); }
}

/* Work: video cards (tap to play) */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.filter { font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; }
.filter[aria-pressed="true"] { color: #f3f7f2; background: var(--forest); border-color: var(--forest-hi); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; align-items: start; }
.vc {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  aspect-ratio: 3/4; max-width: 100%; padding: 1rem; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #f3f7f2; border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(7, 12, 9, 0.55), rgba(7, 12, 9, 0) 30%, rgba(7, 12, 9, 0) 50%, rgba(7, 12, 9, 0.85)),
    var(--thumb, none) center / cover no-repeat,
    radial-gradient(110% 60% at 15% 10%, rgba(147, 195, 161, 0.3), transparent 60%),
    linear-gradient(165deg, #1f4031, #0e1d15 75%);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
a.vc:hover { transform: translateY(-3px); border-color: var(--fern); }
.vc-top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: center; min-width: 0; }
.vc-plat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(243, 247, 242, 0.14); border: 1px solid rgba(243, 247, 242, 0.22); border-radius: 999px; padding: 0.2rem 0.6rem; }
.vc-acct { font-size: 0.8rem; opacity: 0.85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-play { align-self: center; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 247, 242, 0.16); border: 1px solid rgba(243, 247, 242, 0.35); backdrop-filter: blur(6px); }
.vc-play svg { width: 24px; height: 24px; fill: #f3f7f2; margin-left: 3px; }
.vc-bottom { display: grid; gap: 0.35rem; min-width: 0; }
.vc-stat { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; }
.vc-title { font-size: 0.9rem; line-height: 1.4; opacity: 0.92; }
.vc-empty { border-style: dashed; }
.vc-empty .vc-play { opacity: 0.5; }
.vc.is-playing { padding: 0; background: #000; cursor: default; aspect-ratio: var(--ratio, 9/16); }
.vc.is-playing iframe { width: 100%; height: 100%; border: 0; }
.work-sec[hidden], .vc[hidden] { display: none !important; }

.chans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; margin-top: 2rem; }
.chan { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: 0.5rem; justify-items: start; text-decoration: none; background: var(--ink); transition: border-color 0.2s ease; }
a.chan:hover { border-color: var(--fern); }
.chan strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; }
.chan > span:last-child { color: var(--muted); font-size: 0.9rem; }

/* Ideate / Create / Share triad (brand imagery) */
.triad { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.tri-item { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.tri-img {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background-size: cover; background-position: center;
  display: grid; place-items: center; overflow: hidden; position: relative; border: 1px solid var(--line);
}
.tri-img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 50%, rgba(0,0,0,.28), transparent 75%); }
.tri-word { position: relative; font-family: var(--f-display); font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1; color: var(--gold); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.tri-word em { font-style: italic; }
.tri-item:nth-child(3) .tri-word { color: #f7dfa6; text-shadow: 1px 1px 0 rgba(120, 200, 190, 0.55), -1px -1px 0 rgba(220, 80, 120, 0.4), 0 2px 24px rgba(0,0,0,.3); }
.tri-text { display: grid; gap: 0.45rem; }
.tri-step { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fern); }
.tri-text p { color: var(--muted); font-size: 0.97rem; }
.triad.compact .tri-img { aspect-ratio: 16 / 10; }
.triad.compact .tri-word { font-size: clamp(2.2rem, 4vw, 3.2rem); }
@media (max-width: 760px) {
  .triad { grid-template-columns: 1fr; }
  .tri-img, .triad.compact .tri-img { aspect-ratio: 16 / 9; }
}

/* Inner page heroes carry a faded brand photo */
.page-hero { background-color: var(--ink); background-repeat: no-repeat; background-size: cover; background-position: center; }
.ph-rain { background-image: linear-gradient(90deg, var(--ink) 30%, rgba(11, 18, 14, 0.82) 65%, rgba(11, 18, 14, 0.55)), url("rain-ripples.webp"); }
.ph-amber { background-image: linear-gradient(90deg, var(--ink) 30%, rgba(11, 18, 14, 0.85) 65%, rgba(11, 18, 14, 0.6)), url("amber-glass.webp"); }
.ph-liquid { background-image: linear-gradient(90deg, var(--ink) 30%, rgba(11, 18, 14, 0.8) 65%, rgba(11, 18, 14, 0.45)), url("liquid-light.webp"); }
@media (max-width: 760px) {
  .ph-rain { background-image: linear-gradient(180deg, rgba(11, 18, 14, 0.8), var(--ink) 85%), url("rain-ripples-sm.webp"); }
  .ph-amber { background-image: linear-gradient(180deg, rgba(11, 18, 14, 0.82), var(--ink) 85%), url("amber-glass-sm.webp"); }
  .ph-liquid { background-image: linear-gradient(180deg, rgba(11, 18, 14, 0.78), var(--ink) 85%), url("liquid-light-sm.webp"); }
}

/* Work: stat-led video cards */
.vc-stat small { font-family: var(--f-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; margin-left: 0.25rem; opacity: 0.85; }
.vc-meta { display: flex; flex-wrap: wrap; gap: 0.15rem 0.8rem; font-size: 0.8rem; opacity: 0.88; font-variant-numeric: tabular-nums; }
.vc { background:
    linear-gradient(180deg, rgba(7, 12, 9, 0.6), rgba(7, 12, 9, 0.25) 35%, rgba(7, 12, 9, 0.35) 55%, rgba(7, 12, 9, 0.9)),
    var(--thumb, none) center / cover no-repeat, #13201a; }
.work-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0.4rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work-stats div { background: rgba(11, 18, 14, 0.82); padding: 1rem 1.1rem; min-width: 0; }
.work-stats dt { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.work-stats dd { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 600px) { .work-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat a { color: inherit; text-decoration-color: var(--fern); }
.prose a { color: var(--fern); }

/* Embedded TikTok players (live site) */
.ve { margin: 0; display: grid; gap: 0.75rem; align-content: start; min-width: 0; }
.ve-frame { position: relative; aspect-ratio: 9 / 16; max-width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.ve-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ve figcaption { display: grid; gap: 0.3rem; }
.ve-title { font-size: 0.92rem; color: var(--text); }
.ve-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.ve-views { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.1; color: var(--text); }
.ve-views small { font-family: var(--f-body); font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-left: 0.2rem; }
.ve-open { font-size: 0.82rem; font-weight: 600; color: var(--fern); text-decoration: none; white-space: nowrap; }
.ve-open:hover { text-decoration: underline; }
.ve-meta { display: flex; flex-wrap: wrap; gap: 0.15rem 0.9rem; font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ve[hidden] { display: none !important; }
