
/* ---------- Tokens ---------- */
:root{
  --paper: #efe8d6;
  --paper-2: #e7dfca;
  --paper-3: #ddd3b7;
  --ink: #15130f;
  --ink-2: #2b2620;
  --muted: #6f675b;
  --line: #2a2620;
  --line-soft: #15130f1a;
  --forest: #1c3a2e;
  --forest-2: #244a3b;
  --moss: #b9c8a7;
  --clay: #c66a35;
  --clay-2: #a8541f;
  --cream: #f7f1df;
  --bubble: #d8e2c8;
  --shadow: 0 1px 0 #00000010, 0 14px 30px -18px #14110e35;
  --radius: 14px;
  --radius-sm: 8px;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* paper grain overlay */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:1000;opacity:.20;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit;color:inherit}

/* ---------- Layout primitives ---------- */
.wrap{max-width:1320px;margin:0 auto;padding:0 32px;position:relative}
@media (max-width:680px){.wrap{padding:0 20px}}

.eyebrow{
  font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--muted); display:inline-flex; align-items:center; gap:10px;
}
.eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--clay);display:inline-block;box-shadow:0 0 0 4px #c66a3520}
.eyebrow.green .dot{background:#3aaa6c;box-shadow:0 0 0 4px #3aaa6c20;animation:pulse 2.4s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.45}}

.h-display{
  font-family:var(--serif); font-weight:340; font-style:normal;
  font-variation-settings:"opsz" 144, "SOFT" 50;
  letter-spacing:-0.025em; line-height:.95; color:var(--ink);
}
.italic{font-style:italic; font-variation-settings:"opsz" 144, "SOFT" 100;}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  height:46px; padding:0 22px; border-radius:999px; border:1px solid var(--ink);
  font-family:var(--sans); font-size:14.5px; font-weight:500;
  background:var(--ink); color:var(--paper); transition:transform .25s ease, background .25s ease;
}
.btn:hover{transform:translateY(-1px); background:var(--forest); border-color:var(--forest)}
.btn .arrow{display:inline-block; transition:transform .25s ease}
.btn:hover .arrow{transform:translate(3px,-3px)}
.btn.ghost{background:transparent; color:var(--ink); border-color:var(--ink)}
.btn.ghost:hover{background:var(--ink); color:var(--paper)}
.btn.clay{background:var(--clay); border-color:var(--clay); color:#fff8ee}
.btn.clay:hover{background:var(--clay-2); border-color:var(--clay-2)}

/* ---------- Top bar ---------- */
.bar{
  position:sticky; top:0; z-index:90;
  background:color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom:1px solid var(--line-soft);
}
.bar-inner{display:flex; align-items:center; justify-content:space-between; height:72px}
.brand{display:flex; align-items:center; gap:10px; font-family:var(--serif); font-size:22px; font-weight:420; letter-spacing:-.02em}
.brand .glyph{
  width:30px; height:30px; border-radius:8px; background:var(--ink); color:var(--paper);
  display:grid; place-items:center; font-family:var(--mono); font-size:13px; font-weight:500;
  position:relative; overflow:hidden;
}
.brand .glyph::after{
  content:""; position:absolute; left:6px; bottom:-4px; width:8px; height:8px; background:var(--ink); transform:rotate(45deg);
}
.nav{display:flex; gap:30px; font-size:14px; align-items:center}
.nav > .nav-item{position:relative}
.nav a, .nav button.nav-trigger{
  color:var(--ink-2); position:relative; background:none; border:0; padding:0; cursor:pointer;
  font:inherit; display:inline-flex; align-items:center; gap:6px;
}
.nav a:hover, .nav button.nav-trigger:hover, .nav-item:hover > .nav-trigger{color:var(--ink)}
.nav a::after, .nav button.nav-trigger::after{
  content:""; position:absolute; left:0; right:100%; bottom:-6px; height:1px; background:var(--ink); transition:right .3s ease;
}
.nav a:hover::after, .nav-item:hover > .nav-trigger::after{right:0}
.nav-trigger .caret{
  width:8px; height:8px; border-right:1.2px solid currentColor; border-bottom:1.2px solid currentColor;
  transform:rotate(45deg); margin-top:-3px; transition:transform .25s ease; opacity:.7;
}
.nav-item:hover .caret{transform:rotate(225deg); margin-top:2px}

/* Mega menu (Solutions) */
.mega{
  position:absolute; left:50%; top:calc(100% + 18px); transform:translate(-50%, -6px);
  background:var(--cream);
  border:1px solid var(--line-soft);
  border-radius:18px;
  box-shadow: 0 1px 0 #00000010, 0 30px 60px -28px #14110e40;
  padding:28px 30px 26px;
  min-width:600px;
  opacity:0; pointer-events:none; visibility:hidden;
  transition:opacity .25s ease, transform .25s ease, visibility .25s;
  z-index:80;
}
.nav-item:hover .mega, .nav-item:focus-within .mega{
  opacity:1; pointer-events:auto; visibility:visible; transform:translate(-50%, 0);
}
/* invisible hover bridge so the menu doesn't close when crossing the gap */
.nav-item .mega::before{
  content:""; position:absolute; left:0; right:0; top:-18px; height:18px;
}
.mega-grid{display:grid; grid-template-columns: 1.4fr 1fr; gap:36px}
.mega-col h4{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin:0 0 14px; font-weight:500;
  padding-bottom:10px; border-bottom:1px solid var(--line-soft);
}
.mega-col ul{list-style:none; margin:0; padding:0; display:grid; gap:2px}
.mega-col.two-col ul{grid-template-columns:1fr 1fr; gap:2px 18px}
.mega-col a{
  display:block; padding:7px 10px; margin:0 -10px; border-radius:8px;
  font-size:14px; color:var(--ink-2); transition:background .15s ease, color .15s ease;
}
.mega-col a:hover{background:#efe7d0; color:var(--ink)}
.mega-col a::after{display:none}
.mega-foot{
  margin-top:22px; padding-top:18px; border-top:1px solid var(--line-soft);
  display:flex; justify-content:space-between; align-items:center;
  font-family:var(--mono); font-size:11px; color:var(--muted);
}
.mega-foot a{font-family:var(--sans); font-size:13px; color:var(--clay); display:inline-flex; gap:6px; align-items:center}
.mega-foot a::after{display:none}

/* Small dropdown (Resources) */
.dd{
  position:absolute; left:50%; top:calc(100% + 18px); transform:translate(-50%, -6px);
  background:var(--cream); border:1px solid var(--line-soft); border-radius:14px;
  box-shadow: 0 1px 0 #00000010, 0 24px 50px -28px #14110e40;
  padding:10px; min-width:200px;
  opacity:0; pointer-events:none; visibility:hidden;
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
  z-index:80;
}
.nav-item:hover .dd, .nav-item:focus-within .dd{
  opacity:1; pointer-events:auto; visibility:visible; transform:translate(-50%, 0);
}
.nav-item .dd::before{content:""; position:absolute; left:0; right:0; top:-18px; height:18px}
.dd ul{list-style:none; margin:0; padding:0}
.dd a{
  display:block; padding:9px 12px; border-radius:8px; font-size:14px; color:var(--ink-2);
}
.dd a:hover{background:#efe7d0; color:var(--ink)}
.dd a::after{display:none}

.bar-cta{display:flex; align-items:center; gap:14px}
.bar-cta .live{font-family:var(--mono); font-size:11px; color:var(--muted); display:flex; align-items:center; gap:8px}
.bar-cta .live::before{content:""; width:6px; height:6px; border-radius:50%; background:#3aaa6c; box-shadow:0 0 0 4px #3aaa6c20; animation:pulse 2s infinite}

/* Mobile */
.menu-toggle{display:none; width:42px; height:42px; border:1px solid var(--line-soft); border-radius:10px; background:transparent; align-items:center; justify-content:center; padding:0}
.menu-toggle span{display:block; width:18px; height:1.4px; background:var(--ink); position:relative}
.menu-toggle span::before, .menu-toggle span::after{content:""; position:absolute; left:0; right:0; height:1.4px; background:var(--ink)}
.menu-toggle span::before{top:-6px}
.menu-toggle span::after{top:6px}
@media (max-width:1080px){
  .nav,.bar-cta .live{display:none}
  .menu-toggle{display:inline-flex}
}

/* Mobile menu drawer */
.mobile-menu{
  position:fixed; left:0; right:0; top:72px; bottom:0;
  background:var(--paper);
  z-index:95;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  padding:28px 20px 56px;
  visibility:hidden; opacity:0; transform:translateY(-8px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
  border-top:1px solid var(--line-soft);
}
body.menu-open .mobile-menu{visibility:visible; opacity:1; transform:translateY(0)}
body.menu-open{overflow:hidden}
.mobile-menu-inner{display:flex; flex-direction:column; gap:26px; max-width:560px; margin:0 auto}
.mm-section h4{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin:0 0 10px; font-weight:500;
  padding-bottom:10px; border-bottom:1px solid var(--line-soft);
}
.mm-section ul{list-style:none; margin:0; padding:0; display:grid; gap:2px}
.mm-section a{
  display:block; padding:10px 12px; margin:0 -12px; border-radius:8px;
  font-size:15px; color:var(--ink-2);
}
.mm-section a:active, .mm-section a:hover{background:#efe7d0; color:var(--ink)}
.mm-cta{display:flex; flex-direction:column; gap:10px; margin-top:8px}
.mm-cta .btn{justify-content:center; width:100%; height:50px; font-size:15px}
@media (min-width:1081px){.mobile-menu{display:none}}

/* Hamburger animation when open */
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
  transition:transform .22s ease, background .22s ease, top .22s ease;
}
body.menu-open .menu-toggle span{background:transparent}
body.menu-open .menu-toggle span::before{top:0; transform:rotate(45deg)}
body.menu-open .menu-toggle span::after{top:0; transform:rotate(-45deg)}

/* ---------- Contextual sub-bar ---------- */
.subbar{
  position:sticky; top:72px; z-index:85;
  background:color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom:1px solid var(--line-soft);
}
/* On mobile: drop sticky + transparency so the bar scrolls away naturally
   (iOS Safari's URL-bar collapse animation makes sticky bars feel buggy).
   When the mobile menu is open, fix the bar at top so the close (X) stays reachable. */
@media (max-width:1080px){
  .bar, .subbar{
    position:static; top:auto;
    background:var(--paper);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  body.menu-open .bar{
    position:fixed; top:0; left:0; right:0; z-index:96;
  }
}
.subbar-inner{
  display:flex; align-items:center; gap:0; height:46px; overflow-x:auto;
  scrollbar-width:none;
}
.subbar-inner::-webkit-scrollbar{display:none}
.subbar-section{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--muted); display:inline-flex; align-items:center; gap:8px;
  padding-right:22px; margin-right:22px; border-right:1px solid var(--line-soft);
  white-space:nowrap; flex-shrink:0;
}
.subbar-section .dot{width:5px; height:5px; border-radius:50%; background:var(--clay)}
.subbar-links{display:flex; gap:4px; align-items:center; flex:1; min-width:0}
.subbar-links a{
  font-size:13px; color:var(--ink-2); padding:8px 14px; border-radius:8px;
  position:relative; white-space:nowrap; transition:background .15s ease, color .15s ease;
}
.subbar-links a:hover{background:#efe7d0; color:var(--ink)}
.subbar-links a.is-active{
  color:var(--ink); font-weight:500;
  background:transparent;
}
.subbar-links a.is-active::after{
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:1.5px; background:var(--clay);
}
.subbar-tail{
  margin-left:auto; padding-left:22px; border-left:1px solid var(--line-soft);
  font-family:var(--mono); font-size:11px; color:var(--muted); display:flex; align-items:center; gap:6px;
  white-space:nowrap; flex-shrink:0;
}
.subbar-tail a{color:var(--clay); font-family:var(--sans); font-size:13px}
.subbar-tail a:hover{text-decoration:underline}
@media (max-width:900px){
  .subbar-section{padding-right:14px; margin-right:14px}
  .subbar-tail{display:none}
}

/* ---------- Hero ---------- */
.hero{padding:64px 0 96px; position:relative; overflow:hidden}
.hero-grid{display:grid; grid-template-columns: 1.05fr 0.95fr; gap:60px; align-items:start}
@media (max-width:1020px){.hero-grid{grid-template-columns:1fr; gap:40px}}

.hero-meta{display:flex; gap:24px; align-items:center; margin-bottom:34px; flex-wrap:wrap}
.hero h1{
  font-size: clamp(56px, 9vw, 132px);
  margin:0 0 30px;
}
.hero h1 .l{display:block}
.hero h1 .clay{color:var(--clay)}
.hero h1 em{font-style:italic; font-weight:340; font-variation-settings:"opsz" 144, "SOFT" 100; color:var(--forest)}
.hero h1 .ul{
  background-image: linear-gradient(transparent 62%, #c66a3540 62%, #c66a3540 86%, transparent 86%);
}

.hero-sub{font-size:19px; max-width:520px; color:var(--ink-2); line-height:1.45; margin:0 0 36px}
.hero-cta{display:flex; gap:14px; align-items:center; flex-wrap:wrap}

/* numbered chapter rail */
.rail{
  position:absolute; left:-2px; top:90px; bottom:0;
  width:120px; pointer-events:none;
  display:flex; flex-direction:column; justify-content:flex-start; gap:36px;
}
.rail .tick{font-family:var(--mono); font-size:11px; color:var(--muted); display:flex; align-items:center; gap:10px}
.rail .tick::before{content:""; width:18px; height:1px; background:var(--ink)}
@media (max-width:1180px){.rail{display:none}}

/* hero ticker (under headline) */
.ticker{
  margin-top:54px; padding-top:22px; border-top:1px solid var(--line-soft);
  display:flex; gap:36px; flex-wrap:wrap;
  font-family:var(--mono); font-size:11px; letter-spacing:.06em; color:var(--muted);
}
.ticker b{color:var(--ink); font-weight:500}

/* ---------- Hero artwork: chat → task ---------- */
.stage{
  position:relative;
  border:1px solid var(--line-soft);
  background:
    radial-gradient(120% 100% at 100% 0%, #f7f1df 0%, transparent 55%),
    linear-gradient(180deg, #ece4cd, #e6dec3);
  border-radius:22px;
  padding:30px 28px 36px;
  min-height:560px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.stage::after{
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:22px;
  background-image:
    linear-gradient(transparent 95%, #15130f08 95%),
    linear-gradient(90deg, transparent 95%, #15130f08 95%);
  background-size: 28px 28px;
}
.stage-head{display:flex; justify-content:space-between; align-items:center; font-family:var(--mono); font-size:11px; color:var(--muted); margin-bottom:16px; position:relative; z-index:2}
.stage-head .pill{display:inline-flex; align-items:center; gap:8px; padding:5px 10px; border:1px solid var(--line-soft); border-radius:999px; background:#f3ebd5}
.stage-head .pill .d{width:6px; height:6px; border-radius:50%; background:#3aaa6c; box-shadow:0 0 0 3px #3aaa6c25; animation:pulse 1.8s infinite}

/* incoming message bubble (WhatsApp style) */
.msg{
  position:relative; z-index:2; margin: 8px 0 0 auto; max-width:78%; background:#fff; border-radius:14px 14px 4px 14px;
  padding:14px 16px 12px; box-shadow: 0 8px 24px -16px #14110e30; border:1px solid #00000008;
  animation: msg-in .8s .2s both ease-out;
}
.msg .from{font-family:var(--mono); font-size:10.5px; color:#108a4d; margin-bottom:6px; display:flex; align-items:center; gap:8px}
.msg .from .ch{display:inline-flex; align-items:center; gap:5px; padding:2px 7px; border-radius:999px; background:#e7f7ee; color:#108a4d}
.msg .body{font-size:14.5px; color:#1f1d18; line-height:1.4}
.msg .meta{margin-top:6px; font-family:var(--mono); font-size:10px; color:#9aa19c; display:flex; gap:6px; align-items:center; justify-content:flex-end}
.msg .meta .check{color:#36a76a}
@keyframes msg-in{from{opacity:0; transform:translate(6px,-4px)}to{opacity:1; transform:none}}

/* connector */
.connector{
  position:relative; z-index:2; margin: 18px auto; width:100%; height:48px;
  display:flex; align-items:center; justify-content:center;
}
.connector .lab{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  background:var(--paper); padding:4px 10px; border:1px solid var(--ink); border-radius:999px; color:var(--ink);
}
.connector svg{width:100%; height:48px; display:block}
.connector .path{stroke:var(--ink); stroke-width:1.2; fill:none; stroke-dasharray:4 4; opacity:.5}
.connector .arrow{stroke:var(--ink); stroke-width:1.2; fill:none}

/* task card */
.task{
  position:relative; z-index:2;
  border-radius:16px; background:var(--paper);
  border:1px solid var(--ink); padding:18px 20px;
  box-shadow: 6px 6px 0 0 var(--ink);
  animation: task-in .9s .9s both ease-out;
}
@keyframes task-in{from{opacity:0; transform:translateY(8px)}to{opacity:1; transform:none}}
.task-row{display:flex; justify-content:space-between; gap:18px; align-items:flex-start}
.task-id{font-family:var(--mono); font-size:11px; color:var(--muted)}
.task-title{font-family:var(--serif); font-size:24px; font-weight:380; line-height:1.05; margin:6px 0 14px; letter-spacing:-.01em}
.task-grid{display:grid; grid-template-columns: repeat(2,1fr); gap:12px 22px; padding:14px 0; border-top:1px dashed var(--line-soft); border-bottom:1px dashed var(--line-soft)}
.task-grid .k{font-family:var(--mono); font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em}
.task-grid .v{font-size:14px; color:var(--ink); margin-top:3px; display:flex; align-items:center; gap:8px}
.task-grid .v .av{
  width:20px; height:20px; border-radius:50%; background:linear-gradient(135deg,#c66a35,#a8541f); color:#fff;
  display:inline-grid; place-items:center; font-size:10px; font-family:var(--mono); letter-spacing:.04em;
}
.chip{display:inline-flex; align-items:center; gap:6px; padding:3px 9px; border-radius:999px; font-family:var(--mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase}
.chip.high{background:#f3d7c5; color:#a8541f}
.chip.assigned{background:#dee9d3; color:#2a5a3a}
.task-foot{display:flex; align-items:center; justify-content:space-between; margin-top:14px; gap:12px}
.task-foot .timeline{display:flex; gap:6px; align-items:center; font-family:var(--mono); font-size:11px; color:var(--muted)}
.dot-line{display:flex; gap:4px; align-items:center}
.dot-line span{width:6px; height:6px; border-radius:50%; background:var(--line-soft)}
.dot-line span.on{background:var(--forest)}
.task-foot .done{
  font-family:var(--mono); font-size:11px; padding:6px 10px; border-radius:999px;
  background:var(--forest); color:var(--cream); display:inline-flex; align-items:center; gap:6px;
  animation: done-in .6s 1.6s both ease-out;
}
@keyframes done-in{from{opacity:0; transform:scale(.9)}to{opacity:1; transform:none}}

/* floating side notes */
.side-note{
  position:absolute; z-index:3; font-family:var(--mono); font-size:10.5px; color:var(--muted);
  display:flex; align-items:center; gap:8px;
}
.side-note .ln{width:34px; height:1px; background:var(--ink); opacity:.4}
.side-note.tl{left:-22px; top:80px; transform:rotate(-90deg); transform-origin:left top}
.side-note.br{right:18px; bottom:14px}
@media (max-width:1020px){.side-note.tl{display:none}}

/* ---------- Marquee ---------- */
.marquee{
  border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
  background:var(--paper-2);
  overflow:hidden;
  padding:30px 0;
  max-width:100vw;
}
.marquee-head{display:flex; justify-content:space-between; align-items:baseline; padding:0 32px 14px; max-width:1320px; margin:0 auto}
.marquee-head .label{font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.16em; color:var(--muted)}
.marquee-head .count{font-family:var(--serif); font-size:32px; font-style:italic; font-weight:340}
.track{display:flex; width:max-content; animation: scroll 36s linear infinite; animation-play-state: paused; align-items:center}
.track.is-running{animation-play-state: running}
.track-set{display:flex; flex-wrap:nowrap; gap:64px; padding-right:64px; align-items:center; flex-shrink:0; width:max-content}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){
  .track{animation: none !important}
}
.track .logo{
  font-family:var(--serif); font-weight:380; font-size:26px; letter-spacing:.02em; color:var(--ink); opacity:.8;
  white-space:nowrap; display:flex; align-items:center; gap:14px;
}
.track .logo .sep{width:6px; height:6px; background:var(--clay); border-radius:50%}
.track .logo small{font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}

/* ---------- Section wrappers ---------- */
.section{padding: 110px 0; position:relative}
.section.dark{background:var(--ink); color:var(--paper)}
.section.dark .eyebrow{color:#bbb1a0}
.section.forest{background:var(--forest); color:var(--cream)}
.section.forest .eyebrow{color:#a8c2b6}
.section.cream{background:var(--paper-2)}

.sec-head{display:grid; grid-template-columns: 1fr 1.4fr; gap:60px; align-items:end; margin-bottom:64px}
@media (max-width:880px){.sec-head{grid-template-columns:1fr; gap:24px}}
.sec-head .num{font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted)}
.section.dark .sec-head .num, .section.forest .sec-head .num{color:#bbb1a0}
.sec-head h2{font-family:var(--serif); font-weight:340; font-size:clamp(42px, 6vw, 76px); letter-spacing:-.02em; line-height:.96; margin:0}
.sec-head h2 em{font-style:italic; color:var(--clay)}
.section.dark .sec-head h2 em{color:#e7a276}
.section.forest .sec-head h2 em{color:#e7a276}

/* ---------- Channels (How it works) ---------- */
.channels{display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; margin-bottom:50px}
@media (max-width:900px){.channels{grid-template-columns:repeat(2,1fr)}}
.channel{
  background:var(--paper); border:1px solid var(--line-soft); border-radius:16px;
  padding:22px 22px 26px; position:relative; min-height:200px; transition:transform .3s ease, box-shadow .3s ease;
}
.channel:hover{transform:translateY(-3px); box-shadow: 0 18px 40px -28px #14110e35}
.channel .ic{
  width:42px; height:42px; border-radius:10px; background:var(--ink); color:var(--paper);
  display:grid; place-items:center; margin-bottom:18px;
}
.channel.wa .ic{background:#1da851}
.channel.em .ic{background:#c66a35}
.channel.vo .ic{background:var(--forest)}
.channel.ch .ic{background:#5b6cff}
.channel h4{font-family:var(--serif); font-weight:380; font-size:22px; letter-spacing:-.01em; margin:0 0 6px}
.channel p{font-size:13.5px; color:var(--muted); margin:0; line-height:1.5}
.channel .ix{position:absolute; top:18px; right:18px; font-family:var(--mono); font-size:10.5px; color:var(--muted)}

.flow-arrow{display:flex; align-items:center; justify-content:center; gap:14px; margin: 0 auto 50px; max-width:780px; font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}
.flow-arrow .line{flex:1; height:1px; background:var(--line-soft); position:relative}
.flow-arrow .line::after{content:""; position:absolute; right:0; top:-3px; width:7px; height:7px; border-top:1px solid var(--ink); border-right:1px solid var(--ink); transform:rotate(45deg)}

.outcome{
  background:var(--ink); color:var(--paper); border-radius:18px; padding:34px 38px;
  display:grid; grid-template-columns: 1.1fr 1fr; gap:40px; align-items:center;
}
@media (max-width:880px){.outcome{grid-template-columns:1fr}}
.outcome h3{font-family:var(--serif); font-weight:340; font-size:clamp(28px, 4vw, 44px); margin:0; line-height:1.05; letter-spacing:-.015em}
.outcome h3 em{font-style:italic; color:#e7a276}
.outcome .out-body{font-size:14.5px; color:#cfc6b3; max-width:420px}
.outcome ul{list-style:none; margin:14px 0 0; padding:0; display:grid; gap:10px}
.outcome li{display:flex; gap:10px; font-size:13.5px; color:#dcd2bd; align-items:flex-start}
.outcome li::before{content:""; flex:0 0 auto; width:10px; height:10px; border-radius:50%; background:var(--clay); margin-top:5px}

/* ---------- Solutions ---------- */
.modules{display:grid; grid-template-columns: repeat(12, 1fr); gap:18px}
.mod{
  grid-column: span 4;
  background:var(--paper); border:1px solid var(--line-soft); border-radius:18px;
  padding:24px 24px 22px; min-height:240px; position:relative; overflow:hidden;
  transition:transform .3s ease;
}
.mod:hover{transform:translateY(-2px)}
.section.dark .mod{background:#1f1c17; border-color:#2c2820; color:var(--paper)}
.section.dark .mod p{color:#bbb1a0}
.mod.lg{grid-column:span 6; min-height:300px}
.section.dark .mod.feat, .mod.feat{grid-column:span 6; min-height:300px; background:var(--moss); color:var(--ink); border-color:#00000020}
.section.dark .mod.feat p, .mod.feat p{color:#3a4a35}
.section.dark .mod.feat .mod-num, .mod.feat .mod-num{color:#3a4a35}
.section.dark .mod.clay, .mod.clay{background:var(--clay); color:var(--cream); border-color:#00000020}
.section.dark .mod.clay p, .mod.clay p{color:#fae6d2}
.section.dark .mod.clay .mod-num, .mod.clay .mod-num{color:#fae6d2}
.section.dark .mod.forest, .mod.forest{background:var(--forest); color:var(--cream); border-color:#00000020}
.section.dark .mod.forest p, .mod.forest p{color:#bccdc1}
.section.dark .mod.forest .mod-num, .mod.forest .mod-num{color:#a8c2b6}
@media (max-width:1080px){.mod, .mod.lg, .mod.feat, .section.dark .mod.feat{grid-column:span 6}}
@media (max-width:680px){.mod, .mod.lg, .mod.feat, .section.dark .mod.feat{grid-column:span 12}}

.mod-num{font-family:var(--mono); font-size:11px; color:var(--muted); letter-spacing:.16em; text-transform:uppercase}
.mod h3{font-family:var(--serif); font-weight:380; font-size:28px; letter-spacing:-.012em; margin:14px 0 10px; line-height:1.05}
.mod p{font-size:14px; color:var(--muted); line-height:1.5; margin:0}
.mod .more{
  display:inline-flex; align-items:center; gap:6px; margin-top:18px;
  font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:inherit;
  border-bottom:1px solid currentColor; padding-bottom:3px;
}
.mod .visual{margin-top:18px}

/* tiny ui demos inside cards */
.ui-row{display:flex; gap:8px; align-items:center; padding:8px 10px; border:1px solid #00000018; background:#ffffff80; border-radius:10px; margin-bottom:6px; font-size:12px; font-family:var(--mono)}
.section.dark .ui-row{background:#15130f80; border-color:#2c2820; color:var(--paper)}
.mod.feat .ui-row{background:#ffffff80; border-color:#00000018; color:var(--ink)}
.mod.clay .ui-row{background:#ffffff20; border-color:#ffffff30; color:var(--cream)}
.mod.forest .ui-row{background:#ffffff10; border-color:#ffffff25; color:var(--cream)}
.ui-row .room{font-weight:500}
.ui-row .stat{margin-left:auto; padding:2px 7px; border-radius:999px; background:#dee9d3; color:#2a5a3a; font-size:10px}
.ui-row .stat.red{background:#f3d7c5; color:#a8541f}
.ui-row .stat.warn{background:#f1e1a8; color:#6a4f12}

/* ---------- Stats strip ---------- */
.stats{display:grid; grid-template-columns: repeat(4, 1fr); gap:0; border-top:1px solid #ffffff20; border-bottom:1px solid #ffffff20}
@media (max-width:900px){.stats{grid-template-columns:repeat(2,1fr)}}
.stat-cell{padding:50px 30px; border-right:1px solid #ffffff20}
.stat-cell:last-child{border-right:0}
@media (max-width:900px){.stat-cell:nth-child(2){border-right:0} .stat-cell{border-bottom:1px solid #ffffff20}}
.stat-num{font-family:var(--serif); font-weight:300; font-size:clamp(56px, 8vw, 100px); line-height:.9; letter-spacing:-.03em}
.stat-num em{font-style:italic; color:#e7a276}
.stat-num .plus{color:#e7a276}
.stat-cap{font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:#bbb1a0; margin-top:14px}

/* ---------- Quote ---------- */
.quote{
  display:grid; grid-template-columns: 1fr 1.2fr; gap:60px; align-items:center;
}
@media (max-width:880px){.quote{grid-template-columns:1fr}}
.quote-mark{font-family:var(--serif); font-size:clamp(120px, 18vw, 240px); line-height:.7; color:var(--clay); font-style:italic; font-weight:300}
.quote-body{font-family:var(--serif); font-weight:340; font-size:clamp(24px, 3.4vw, 38px); line-height:1.18; letter-spacing:-.01em}
.quote-body em{font-style:italic; color:var(--clay)}
.quote-attr{margin-top:30px; font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); display:flex; gap:10px; align-items:center}
.quote-attr .av{
  width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg, #c66a35, #1c3a2e);
}

/* ---------- Compliance ---------- */
.badges{display:grid; grid-template-columns: repeat(3,1fr); gap:14px}
@media (max-width:880px){.badges{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.badges{grid-template-columns:1fr}}
.badges-row{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:18px}
@media (max-width:880px){.badges-row{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.badges-row{grid-template-columns:1fr}}
.badge{
  border:1px solid var(--line-soft); border-radius:14px; padding:22px;
  background:var(--paper); position:relative; min-height:170px;
}
.badge .b-mark{
  width:42px; height:42px; border-radius:50%; border:1.4px solid var(--ink);
  display:grid; place-items:center; font-family:var(--mono); font-size:11px; letter-spacing:.04em;
  margin-bottom:18px;
}
.badge h4{font-family:var(--serif); font-weight:400; font-size:20px; margin:0 0 6px}
.badge p{font-size:12.5px; color:var(--muted); margin:0; line-height:1.45}

/* ---------- Final CTA ---------- */
.cta-card{
  background:var(--paper); border:1.5px solid var(--ink); border-radius:24px;
  padding:60px; box-shadow: 14px 14px 0 0 var(--ink);
  display:grid; grid-template-columns: 1.1fr 1fr; gap:50px; align-items:center;
  position:relative; overflow:hidden;
}
@media (max-width:880px){.cta-card{grid-template-columns:1fr; padding:40px; box-shadow: 8px 8px 0 0 var(--ink)}}
.cta-card h2{font-family:var(--serif); font-weight:340; font-size:clamp(40px, 6vw, 76px); letter-spacing:-.02em; line-height:.95; margin:0}
.cta-card h2 em{font-style:italic; color:var(--clay)}
.cta-card .meta{margin-top:22px; font-family:var(--mono); font-size:11.5px; color:var(--muted); letter-spacing:.06em}
.cta-actions{display:flex; flex-direction:column; gap:12px; align-items:flex-start}
.cta-line{font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:6px}

/* ---------- Footer ---------- */
footer{background:var(--ink); color:var(--paper); padding:80px 0 36px; position:relative; overflow:hidden}
.foot-grid{display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap:36px; padding-bottom:60px; border-bottom:1px solid #ffffff15}
@media (max-width:900px){.foot-grid{grid-template-columns:1fr 1fr; gap:30px}}
.foot-brand .glyph{background:var(--paper); color:var(--ink)}
.foot-brand .brand{color:var(--paper)}
.foot-brand p{color:#bbb1a0; font-size:13.5px; margin:18px 0 24px; max-width:340px; line-height:1.5}
.foot-col h5{font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#bbb1a0; margin:0 0 16px; font-weight:500}
.foot-col ul{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.foot-col a{color:var(--paper); font-size:14px}
.foot-col a:hover{color:var(--clay)}
.foot-bottom{display:flex; justify-content:space-between; padding-top:30px; font-family:var(--mono); font-size:11px; color:#7d7568; flex-wrap:wrap; gap:16px}

/* the giant footer wordmark */
.foot-mark{
  font-family:var(--serif); font-style:italic; font-weight:300;
  font-size:clamp(120px, 22vw, 320px); line-height:.85; letter-spacing:-.04em;
  color:#1f1c17; margin-top:60px; user-select:none; pointer-events:none;
  white-space:nowrap; overflow:hidden;
}

/* ---------- Utility: offset entrance for sections ---------- */
.fade-up{opacity:0; transform:translateY(18px); transition:opacity .8s ease, transform .8s ease}
.fade-up.in{opacity:1; transform:none}

/* ---------- Decorative numbers ---------- */
.deco-num{
  position:absolute; right:32px; top:50px;
  font-family:var(--serif); font-style:italic; font-weight:300;
  font-size:140px; line-height:1; color:#15130f12;
  pointer-events:none;
}

/* day-shift snapshot grid */
.bottom-numbers{display:grid; grid-template-columns:1fr 1fr; gap:60px}
.day-shift-feed{display:grid; gap:10px}
@media (max-width:880px){.bottom-numbers{grid-template-columns:1fr; gap:40px}}

/* ---------- Inline icon helpers ---------- */
.ic svg{width:20px; height:20px}
