/* ==========================================================================
   Real Human Relationships. Reflow-style system.
   Reference: reflow.ai (measured Sept 2026 at 1440px)
   Fonts: Season Serif (headings) / Inter (body, nav, buttons, labels). Two families only.
   Palette: warm cream page, sand hero panel, warm charcoal bands and buttons.
   ========================================================================== */

/* ---------- Fonts (self-hosted, static) ---------- */
@font-face { font-family: 'Season Serif'; font-style: normal; font-weight: 470; font-display: swap; src: url('../fonts/SeasonSerif-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Season Serif'; font-style: normal; font-weight: 650; font-display: swap; src: url('../fonts/SeasonSerif-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Season Serif'; font-style: italic; font-weight: 470; font-display: swap; src: url('../fonts/SeasonSerif-RegularItalic.woff2') format('woff2'); }
@font-face { font-family: 'Season Serif'; font-style: italic; font-weight: 650; font-display: swap; src: url('../fonts/SeasonSerif-MediumItalic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/Inter-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Inter-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/Inter-LightItalic.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --font-serif: 'Season Serif', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Reflow palette, measured */
  --cream: #fffbf6;        /* page canvas */
  --cream-hi: #fff8ed;     /* card surfaces, shimmer light, cream button */
  --sand: #ede6da;         /* hero panel, hairlines, dark-band lede text */
  --sand-2: #f4efe6;       /* mid tint for card borders on cream */
  --char: #363532;         /* dark bands, buttons, headline ink */
  --char-2: #2b2a27;       /* footer */
  --ink: #363532;
  --ink-2: #4a4742;        /* body copy */
  --muted: #6b655c;        /* nav links, eyebrows, shimmer base */
  --mesh: 196, 176, 136;   /* hero wireframe tan, rgb triplet */
  --line: rgba(54, 53, 50, 0.10);
  --hair: rgba(54, 53, 50, 0.13);   /* Reflow's section hairline, sampled: rgb(229,225,221) on cream */
  --line-dark: rgba(255, 251, 246, 0.12);

  --footer-bg: var(--char-2);
  --footer-line: rgba(255, 251, 246, 0.10);
  --footer-text: #ede6da;
  --footer-muted: #a39c90;

  --frame: 1300px;         /* the hairline-framed column */
  --inset: clamp(20px, 4.4vw, 64px);   /* padding inside the frame */
  --radius-btn: 10px;
  --radius-card: 16px;
  --radius-media: 20px;

  --topbar-h: 48px;
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
strong { font-weight: 700; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 470;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 4.6vw, 60px); }
h2 { font-size: clamp(34px, 4.2vw, 60px); }
h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.3; }
h4 { font-size: 19px; line-height: 1.3; letter-spacing: 0; }
em { font-style: normal; font-weight: 650; }
p { max-width: 62ch; }
.center { text-align: center; }
.center p, .center h2 { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The frame: 1300px column with hairlines that run the whole page ---------- */
.frame { max-width: var(--frame); margin: 0 auto; padding: 0 var(--inset); position: relative; }
.frame-lines { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.frame-lines::before, .frame-lines::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px;
  background: rgba(128, 120, 108, 0.22);
  left: max(0px, calc(50% - var(--frame) / 2));
}
.frame-lines::after { left: auto; right: max(0px, calc(50% - var(--frame) / 2)); }
@media (max-width: 1340px) { .frame-lines { display: none; } }

/* ---------- Labels / eyebrow (Inter, uppercase, wide tracking) ---------- */
.eyebrow {
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.on-dark .eyebrow { color: rgba(237, 230, 218, 0.6); }
.lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; letter-spacing: -0.02em; color: var(--ink-2); }
.on-dark { color: var(--sand); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark strong { color: var(--cream); }
.on-dark .lede { color: var(--sand); }

/* ---------- Buttons (10px radius, 40px tall, Inter 15/500) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; line-height: 1;
  height: 40px; padding: 0 16px; border-radius: var(--radius-btn);
  border: 1px solid transparent; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--char); color: var(--cream);
  box-shadow: 0 14px 5px rgba(54, 53, 50, 0.05), 0 21px 6px rgba(54, 53, 50, 0.01);
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--char); border-color: var(--char); }
.btn-outline:hover { background: var(--char); color: var(--cream); }
.btn-cream { background: var(--cream-hi); color: var(--char); }
.btn-cream:hover { background: #fff; }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(255, 251, 246, 0.45); }
.btn-outline-light:hover { background: rgba(255, 251, 246, 0.08); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn .arrow { width: 14px; height: 14px; }

/* ---------- Top bar + Nav (Reflow: bar scrolls away, nav sticks) ---------- */
.header { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 50; }
.topbar {
  height: var(--topbar-h); background: var(--char); color: rgba(237, 230, 218, 0.55);
  font-size: 13px; font-weight: 500; letter-spacing: 0;
  display: flex; align-items: center; justify-content: center;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; height: 100%; max-width: 100%; padding: 0 20px; transition: color .2s; }
.topbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .shine { position: relative; display: inline-block; }
.topbar .shine::after {
  content: attr(data-text); position: absolute; inset: 0; color: transparent; white-space: nowrap;
  background-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 41%, var(--cream-hi) 50%, rgba(0,0,0,0) 59%, rgba(0,0,0,0) 100%);
  background-size: 200% 200%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 3s linear infinite;
}
.topbar a:hover { color: var(--cream); }
.topbar svg { width: 14px; height: 14px; transition: transform .2s; }
.topbar a:hover svg { transform: translateX(3px); }
.nav-wrap {
  height: var(--nav-h); border-bottom: 1px solid var(--hair);
  background: rgba(255, 251, 246, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-left: max(16px, calc(var(--inset) - 40px)); padding-right: max(16px, calc(var(--inset) - 40px)); }
/* The box hugs the image so the shine overlay can sit exactly on the logo. */
.nav-logo { display: inline-flex; align-items: center; position: relative; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(110deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 38%, rgba(255,248,237,0.9) 50%, rgba(0,0,0,0) 62%, rgba(0,0,0,0) 100%);
  background-size: 200% 200%; background-repeat: no-repeat;
  -webkit-mask-image: url('../assets/img/logo-brand.svg'); mask-image: url('../assets/img/logo-brand.svg');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  animation: shimmer 4s linear 1s infinite;
}
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 32px); margin-right: auto; margin-left: clamp(24px, 2.8vw, 40px); }
.nav-links a { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; color: var(--ink); }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; z-index: 40; background: var(--cream); color: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
body.menu-open .menu-panel { opacity: 1; visibility: visible; }
.menu-panel .menu-foot { color: var(--muted); }
.menu-panel .menu-foot a { font-family: var(--font-sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 480px) { .nav-cta { display: none; } }

/* ---------- Hero (sand panel, wireframe mesh canvas, fades into cream) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--topbar-h) - var(--nav-h));
  min-height: calc(100svh - var(--topbar-h) - var(--nav-h));
  display: flex; align-items: center;
  background: var(--sand);
  overflow: hidden; isolation: isolate;
}
.hero-mesh { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: -1; background: linear-gradient(180deg, rgba(237, 230, 218, 0) 0%, var(--cream) 100%); pointer-events: none; }
.hero-inner { width: 100%; padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(80px, 14vh, 160px); }
.hero h1 { max-width: none; }
.hero .lede { margin-top: 26px; max-width: 34ch; }
.hero .btn-row { margin-top: 34px; }
.hero-holder { min-height: 62vh; }
.hero-holder .hero-inner { padding-top: clamp(60px, 10vh, 110px); padding-bottom: clamp(60px, 10vh, 120px); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9.5vw, 136px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.band { background: var(--char); color: var(--sand); }
.band-sand { background: var(--sand); }
.band-hi { background: var(--cream-hi); }
.hairline-top { border-top: 1px solid var(--line); }

/* Section separators, sampled off reflow.ai. Three cases:
     light to light   hairline, 16px texture, hairline      <div class="tex">
     light to dark    hairline, 16px texture, then the dark  <div class="tex tex--into-dark">
     dark to light    the dark, then a hairline              <div class="hair">
   Dark bands carry a 1px darker edge top and bottom. */
.tex {
  box-sizing: content-box; height: 16px; width: 100%;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  background-color: #fcf8f3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='16' y='4' width='8' height='8' fill='%23363532' fill-opacity='.11'/%3E%3Crect x='0' y='20' width='8' height='8' fill='%23363532' fill-opacity='.11'/%3E%3C/svg%3E");
  background-size: 6px 6px; background-repeat: repeat;
}
.tex--into-dark { border-bottom: 0; }
.hair { height: 1px; width: 100%; background: var(--hair); }
.band.on-dark { box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.12); }

/* Plus-pattern panel (Reflow "Careers" background: 64px "+" tile at 22.5px, #4A4742 on #363532) */
.plus-panel {
  position: relative; background: var(--char); color: var(--sand); overflow: hidden;
}
.plus-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='19' y='0' width='4' height='42' fill='%234a4742'/%3E%3Crect x='0' y='19' width='42' height='4' fill='%234a4742'/%3E%3C/svg%3E");
  background-size: 22.5px 22.5px; background-repeat: repeat; background-position: left top; opacity: .8;
}
.plus-panel > * { position: relative; }

/* Sticky steps (Reflow "Unlock the economics of work" section: intro, then text scrolls left, visual pinned right) */
.steps-intro { text-align: center; max-width: 900px; margin: 0 auto; padding-bottom: clamp(48px, 6vw, 96px); }
.steps-intro h2 { text-wrap: balance; }
.steps-intro .lede { margin: 24px auto 0; max-width: 46ch; }
.steps { display: grid; grid-template-columns: minmax(0, 370px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.step { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.step h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.15; margin-bottom: 20px; }
.step .lede { font-size: 20px; }
.step ul { display: grid; gap: 10px; margin-top: 22px; }
.step li { font-size: 15px; line-height: 1.45; padding-left: 18px; position: relative; color: var(--sand); }
.step li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 1px; background: rgba(237, 230, 218, 0.5); }
.step li strong { color: var(--cream); }
.step-num { font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(237, 230, 218, 0.6); margin-bottom: 18px; }
.steps-visual { position: sticky; top: calc(var(--nav-h) + 24px); height: calc(100vh - var(--nav-h) - 48px); height: calc(100svh - var(--nav-h) - 48px); max-height: 720px; display: flex; align-items: center; }
.steps-frame { position: relative; width: 100%; aspect-ratio: 739 / 640; max-height: 100%; border-radius: var(--radius-media); overflow: hidden; border: 1px solid rgba(255, 251, 246, 0.14); background: rgba(255, 255, 255, 0.03); }
.steps-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease-out), transform 1.2s var(--ease-out); }
.steps-frame img.on { opacity: 1; transform: none; }
.steps-frame .cap { position: absolute; left: 20px; bottom: 18px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); background: rgba(54, 53, 50, 0.6); padding: 8px 12px; border-radius: 8px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Newsletter inside the plus panel */
.nl-panel { max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(64px, 8vw, 110px) var(--inset); }
.nl-panel h2 { color: var(--cream); }
.nl-panel p, .nl-panel .eyebrow { margin-left: auto; margin-right: auto; }
.nl-panel .lede { margin: 20px auto 0; color: var(--sand); }
.nl-panel .nl-form { margin: 32px auto 0; max-width: 520px; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.nl-panel .nl-form label { grid-column: 1 / -1; text-align: left; }
.nl-panel .nl-form input { height: 40px; }
.nl-panel .nl-form .btn { margin: 0; height: 40px; }
.nl-panel .nl-form .nl-msg, .nl-panel .nl-form .fine { grid-column: 1 / -1; text-align: left; }

/* FAQ (Reflow: centered H2, stacked cards, 24px padding, 16px gap, circled plus) */
.faq { padding: clamp(80px, 10vw, 150px) 0; }
.faq h2 { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.faq-list { display: grid; gap: 16px; max-width: 1172px; margin: 0 auto; }
.faq-item { background: var(--cream); border: 1px solid var(--sand); border-radius: 6px; transition: background .25s; }
.faq-item[open] { background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h5 { font-family: var(--font-serif); font-weight: 470; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.faq-icon { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(54, 53, 50, 0.55); position: relative; transition: transform .3s var(--ease-out), border-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item:hover .faq-icon { border-color: var(--ink); }
.faq-answer { padding: 0 24px 24px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 70ch; }

/* Statement block ("Work has changed. Operations hasn't.") */
.statement { text-align: center; }
.statement h2 { font-size: clamp(34px, 4.2vw, 60px); text-wrap: balance; }
.statement .lede { margin: clamp(28px, 4vw, 40px) auto 0; max-width: 46ch; }
.shimmer { position: relative; display: inline-block; color: var(--muted); }
.shimmer::after {
  content: attr(data-text); position: absolute; inset: 0; color: transparent;
  background-image: linear-gradient(110deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 32%, var(--cream-hi) 50%, rgba(0,0,0,0) 68%, rgba(0,0,0,0) 100%);
  background-size: 200% 200%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 50%; } 100% { background-position: -100% 50%; } }

/* Tracer lines: SVG built in js/site.js from the numbers in Reflow's Lottie file */
.tracers { position: relative; height: clamp(180px, 20vw, 260px); margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1080px; overflow: hidden; }
.tracers svg { display: block; width: 100%; height: 100%; }

/* Split: text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip .split-media { order: -1; }
.split-media { border-radius: var(--radius-media); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.wide { aspect-ratio: 5 / 4; }
.split h2 { margin-bottom: 24px; text-wrap: balance; }
.split p + p { margin-top: 16px; }
.pull {
  font-family: var(--font-serif); font-weight: 470; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink); margin-top: 28px; padding-left: 22px; border-left: 1px solid rgba(54, 53, 50, 0.35);
}
.on-dark .pull { color: var(--cream); border-color: rgba(255, 251, 246, 0.35); }

/* Question list */
.q-list { margin: 26px 0 0; display: grid; gap: 10px; }
.q-list li {
  font-family: var(--font-serif); font-weight: 470; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; letter-spacing: -0.005em;
  padding: 18px 22px; border: 1px solid var(--sand); border-radius: var(--radius-card); background: var(--cream-hi); color: var(--ink);
}
.on-dark .q-list li { border-color: rgba(255, 251, 246, 0.12); background: rgba(255, 255, 255, 0.06); color: var(--cream); }

/* Full-bleed photo band */
.photo-band { position: relative; color: var(--cream); isolation: isolate; overflow: hidden; min-height: 80vh; display: flex; align-items: flex-end; }
.photo-band .bg { position: absolute; inset: 0; z-index: -2; }
.photo-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.photo-band .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(54,53,50,0.72) 0%, rgba(54,53,50,0.4) 55%, rgba(54,53,50,0.15) 100%); }
.photo-band .frame { width: 100%; padding-top: clamp(200px, 30vh, 320px); padding-bottom: clamp(64px, 9vw, 120px); }
.photo-band h2 { max-width: 16ch; text-wrap: balance; color: var(--cream); }
.photo-band .lede { color: var(--sand); margin-top: 24px; }
.photo-band .btn-row { margin-top: 32px; }

/* Framework cards (cream surfaces, hairline borders) */
.framework-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); }
.framework-head h2 { margin-bottom: 20px; }
.framework-head .lede + .lede { margin-top: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.card {
  border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 18px;
  background: var(--cream-hi); border: 1px solid var(--sand);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(54, 53, 50, 0.35); }
.card-media { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.card-num { font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-top: -6px; }
.card p { font-size: 16px; line-height: 1.5; }
.card ul { display: grid; gap: 10px; margin-top: 2px; }
.card li { font-size: 15px; line-height: 1.45; padding-left: 18px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 1px; background: var(--muted); }

/* Newsletter (dark band) */
.newsletter { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.newsletter h2 { margin-bottom: 20px; }
.newsletter p + p { margin-top: 14px; }
.nl-form { display: grid; gap: 12px; }
.nl-form label { font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(237, 230, 218, 0.6); }
.nl-form input {
  font: inherit; font-size: 16px; color: var(--cream);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 251, 246, 0.2); border-radius: var(--radius-btn);
  padding: 0 16px; height: 48px; width: 100%; outline: none; transition: border-color .2s, background .2s;
}
.nl-form input::placeholder { color: rgba(237, 230, 218, 0.45); }
.nl-form input:focus { border-color: var(--cream); background: rgba(255, 255, 255, 0.1); }
.nl-form .btn { justify-self: start; margin-top: 4px; }
.nl-form .fine { font-size: 13px; color: rgba(237, 230, 218, 0.55); }
.nl-form .nl-msg { font-size: 15px; color: var(--cream-hi); min-height: 1.4em; }

/* ---------- Footer (kept from the current site, recolored, new fonts) ---------- */
.site-footer { position: relative; background: var(--footer-bg); color: var(--footer-text); overflow: hidden; border-top: 1px solid rgba(255, 251, 246, 0.1); }
.site-footer .foot-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.site-footer .foot-fade { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 110% at 50% 0%, transparent 42%, rgba(43, 42, 39, 0.7) 100%); pointer-events: none; }
.site-footer .footer-inner { position: relative; z-index: 2; max-width: var(--frame); margin: 0 auto; padding: 66px var(--inset) 34px; }
.f-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; border-bottom: 1px solid var(--footer-line); padding-bottom: 40px; }
.f-brand { max-width: 360px; }
.f-brand img { height: 44px; width: auto; }
.f-brand p { font-family: var(--font-sans); color: var(--footer-muted); font-size: 15px; line-height: 1.7; margin-top: 18px; letter-spacing: -0.01em; }
.f-cols { display: flex; gap: clamp(34px, 5vw, 64px); flex-wrap: wrap; }
.f-col h4 { font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 15px; }
.f-col a { font-family: var(--font-sans); display: block; color: var(--footer-text); font-size: 15px; font-weight: 500; padding: 6px 0; letter-spacing: 0; transition: color .2s; }
.f-col a:hover { color: #fff; }
.f-bot { font-family: var(--font-sans); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; color: var(--footer-muted); font-size: 13px; letter-spacing: 0; }
.f-bot a { transition: color .2s; }
.f-bot a:hover { color: #fff; }

/* ---------- Motion ---------- */
/* Measured on reflow.ai: words fade + blur(2px) + 6px lift, ~0.6s ease-out, 100ms stagger;
   paragraph 10px lift starting ~0.45s after the words; buttons ~0.15s after that. */
:root { --ease-out: cubic-bezier(.22,.61,.36,1); --dur: .6s; --word-stagger: 100ms; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: var(--stagger, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.96) translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--stagger, 0s); }
.reveal-scale.in { opacity: 1; transform: none; }
.words .w { display: inline-block; opacity: 0; filter: blur(2px); transform: translateY(6px); transition: opacity var(--dur) var(--ease-out), filter var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: calc(var(--lead, 0s) + var(--i) * var(--word-stagger)); will-change: transform, filter; }
.words.in .w { opacity: 1; filter: blur(0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale, .words .w { opacity: 1; transform: none; transition: none; }
  .shimmer::after, .topbar .shine::after, .nav-logo::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .split, .newsletter { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps-visual { position: relative; top: auto; height: auto; max-height: none; order: -1; margin-bottom: 8px; }
  .step { min-height: 0; padding: 28px 0; }
  .nl-panel .nl-form { grid-template-columns: 1fr; }
  .nl-panel .nl-form .btn { justify-self: start; }
  .split.flip .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 72px; padding-bottom: 120px; }
  .photo-band { min-height: 0; }
  .f-top { gap: 36px; }
  .topbar { font-size: 12px; }
  .topbar a { padding: 0 16px; text-align: center; }
}

/* ==========================================================================
   Blog. Structure ported from the Cloud Nine Labs Insights section,
   restyled with the Reflow tokens above (Season Serif / Inter).
   ========================================================================== */

/* ---------- Archive hero ---------- */
.hero-blog { min-height: 0; }
.hero-blog .hero-inner { padding-top: clamp(64px, 9vh, 110px); padding-bottom: clamp(64px, 9vh, 110px); }
.hero-blog h1 { max-width: 20ch; }
.hero-blog h1 .accent { color: var(--muted); }
.hero-blog .lede { max-width: 48ch; }

/* ---------- Archive layout ---------- */
.blog-main {
  display: grid; grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(72px, 9vw, 128px);
  align-items: start;
}
.blog-side { position: sticky; top: calc(var(--nav-h) + 28px); padding-top: 40px; }
.blog-side__group + .blog-side__group { margin-top: 24px; }
.blog-side__group--rule { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.blog-side__label {
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.blog-side__count {
  font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 24px;
}
.uf-search { margin-bottom: 24px; }
.uf-search input {
  font: inherit; font-size: 15px; color: var(--ink); width: 100%; height: 40px; padding: 0 14px;
  background: var(--cream-hi); border: 1px solid var(--sand); border-radius: var(--radius-btn);
  outline: none; transition: border-color .2s, background .2s;
}
.uf-search input::placeholder { color: var(--muted); }
.uf-search input:focus { border-color: var(--char); background: #fff; }

.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter__item {
  font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1; color: var(--muted);
  padding: 8px 12px; border: 1px solid var(--sand); border-radius: var(--radius-btn); background: transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.blog-filter__item:hover { color: var(--ink); border-color: var(--muted); }
.blog-filter__item.is-active { background: var(--char); border-color: var(--char); color: var(--cream); }
.blog-filter--sm .blog-filter__item { font-size: 11px; padding: 7px 10px; }

/* ---------- Post cards ---------- */
.blog-list { min-width: 0; }
.bpost { padding: 36px 0; border-bottom: 1px solid var(--line); }
.bpost:first-child { padding-top: 0; }
.bpost.is-hidden { display: none; }
.bpost__title {
  font-family: var(--font-serif); font-weight: 470; font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 0;
}
.bpost__title a { color: inherit; transition: color .2s; }
.bpost__title a:hover { color: var(--muted); }
.bpost__info { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 12px 0 0; padding: 0; }
.bpost__info li + li::before { content: "\00B7"; margin-right: 12px; color: var(--muted); }
.bpost__info li {
  font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 20px; color: var(--muted);
}
.bpost__excerpt { font-size: 16px; line-height: 1.6; color: var(--ink-2); padding-top: 14px; max-width: 64ch; }
.bpost__more { margin: 16px 0 0; }
.bpost__more a {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); transition: color .2s;
}
.bpost__more svg { width: 14px; height: 14px; transition: transform .2s; }
.bpost__more a:hover { color: var(--muted); }
.bpost__more a:hover svg { transform: translateX(3px); }

.uf-no-results { display: none; padding: 48px 0; font-size: 17px; color: var(--muted); }
.uf-no-results.is-visible { display: block; }
.blog-more { padding-top: 36px; }
.blog-more.is-done { display: none; }

/* ---------- Post page ---------- */
.post-cols { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 104px); }
.post-grid {
  display: grid; grid-template-columns: minmax(0, 640px) 288px;
  column-gap: clamp(48px, 7vw, 112px); align-items: start; justify-content: center;
}
.post-head { grid-column: 1; }
.post-article { grid-column: 1; min-width: 0; }
.post-author-slot { grid-column: 2; grid-row: 1 / span 2; align-self: start; }

.post-cat {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.post-cat svg { width: 14px; height: 14px; transition: transform .2s; }
.post-cat:hover { color: var(--ink); }
.post-cat:hover svg { transform: translateX(-3px); }
.post-title { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; max-width: 640px; margin: 18px 0 18px; }
.post-meta {
  display: flex; align-items: center; gap: 22px;
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px;
}
.post-terms {
  font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 20px; color: var(--muted); margin: 0 0 6px;
}
.post-terms--last { margin-bottom: 42px; }
.post-terms__label { margin-right: 6px; }
.post-terms a { color: var(--muted); transition: color .2s; }
.post-terms a:hover { color: var(--ink); }

.post-article p, .post-article li { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.post-article p { margin: 0 0 22px; max-width: none; }
.post-article ul, .post-article ol { margin: 0 0 22px; padding-left: 26px; }
.post-article ul { list-style: disc; }
.post-article ol { list-style: decimal; }
.post-article li { margin: 6px 0; }
.post-article h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 52px 0 18px; scroll-margin-top: 120px; }
.post-article h3 { font-size: clamp(20px, 1.8vw, 23px); margin: 40px 0 14px; scroll-margin-top: 120px; }
.post-article > p:first-child { font-size: 19px; line-height: 1.7; color: var(--ink); }
.post-article blockquote {
  border-left: 1px solid rgba(54, 53, 50, 0.35); margin: 30px 0; padding: 4px 0 4px 22px;
  font-family: var(--font-serif); font-weight: 470; font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.35; letter-spacing: -0.01em; color: var(--ink);
}
.post-article blockquote p { font: inherit; color: inherit; margin: 0; }
.post-article a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(54,53,50,.35); transition: text-decoration-color .2s; }
.post-article a:hover { text-decoration-color: var(--ink); }
.post-article table { border-collapse: collapse; margin: 28px 0; width: 100%; }
.post-article th, .post-article td { border: 1px solid var(--sand); padding: 10px 12px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.post-article th { font-family: var(--font-serif); font-weight: 470; color: var(--ink); background: var(--cream-hi); }
.post-cta { margin: 36px 0 8px; }
.post-cta a, .post-share a, .post-related a { text-decoration: none; }

.post-faq { margin: 56px 0 8px; }
.post-faq h2 { margin-bottom: 20px; }
.post-faq .faq-list { gap: 12px; }
.post-faq .faq-item summary { padding: 20px; }
.post-faq .faq-item h5 { font-size: 18px; }
.post-faq .faq-answer { padding: 0 20px 20px; font-size: 15.5px; }

/* ---------- Author card, contents, share, related ---------- */
.post-author { margin-bottom: 36px; }
.post-author__label,
.post-share h4, .post-related h4, .uf-toc__title {
  font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 16px;
}
.post-author__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.post-author__head .avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: var(--sand); border: 1px solid var(--sand);
}
.post-author__head .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.post-author__name { font-family: var(--font-serif); font-weight: 470; font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.post-author__role { font-family: var(--font-sans); font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 0; }
.post-author__bio p { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.post-author__social { display: flex; gap: 8px; margin-top: 16px; }
.post-author__social a, .post-share__icons a, .post-share__icons button {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid var(--sand); border-radius: 8px; color: var(--muted); background: transparent;
  transition: border-color .2s, color .2s;
}
.post-author__social a:hover, .post-share__icons a:hover, .post-share__icons button:hover { border-color: var(--char); color: var(--ink); }
.post-author__social svg, .post-share__icons svg { width: 15px; height: 15px; }

.uf-toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--sand); }
.uf-toc__list li.lvl-3 { margin-left: 14px; }
.uf-toc a {
  display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 1px solid transparent;
  color: var(--ink-2); font-size: 13.5px; line-height: 1.35; transition: color .2s, border-color .2s;
}
.uf-toc a:hover { color: var(--ink); }
.uf-toc a.uf-active { color: var(--ink); border-left-color: var(--char); }
@media (min-width: 981px) { .uf-toc.uf-toc--sticky { position: sticky; top: calc(var(--nav-h) + 36px); max-height: calc(100vh - var(--nav-h) - 72px); overflow: auto; } }

.post-share {
  display: flex; align-items: center; gap: 20px; margin: 48px 0 40px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 2px;
}
.post-share h4 { margin: 0; color: var(--ink); }
.post-share__icons { display: flex; gap: 8px; }
.post-share__icons button { cursor: pointer; }
.post-share__icons button.is-copied { border-color: var(--char); color: var(--ink); }
.post-related article { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post-related article:last-child { margin-bottom: 0; border-bottom: 0; }
.post-related a { font-family: var(--font-serif); font-weight: 470; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); transition: color .2s; }
.post-related a:hover { color: var(--muted); }

/* ---------- Blog responsive ---------- */
@media (max-width: 1080px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-author-slot { grid-column: 1; grid-row: auto; margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
  .uf-toc.uf-toc--sticky { position: static; max-height: none; }
  .post-author { margin-bottom: 0; }
}
@media (max-width: 900px) {
  .blog-main { grid-template-columns: 1fr; }
  .blog-side { position: static; padding-top: 0; }
  .blog-side__group--rule { padding-bottom: 20px; }
  .blog-side__count { margin-top: 16px; }
}
@media (max-width: 820px) {
  .post-article p, .post-article li { font-size: 16.5px; }
  .post-share { flex-wrap: wrap; gap: 14px; }
}

/* ---------- Contact: form panel left, info stack right ---------- */
.hero-short { min-height: 44vh; }
.hero-short .hero-inner { padding-top: clamp(48px, 8vh, 90px); padding-bottom: clamp(40px, 6vh, 72px); }
.contact-sec { padding-top: clamp(56px, 7vw, 96px); }
.contact-grid { display: grid; grid-template-columns: 1.35fr .95fr; gap: 34px; align-items: start; }

.panel {
  background: var(--cream-hi); border: 1px solid var(--sand); border-radius: var(--radius-card);
  padding: clamp(26px, 4vw, 40px);
}
.panel-intro { margin-bottom: 30px; }
.panel h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
.panel .lead { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.field .req { color: var(--ink); }
.field .opt { text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--muted); }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.5; color: var(--ink);
  background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius-btn);
  padding: 11px 14px; width: 100%;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field input { height: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--char); background: #fff;
  box-shadow: 0 0 0 3px rgba(54, 53, 50, 0.08);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-wrap { margin: 0 0 18px; min-height: 65px; }
.form-actions { margin-top: 8px; }
.form-actions .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.form-note { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; }

.ferr { display: block; margin-top: 7px; font-size: 13px; line-height: 1.5; color: #b4442f; }
.ferr:empty { display: none; }
.field.has-err input, .field.has-err textarea {
  border-color: #b4442f; box-shadow: 0 0 0 3px rgba(180, 68, 47, 0.1);
}
.form-status { margin-top: 14px; font-size: 14.5px; line-height: 1.6; max-width: 60ch; }
.form-status:empty { display: none; }
.form-status.is-busy { color: var(--ink-2); }
.form-status.is-ok { color: var(--ink); border-left: 3px solid var(--char); padding-left: 12px; }
.form-status.is-err { color: #b4442f; border-left: 3px solid #b4442f; padding-left: 12px; }
.form-done { padding: 4px 0 2px; }
.form-done:focus { outline: none; }
.form-done h3 { margin-bottom: 10px; }
.form-done p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.info-stack { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--nav-h) + 24px); }
.cbox { background: var(--cream-hi); border: 1px solid var(--sand); border-radius: var(--radius-card); overflow: hidden; }
.cbox__head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--sand); }
.cbox__ico { display: inline-flex; color: var(--muted); }
.cbox__ttl {
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.cbox__row { padding: 18px 22px; }
.cbox__row + .cbox__row { border-top: 1px solid var(--sand); }
.cbox__lbl {
  display: block; font-family: var(--font-sans); font-weight: 500; font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.cbox__mail {
  font-family: var(--font-serif); font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -0.01em;
  color: var(--ink); border-bottom: 1px solid var(--sand); padding-bottom: 2px; transition: border-color .2s var(--ease-out);
  word-break: break-word;
}
.cbox__mail:hover { border-color: var(--char); }
.cbox__txt { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: none; }
.cbox--cta .cbox__row { padding: 22px; }
.cbox--cta .btn { margin-top: 14px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-stack { position: static; }
}
@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-short { min-height: 38vh; }
}
.f-bot .cnl-credit { color: var(--footer-muted); }
.f-bot .cnl-credit a { color: var(--sand); border-bottom: 1px solid transparent; }
.f-bot .cnl-credit a:hover { color: #fff; border-bottom-color: rgba(255, 251, 246, 0.4); }
@media (max-width: 720px) { .f-bot { justify-content: flex-start; } }

/* ---------- Homepage: the numbers (three hairline columns) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(54, 53, 50, 0.18); }
.stat { padding: 34px clamp(22px, 2.6vw, 40px) 10px; border-right: 1px solid rgba(54, 53, 50, 0.12); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__num {
  font-family: var(--font-serif); font-weight: 470; font-size: clamp(56px, 6.6vw, 96px);
  line-height: 1; letter-spacing: -0.03em; color: var(--ink);
}
.stat__lbl {
  font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 18px 0 12px; line-height: 1;
}
.stat__txt { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 36ch; }
.src-note { margin-top: clamp(26px, 3vw, 38px); font-size: 13px; line-height: 1.65; color: var(--muted); max-width: 90ch; }
.on-dark .src-note { color: rgba(237, 230, 218, 0.5); }

/* ---------- Homepage: evidence trio on the charcoal band ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 46px); margin-top: clamp(38px, 4.5vw, 60px); }
.ev { border-top: 1px solid rgba(255, 251, 246, 0.18); padding-top: 22px; }
.ev h3 { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.25; margin-bottom: 12px; }
.ev p { font-size: 16px; line-height: 1.6; color: var(--sand); max-width: none; }

/* ---------- Homepage: common struggles ---------- */
.struggles-head { max-width: 860px; margin-bottom: clamp(30px, 3.6vw, 46px); }
.q-list--wide { grid-template-columns: repeat(2, 1fr); }
.q-list--wide li:first-child { grid-column: 1 / -1; }
.struggles-lede {
  font-family: var(--font-serif); font-weight: 470; font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25; letter-spacing: -0.01em; color: var(--ink);
  margin: clamp(46px, 5.5vw, 74px) 0 clamp(26px, 3vw, 38px); max-width: 34ch;
}
.struggle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 2.6vw, 34px) clamp(28px, 3.4vw, 52px); }
.struggle { border-top: 1px solid rgba(54, 53, 50, 0.14); padding-top: 20px; }
.struggle h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; margin-bottom: 10px; }
.struggle p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: none; }
.struggles-close {
  margin-top: clamp(46px, 5.5vw, 76px); padding-top: clamp(34px, 4vw, 48px);
  border-top: 1px solid rgba(54, 53, 50, 0.18);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
}
.we-can-help { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }

@media (max-width: 900px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(54, 53, 50, 0.12); padding: 28px 0; }
  .stat:last-child { border-bottom: 0; }
  .stat__txt { max-width: none; }
  .ev-grid { grid-template-columns: 1fr; gap: 26px; }
  .q-list--wide { grid-template-columns: 1fr; }
  .struggle-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Top bar: announcement centered, login pinned right ---------- */
.topbar-inner { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-left: max(16px, calc(var(--inset) - 40px)); padding-right: max(16px, calc(var(--inset) - 40px)); }
.topbar-inner .tb-main { justify-self: center; }
.tb-login {
  justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 100%;
  font-size: 13px; font-weight: 500; color: rgba(237, 230, 218, 0.75); white-space: nowrap;
  transition: color .2s;
}
.tb-login:hover { color: var(--cream); }

/* ---------- Primary nav: grouped dropdown panels ---------- */
.navcell { position: relative; display: flex; align-items: center; height: var(--nav-h); }
.nav-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted);
  white-space: nowrap; transition: color .2s;
}
.nav-label:hover, .nav-label[aria-current="page"] { color: var(--ink); }
.caret {
  width: 5px; height: 5px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px); transition: transform .2s var(--ease-out);
}
.navcell.has-dd:hover .nav-label, .navcell.has-dd:focus-within .nav-label { color: var(--ink); }
.navcell.has-dd:hover > .nav-label .caret, .navcell.has-dd:focus-within > .nav-label .caret { transform: rotate(225deg) translate(-2px, -2px); }

.dd {
  position: absolute; top: 100%; left: -26px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
}
.navcell.has-dd:hover .dd, .navcell.has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-inner {
  display: flex; gap: 0; padding: 0;
  background: var(--cream-hi); border: 1px solid var(--sand); border-radius: 0;
  box-shadow: 0 18px 40px rgba(54, 53, 50, 0.10), 0 2px 6px rgba(54, 53, 50, 0.04);
  max-width: calc(100vw - 32px); max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto;
}
/* Columns size to their content: long labels stay on one line. */
.dd-col { display: flex; flex-direction: column; padding: 18px 0 20px; }
.dd-col + .dd-col { border-left: 1px solid var(--sand); }
.dd-h {
  font-family: var(--font-sans); font-weight: 500; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); padding: 0 26px 12px; white-space: nowrap;
}
.dd-h--link { transition: color .15s; }
.dd-h--link:hover { color: var(--ink); }
.dd-col a {
  font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink-2);
  padding: 8px 26px; border-radius: 0; white-space: nowrap; transition: color .15s;
}
.dd-col a:hover { color: var(--ink); }
.dd-soon {
  font-size: 15px; font-weight: 500; color: var(--muted); padding: 8px 26px;
  display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap;
}
.dd-soon em {
  font-style: normal; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--sand); border-radius: 0; padding: 2px 7px;
}

/* ---------- Mobile menu: Cloud Nine Labs sizing and spacing, RHR fonts ----------
   Root and sub-panel share one grid cell so the panel's own height drives the
   scroller. Absolute positioning let long sections run under the sticky bar. */
.menu-nav { display: grid; overflow: hidden; width: 100%; }
.m-root, .m-panel {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  transition: transform .38s var(--ease-out), opacity .3s var(--ease-out), visibility 0s linear .38s;
}
.m-panel { transform: translateX(100%); opacity: 0; visibility: hidden; }
.menu-nav.sub .m-root { transform: translateX(-28%); opacity: 0; visibility: hidden; pointer-events: none; }
.menu-nav.sub .m-panel.open {
  transform: none; opacity: 1; visibility: visible;
  transition: transform .38s var(--ease-out), opacity .3s var(--ease-out), visibility 0s;
}

.m-item {
  font-family: var(--font-sans); font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.35; color: var(--ink); text-align: left; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px var(--inset); border-bottom: 1px solid var(--sand);
}
.m-chev {
  flex: none; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(-45deg);
}
.m-chev--back { transform: rotate(135deg); }
.m-back {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  padding: 14px var(--inset); border-bottom: 1px solid var(--sand); background: var(--cream-hi);
}
.m-all { font-weight: 500; }
.m-sub { display: flex; flex-direction: column; background: var(--cream-hi); }
.m-sub a, .m-soon {
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-2); padding: 11px var(--inset) 11px calc(var(--inset) + 18px);
  border-bottom: 1px solid var(--sand);
}
.m-soon { color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.m-soon em {
  font-style: normal; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--sand); border-radius: 0; padding: 2px 7px;
}
.m-h {
  display: block; font-family: var(--font-sans); font-weight: 500; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  padding: 16px var(--inset) 7px calc(var(--inset) + 18px);
  border-top: 1px solid var(--sand); margin-top: 8px;
}
.m-h--link { color: var(--ink); }
.m-sub .m-h:first-child { border-top: 0; margin-top: 0; padding-top: 14px; }

/* Clear the whole sticky header (top bar + nav). At less than this the first
   rows sit under the bar, which both hides them and swallows their taps. */
.menu-panel {
  display: block; padding: calc(var(--topbar-h) + var(--nav-h) + 10px) 0 48px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
/* Solid bar while the menu is open, so rows scroll behind the logo, not through it. */
body.menu-open .nav-wrap { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-panel .menu-foot { margin: 26px var(--inset) 0; font-size: 14px; }
.menu-panel .menu-foot a { display: inline-block; font-size: 14px; }

/* The full nav needs room. Below this the burger takes over. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 620px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  .topbar-inner .tb-main { display: none; }
  .topbar-inner > span { display: none; }
  .tb-login { justify-self: end; }
}

/* ---------- Footer tagline ---------- */
.f-brand .f-tagline {
  font-family: var(--font-serif); font-weight: 470; font-size: clamp(21px, 2vw, 26px);
  line-height: 1.32; letter-spacing: -0.01em; color: var(--cream); margin-top: 26px;
}

/* ---------- Nested dropdown: three parents, each with its own flyout ---------- */
.dd--nest .dd-inner { overflow: visible; max-height: none; min-width: 300px; }
.dd--nest .dd-col { padding: 14px 0; }
.dd-sub { position: relative; }
.dd-parent {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink-2);
  padding: 11px 26px; white-space: nowrap; transition: color .15s, background .15s;
}
.dd-sub:hover > .dd-parent, .dd-sub:focus-within > .dd-parent { color: var(--ink); background: var(--sand-2); }
.caret--right { transform: rotate(-45deg) translate(-1px, -1px); }
.dd-fly {
  position: absolute; top: -14px; left: 100%; z-index: 2;
  opacity: 0; visibility: hidden; transform: translateX(-4px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
}
.dd-sub:hover > .dd-fly, .dd-sub:focus-within > .dd-fly { opacity: 1; visibility: visible; transform: translateX(0); }
.dd-fly-inner {
  display: flex; flex-direction: column; margin-left: -1px; padding: 14px 0;
  background: var(--cream-hi); border: 1px solid var(--sand);
  box-shadow: 0 18px 40px rgba(54, 53, 50, 0.10), 0 2px 6px rgba(54, 53, 50, 0.04);
  max-height: calc(100vh - var(--nav-h) - 60px); overflow-y: auto;
}
.dd-fly-inner a {
  font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink-2);
  padding: 9px 26px; white-space: nowrap; transition: color .15s, background .15s;
}
.dd-fly-inner a:hover { color: var(--ink); background: var(--sand-2); }

/* ---------- Section hub pages ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--sand); }
.hub-grid--major { grid-template-columns: repeat(3, 1fr); }
.hub-card {
  display: flex; flex-direction: column; gap: 12px; position: relative;
  padding: 26px clamp(20px, 2.4vw, 34px) 30px;
  border-bottom: 1px solid var(--sand); border-right: 1px solid var(--sand);
  transition: background .2s;
}
.hub-card:hover { background: var(--cream-hi); }
.hub-card h2 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; }
.hub-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.hub-go { margin-top: auto; padding-top: 14px; color: var(--muted); transition: transform .2s, color .2s; }
.hub-go svg { width: 16px; height: 16px; }
.hub-card:hover .hub-go { color: var(--ink); transform: translateX(3px); }
.hub-card--major { min-height: 250px; padding-top: 32px; }
.hub-card--major h2 { font-size: clamp(24px, 2.2vw, 31px); }
@media (max-width: 860px) {
  .hub-grid, .hub-grid--major { grid-template-columns: 1fr; }
  .hub-card { border-right: 0; padding-left: 0; padding-right: 0; }
  .hub-card--major { min-height: 0; }
}

/* ---------- Hero: the line breaks after "how", the rotating word rides line two ----------
   "we <word>." is one unwrappable unit, so it drops as a block rather than
   leaving "we" stranded at the end of line one. */
.hero-inner h1, .hero-inner .lede { max-width: 62%; }
.hero-rot { white-space: nowrap; }
.rot-word {
  display: inline-block; font-weight: 650; font-style: italic; color: var(--char);
  font-synthesis: none; -webkit-font-synthesis: none;
}
/* Per-letter cascade: the old word's letters peel away, the new ones settle in one at a time. */
.rot-word i {
  display: inline-block; font-style: italic; opacity: 0; transform: translateY(.22em); filter: blur(3px);
  transition: opacity .34s var(--ease-out), transform .34s var(--ease-out), filter .34s var(--ease-out);
}
.rot-word i.on { opacity: 1; transform: none; filter: none; }
@media (max-width: 860px) { .hero-inner h1, .hero-inner .lede { max-width: 100%; } }

/* ---------- Dot globe behind Common Struggles (built in site.js) ----------
   Anchored to the heading block, so it always finishes just above the
   question cards instead of being sliced by them. */
.struggles-head { position: relative; max-width: none; }
.struggles-head > :not(.dot-globe) { position: relative; z-index: 1; max-width: 860px; }
.dot-globe {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(260px, 24vw, 340px); aspect-ratio: 1 / 1; height: auto;
  right: 0; bottom: calc(-1 * clamp(30px, 3.6vw, 46px) + 6px);
}
@media (max-width: 860px) {
  .dot-globe { width: min(72vw, 300px); right: 50%; transform: translateX(50%); opacity: .55; }
}

/* ---------- Process band: "Zero <word>" wheel + framework steps ----------
   Rebuilt from the reflow.ai "Zero friction" band (sizes and timing measured
   2026-10-06): 550px band, 571/729 column split, 120px masked wheel, 70px per
   slot, one word every 2s with a 0.6s move. Wheel built in site.js. */
.proc { --wheel-h: 120px; --slot: 70px; --move: .6s; overflow: hidden; }
.proc__frame { max-width: var(--frame); margin: 0 auto; min-height: 550px; display: grid; grid-template-columns: 571fr 729fr; }
.proc__left, .proc__right { display: flex; align-items: center; }
.proc__left { padding: 0 56px 0 40px; border-right: 1px solid var(--line-dark); }
.proc__right { padding: 0 40px 0 56px; }
.proc__line { width: 100%; display: flex; align-items: center; gap: 17px; font-family: var(--font-serif); font-weight: 470; font-size: 64px; line-height: 1; letter-spacing: -0.01em; }
.proc__lead { color: var(--cream); flex: none; }
.wheel {
  position: relative; height: var(--wheel-h); flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 40%, #000 60%, transparent 100%);
          mask-image: linear-gradient(0deg, transparent 0%, #000 40%, #000 60%, transparent 100%);
}
.wheel__strip { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; top: 0; will-change: transform; }
.wheel__strip.is-moving { transition: transform var(--move) cubic-bezier(.65, 0, .35, 1); }
.wheel__strip li { height: var(--slot); display: flex; align-items: center; white-space: nowrap; }
.wheel__word {
  color: rgba(237, 230, 218, 0.5);
  background-image: linear-gradient(120deg, rgba(255,255,255,0) 40%, var(--cream-hi) 50%, rgba(255,255,255,0) 60%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  animation: proc-shine 2s linear infinite;
}
@keyframes proc-shine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.proc .proc__h2 { font-size: 48px; line-height: 1.2; letter-spacing: -0.01em; color: var(--cream); max-width: 593px; margin: 0; text-wrap: pretty; }
.steps { list-style: none; padding: 0; margin: 49px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps li:not(:last-child)::after {
  content: ""; width: 16px; height: 11px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13'%3E%3Cpath d='M0 5.5h16.2l-4-4L13.6 0 20 6.4l-6.4 6.4-1.4-1.4 4-4H0z' fill='%23fff' fill-opacity='.16'/%3E%3C/svg%3E") no-repeat center / contain;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12.5px 16px; border-radius: var(--radius-btn); background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-sans); font-weight: 500; font-size: 15px; line-height: 15px; letter-spacing: -0.01em; color: var(--cream); white-space: nowrap;
}
.chip--loop { padding: 4px 16px 4px 4px; }
.chip__icon { width: 32px; height: 32px; flex: none; animation: proc-spin 2s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes proc-spin { to { transform: rotate(360deg); } }
.proc:not(.is-live) .wheel__word, .proc:not(.is-live) .chip__icon { animation-play-state: paused; }
@media (max-width: 1100px) {
  .proc__line { font-size: 52px; }
  .proc .proc__h2 { font-size: 40px; }
  .proc__left { padding: 0 32px; }
  .proc__right { padding: 0 40px; }
}
@media (max-width: 860px) {
  .proc { --wheel-h: 96px; --slot: 54px; }
  .proc__frame { grid-template-columns: 1fr; min-height: 0; }
  .proc__left { padding: 72px var(--inset) 8px; border-right: 0; }
  .proc__right { padding: 32px var(--inset) 80px; border-top: 1px solid var(--line-dark); }
  .proc__line { font-size: 44px; gap: 12px; }
  .proc .proc__h2 { font-size: 34px; }
  .steps { margin-top: 32px; }
}
@media (max-width: 400px) {
  .proc__line { font-size: 38px; }
  .chip { font-size: 14px; padding: 11px 13px; }
  .chip--loop { padding: 4px 13px 4px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .wheel__word, .chip__icon { animation: none; }
  .wheel__strip.is-moving { transition: none; }
}
