/* ============ NEXGEN — SOFTWARE · SYSTEMS · AUTOMATION ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050a12;
  --bg-2: #0a1220;
  --bg-3: #101c2e;
  --surface: #0e1a2b;
  --surface-2: #142236;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-bright: rgba(255, 255, 255, 0.05);
  --teal: #00c894;
  --teal-bright: #00e0a7;
  --teal-neon: #4dffcb;
  --teal-deep: #009e78;
  --teal-glow: rgba(0, 224, 167, 0.35);
  --white: #ffffff;
  --text: #e8eef5;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.12);
  --border-teal: rgba(0, 224, 167, 0.25);
  --display: 'Bricolage Grotesque', 'Inter', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--body); background: var(--bg); color: var(--text);
  line-height: 1.55; overflow-x: hidden; min-height: 100vh;
  background-image: radial-gradient(ellipse 90% 44% at 50% -8%, rgba(0, 224, 167, 0.055), transparent 72%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); position: relative; z-index: 5; }
section { padding: clamp(80px, 10vw, 140px) 0; position: relative; z-index: 5; }
section.tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--teal-bright); }
.eyebrow.no-line::before { display: none; }

.section-title { font-size: clamp(38px, 5.5vw, 72px); margin-bottom: 22px; letter-spacing: -0.035em; line-height: 1.02; }
.section-title em { font-style: italic; font-weight: 500; background: linear-gradient(135deg, var(--teal-neon), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { font-size: clamp(16px, 1.25vw, 18px); color: var(--text-dim); max-width: 680px; line-height: 1.65; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 0 auto; }
.section-header.left { text-align: left; }
.section-header.left .section-subtitle { margin: 0; }

/* NAV */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 20px;
  background: rgba(10, 18, 32, 0.78); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-bright); border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4); max-width: calc(100% - 32px);
}
.nav-logo { display: inline-flex; align-items: center; font-size: 20px; margin-right: 22px; line-height: 1; }
.wordmark-dot { color: var(--teal-bright); }
/* Brand lockup: the geometric N IS the first letter of the wordmark */
.brand-lockup { display: inline-flex; align-items: center; text-decoration: none; }
.brand-glyph { height: 1.02em; width: auto; display: block; flex-shrink: 0; }
.brand-word { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; color: var(--white); margin-left: -0.04em; }
.brand-word .wordmark-dot { color: var(--teal-bright); }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--text-dim); padding: 9px 12px; border-radius: 100px; transition: all 0.2s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta { background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: var(--bg); padding: 10px 18px; border-radius: 100px; font-size: 13.5px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; box-shadow: 0 6px 16px rgba(0, 224, 167, 0.3), inset 0 1px 0 rgba(255,255,255,0.3); transition: transform 0.2s ease, box-shadow 0.2s ease; letter-spacing: -0.005em; white-space: nowrap; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 224, 167, 0.4), inset 0 1px 0 rgba(255,255,255,0.3); }
.nav-mobile-toggle { display: none; background: rgba(255,255,255,0.05); border: 1px solid var(--border-bright); width: 40px; height: 40px; border-radius: 100px; align-items: center; justify-content: center; color: var(--white); margin-left: 8px; }
.nav-mobile-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1180px) { .nav-links a { padding: 9px 10px; font-size: 13px; } .nav-logo { margin-right: 12px; }}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav { padding: 6px 6px 6px 16px; }}
@media (max-width: 560px) {
  .nav-cta span.cta-label { display: none; }
  .nav-cta { padding: 10px 12px; margin-left: 4px; }
  .nav { padding: 6px 6px 6px 14px; gap: 2px; }
  .nav-logo { font-size: 17px; margin-right: 8px; }
  .mobile-menu { padding: 84px 20px 28px; }
  .mobile-menu a:not(.mobile-menu-cta) { font-size: 24px; }}

/* MOBILE MENU */
.mobile-menu { position: fixed; inset: 0; background: rgba(5, 10, 18, 0.98); backdrop-filter: blur(30px); z-index: 99; display: flex; flex-direction: column; padding: 90px 24px 32px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.mobile-menu-cta) { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--white); padding: 14px 0; border-bottom: 1px solid var(--border); letter-spacing: -0.02em; }
.mobile-menu a:not(.mobile-menu-cta):hover { color: var(--teal-bright); }
.mobile-menu-cta { margin-top: 28px; font-size: 15px; justify-content: center; width: 100%; padding: 18px 24px; border-bottom: none; }
.mobile-menu-brand { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 22px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.mobile-menu-name { font-size: 26px; line-height: 1; }
.mobile-menu-tag { font-size: 13px; color: var(--text-dim); line-height: 1.45; margin-top: 8px; max-width: 260px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 100px; font-size: 14.5px; font-weight: 700; letter-spacing: -0.005em; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; white-space: nowrap; font-family: var(--body); line-height: 1; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%); color: var(--bg); box-shadow: 0 12px 30px rgba(0, 224, 167, 0.32), 0 0 60px rgba(0, 224, 167, 0.18), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 224, 167, 0.5), 0 0 80px rgba(0, 224, 167, 0.35), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--white); border: 1px solid var(--border-bright); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-large { padding: 20px 34px; font-size: 15px; font-weight: 800; }

/* HERO */
.hero { min-height: auto; padding: 126px 0 96px; display: flex; align-items: center; position: relative; }
.hero-spotlight { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(0, 224, 167, 0.14), transparent 70%); pointer-events: none; }
.hero-content { max-width: 1100px; margin: 0 auto; position: relative; z-index: 5; text-align: center; }
.hero h1 { font-size: clamp(40px, 5.9vw, 82px); font-weight: 700; line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 22px; color: var(--white); }
.hero h1 .grad { background: linear-gradient(135deg, var(--teal-neon) 0%, var(--teal) 55%, var(--teal-deep) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; }
.hero p.lede { font-size: clamp(16px, 1.2vw, 18px); color: var(--text-dim); max-width: 680px; margin: 0 auto 32px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 0; }


/* HERO SUPPORT ROW */
.hero-support-row { margin-top: 90px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.hero-support-item strong { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: -0.01em; }
.hero-support-item span { font-size: 12.5px; color: var(--text-dim); }
@media (max-width: 720px) { .hero-support-row { grid-template-columns: repeat(2, 1fr); }}

/* TRUST LINE */
.trust-line { padding: 32px 0; text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.25); font-size: 13.5px; color: var(--text-dim); font-weight: 500; letter-spacing: 0.02em; }
.trust-line strong { color: var(--white); font-weight: 700; }

/* PILLARS */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { position: relative; padding: 40px 34px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 28px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; display: flex; flex-direction: column; }
.pillar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(0, 224, 167, 0.1), transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.pillar:hover { transform: translateY(-4px); border-color: var(--border-teal); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 60px rgba(0, 224, 167, 0.08); }
.pillar:hover::before { opacity: 1; }
.pillar.primary { border-color: rgba(0, 224, 167, 0.3); background: linear-gradient(180deg, rgba(0, 224, 167, 0.06), rgba(0, 224, 167, 0.01)); }
.pillar.primary::before { opacity: 1; background: radial-gradient(circle at top right, rgba(0, 224, 167, 0.14), transparent 60%); }
.pillar-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--teal-bright); margin-bottom: 18px; }
.pillar-tag.primary::after { content: 'Primary service'; margin-left: 6px; padding: 2px 8px; background: var(--teal-bright); color: var(--bg); border-radius: 100px; font-size: 9.5px; letter-spacing: 0.08em; }
.pillar-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, rgba(0, 224, 167, 0.2), rgba(0, 224, 167, 0.05)); border: 1px solid var(--border-teal); display: flex; align-items: center; justify-content: center; color: var(--teal-bright); margin-bottom: 22px; flex-shrink: 0; }
.pillar-title { font-family: var(--display); font-size: clamp(23px, 2.1vw, 30px); font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: -0.025em; line-height: 1.1; }
.pillar-desc { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; margin-bottom: 24px; }
.pillar-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--teal-bright); font-size: 13.5px; font-weight: 600; padding-top: 20px; border-top: 1px solid var(--border); transition: gap 0.3s ease; }
.pillar:hover .pillar-cta { gap: 12px; }
@media (max-width: 1000px) { .pillars-grid { grid-template-columns: 1fr; }}

/* PRODUCTS */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product { padding: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 28px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.product::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(0, 224, 167, 0.08), transparent 60%); opacity: 0; transition: opacity 0.4s ease; }
.product:hover { transform: translateY(-4px); border-color: var(--border-teal); }
.product:hover::before { opacity: 1; }
.product-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 20px; position: relative; z-index: 2; }
.product-logo { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--white); flex-shrink: 0; }
.product-logo.shiftly { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); color: var(--white); box-shadow: 0 0 24px rgba(0, 200, 148, 0.35); }
.product-logo.lead { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.product-logo.ai { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); color: var(--bg); }
.product-logo.reporting { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: var(--bg); }
.product-info { flex: 1; }
.product-name { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-tag { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.product-desc { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; margin-bottom: 22px; position: relative; z-index: 2; }
.product:hover .product-cta { gap: 12px; }
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr; }}

/* BUILD vs IMPLEMENT */
.build-implement { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.bi-card { padding: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 28px; }
.bi-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--teal-bright); font-weight: 700; margin-bottom: 14px; }
.bi-title { font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: -0.025em; line-height: 1.1; }
.bi-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bi-list li { display: flex; gap: 12px; font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.bi-list li svg { color: var(--teal-bright); flex-shrink: 0; margin-top: 3px; }
.bi-closing { text-align: center; margin-top: 40px; padding: 24px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 20px; font-size: 15.5px; color: var(--text); }
.bi-closing strong { color: var(--white); font-weight: 700; }
@media (max-width: 900px) { .build-implement { grid-template-columns: 1fr; }}

/* HOW WE WORK */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-step { padding: 32px 28px; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 22px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.process-step::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(0, 224, 167, 0.08), transparent 60%); opacity: 0; transition: opacity 0.4s ease; }
.process-step:hover { transform: translateY(-4px); border-color: var(--border-teal); }
.process-step:hover::before { opacity: 1; }
.process-num { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(180deg, var(--teal-bright), rgba(0, 224, 167, 0.2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; position: relative; z-index: 2; }
.process-num::after { content: ''; display: block; width: 26px; height: 2px; background: var(--teal-bright); margin-top: 6px; border-radius: 2px; }
.process-title { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -0.02em; position: relative; z-index: 2; }
.process-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; position: relative; z-index: 2; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; }}

/* ENGAGEMENT MODELS */
.engagement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.engagement-card { padding: 28px 26px; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 22px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.engagement-card:hover { transform: translateY(-4px); border-color: var(--border-teal); }
.engagement-title { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -0.015em; line-height: 1.2; }
.engagement-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; }
@media (max-width: 1000px) { .engagement-grid { grid-template-columns: repeat(2, 1fr); }}
@media (max-width: 700px) {
  .engagement-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .engagement-card { padding: 20px 16px; }
  .engagement-title { font-size: 15px; }}

/* WHY NEXGEN */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.why-card { padding: 26px 22px; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 22px; transition: all 0.35s ease; }
.why-card:hover { border-color: var(--border-teal); transform: translateY(-3px); }
.why-icon { width: 40px; height: 40px; border-radius: 11px; background: rgba(0, 224, 167, 0.12); color: var(--teal-bright); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid var(--border-teal); }
.why-title { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -0.015em; line-height: 1.2; }
.why-desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); }}
@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-card { padding: 20px 16px; }
  .why-title { font-size: 15px; }}

/* CTA */
.cta-section { padding: 80px 0 110px; }
.cta-card { position: relative; padding: clamp(56px, 8vw, 100px) clamp(32px, 6vw, 72px); border-radius: 40px; text-align: center; overflow: hidden; background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(0, 224, 167, 0.2), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-teal); box-shadow: 0 50px 120px rgba(0, 224, 167, 0.14), 0 0 200px rgba(0, 224, 167, 0.08); }
.cta-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 224, 167, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 224, 167, 0.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; }
.cta-card h2 { font-size: clamp(38px, 6vw, 76px); margin-bottom: 22px; letter-spacing: -0.035em; line-height: 1.02; }
.cta-card h2 .grad { background: linear-gradient(135deg, var(--teal-neon), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-card p { font-size: clamp(15.5px, 1.3vw, 18px); color: var(--text-dim); max-width: 640px; margin: 0 auto 36px; line-height: 1.6; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { padding: 70px 0 36px; border-top: 1px solid var(--border); position: relative; z-index: 5; background: rgba(0,0,0,0.4); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer-logo { display: inline-flex; align-items: center; font-size: 26px; margin-bottom: 14px; line-height: 1; }
.footer-tagline { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--white); line-height: 1.3; letter-spacing: -0.015em; margin-top: -6px; margin-bottom: 14px; max-width: 320px; }
.footer-descriptor { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; color: var(--teal-bright); margin-bottom: 20px; font-weight: 600; text-transform: uppercase; }
.footer-text { font-size: 13.5px; color: var(--text-dim); line-height: 1.65; max-width: 340px; margin-bottom: 22px; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--white); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { font-size: 13.5px; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; gap: 14px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }}

/* AI CHAT WIDGET */
.ai-chat-toggle { position: fixed; bottom: 28px; right: 28px; z-index: 95; background: linear-gradient(135deg, var(--teal-bright), var(--teal)); width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(0, 224, 167, 0.5), inset 0 1px 0 rgba(255,255,255,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; color: var(--bg); border: none; cursor: pointer; }
.ai-chat-toggle:hover { transform: scale(1.06); box-shadow: 0 16px 50px rgba(0, 224, 167, 0.6), inset 0 1px 0 rgba(255,255,255,0.3); }
.ai-chat-toggle .chat-dot { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; background: var(--teal-neon); border: 2px solid var(--bg); border-radius: 50%; box-shadow: 0 0 8px var(--teal-neon); }
.ai-chat-toggle.open { transform: scale(0.9); }

.ai-chat-panel { position: fixed; bottom: 108px; right: 28px; z-index: 95; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 140px); background: linear-gradient(180deg, rgba(15, 30, 53, 0.97), rgba(10, 18, 32, 0.97)); border: 1px solid var(--border-bright); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 100px rgba(0, 224, 167, 0.14); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: none; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(0.96); opacity: 0; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; }
.ai-chat-panel.open { display: flex; transform: translateY(0) scale(1); opacity: 1; }
.ai-chat-header { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(0,0,0,0.2); flex-shrink: 0; }
.ai-chat-title { display: flex; align-items: center; gap: 12px; }
.ai-chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--teal-bright)); display: flex; align-items: center; justify-content: center; color: var(--bg); font-family: var(--display); font-weight: 800; font-size: 16px; box-shadow: 0 0 16px var(--teal-glow); flex-shrink: 0; }
.ai-chat-name { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; line-height: 1.1; }
.ai-chat-status { font-size: 11px; color: var(--teal-bright); display: flex; align-items: center; gap: 6px; margin-top: 3px; font-weight: 500; }
.ai-chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); }
.ai-chat-close { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-dim); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; }
.ai-chat-close:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.ai-chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.ai-chat-body::-webkit-scrollbar { width: 6px; }
.ai-chat-body::-webkit-scrollbar-track { background: transparent; }
.ai-chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 100px; }
.ai-msg { max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; animation: msgIn 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.ai-msg.bot { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border); border-radius: 16px 16px 16px 4px; align-self: flex-start; }
.ai-msg.bot strong { color: var(--teal-bright); font-weight: 700; }
.ai-msg.bot a { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 2px; }
.ai-msg.user { background: linear-gradient(135deg, rgba(0, 224, 167, 0.16), rgba(0, 224, 167, 0.08)); color: var(--white); border: 1px solid var(--border-teal); border-radius: 16px 16px 4px 16px; align-self: flex-end; }
.ai-msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; align-self: flex-start; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 16px 16px 16px 4px; }
.ai-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); animation: typingDots 1.4s ease infinite; }
.ai-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDots { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.ai-chat-quick { padding: 0 20px 12px; display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0; }
.ai-quick-btn { font-size: 12px; font-weight: 500; padding: 8px 12px; background: rgba(0, 224, 167, 0.08); border: 1px solid var(--border-teal); color: var(--teal-bright); border-radius: 100px; cursor: pointer; transition: all 0.2s ease; font-family: inherit; line-height: 1.2; }
.ai-quick-btn:hover { background: rgba(0, 224, 167, 0.15); border-color: rgba(0, 224, 167, 0.4); transform: translateY(-1px); }
.ai-chat-input { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--border); background: rgba(0,0,0,0.2); flex-shrink: 0; }
.ai-chat-input input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); padding: 12px 16px; border-radius: 100px; font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s ease; }
.ai-chat-input input:focus { border-color: rgba(0, 224, 167, 0.5); background: rgba(255,255,255,0.06); }
.ai-chat-input input::placeholder { color: var(--text-muted); }
.ai-chat-input button { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: var(--bg); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; flex-shrink: 0; transition: transform 0.2s ease; }
.ai-chat-input button:hover { transform: scale(1.05); }
@media (max-width: 500px) {
  .ai-chat-panel { right: 16px; left: 16px; width: auto; bottom: 96px; }
  .ai-chat-toggle { bottom: 20px; right: 20px; width: 56px; height: 56px; }}

/* FADE + 3D */
@media (max-width: 700px) {
  section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .hero-support-row { margin-top: 56px; }
}
.fade { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1); }
.fade.in { opacity: 1; transform: translateY(0); }


.section-title em { text-shadow: 0 1px 0 rgba(0, 224, 167, 0.15), 0 12px 40px rgba(0, 224, 167, 0.1); }

@media (max-width: 900px) {
  .pillar:hover, .product:hover { transform: translateY(-4px) !important; }}
/* ============ PHASE 2: SHARED PAGE FURNITURE ============ */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:0;z-index:200;background:var(--teal-bright);color:var(--bg);padding:12px 20px;border-radius:0 0 10px 0;font-weight:700;font-size:14px}
.skip-link:focus{left:0}
:focus-visible{outline:2px solid var(--teal-bright);outline-offset:3px;border-radius:4px}
.nav-links a.is-active{color:var(--white);background:rgba(255,255,255,.07)}

/* interior page hero */
.page-hero{padding:150px 0 clamp(48px,6vw,80px);position:relative;z-index:5}
.page-hero h1{font-size:clamp(36px,5.4vw,68px);color:var(--white);letter-spacing:-.035em;line-height:1.03;margin-bottom:20px;max-width:16ch;text-wrap:balance}
.page-hero-lede{font-size:clamp(16px,1.35vw,19px);color:var(--text-dim);line-height:1.65;max-width:60ch;margin-bottom:32px}
.page-hero-ctas{display:flex;gap:12px;flex-wrap:wrap}

/* generic content blocks */
.lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
@media(max-width:900px){.lead-grid{grid-template-columns:1fr;gap:36px}}
.checklist{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.checklist.one-col{grid-template-columns:1fr}
.checklist li{display:flex;gap:11px;align-items:flex-start;font-size:14.5px;color:var(--text);line-height:1.5;padding:13px 15px;background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:12px}
.checklist li::before{content:"";flex-shrink:0;width:16px;height:16px;margin-top:2px;border-radius:50%;background:rgba(0,224,167,.12);border:1px solid var(--border-teal);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e0a7' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");background-size:9px;background-position:center;background-repeat:no-repeat}
@media(max-width:700px){.checklist{grid-template-columns:1fr}}
.prose{font-size:16px;color:var(--text-dim);line-height:1.75;max-width:66ch}
.prose p{margin-bottom:18px}
.prose strong{color:var(--white);font-weight:600}
.note-card{padding:22px 24px;border:1px solid var(--border-teal);background:rgba(0,224,167,.04);border-radius:16px;font-size:14.5px;color:var(--text);line-height:1.6}
.note-card strong{color:var(--teal-bright)}

/* draft banner */
.draft-banner{position:sticky;top:0;z-index:150;background:#fbbf24;color:#1a1200;text-align:center;padding:11px 18px;font-size:13.5px;font-weight:700;letter-spacing:.01em}
.draft-banner a{text-decoration:underline}
@keyframes stepIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:600px){.opt-grid{grid-template-columns:1fr}}
@media(max-width:600px){.field-row{grid-template-columns:1fr}}

/* chat disclaimer */
.ai-chat-disclaimer{margin:0;padding:11px 20px;font-size:12.5px;line-height:1.5;color:var(--text-muted);background:rgba(0,0,0,.28);border-bottom:1px solid var(--border);flex-shrink:0}
.ai-chat-disclaimer a{color:var(--teal-bright);text-decoration:underline}
.ai-chat-avatar img{width:70%;height:70%;object-fit:contain}
.ai-chat-avatar{background:#fff!important}

/* 404 */
.err-wrap{min-height:76vh;display:flex;align-items:center;text-align:center}
.err-code{font-family:var(--display);font-size:clamp(80px,15vw,170px);font-weight:700;line-height:1;letter-spacing:-.05em;background:linear-gradient(180deg,var(--white),var(--teal));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:14px}

/* ============ FAQ (accordion) ============ */
.faq-list{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:rgba(255,255,255,.025);border:1px solid var(--border);border-radius:18px;overflow:hidden;transition:border-color .3s ease,background .3s ease}
.faq-item[open]{border-color:var(--border-teal);background:rgba(0,224,167,.03)}
.faq-item summary{list-style:none;cursor:pointer;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-family:var(--display);font-size:clamp(16px,1.5vw,19px);font-weight:600;color:var(--white);letter-spacing:-.01em;line-height:1.35}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::marker{content:""}
.faq-item summary:hover{color:var(--teal-bright)}
.faq-icon{width:26px;height:26px;border-radius:50%;background:rgba(0,224,167,.12);border:1px solid var(--border-teal);display:flex;align-items:center;justify-content:center;color:var(--teal-bright);flex-shrink:0;transition:transform .3s ease}
.faq-item[open] .faq-icon{transform:rotate(45deg)}
.faq-item p{padding:0 26px 24px;font-size:14.5px;color:var(--text-dim);line-height:1.7;margin:0}
@media(max-width:700px){
  .faq-item summary{padding:18px 20px;font-size:16px}
  .faq-item p{padding:0 20px 20px;font-size:14px}
}

/* compact process list (homepage preview) */
.process-compact{list-style:none;max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:8px;counter-reset:none}
.process-compact li{display:flex;align-items:flex-start;gap:14px;padding:16px 20px;background:rgba(255,255,255,.028);border:1px solid var(--border);border-radius:14px;font-size:14.5px;color:var(--text-dim);line-height:1.5;transition:border-color .3s ease,background .3s ease}
.process-compact li:hover{border-color:var(--border-teal);background:rgba(0,224,167,.035)}
.process-compact li span{font-family:var(--mono);font-size:12px;color:var(--teal-bright);flex-shrink:0;padding-top:2px;letter-spacing:.04em}
.process-compact li strong{color:var(--white);font-weight:600}
@media(max-width:700px){.process-compact li{padding:14px 16px;font-size:14px;gap:11px}}

/* ═══════════════════════════════════════════════════════════════════
   MOTION SYSTEM
   Movement explains that we build and connect business systems.
   It runs once, then stops. Nothing loops decoratively.
   ═══════════════════════════════════════════════════════════════════ */

:root{
  --t-quick: 200ms;     /* hover / press          */
  --t-base:  340ms;     /* standard transition    */
  --t-reveal:580ms;     /* section reveal         */
  --ease:    cubic-bezier(.22,.61,.36,1);   /* restrained ease-out */
  --rise:    14px;      /* reveal travel distance */
}

/* Without JS nothing is hidden: the .js class is set before first paint. */
.js .reveal{ opacity:0; transform:translate3d(0,var(--rise),0); }
.reveal{ transition:opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); will-change:opacity,transform; }
.reveal.is-in{ opacity:1; transform:none; }
.reveal.is-in{ will-change:auto; }

/* ── page-load sequence ─────────────────────────────────────────── */
.js .lead-step{ opacity:0; transform:translate3d(0,16px,0); }
.lead-step{ transition:opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.is-loaded .lead-step{ opacity:1; transform:none; }
.is-loaded .lead-step.s1{ transition-delay:  60ms; }   /* eyebrow   */
.is-loaded .lead-step.s2{ transition-delay: 140ms; }   /* headline  */
.is-loaded .lead-step.s3{ transition-delay: 220ms; }   /* copy      */
.is-loaded .lead-step.s4{ transition-delay: 300ms; }   /* CTAs      */
.is-loaded .lead-step.s5{ transition-delay: 380ms; }   /* meta row  */

.js .nav{ opacity:0; transform:translate3d(-50%,-6px,0); }
.nav{ transition:opacity 360ms var(--ease), transform 360ms var(--ease),
      background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.is-loaded .nav{ opacity:1; transform:translate3d(-50%,0,0); }

/* nav firms up once you leave the top of the page */
.nav.is-scrolled{ background:rgba(7,13,22,.93); border-color:rgba(255,255,255,.16); box-shadow:0 12px 34px rgba(0,0,0,.5); }
.nav-links a{ position:relative; }
.nav-links a::after{
  content:''; position:absolute; left:14px; right:14px; bottom:4px; height:1.5px; border-radius:2px;
  background:var(--teal-bright); transform:scaleX(0); transform-origin:left;
  transition:transform 260ms var(--ease);
}
.nav-links a.is-active::after{ transform:scaleX(1); }
.nav-links a.is-active{ color:var(--white); background:transparent; }
.nav-logo{ transition:none; }           /* logo never moves */
.nav-logo:hover{ transform:none; }

/* ── interaction: restrained ────────────────────────────────────── */
.pillar, .product, .why-card, .engagement-card, .process-step, .faq-item{
  transition:transform var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), background var(--t-quick) var(--ease);
}
.pillar:hover, .product:hover, .why-card:hover, .engagement-card:hover, .process-step:hover{
  transform:translate3d(0,-2px,0);
  border-color:rgba(0,224,167,.34);
  box-shadow:none;
  background:rgba(255,255,255,.045);
}
.pillar.primary:hover{ background:rgba(0,224,167,.075); }

.btn{ transition:background var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease); }
.btn svg{ transition:transform var(--t-quick) var(--ease); }
.btn:hover svg{ transform:translateX(3px); }
.btn-primary:hover{ transform:none; box-shadow:0 6px 18px rgba(0,224,167,.26); }
.btn-ghost:hover{ transform:none; background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.26); }
.nav-cta{ transition:background var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease); box-shadow:none; }
.nav-cta:hover{ transform:none; box-shadow:0 4px 14px rgba(0,224,167,.28); }
.nav-cta svg{ transition:transform var(--t-quick) var(--ease); }
.nav-cta:hover svg{ transform:translateX(3px); }
.pillar-cta svg{ transition:transform var(--t-quick) var(--ease); }
.pillar:hover .pillar-cta svg,.product:hover .product-cta svg{ transform:translateX(4px); }
.pillar:hover .pillar-cta,.product:hover .product-cta{ gap:8px; }

/* ── FAQ: smooth height, rotating marker, no bounce ─────────────── */
.faq-item summary{ transition:color var(--t-quick) var(--ease); }
.faq-icon{ transition:transform var(--t-base) var(--ease); }
.faq-item[open] .faq-icon{ transform:rotate(45deg); }
.faq-panel{ overflow:hidden; will-change:height; }
.faq-item p{ transition:opacity var(--t-base) var(--ease); }

/* ── process: one thin progress line ────────────────────────────── */
.process-compact{ position:relative; padding-left:26px; }
.process-compact::before{
  content:''; position:absolute; left:9px; top:14px; bottom:14px; width:1.5px; border-radius:2px;
  background:rgba(255,255,255,.09);
}
.process-compact::after{
  content:''; position:absolute; left:9px; top:14px; width:1.5px; border-radius:2px;
  height:calc((100% - 28px) * var(--progress,0));
  background:linear-gradient(180deg,var(--teal-bright),var(--teal));
  transition:height 120ms linear;
}
.process-compact li{ position:relative; }
.process-compact li::before{
  content:''; position:absolute; left:-22px; top:22px; width:7px; height:7px; border-radius:50%;
  background:var(--bg-2); border:1.5px solid rgba(255,255,255,.18);
  transition:border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.process-compact li.is-current::before{ border-color:var(--teal-bright); background:var(--teal-bright); }
.process-compact li.is-current{ border-color:rgba(0,224,167,.28); background:rgba(0,224,167,.04); }
@media(max-width:700px){ .process-compact{ padding-left:22px; } .process-compact li::before{ left:-19px; top:19px; } }

.btn-ghost{ backdrop-filter:none; -webkit-backdrop-filter:none; }

/* ── accessibility & resilience ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important; animation-iteration-count:1 !important;
    animation-delay:0ms !important; animation-play-state:paused !important;
    transition-duration:.001ms !important; transition-delay:0ms !important; scroll-behavior:auto !important;
  }
  .js .reveal,.js .lead-step,.js .nav{ opacity:1 !important; transform:none !important; }
  .process-compact::after{ height:calc(100% - 28px) !important; }
}

/* phones: reveals stay, the hero build does not */
@media (max-width:760px){
  :root{ --rise:10px; --t-reveal:500ms; }
}

/* ═══════════════════════════════════════════════════════════════════
   EDITORIAL REFINEMENT
   Hierarchy from spacing and type, not a border around everything.
   ═══════════════════════════════════════════════════════════════════ */

/* checklists read as lists, not rows of pills */
.checklist{ gap:0 42px; }
.checklist li{
  background:none; border:0; border-radius:0;
  padding:11px 0; border-bottom:1px solid rgba(255,255,255,.055);
  font-size:15px; color:var(--text);
}
.checklist li::before{
  background:none; border:0; width:14px; height:14px; margin-top:4px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e0a7' stroke-width='2.6'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size:13px; background-position:center; background-repeat:no-repeat;
}
@media(max-width:700px){ .checklist li{ font-size:14.5px; } }

/* differentiators become an editorial column, not six boxes */
.why-grid{ grid-template-columns:repeat(3,1fr); gap:2px 48px; }
.why-card{
  background:none; border:0; border-radius:0;
  border-left:1.5px solid rgba(255,255,255,.10);
  padding:2px 0 26px 22px; margin-bottom:10px;
  transition:border-color var(--t-base) var(--ease);
}
.why-card:hover{ transform:none; background:none; border-color:transparent; border-left-color:var(--teal-bright); }
.why-icon{ display:none; }
.why-title{ font-size:17px; margin-bottom:7px; }
.why-desc{ font-size:13.5px; max-width:34ch; }
@media(max-width:900px){ .why-grid{ grid-template-columns:1fr 1fr; gap:2px 32px; } }
@media(max-width:620px){ .why-grid{ grid-template-columns:1fr; } .why-card{ padding-bottom:20px; } }

/* asymmetry: text column narrower than the visual it sits beside */
.lead-grid{ grid-template-columns:5fr 7fr; gap:clamp(36px,6vw,88px); }
.lead-grid.flip{ grid-template-columns:7fr 5fr; }
@media(max-width:900px){ .lead-grid,.lead-grid.flip{ grid-template-columns:1fr; } }

/* left-aligned headers get a measured column rather than dead-centre everything */
.section-header.left{ text-align:left; max-width:none; }
.section-header.left .section-title{ max-width:15ch; }
.section-header.left .section-subtitle{ margin:0; max-width:54ch; }

/* engagement + process cards: lighter chrome */
.engagement-card,.process-step{ background:rgba(255,255,255,.022); border-color:rgba(255,255,255,.055); }

/* the eyebrow is a quiet label, not a shout */
.eyebrow{ font-size:11.5px; letter-spacing:.14em; font-weight:600; color:var(--teal-bright); opacity:.92; margin-bottom:18px; }
.eyebrow::before{ width:18px; opacity:.6; }

/* one accent, used sparingly */
.hero-spotlight{ background:radial-gradient(ellipse 52% 44% at 50% 26%, rgba(0,224,167,.10), transparent 70%); }
.cta-card{ box-shadow:0 30px 80px rgba(0,0,0,.34); }

/* ── each page composes differently, from the same system ───────── */
.page-hero.pg-build h1,
.page-hero.pg-process h1{ max-width:19ch; }
.page-hero.pg-ai{ text-align:center; }
.page-hero.pg-ai h1,.page-hero.pg-ai .page-hero-lede{ margin-left:auto; margin-right:auto; }
.page-hero.pg-ai h1{ max-width:17ch; }
.page-hero.pg-ai .page-hero-ctas{ justify-content:center; }
.page-hero.pg-compare h1{ max-width:18ch; }
.page-hero.pg-compare .page-hero-lede{ max-width:50ch; }
.page-hero.pg-about{ padding-bottom:20px; }
.page-hero.pg-about h1{ max-width:13ch; font-size:clamp(38px,6vw,76px); }
.page-hero.pg-about .page-hero-lede{ font-size:clamp(18px,1.7vw,23px); color:var(--text); max-width:46ch; line-height:1.55; }
.page-hero.pg-contact h1{ max-width:15ch; }

.hero-kicker{
  font-family:var(--mono); font-size:13px; color:var(--text-dim);
  margin-bottom:18px; display:flex; align-items:center; gap:10px;
}
.hero-kicker span{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:7px;
  background:rgba(0,224,167,.12); color:var(--teal-bright); font-weight:600;
}
.hero-chips{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.hero-chips li{
  font-size:13px; color:var(--text-dim); padding:7px 14px; border-radius:100px;
  border:1px solid rgba(255,255,255,.09);
}
@media(max-width:700px){ .hero-chips{ gap:6px; } .hero-chips li{ font-size:12.5px; padding:6px 12px; } }

/* chat notification dot: a static marker, never a pulse */
.ai-chat-toggle .chat-dot{ transition:opacity var(--t-base) var(--ease); }
.ai-chat-toggle .chat-dot.is-unread{ opacity:1; }
.band-light .section-title{ color:#0d1520; }
.band-light .section-title em{
  background:linear-gradient(135deg,#049e77,#0c7d63);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  text-shadow:none;
}
.band-light .section-subtitle,.band-light .prose{ color:#4a5765; }
.band-light .eyebrow{ color:#0b7d5e; }
.band-light .eyebrow::before{ background:#0b7d5e; }
.band-light .prose strong{ color:#0d1520; }

/* text-only project blocks: name and framing left{
  display:grid; grid-template-columns:5fr 7fr;
  gap:clamp(30px,5vw,72px); align-items:start;
}
@media(max-width:900px){
  .work-text{ grid-template-columns:1fr; gap:26px; }
  .work-head .work-meta{ margin-top:18px; }
}



/* services pulled back now that the work leads */
.services-quiet .pillar{ padding:30px 28px; min-height:0; }
.services-quiet .pillar-title{ font-size:clamp(20px,1.9vw,25px); }
.services-quiet .pillar-desc{ font-size:14px; margin-bottom:18px; }
.services-quiet .pillar-icon{ width:40px; height:40px; border-radius:11px; margin-bottom:16px; }
.services-quiet .pillar-icon svg{ width:19px; height:19px; }
.services-quiet .pillar-examples{ display:none; }


@media (max-width:1000px){ .nav-links a{ padding:9px 10px; font-size:12.5px; }}
/* ═══════════════════════════════════════════════════════════════════
   REFINEMENT — composition, the system figure, evidence
   ═══════════════════════════════════════════════════════════════════ */

:root{
}

/* ── hero: asymmetric, copy left / figure right ─────────────────── */
.hero{ padding:118px 0 84px; min-height:auto; }
.hero-grid{
  display:grid; grid-template-columns:1.02fr .98fr;
  gap:clamp(32px,4.4vw,74px); align-items:center;
}
.hero-content{ text-align:left; max-width:none; }
.hero-kicker{
  font-family:var(--mono); font-size:12.5px; letter-spacing:.11em; text-transform:uppercase;
  color:var(--teal-bright); margin:0 0 20px; display:flex; align-items:center; gap:10px;
  line-height:1.55;
}
.hero-kicker::before{ content:""; width:26px; height:1px; background:var(--teal-bright); opacity:.6; flex:none; }
.hero h1{
  font-size:clamp(35px,4.4vw,60px); line-height:1.06; letter-spacing:-.032em; margin-bottom:20px;
}
.hero h1 .grad{ display:inline; }
.hero p.lede{ margin:0 0 30px; max-width:31em; font-size:clamp(15.5px,1.1vw,17px); }
.hero-ctas{ justify-content:flex-start; margin-bottom:0; }

.hero-figure{ margin:0; position:relative; }
.hero-figure figcaption{
  margin-top:6px; text-align:center;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.11em;
  text-transform:uppercase; color:var(--text-muted);
}
.sysfig{ display:block; width:100%; height:auto; overflow:visible; }

/* support row: a quiet index line, not four cards */
.hero-support-row{
  list-style:none; margin:clamp(46px,5vw,74px) 0 0; padding:26px 0 0;
  border-top:1px solid var(--border);
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px; max-width:none;
}
.hero-support-row{ text-align:left; }
.hero-support-item{ display:block; text-align:left; padding:0; border-top:0; }
.hero-support-item strong{ display:block; font-size:13.5px; font-weight:650; color:var(--white); letter-spacing:-.01em; }
.hero-support-item span{ display:block; font-size:12.5px; color:var(--text-muted); margin-top:3px; }

/* ── evidence: ruled, editorial, no cards ───────────────────────── */
.built{ padding:clamp(74px,8vw,116px) 0; }
.built-head{ max-width:640px; margin-bottom:clamp(38px,4.4vw,60px); }
.built-head .section-title{ margin-bottom:14px; }
.built-item{
  display:grid; grid-template-columns:minmax(190px,1fr) 2.4fr;
  gap:clamp(24px,4vw,64px);
  padding:clamp(30px,3.4vw,44px) 0;
  border-top:1px solid var(--border);
}
.built-item:last-child{ border-bottom:1px solid var(--border); }
.built-name h3{
  font-size:clamp(25px,2.5vw,34px); letter-spacing:-.028em; color:var(--white); margin:0 0 7px;
}
.built-role{
  font-family:var(--mono); font-size:11px; letter-spacing:.13em; text-transform:uppercase;
  color:var(--teal-bright); margin:0;
}
.built-dl{ margin:0; display:grid; gap:20px; }
.built-dl dt{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.13em; text-transform:uppercase;
  color:var(--text-muted); margin-bottom:6px;
}
.built-dl dd{ margin:0; font-size:15px; line-height:1.6; color:var(--text-dim); max-width:56ch; }

/* ── typography: less shouting, less green italic ───────────────── */
.section-title{ font-size:clamp(29px,3.5vw,46px); letter-spacing:-.03em; }
.section-title em{
  font-style:normal; color:var(--teal-bright);
  text-shadow:none;
}
.built-head .section-title em,.hero h1 .grad{ font-style:normal; }
.section-subtitle{ font-size:clamp(15px,1.15vw,17px); }
.eyebrow{ letter-spacing:.15em; }

@media(max-width:960px){
  .hero{ padding:104px 0 68px; }
  .hero-grid{ grid-template-columns:1fr; gap:34px; }
  .hero-figure{ max-width:340px; margin:4px auto 0; }
  .hero-support-row{ grid-template-columns:repeat(2,1fr); gap:18px; }
  .built-item{ grid-template-columns:1fr; gap:20px; }
}
@media(max-width:560px){
  .hero h1{ font-size:clamp(30px,8.4vw,38px); }
  .hero-figure{ max-width:260px; }
  .hero-support-row{ padding-top:22px; margin-top:38px; }
  .hero-support-row{ grid-template-columns:1fr 1fr; }
}

/* ── the figure assembles once, then holds still ────────────────────
   Planes rise, threads draw, seated components appear, and the four
   loose parts travel into their slots. Ends at 1760ms. Nothing loops. */
.js .sf-plane,.js .sf-node,.js .sf-loose,.js .sf-glow{ opacity:0; }
.js .sf-thread{ stroke-dasharray:200; stroke-dashoffset:200; }

.sf-glow{ transition:opacity 900ms var(--ease) 120ms; }
.is-loaded .sf-glow{ opacity:1; }

.sf-plane{
  transform:translateY(16px);
  transition:opacity 520ms var(--ease), transform 520ms var(--ease);
}
.is-loaded .sf-plane{ opacity:1; transform:none; }
.is-loaded .sf-plane.p1{ transition-delay:300ms; }
.is-loaded .sf-plane.p2{ transition-delay:400ms; }
.is-loaded .sf-plane.p3{ transition-delay:500ms; }

.sf-thread{ transition:stroke-dashoffset 620ms var(--ease); }
.is-loaded .sf-thread{ stroke-dashoffset:0; }
.is-loaded .sf-thread.t1{ transition-delay:660ms; }
.is-loaded .sf-thread.t2{ transition-delay:730ms; }
.is-loaded .sf-thread.t3{ transition-delay:800ms; }

.sf-node{ transform:scale(.6); transform-origin:center; transform-box:fill-box;
  transition:opacity 380ms var(--ease), transform 380ms var(--ease); }
.is-loaded .sf-node{ opacity:1; transform:none; }
.is-loaded .sf-node.n00,.is-loaded .sf-node.n01,.is-loaded .sf-node.n02{ transition-delay:840ms; }
.is-loaded .sf-node.n10,.is-loaded .sf-node.n11,.is-loaded .sf-node.n12{ transition-delay:900ms; }
.is-loaded .sf-node.n20,.is-loaded .sf-node.n21,.is-loaded .sf-node.n22{ transition-delay:960ms; }

/* the loose parts: the one idea the figure has to carry */
.sf-loose{
  transform:translate(var(--dx),var(--dy)) scale(.72);
  transform-origin:center; transform-box:fill-box;
  transition:opacity 420ms var(--ease), transform 680ms var(--ease);
}
.is-loaded .sf-loose{ opacity:.95; transform:none; }
.is-loaded .sf-loose.l1{ transition-delay:940ms; }
.is-loaded .sf-loose.l2{ transition-delay:1040ms; }
.is-loaded .sf-loose.l3{ transition-delay:1140ms; }
.is-loaded .sf-loose.l4{ transition-delay:1240ms; }

@media (prefers-reduced-motion: reduce){
  .js .sf-plane,.js .sf-node,.js .sf-loose,.js .sf-glow{
    opacity:1 !important; transform:none !important; transition:none !important;
  }
  .js .sf-thread{ stroke-dashoffset:0 !important; transition:none !important; }
}

/* ── founder ────────────────────────────────────────────────────── */
.founder-sec{ padding-top:clamp(18px,2vw,30px); }
.founder{ display:grid; grid-template-columns:300px 1fr; gap:clamp(30px,4.4vw,68px); align-items:start; }
.founder-portrait{ margin:0; }
.founder-portrait img{
  display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 26px 56px rgba(0,0,0,.46);
}
.founder-portrait figcaption{
  margin-top:12px; font-size:12.5px; color:var(--text-dim); letter-spacing:.01em;
}
.founder-body .eyebrow{ margin-bottom:14px; }
.founder-body .section-title{ margin-bottom:20px; }
.founder-body p{ font-size:15.5px; line-height:1.68; color:var(--text-dim); margin-bottom:16px; max-width:60ch; }
.founder-body p:last-child{ margin-bottom:0; }
@media(max-width:820px){
  .founder{ grid-template-columns:1fr; gap:26px; }
  .founder-portrait{ max-width:220px; }
}

/* ── services: flatter, structural, left-led ────────────────────── */
#services .section-header{ text-align:left; max-width:620px; margin-left:0; }
#services .section-header .eyebrow{ justify-content:flex-start; }
.pillars-grid{ gap:0; border-top:1px solid var(--border); }
.services-quiet .pillar{
  border-radius:0; border:0; border-right:1px solid var(--border);
  background:transparent; padding:34px 30px 30px;
  transition:background var(--t-base) var(--ease);
}
.services-quiet .pillar:last-child{ border-right:0; }
.services-quiet .pillar::before{ display:none; }
.services-quiet .pillar:hover{
  transform:none; box-shadow:none; border-color:var(--border);
  background:rgba(255,255,255,.025);
}
.services-quiet .pillar-icon{
  background:transparent; border:1px solid var(--border-teal);
  color:var(--teal-bright); border-radius:9px;
}
.services-quiet .pillar-title{ font-size:clamp(19px,1.7vw,23px); line-height:1.22; }

/* ── closing invitation ─────────────────────────────────────────── */
.cta-card h2{ font-size:clamp(28px,3.4vw,44px); letter-spacing:-.03em; }
.cta-card p{ font-size:clamp(15px,1.15vw,17px); max-width:44em; }
.cta-address{
  display:block; margin-top:16px;
  font-family:var(--mono); font-size:12.5px; letter-spacing:.05em; color:var(--text-muted);
}
.cta-address a{ color:var(--teal-bright); border-bottom:1px solid rgba(0,224,167,.3); }
.cta-address a:hover{ border-bottom-color:var(--teal-bright); }

@media(max-width:860px){
  .services-quiet .pillar{ border-right:0; border-bottom:1px solid var(--border); }
  .services-quiet .pillar:last-child{ border-bottom:0; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE STRUCTURE FIXES
   Found by reading the rendered pages at 390px, not by a passing test.
   ═══════════════════════════════════════════════════════════════════ */

/* 1. Footer never collapsed below two columns, so the brand column was
      123px wide and wrapped every two words on all eight pages. */
.footer-grid{ grid-template-columns:1.6fr repeat(3,minmax(0,1fr)); gap:44px 40px; }
@media (max-width:980px){
  .footer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:34px 28px; }
}
@media (max-width:700px){
  .footer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; margin-bottom:38px; }
  .footer-grid > :first-child{ grid-column:1 / -1; }      /* brand spans full width */
  .footer-tagline,.footer-text{ max-width:none; }
  .footer-text{ margin-bottom:6px; }
}

/* 2. Process steps: display:flex made the number, the label and the
      description three separate columns, squeezing every description. */
.process-compact li{ display:block; position:relative; padding-left:52px; }
.process-compact li span{
  position:absolute; left:20px; top:16px; padding-top:0;
}
@media(max-width:700px){
  .process-compact li{ padding-left:44px; }
  .process-compact li span{ left:16px; top:14px; }
}

/* 3. Hero support row was ragged (85/85/44/44px) because two labels wrap.
      A single ruled column reads as a deliberate index instead. */
@media (max-width:620px){
  .hero-support-row{ grid-template-columns:minmax(0,1fr); gap:0; margin-top:34px; padding-top:18px; }
  .hero-support-item{
    display:flex; align-items:baseline; justify-content:space-between; gap:16px;
    padding:11px 0; border-bottom:1px solid var(--border);
  }
  .hero-support-item:last-child{ border-bottom:0; }
  .hero-support-item strong{ font-size:13px; }
  .hero-support-item span{ margin-top:0; text-align:right; font-size:12px; flex:0 1 auto; }
}

/* 4. Hero figure was bisected by the fold with its caption stranded below.
      Tighter rhythm and a smaller figure bring the whole block into view. */
@media (max-width:620px){
  .hero{ padding:86px 0 26px; }
  .hero h1{ margin-bottom:14px; }
  .hero p.lede{ margin-bottom:22px; }
  .hero-figure{ max-width:224px; margin:0 auto; }
  .hero-figure figcaption{ margin-top:2px; font-size:9.5px; letter-spacing:.09em; }
  .hero-grid{ gap:26px; }
}

/* 5. The chat button sits over content; give the page room beneath it. */
@media (max-width:700px){
  .ai-chat-toggle{ width:50px; height:50px; }
  footer{ padding-bottom:86px; }
}


/* ═══════════════════════════════════════════════════════════════════
   MOBILE AUDIT FIXES — found by reading every page at 320/360/390/430,
   tablet, desktop, landscape and short screens.
   ═══════════════════════════════════════════════════════════════════ */

/* Tiny secondary text. 9.5px and 11px are below a comfortable minimum. */
.hero-figure figcaption{ font-size:11.5px; letter-spacing:.08em; }
.built-role{ font-size:12px; }
@media (max-width:620px){
  .hero-figure figcaption{ font-size:11px; letter-spacing:.07em; margin-top:6px; }
}

/* Navigation tap targets were under the 40px minimum on every phone. */
@media (max-width:820px){
  .nav-logo,.nav-cta,.nav-mobile-toggle,#navMobileToggle{
    min-height:42px; display:inline-flex; align-items:center; justify-content:center;
  }
  .nav-cta{ min-width:42px; padding-left:16px; padding-right:16px; }
  .nav-logo{ min-width:42px; }
}

/* Hero buttons stacked at different widths, which read as a mistake. */
@media (max-width:430px){
  .hero-ctas{ display:grid; grid-template-columns:minmax(0,1fr); gap:11px; }
  .hero-ctas .btn{ width:100%; justify-content:center; }
}

/* Footer: two columns are still too tight at 320–380px, and the link
   rows were under 30px tall to tap. */
@media (max-width:430px){
  .footer-grid{ grid-template-columns:minmax(0,1fr); gap:26px; }
  .footer-grid > :first-child{ grid-column:auto; }
}
@media (max-width:820px){
  .footer-links{ gap:2px; }
  .footer-links a,.footer-links span{
    display:inline-flex; align-items:center; min-height:40px;
  }
  footer .footer-links a{ width:100%; }
}

/* Engagement grid kept desktop columns at 320px. */
@media (max-width:430px){
  .engagement-grid{ grid-template-columns:minmax(0,1fr) !important; }
}

/* Four words over three lines reads as broken, not deliberate. */
@media (max-width:620px){
  .page-hero h1 br{ display:none; }
}

/* The assistant button sat on top of links and buttons at 320px and in
   landscape. Smaller, tucked further into the corner, and clear of the
   footer links beneath it. */
@media (max-width:430px){
  .ai-chat-toggle{ width:46px; height:46px; right:12px; bottom:12px; }
  footer{ padding-bottom:96px; }
}
@media (max-height:480px){
  .ai-chat-toggle{ width:42px; height:42px; right:10px; bottom:10px; }
  footer{ padding-bottom:76px; }
}

/* --- second pass on the audit findings --- */

/* Toggle met the 42px height but was only 35px wide. */
@media (max-width:820px){
  #navMobileToggle,.nav-mobile-toggle{ min-width:42px; }
}

/* Labels at 11–11.5px are below a comfortable reading size. */
.eyebrow{ font-size:12px; }
.hero-figure figcaption{ font-size:12px; }
@media (max-width:620px){ .hero-figure figcaption{ font-size:12px; } }

/* Full-width hero buttons ran underneath the fixed assistant button.
   Equal widths, left aligned, always stopping clear of that corner. */
@media (max-width:430px){
  .hero-ctas{ justify-items:start; }
  .hero-ctas .btn{ width:100%; max-width:calc(100% - 64px); justify-content:center; }
}

/* Long single-word headlines still need a little relief on small phones. */
@media (max-width:900px){
  .page-hero h1,
  .page-hero.pg-process h1,.page-hero.pg-ai h1,.page-hero.pg-compare h1,
  .page-hero.pg-about h1,.page-hero.pg-contact h1{ max-width:none; }
}
@media (max-width:400px){
  .page-hero h1{ font-size:clamp(28px,8.4vw,34px); letter-spacing:-.03em; }
}

/* The closed menu was opacity:0 but still visible to assistive tech and the
   tab order — six invisible links sat in the keyboard path on every page. */
.mobile-menu{ visibility:hidden; transition:opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.mobile-menu.open{ visibility:visible; transition:opacity .3s ease, transform .3s ease, visibility 0s; }

@media (max-width:342px){
  .page-hero h1{ font-size:clamp(25px,7.8vw,29px); }
}

/* Balanced ragging stops one-word orphan lines in display headings. */
.hero h1,.section-title,.built-name h3,.cta-card h2{ text-wrap:balance; }

/* ═══════════════════════════════════════════════════════════════════
   REMAINING GAPS
   ═══════════════════════════════════════════════════════════════════ */

/* 1. 44x44 minimum on the primary controls. The hit area grows; the
      visible logo, icon and button artwork are unchanged. */
@media (max-width:820px){
  .nav-logo,.nav-cta,#navMobileToggle,.nav-mobile-toggle{
    min-height:44px; min-width:44px;
    display:inline-flex; align-items:center; justify-content:center;
  }
  .nav-cta{ padding-left:18px; padding-right:18px; }
  .mobile-menu a,.mobile-menu button{ min-height:44px; }
  .footer-links a,.footer-links span{ min-height:44px; }
  .btn{ min-height:44px; }
}

/* 3. Above the single-column breakpoint the two-column footer was still
      tight, so the brand column keeps the full width up to 560px. */
@media (max-width:560px){
  .footer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 22px; }
  .footer-grid > :first-child{ grid-column:1 / -1; }
  .footer-tagline,.footer-text{ max-width:none; }
}
@media (max-width:430px){
  .footer-grid{ grid-template-columns:minmax(0,1fr); gap:24px; }
}

/* 2. On short screens the floating launcher covered readable content, so
      it leaves the viewport and sits at the end of the page instead. */
@media (max-height:520px){
  .ai-chat-toggle{
    position:absolute; right:16px; bottom:20px;
    width:44px; height:44px;
  }
  body{ position:relative; }
  /* a clear band below all footer content, so the launcher sits in space
     of its own rather than on top of anything */
  footer{ padding-bottom:104px; }
  /* the open panel has to fit the short viewport and scroll inside itself */
  .ai-chat-panel{
    position:fixed; inset:8px; width:auto; height:auto;
    max-height:calc(100vh - 16px);
  }
  /* the panel covers the whole short viewport, so the floating nav must not
     sit on top of its header */
  .ai-chat-panel{ z-index:120; }
  .ai-chat-panel.open{ display:flex; flex-direction:column; }
  body:has(.ai-chat-panel.open) .nav{ opacity:0; pointer-events:none; }
  .ai-chat-body{ flex:1 1 auto; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; }
  .ai-chat-header,.ai-chat-disclaimer,.ai-chat-input{ flex:0 0 auto; }
}

/* The email address is a single unbreakable token wider than a narrow
   footer column, so it was clipped rather than wrapped. */
.footer-links a,.footer-links span,.footer-text,.cta-address{
  overflow-wrap:anywhere;
}

/* ═══════════════════════════════════════════════════════════════════
   COMPOSITION PASS — section styles rewritten, not overridden
   ═══════════════════════════════════════════════════════════════════ */

/* ── 3. mobile header: solid, full width, logo left / menu right ─── */
@media (max-width:820px){
  .nav{
    position:fixed; top:0; left:0; right:0; transform:none;
    width:100%; max-width:none; margin:0;
    border-radius:0; border-left:0; border-right:0; border-top:0;
    border-bottom:1px solid var(--border);
    background:#050a12;
    -webkit-backdrop-filter:none; backdrop-filter:none;
    box-shadow:none;
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; padding:0 14px; height:58px;
  }
  .nav.is-scrolled{ background:#050a12; box-shadow:0 1px 0 rgba(255,255,255,.06); }
  /* the centred-pill load animation still applied its -50% shift */
  .js .nav,.is-loaded .nav{ transform:none; left:0; right:0; }
  .nav-links{ display:none; }
  .nav-cta{ display:none; }            /* arrow-only CTA removed on mobile */
  .nav-logo{ margin:0; }
  .nav-mobile-toggle{ margin:0; }
  /* fixed header must not cover anchor targets */
  section[id],header[id],[id]{ scroll-margin-top:72px; }
  body{ padding-top:0; }
  .hero{ padding-top:96px; }
  .page-hero{ padding-top:104px; }
  .mobile-menu{ padding-top:78px; }
}

/* ── 1. products: one clear block each ──────────────────────────── */
.built-list{ display:grid; gap:18px; margin-top:clamp(30px,4vw,46px); }
.built-item{
  display:block; border:0; padding:26px 24px;
  border-radius:14px;
  background:rgba(255,255,255,.028);
  border:1px solid var(--border);
}
.built-item:last-child{ border-bottom:1px solid var(--border); }
.built-title{
  font-size:clamp(23px,2.4vw,30px); letter-spacing:-.028em;
  color:var(--white); margin:0 0 6px; line-height:1.1;
}
.built-role{
  font-family:var(--mono); font-size:12px; letter-spacing:.13em;
  text-transform:uppercase; color:var(--teal-bright);
  margin:0 0 16px;
}
.built-summary{
  margin:0; font-size:15px; line-height:1.62; color:var(--text-dim); max-width:60ch;
}
.built-more{ margin-top:18px; }
.built-more > summary{
  list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:600; color:var(--teal-bright);
  padding:10px 0; min-height:44px;
}
.built-more > summary::-webkit-details-marker{ display:none; }
.built-more > summary:focus-visible{ outline:2px solid var(--teal-bright); outline-offset:3px; border-radius:4px; }
.more-icon{
  width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px); transition:transform var(--t-quick) var(--ease);
}
.built-more[open] .more-icon{ transform:rotate(-135deg) translateY(-2px); }
.lbl-open{ display:none; }
.built-more[open] .lbl-closed{ display:none; }
.built-more[open] .lbl-open{ display:inline; }
.built-detail{ padding-top:6px; border-top:1px solid var(--border); margin-top:4px; }
.built-detail h4{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.13em; text-transform:uppercase;
  color:var(--text-muted); font-weight:600; margin:18px 0 7px;
}
.built-detail p{ margin:0; font-size:14.5px; line-height:1.62; color:var(--text-dim); max-width:60ch; }
@media (min-width:821px){
  .built-list{ gap:20px; }
  .built-item{ padding:32px 34px; }
}

/* ── 5. contact: a plain invitation, not a panel ─────────────────── */
.cta-section{ padding:clamp(58px,6vw,92px) 0; }
.cta-simple{ max-width:640px; }
.cta-simple h2{
  font-size:clamp(26px,3vw,40px); letter-spacing:-.03em; color:var(--white);
  margin:0 0 14px; line-height:1.08; text-wrap:balance;
}
.cta-simple p{
  margin:0 0 24px; font-size:15.5px; line-height:1.62; color:var(--text-dim); max-width:52ch;
}
.cta-simple .cta-address{
  margin:16px 0 0; font-family:var(--mono); font-size:13px; letter-spacing:.02em;
}
.cta-simple .cta-address a{ color:var(--teal-bright); border-bottom:1px solid rgba(0,224,167,.35); }

/* ── 6. assistant: no floating bubble on mobile ─────────────────── */
.menu-ask,.footer-ask{
  font:inherit; cursor:pointer; background:transparent; color:var(--text);
  border:1px solid var(--border-bright); border-radius:999px;
  min-height:44px; padding:0 20px; display:inline-flex; align-items:center; gap:9px;
  font-size:14px; font-weight:600; letter-spacing:-.01em;
  transition:border-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.menu-ask::before,.footer-ask::before{
  content:""; width:7px; height:7px; border-radius:50%; background:var(--teal-bright); flex:none;
}
.menu-ask:hover,.footer-ask:hover{ border-color:var(--teal-bright); color:var(--white); }
.menu-ask:focus-visible,.footer-ask:focus-visible{ outline:2px solid var(--teal-bright); outline-offset:3px; }
.menu-ask{ margin-top:14px; align-self:flex-start; }
.footer-ask-wrap{ display:none; }
@media (max-width:820px){
  .ai-chat-toggle{ display:none !important; }
  .footer-ask-wrap{
    display:flex; justify-content:center;
    padding:0 20px 34px;
  }
  footer{ padding-bottom:48px; }
}
@media (min-width:821px){ .menu-ask{ display:none; } }

/* ── 2. founder: compact portrait tied to the biography ─────────── */
.founder{ grid-template-columns:210px 1fr; gap:clamp(24px,3.4vw,48px); align-items:start; }
.founder-portrait img{
  aspect-ratio:auto; width:100%; height:auto;
  border-radius:12px; border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 40px rgba(0,0,0,.42);
}
.founder-portrait figcaption{
  margin-top:14px; font-size:13px; line-height:1.5; color:var(--text-dim);
  padding-left:12px; border-left:2px solid var(--teal-bright);
}
@media (max-width:820px){
  .founder{ grid-template-columns:1fr; gap:0; }
  /* the portrait and the caption read as one unit with the text that follows */
  .founder-portrait{
    max-width:none; margin:0 0 22px;
    display:grid; grid-template-columns:132px 1fr; gap:16px; align-items:center;
  }
  .founder-portrait img{ width:132px; }
  .founder-portrait figcaption{ margin:0; padding-left:12px; font-size:13.5px; }
  .founder-body .eyebrow{ margin-bottom:10px; }
}

/* ── 4. supporting information: left-aligned single column ──────── */
#about .section-header{ text-align:left; margin-left:0; }
.why-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 34px; }
.why-card{
  border-left:0; padding:0; background:transparent;
}
.why-title{
  font-size:16px; font-weight:650; color:var(--white); letter-spacing:-.015em; margin-bottom:7px;
}
.why-desc{ font-size:14.5px; line-height:1.6; color:var(--text-dim); max-width:46ch; }
@media (max-width:820px){
  .why-grid{ grid-template-columns:minmax(0,1fr); gap:0; }
  .why-card{
    padding:18px 0; border-bottom:1px solid var(--border);
  }
  .why-card:last-child{ border-bottom:0; }
  #about .section-header{ text-align:left; }
  #about .section-title{ text-align:left; }
  #about .section-subtitle{ text-align:left; margin-left:0; }
}

/* Removing the trust line left a dead band between the hero and the first
   section. Tighten the join rather than reintroducing filler. */
#services{ padding-top:clamp(52px,5.6vw,92px); }
@media (max-width:820px){ .hero{ padding-bottom:22px; } }

/* Founder block on the homepage: it follows the hero and precedes services,
   so its own margins must match the joins settled for those sections. */
section.founder-home{ padding-top:clamp(40px,4.4vw,72px); padding-bottom:clamp(26px,3vw,48px); }

/* ═══════════════════════════════════════════════════════════════════
   REPOSITIONING — "Your workflows. Your branding. Your platform."
   New section types; everything else reuses the existing system.
   ═══════════════════════════════════════════════════════════════════ */
.hero-detail{ margin:-10px 0 28px; font-size:14px; color:var(--text-muted); letter-spacing:.01em; }
.hero h1 .grad{ display:inline-block; }
.section-subtitle + .section-subtitle{ margin-top:-6px; }

/* two-sided comparison */
.cmp-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:clamp(28px,3.4vw,44px); }
.cmp-card{ border:1px solid var(--border); border-radius:14px; padding:24px 24px 20px; background:rgba(255,255,255,.02); }
.cmp-nexgen{ border-color:var(--border-teal); background:rgba(0,224,167,.04); }
.cmp-tag{ margin:0 0 14px; font-family:var(--mono); font-size:12px; letter-spacing:.13em; text-transform:uppercase; color:var(--text-muted); }
.cmp-nexgen .cmp-tag{ color:var(--teal-bright); }
.cmp-list{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.cmp-list li{ position:relative; padding-left:22px; font-size:15px; line-height:1.5; color:var(--text-dim); }
.cmp-list li::before{ content:""; position:absolute; left:0; top:.62em; width:10px; height:2px; background:var(--text-muted); }
.cmp-nexgen .cmp-list li{ color:var(--text); }
.cmp-nexgen .cmp-list li::before{ width:6px; height:6px; top:.5em; border-radius:50%; background:var(--teal-bright); }

/* what we build: ruled rows, one capability with applications */
.build-list{ margin-top:clamp(26px,3vw,40px); border-top:1px solid var(--border); }
.build-item{ display:grid; grid-template-columns:minmax(220px,1fr) 2fr; gap:clamp(16px,3vw,48px); padding:22px 0; border-bottom:1px solid var(--border); }
.build-item h3{ margin:0; font-size:clamp(18px,1.6vw,21px); letter-spacing:-.02em; color:var(--white); line-height:1.25; }
.build-item p{ margin:0; font-size:15px; line-height:1.6; color:var(--text-dim); max-width:60ch; }
.build-paths{ margin-top:22px; padding:18px 22px; border-radius:12px; border:1px solid var(--border); background:rgba(255,255,255,.025); }
.build-paths p{ margin:0; font-size:15px; line-height:1.6; color:var(--text-dim); max-width:72ch; }
.build-paths strong{ color:var(--white); font-weight:650; }

/* built as your platform: four points */
.yours-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 40px; margin-top:clamp(26px,3vw,40px); }
.yours-item{ padding:18px 0; border-top:1px solid var(--border); }
.yours-item h3{ margin:0 0 6px; font-size:17px; letter-spacing:-.015em; color:var(--teal-bright); }
.yours-item p{ margin:0; font-size:15px; line-height:1.58; color:var(--text-dim); max-width:46ch; }
.yours-note{ margin:22px 0 0; font-size:13.5px; line-height:1.6; color:var(--text-muted); max-width:70ch; }

/* proof: four systems, details always visible */
.built-list-4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.built-detail-open{ border-top:1px solid var(--border); margin-top:14px; }
.built-detail-open h4:first-child{ margin-top:16px; }

/* founder signature */
.founder-sign{ display:flex; flex-direction:column; gap:2px; margin:6px 0 22px !important; }
.founder-sign strong{ font-family:var(--display); font-size:17px; color:var(--white); letter-spacing:-.01em; }
.founder-sign span{ font-size:13px; color:var(--text-muted); }

/* secondary row: AI + when not to build */
.also-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(28px,4vw,64px); }
.also-item{ padding-top:22px; border-top:1px solid var(--border); }
.also-title{ font-size:clamp(20px,1.9vw,25px); letter-spacing:-.022em; line-height:1.2; color:var(--white); margin:0 0 12px; text-wrap:balance; }
.also-item p{ margin:0 0 12px; font-size:14.5px; line-height:1.6; color:var(--text-dim); max-width:52ch; }
.also-chips{ list-style:none; margin:4px 0 16px; padding:0; display:flex; flex-wrap:wrap; gap:7px; }
.also-chips li{ font-size:12.5px; color:var(--text-dim); padding:5px 11px; border-radius:999px; border:1px solid var(--border); }
.text-link{ display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:600; color:var(--teal-bright); min-height:44px; }
.text-link svg{ width:15px; height:15px; }

/* process with full stage descriptions */
.process-full li{ font-size:14.5px; }
.process-note{ margin:18px auto 0; max-width:820px; font-size:13.5px; color:var(--text-muted); }
.section-cta{ margin-top:22px; text-align:center; }
#process .section-header{ max-width:760px; }
#process .section-title{ font-size:clamp(24px,2.6vw,34px); }

/* eyebrow above the final CTA */
.cta-simple .eyebrow{ margin-bottom:12px; }

@media (max-width:820px){
  .cmp-grid,.yours-grid,.also-grid,.built-list-4{ grid-template-columns:minmax(0,1fr); }
  .build-item{ grid-template-columns:minmax(0,1fr); gap:8px; padding:18px 0; }
  .yours-grid{ gap:0; }
  .also-grid{ gap:26px; }
  .also-item{ padding-top:20px; }
  .hero-detail{ margin:-6px 0 24px; }
  #process .section-title{ font-size:clamp(22px,6vw,28px); }
}
.page-hero-line{ margin:-6px 0 22px; font-family:var(--mono); font-size:12.5px; letter-spacing:.11em; text-transform:uppercase; color:var(--teal-bright); }
.page-hero-note{ margin:18px 0 0; font-size:13.5px; color:var(--text-muted); }
.page-hero-note a{ color:var(--teal-bright); border-bottom:1px solid rgba(0,224,167,.35); overflow-wrap:anywhere; }
/* commercial terms and what-I-need lists (How We Work) */
.terms-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 40px; margin-top:clamp(24px,3vw,40px); }
.terms-item{ padding:18px 0; border-top:1px solid var(--border); }
.terms-item h3{ margin:0 0 6px; font-size:16.5px; letter-spacing:-.015em; color:var(--white); }
.terms-item p{ margin:0; font-size:14.5px; line-height:1.6; color:var(--text-dim); max-width:48ch; }
.need-list{ list-style:none; margin:clamp(20px,2.4vw,30px) 0 0; padding:0; display:grid; gap:0; max-width:720px; }
.need-list li{ position:relative; padding:14px 0 14px 26px; border-top:1px solid var(--border); font-size:15px; line-height:1.55; color:var(--text-dim); }
.need-list li:last-child{ border-bottom:1px solid var(--border); }
.need-list li::before{ content:""; position:absolute; left:2px; top:1.25em; width:7px; height:7px; border-radius:50%; background:var(--teal-bright); }
@media (max-width:820px){ .terms-grid{ grid-template-columns:minmax(0,1fr); gap:0; } }
/* length control: the brief adds sections, so joins and card density carry less air */
.built-list-2{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.built-list-2 .built-item{ padding:22px 22px 18px; }
.built-list-2 .built-summary{ font-size:14.5px; }
.built-list-2 .built-more{ margin-top:12px; }
.built-list-2 .built-more > summary{ padding:8px 0; font-size:13px; }
.built-list-2 .built-detail{ margin-top:2px; }
.built-list-2 .built-detail p{ margin:12px 0 4px; }
@media (max-width:820px){
  .built-list-2{ grid-template-columns:minmax(0,1fr); gap:12px; }
  main > section{ padding-top:52px; padding-bottom:52px; }
  main > section.tight{ padding-top:44px; padding-bottom:44px; }
  .hero{ padding-top:96px; padding-bottom:22px; }
  #services{ padding-top:52px; }
  .section-header{ margin-bottom:22px; }
  .cmp-grid,.yours-grid,.build-list,.also-grid{ margin-top:20px; }
  .process-compact li{ padding:11px 14px 11px 40px; }
  .process-compact{ gap:6px; }
  .also-chips li{ padding:4px 10px; font-size:12px; }
  .cta-section{ padding:48px 0 44px; }
  .built-head{ margin-bottom:22px; }
}
/* the process heading inherited a narrow title measure and broke over seven lines */
#process .section-header{ max-width:820px; }
#process .section-title{ max-width:none; }
/* the menu toggle reads as a close control while the menu is open */
#navMobileToggle svg line{ transition:transform .25s ease, opacity .2s ease; transform-origin:center; }
#navMobileToggle[aria-expanded="true"] svg line:nth-child(1){ transform:translateY(6px) rotate(45deg); }
#navMobileToggle[aria-expanded="true"] svg line:nth-child(2){ opacity:0; }
#navMobileToggle[aria-expanded="true"] svg line:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
@media (prefers-reduced-motion:reduce){ #navMobileToggle svg line{ transition:none; } }

/* Stacked hero buttons at unequal widths read as a mistake: on the homepage
   this happens between 821 and 1100px where the hero column is too narrow
   for both side by side; on interior heroes it happens on small phones. */
@media (min-width:821px) and (max-width:1100px){
  .hero-ctas{ display:grid; grid-template-columns:minmax(0,max-content); justify-content:start; }
  .hero-ctas .btn{ width:100%; justify-content:center; }
}
@media (max-width:480px){
  .page-hero-ctas{ display:grid; grid-template-columns:minmax(0,max-content); }
  .page-hero-ctas .btn{ width:100%; justify-content:center; }
  .page-hero.pg-ai .page-hero-ctas{ justify-content:center; }
}

/* Case studies, compact: name, category, one problem line, one built line.
   Two-up cards on wider screens; a divider-separated list on phones so the
   four entries read as one short block rather than four boxes. */
.cs-list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:clamp(26px,3.6vw,40px); }
.cs-item{
  padding:22px 22px 20px; border-radius:14px;
  background:rgba(255,255,255,.028); border:1px solid var(--border);
}
.cs-name{ font-size:clamp(21px,2.1vw,26px); letter-spacing:-.025em; color:var(--white); margin:0 0 4px; line-height:1.12; }
.cs-cat{
  font-family:var(--mono); font-size:12px; letter-spacing:.13em; text-transform:uppercase;
  color:var(--teal-bright); margin:0 0 14px;
}
.cs-dl{ margin:0; display:grid; grid-template-columns:max-content minmax(0,1fr); column-gap:14px; row-gap:8px; }
.cs-dl dt{ font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--text-dim); opacity:.85; padding-top:3px; }
.cs-dl dd{ margin:0; font-size:14.5px; line-height:1.58; color:var(--text-dim); max-width:56ch; }
@media (max-width:820px){
  .cs-list{ grid-template-columns:minmax(0,1fr); gap:0; margin-top:18px; border-top:1px solid var(--border); }
  .cs-item{ padding:18px 0 16px; border:0; border-bottom:1px solid var(--border); border-radius:0; background:none; }
  .cs-name{ margin-bottom:3px; }
  .cs-cat{ margin-bottom:10px; }
  .cs-dl{ grid-template-columns:minmax(0,1fr); row-gap:2px; }
  .cs-dl dt{ padding-top:6px; }
  .cs-dl dt:first-child{ padding-top:0; }
}
@media (max-width:360px){ .cs-dl dd{ font-size:14px; } }
/* On phones the case-study labels run into their text instead of taking a
   line each, and section spacing is brought back towards the previous build. */
@media (max-width:820px){
  .cs-dl{ display:block; }
  .cs-dl dt,.cs-dl dd{ display:inline; }
  .cs-dl dt{ font-size:14.5px; letter-spacing:0; text-transform:none; color:var(--white); opacity:1; padding:0; }
  .cs-dl dt::after{ content:": "; }
  .cs-dl dd::after{ content:""; display:block; height:6px; }
  .cs-dl dd:last-child::after{ height:0; }
  main > section{ padding-top:46px; padding-bottom:46px; }
  main > section.tight{ padding-top:40px; padding-bottom:40px; }
  section.founder-home{ padding-top:40px; padding-bottom:40px; }
  .built-head{ margin-bottom:18px; }
  .cs-item{ padding:16px 0 14px; }
}
/* Below 1024px the two-up cards are too narrow for a label column, so the
   labels run into the text there as well (landscape phones and tablets). */
@media (max-width:1023px){
  .cs-dl{ display:block; }
  .cs-dl dt,.cs-dl dd{ display:inline; }
  .cs-dl dt{ font-size:14.5px; letter-spacing:0; text-transform:none; color:var(--white); opacity:1; padding:0; }
  .cs-dl dt::after{ content:": "; }
  .cs-dl dd::after{ content:""; display:block; height:6px; }
  .cs-dl dd:last-child::after{ height:0; }
}

/* ═══════════════════════════════════════════════════════════════════
   DESIGN PASS 3 — hierarchy, founder-first order, fewer boxes and glows.
   Written with element+class or id selectors so it settles the earlier
   founder / comparison / case-study rules instead of fighting them.
   ═══════════════════════════════════════════════════════════════════ */

/* 1. Buttons: no halo at rest, a small lift on hover only */
.btn-primary{ box-shadow:0 4px 14px rgba(0,224,167,.18), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-primary:hover{ box-shadow:0 6px 18px rgba(0,224,167,.26), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost{ backdrop-filter:none; -webkit-backdrop-filter:none; }

/* 2. Section headings: one measure, one rhythm */
.section-header.left .section-title{ max-width:19ch; }
.section-header.left .section-subtitle{ max-width:58ch; }
.section-title{ font-size:clamp(30px,3.3vw,44px); line-height:1.06; margin-bottom:18px; }
.section-subtitle{ font-size:clamp(15.5px,1.15vw,17px); line-height:1.62; }
.section-header{ margin-bottom:clamp(26px,3vw,40px); }
.eyebrow{ margin-bottom:16px; }

/* 3. Founder: portrait at its natural proportions, text beside it */
section.founder-home{ padding-top:clamp(28px,3.4vw,56px); padding-bottom:clamp(18px,2.4vw,36px); }
#founder .founder{
  display:grid; grid-template-columns:minmax(220px,272px) minmax(0,1fr);
  gap:clamp(30px,4.6vw,72px); align-items:start;
}
#founder .founder-portrait{ margin:0; max-width:none; display:block; }
#founder .founder-portrait img{
  display:block; width:100%; height:auto; aspect-ratio:640/716; object-fit:cover;
  border-radius:14px; border:1px solid rgba(255,255,255,.10); box-shadow:none;
}
#founder .founder-portrait figcaption{ display:none; }
#founder .founder-body .eyebrow{ margin-bottom:14px; }
#founder .founder-body .section-title{ max-width:17ch; margin-bottom:18px; }
#founder .founder-body p{ font-size:16px; line-height:1.66; color:var(--text-dim); margin:0 0 14px; max-width:56ch; }
#founder .founder-bridge{
  font-size:17px; line-height:1.5; color:var(--white); font-weight:600;
  padding-left:16px; border-left:2px solid var(--teal-bright); margin:18px 0 22px;
}
#founder .founder-sign{ display:flex; flex-direction:column; gap:1px; margin:0 0 6px !important; }
#founder .founder-sign strong{ font-family:var(--display); font-size:19px; letter-spacing:-.015em; color:var(--white); }
#founder .founder-sign span{ font-size:13px; color:var(--text-muted); }
#founder .founder-link{ margin-top:2px; }

/* 4. Founder → why bespoke reads as one argument */
#why-bespoke{ padding-top:clamp(26px,3vw,48px); }

/* 5. Comparison: two ruled columns instead of two boxes */
.cmp-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(28px,4vw,64px); margin-top:clamp(22px,2.8vw,36px); }
.cmp-card{ border:0; border-radius:0; padding:0; background:none; }
.cmp-nexgen{ border:0; background:none; }
.cmp-tag{ margin:0; padding:0 0 12px; border-bottom:1px solid var(--border); }
.cmp-list{ gap:0; }
.cmp-list li{ padding:12px 0 12px 22px; border-bottom:1px solid var(--border); font-size:15px; line-height:1.5; }
.cmp-list li::before{ top:calc(12px + .62em); }
.cmp-nexgen .cmp-list li::before{ top:calc(12px + .5em); }
.cmp-generic .cmp-list li{ color:var(--text-muted); }
.cmp-nexgen .cmp-tag{ border-bottom-color:rgba(0,224,167,.45); }

/* 6. What we build: the note becomes a plain paragraph with a rule */
.build-paths{ margin-top:20px; padding:2px 0 2px 18px; border:0; border-left:2px solid var(--teal-bright); border-radius:0; background:none; }
.build-paths p{ font-size:15px; }

/* 7. Case studies: ruled grid, no boxes */
.cs-list{ gap:0 clamp(28px,4vw,64px); margin-top:clamp(20px,2.6vw,34px); border-top:1px solid var(--border); }
.cs-item{ padding:22px 0 22px; border:0; border-bottom:1px solid var(--border); border-radius:0; background:none; }
.cs-name{ font-size:clamp(20px,1.8vw,24px); margin-bottom:3px; }
.cs-cat{ margin-bottom:12px; }
.cs-dl{ column-gap:16px; row-gap:6px; }
.cs-dl dd{ font-size:15px; line-height:1.58; }

/* 8. Phones: portrait beside the name, full-width stacked buttons, one spacing scale */
@media (max-width:820px){
  #founder .founder{ grid-template-columns:minmax(0,1fr); gap:0; }
  #founder .founder-portrait{
    display:grid; grid-template-columns:148px minmax(0,1fr); gap:18px; align-items:end; margin:0 0 22px;
  }
  #founder .founder-portrait img{ width:148px; }
  #founder .founder-portrait figcaption{ display:flex; flex-direction:column; gap:2px; padding:0 0 6px; margin:0; border:0; }
  #founder .founder-portrait figcaption strong{ font-family:var(--display); font-size:19px; letter-spacing:-.015em; color:var(--white); line-height:1.15; }
  #founder .founder-portrait figcaption span{ font-size:13px; color:var(--text-muted); }
  #founder .founder-sign{ display:none !important; }
  #founder .founder-body .section-title{ max-width:none; }
  #founder .founder-body p{ font-size:15.5px; }
  #founder .founder-bridge{ font-size:16px; margin:14px 0 18px; }
  section.founder-home{ padding-top:36px; padding-bottom:16px; }
  #why-bespoke{ padding-top:28px; }
  .cmp-grid{ gap:22px; }
  .cmp-card + .cmp-card{ margin-top:6px; }
  .cs-item{ padding:18px 0 16px; }
  .section-header{ margin-bottom:22px; }
}
@media (max-width:430px){
  .hero-ctas .btn{ max-width:none; }
}
/* 9. Hero buttons sit side by side down to 1101px: a touch less padding and gap */
.hero-ctas{ gap:12px; }
.hero-ctas .btn-large{ padding:18px 28px; }
/* 10. Comparison stacks on phones (the ruled-column rule above must not win there) */
@media (max-width:820px){
  .cmp-grid{ grid-template-columns:minmax(0,1fr); }
}
/* 11. The text column was exactly the width of the two buttons at 1440px, so
   they wrapped; give the copy a little more of the hero than the figure. */
@media (min-width:1101px){
  .hero-grid{ grid-template-columns:1.12fr .88fr; }
}
/* The hero container is a flex column, so the grid shrink-wrapped to its
   content and the fr tracks never saw the real width. */
.hero-grid{ width:100%; }
.hero .container{ width:100%; }
/* 12. Desktop rhythm: sections were separated by up to 280px of air, which
   flattened the hierarchy; one tighter scale, with the process and FAQ lists
   aligned to the left edge like every other section. */
@media (min-width:821px){
  main > section{ padding-top:clamp(56px,6.4vw,92px); padding-bottom:clamp(56px,6.4vw,92px); }
  main > section.tight{ padding-top:clamp(44px,5vw,72px); padding-bottom:clamp(44px,5vw,72px); }
  main > section.founder-home{ padding-top:clamp(28px,3.4vw,56px); padding-bottom:clamp(18px,2.4vw,36px); }
  main > section#why-bespoke{ padding-top:clamp(26px,3vw,48px); }
  .faq-list,.process-compact,.process-note{ margin-left:0; }
  .section-cta{ text-align:left; }
}
/* 13. Small phones: the name sits under the portrait instead of squeezing beside it */
@media (max-width:360px){
  #founder .founder-portrait{ grid-template-columns:minmax(0,1fr); gap:12px; }
  #founder .founder-portrait img{ width:156px; }
}

/* ═══════════════════════════════════════════════════════════════════
   DESIGN DIRECTION v4 — hero composition, editorial founder, project rows.
   Loaded after site.css. Preview only until approved.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Typography system for the new sections ─────────────────────── */
.kicker{
  display:flex; align-items:center; gap:10px; margin:0 0 18px;
  font:600 13.5px/1.2 var(--body); color:var(--teal-bright); letter-spacing:0; text-transform:none;
}
.kicker::before{ content:""; width:22px; height:1px; background:var(--teal-bright); opacity:.8; flex:none; }
.hero-v4 .hero-kicker{ display:none; }
.br-d{ display:none; }
@media (min-width:821px){ .br-d{ display:inline; } }
.sec-head{ max-width:720px; margin-bottom:clamp(28px,3.4vw,44px); }
.sec-head h2{ font-size:clamp(32px,3.6vw,48px); line-height:1.02; letter-spacing:-.035em; color:var(--white); margin:0 0 14px; }
.sec-lede{ margin:0; font-size:clamp(15.5px,1.15vw,17px); line-height:1.6; color:var(--text-dim); max-width:52ch; }

/* ── Hero: asymmetric, copy left, software composition right ───────── */
.hero-v4{ padding-top:clamp(110px,12vw,150px); padding-bottom:clamp(40px,5vw,72px); overflow:hidden; }
.hero-v4 .hero-spotlight{ display:none; }
.hero-v4 .hero-grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,4vw,64px); align-items:center; width:100%; }
.hero-v4 .lede{ margin:0 0 30px; max-width:30em; font-size:clamp(15.5px,1.1vw,17px); }
.hero-v4 .hero-ctas{ gap:12px; }
.hero-v4 .hero-ctas .btn-large{ padding:17px 26px; text-transform:none; }

.hero-visual{ position:relative; margin:0; }
/* one controlled key light behind the composition, nothing else moves */
.hero-visual::before{
  content:""; position:absolute; inset:-12% -10% -18% -6%; z-index:0; pointer-events:none;
  background:radial-gradient(ellipse 60% 55% at 62% 40%, rgba(0,224,167,.09), transparent 70%);
}
.hero-visual-note{ position:relative; z-index:1; margin:14px 0 0; max-width:52ch; font:400 13px/1.5 var(--body); color:var(--text-muted); text-align:left; }

.app{
  position:relative; z-index:1; border-radius:18px; overflow:hidden;
  background:linear-gradient(180deg, #101c2e 0%, #0c1626 100%);
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 40px 90px -30px rgba(0,0,0,.7);
  font-family:var(--body);
}
.app-bar{
  display:flex; align-items:center; gap:18px; padding:14px 20px;
  background:rgba(255,255,255,.035); border-bottom:1px solid rgba(255,255,255,.08);
}
.app-brand{ display:inline-flex; align-items:center; gap:10px; white-space:nowrap; font:700 15px/1 var(--display); color:var(--white); letter-spacing:-.01em; }
.app-mark{
  width:26px; height:26px; border-radius:7px; display:grid; place-items:center;
  background:linear-gradient(135deg,var(--teal-bright),var(--teal-deep)); color:#04110c; font:800 11px/1 var(--display); letter-spacing:-.02em;
}
.app-section{ font:500 13px/1 var(--body); color:var(--text-dim); padding:6px 10px; border-radius:6px; background:rgba(255,255,255,.05); }
.app-user{ margin-left:auto; display:inline-flex; align-items:center; gap:8px; font:500 13px/1 var(--body); color:var(--text-dim); white-space:nowrap; }
.app-avatar{ width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,.12); color:var(--white); display:grid; place-items:center; font:700 11px/1 var(--body); }
.app-body{ display:grid; grid-template-columns:1.1fr .9fr; gap:14px; padding:16px; }
.app-module{ border-radius:12px; padding:16px 18px; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); }
.app-flow{ grid-column:1 / -1; }
.app-label{ margin:0 0 14px; font:400 12.5px/1 var(--mono); color:var(--text-muted); }

/* workflow stages: a real stepper, big enough to read */
.flow{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); position:relative; }
.flow{ --fl:10%; --fp:40%; }
.flow::before{ content:""; position:absolute; left:var(--fl); right:var(--fl); top:8px; height:2px; background:rgba(255,255,255,.1); }
.flow::after{ content:""; position:absolute; left:var(--fl); top:8px; height:2px; background:var(--teal-bright); width:0; }
.flow-step{ position:relative; text-align:center; }
.flow-dot{
  display:block; width:18px; height:18px; margin:0 auto 10px; border-radius:50%;
  background:#0c1626; border:2px solid rgba(255,255,255,.22); position:relative; z-index:1;
}
.flow-name{ font:500 14px/1.2 var(--body); color:var(--text-dim); }
.flow-step.on .flow-dot{ background:var(--teal-bright); border-color:var(--teal-bright); box-shadow:0 0 0 4px rgba(0,224,167,.15); }
.flow-step.on .flow-name{ color:var(--white); }
.flow-job{
  margin-top:16px; padding:12px 14px; border-radius:9px; background:rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.06);
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
.flow-job-id{ font:400 12.5px/1 var(--mono); color:var(--teal-bright); }
.flow-job-name{ font:500 13.5px/1.3 var(--body); color:var(--text); }
.flow-job-state{ margin-left:auto; font:500 12.5px/1 var(--body); color:#fbbf24; padding:6px 10px; border-radius:999px; background:rgba(251,191,36,.12); }

/* roles */
.app-roles ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.app-roles li{ display:grid; grid-template-columns:24px auto 1fr; align-items:center; gap:10px; font-size:13.5px; }
.role-avatar{ width:24px; height:24px; border-radius:7px; display:grid; place-items:center; background:rgba(0,224,167,.14); color:var(--teal-bright); font:700 11px/1 var(--body); }
.role-name{ color:var(--white); font-weight:600; }
.role-perm{ color:var(--text-muted); text-align:right; white-space:nowrap; }

/* report */
.report-kpis{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.report-kpis div{ display:flex; flex-direction:column; gap:3px; }
.report-kpis strong{ font:700 26px/1 var(--display); color:var(--white); letter-spacing:-.02em; }
.report-kpis span{ font-size:12.5px; color:var(--text-muted); }
.report-bars{ display:flex; align-items:flex-end; gap:6px; height:58px; padding-bottom:0; border-bottom:1px solid rgba(255,255,255,.08); }
.report-bars i{ flex:1; height:var(--h); border-radius:4px 4px 0 0; background:linear-gradient(180deg, rgba(0,224,167,.55), rgba(0,224,167,.22)); }
.report-bars i:nth-child(6){ background:linear-gradient(180deg, rgba(0,224,167,.9), var(--teal)); }
.report-foot{ margin:8px 0 0; font:400 11.5px/1 var(--mono); color:var(--text-muted); }
.app-credit{ padding:9px 20px 11px; font:400 11.5px/1 var(--mono); color:var(--text-muted); text-align:right; border-top:1px solid rgba(255,255,255,.06); }

/* the one purposeful motion: the workflow connects once, after the copy lands */
@keyframes flowLine{ to{ width:var(--fp); } }
@keyframes stepOn{ to{ background:var(--teal-bright); border-color:var(--teal-bright); box-shadow:0 0 0 4px rgba(0,224,167,.15); } }
@keyframes nameOn{ to{ color:var(--white); } }
.is-loaded .flow::after{ animation:flowLine 1.15s cubic-bezier(.4,0,.2,1) 1.05s forwards; }
.is-loaded .flow-step:nth-child(1) .flow-dot{ animation:stepOn .25s ease 1.0s forwards; }
.is-loaded .flow-step:nth-child(2) .flow-dot{ animation:stepOn .25s ease 1.35s forwards; }
.is-loaded .flow-step:nth-child(3) .flow-dot{ animation:stepOn .25s ease 1.7s forwards; }
.is-loaded .flow-step:nth-child(1) .flow-name{ animation:nameOn .25s ease 1.0s forwards; }
.is-loaded .flow-step:nth-child(2) .flow-name{ animation:nameOn .25s ease 1.35s forwards; }
.is-loaded .flow-step:nth-child(3) .flow-name{ animation:nameOn .25s ease 1.7s forwards; }
@media (prefers-reduced-motion:reduce){
  .flow::after{ width:var(--fp); animation:none !important; }
  .flow-step:nth-child(-n+3) .flow-dot{ background:var(--teal-bright); border-color:var(--teal-bright); box-shadow:0 0 0 4px rgba(0,224,167,.15); animation:none !important; }
  .flow-step:nth-child(-n+3) .flow-name{ color:var(--white); animation:none !important; }
}

@media (min-width:1101px){
  .hero-v4 .hero-visual{ margin-right:calc(-1 * clamp(0px,5vw,80px)); }
}
@media (max-width:1100px) and (min-width:821px){
  .hero-v4 .hero-grid{ grid-template-columns:minmax(0,1fr); gap:40px; }
  .hero-v4 .hero-visual{ max-width:720px; }
}
@media (max-width:820px){
  .hero-v4{ padding-top:96px; padding-bottom:36px; }
  .hero-v4 .hero-grid{ grid-template-columns:minmax(0,1fr); gap:30px; }
  .hero-v4 .lede{ margin-bottom:24px; }
  .app-body{ gap:10px; padding:12px; }
  .app-bar{ padding:12px 14px; gap:12px; }
  .app-section{ display:none; }
  .app-user{ font-size:12.5px; }
  .app-brand{ font-size:14px; }
  .app-module{ padding:14px; }
  .flow-name{ font-size:13px; }
  .flow-dot{ width:16px; height:16px; }
  .flow-job-name{ flex:1 1 100%; order:3; }
  .flow-job-state{ margin-left:auto; }
  .app-roles ul{ grid-template-columns:1fr 1fr; gap:8px 14px; }
  .app-roles li{ grid-template-columns:22px 1fr; }
  .role-perm{ display:none; }
  .hero-visual::before{ inset:-6% -10% -10% -10%; }
  .hero-visual-note{ text-align:left; font-size:12px; }
}
@media (max-width:600px){
  .app-body{ grid-template-columns:minmax(0,1fr); }
  .app-report{ display:none; }                 /* phones: workflow + roles only */
}
@media (max-width:480px){
  .flow{ grid-template-columns:repeat(4,1fr); --fl:12.5%; --fp:50%; }
  .flow-step:nth-child(5){ display:none; }
  .flow-name{ font-size:12.5px; }
  .app-user{ display:none; }
}

/* ── Founder: editorial, portrait with an offset frame ─────────────── */
.founder-v4{ padding-top:clamp(40px,5vw,80px); padding-bottom:clamp(24px,3vw,48px); }
.fnd{ display:grid; grid-template-columns:minmax(240px,300px) minmax(0,1fr); gap:clamp(36px,6vw,96px); align-items:start; }
.fnd-portrait{ margin:0; padding:0 14px 14px 0; }
.fnd-frame{ position:relative; }
.fnd-frame img{
  display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:50% 22%;
  border-radius:6px; border:1px solid rgba(255,255,255,.1); box-shadow:none;
}
.fnd-frame::after{
  content:""; position:absolute; inset:14px -14px -14px 14px; border:1px solid rgba(0,224,167,.35); border-radius:8px; z-index:-1;
}
.fnd-portrait figcaption{ margin-top:22px; display:flex; flex-direction:column; gap:3px; padding:0; border:0; }
.fnd-cap-name{ font:600 14px/1.3 var(--body); color:var(--white); }
.fnd-cap-role{ font:400 12.5px/1.4 var(--mono); color:var(--text-muted); }
.fnd-body{ padding-top:6px; }
.fnd-statement{ font-size:clamp(30px,3.4vw,46px); line-height:1.04; letter-spacing:-.035em; color:var(--white); margin:0 0 20px; max-width:22ch; }
.fnd-body p{ font-size:16px; line-height:1.66; color:var(--text-dim); margin:0 0 14px; max-width:54ch; }
.fnd-bridge{ font-size:17px; font-weight:600; color:var(--white); padding-left:16px; border-left:2px solid var(--teal-bright); margin:20px 0 24px !important; }
.fnd-sign{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; padding-top:16px; border-top:1px solid var(--border); max-width:54ch; }
.fnd-name{ font:600 19px/1 var(--display); color:var(--white); letter-spacing:-.015em; }
.fnd-sign .text-link{ min-height:0; font-size:14px; }
@media (max-width:820px){
  .founder-v4{ padding-top:36px; padding-bottom:18px; }
  .fnd{ grid-template-columns:minmax(0,1fr); gap:26px; }
  .fnd-portrait{ display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px 26px; align-items:end; padding:0 12px 12px 0; }
  .fnd-frame::after{ inset:12px -12px -12px 12px; }
  .fnd-portrait figcaption{ margin:0 0 4px; }
  .fnd-cap-name{ font-size:16px; }
  .fnd-statement{ max-width:none; }
  .fnd-body p{ font-size:15.5px; }
  .fnd-bridge{ font-size:16px; margin:16px 0 18px !important; }
}
@media (max-width:360px){
  .fnd-portrait{ grid-template-columns:minmax(0,1fr); }
  .fnd-frame{ max-width:170px; }
}

/* ── Case studies: numbered project rows ───────────────────────────── */
.work-v4{ padding-top:clamp(56px,6.4vw,92px); padding-bottom:clamp(56px,6.4vw,92px); }
.proj{ list-style:none; margin:0; padding:0; border-top:1px solid var(--border-bright); }
.proj-row{
  display:grid; grid-template-columns:56px minmax(200px,.7fr) minmax(0,1.5fr) minmax(180px,.6fr);
  gap:18px clamp(20px,3vw,44px); padding:28px 0; border-bottom:1px solid var(--border);
}
.proj-num{ font:400 13px/1.9 var(--mono); color:var(--teal-bright); }
.proj-id h3{ margin:0 0 6px; font-size:clamp(20px,1.8vw,24px); letter-spacing:-.025em; color:var(--white); line-height:1.12; }
.proj-cat{ margin:0; font:400 12.5px/1.5 var(--mono); color:var(--text-muted); }
.proj-desc p{ margin:0 0 10px; font-size:15px; line-height:1.58; color:var(--text-dim); }
.proj-desc p:last-child{ margin-bottom:0; }
.proj-desc b{ display:block; font:600 12.5px/1.6 var(--body); color:var(--white); margin-bottom:2px; }
.proj-tags{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px; align-content:start; }
.proj-tags li{ font:400 12px/1 var(--mono); color:var(--text-dim); padding:7px 9px; border-radius:6px; border:1px solid var(--border-bright); background:rgba(255,255,255,.02); }
@media (max-width:820px){
  .work-v4{ padding-top:46px; padding-bottom:46px; }
  .proj-desc p{ font-size:14.5px; }
  .proj-desc b{ display:inline; margin-right:6px; }
  .proj-desc b::after{ content:":"; }
  .proj-tags{ margin-top:2px; }
}
@media (max-width:360px){
  .flow-name{ font-size:11.5px; letter-spacing:-.01em; }
}

/* fictional-example label inside the sample interface */
.app-example{ font:500 11.5px/1 var(--body); color:var(--text-dim); padding:5px 8px; border-radius:5px; border:1px solid rgba(255,255,255,.14); white-space:nowrap; }
@media (max-width:600px){
  .flow-job-id{ display:none; }                /* phones: job name + state only */
  .flow-job{ gap:8px 12px; }
  .flow-job-name{ flex:1 1 auto; order:0; }
  .app-bar{ flex-wrap:wrap; gap:8px 12px; }
  .hero-visual-note{ margin-left:0; text-align:left; max-width:none; }
}

/* queues under the roles: Lead Desk's real bucket names */
.app-label-2{ margin-top:14px; }
.app-roles ul.app-queues{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.app-roles .app-queues li{ display:block; white-space:nowrap; font:400 11.5px/1 var(--mono); color:var(--text-dim); padding:6px 8px; border-radius:5px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.07); }
.app-queues li:nth-child(2){ color:#fbbf24; background:rgba(251,191,36,.10); border-color:rgba(251,191,36,.22); }
@media (max-width:600px){
  .app-label-2,.app-roles ul.app-queues{ display:none; }
  .app-roles ul{ grid-template-columns:1fr; }
  .role-perm{ display:block; text-align:left; }
  .app-roles li{ grid-template-columns:22px auto 1fr; }
}

/* ── Hero without the interface: copy-led, headline left, supporting text right ── */
.hero-v4 .hero-grid.hero-text-only{ grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:0 clamp(28px,5vw,80px); align-items:end; }
.hero-v4 .hero-text-only .hero-content{ display:contents; }
.hero-v4 .hero-text-only .kicker{ grid-column:1; grid-row:1; margin-bottom:22px; }
.hero-v4 .hero-text-only h1{ grid-column:1; grid-row:2; margin:0; font-size:clamp(44px,6.2vw,92px); line-height:1.0; letter-spacing:-.04em; }
.hero-v4 .hero-text-only .lede{ grid-column:2; grid-row:2; align-self:end; margin:0 0 6px; max-width:26em; font-size:clamp(16px,1.2vw,18.5px); line-height:1.6; }
.hero-v4 .hero-text-only .hero-ctas{ grid-column:1 / -1; grid-row:3; margin-top:clamp(26px,3vw,40px); }
.hero-v4 .hero-text-only .hero-visual{ display:none; }
@media (max-width:1100px){
  .hero-v4 .hero-grid.hero-text-only{ grid-template-columns:minmax(0,1fr); gap:0; }
  .hero-v4 .hero-text-only .kicker,.hero-v4 .hero-text-only h1,.hero-v4 .hero-text-only .lede,.hero-v4 .hero-text-only .hero-ctas{ grid-column:1; grid-row:auto; }
  .hero-v4 .hero-text-only h1{ margin-bottom:22px; }
  .hero-v4 .hero-text-only .lede{ margin:0 0 4px; }
  .hero-v4 .hero-text-only .hero-ctas{ margin-top:26px; }
}
@media (max-width:820px){
  .hero-v4{ padding-bottom:28px; }
  .hero-v4 .hero-text-only h1{ font-size:clamp(38px,11vw,48px); }
}
@media (min-width:821px) and (max-width:1100px){
  .hero-v4 .hero-text-only .hero-ctas{ display:flex; flex-wrap:wrap; }
  .hero-v4 .hero-text-only .hero-ctas .btn{ width:auto; }
}

/* ── Hero with the isometric system figure (as live), v4 typography ── */
.hero-v4 .hero-grid{ grid-template-columns:1.12fr .88fr; gap:clamp(32px,4.4vw,74px); align-items:center; }
.hero-v4 .hero-figure{ margin:0; position:relative; }
.hero-v4 .hero-figure figcaption{ margin-top:6px; text-align:center; font:400 12px/1.5 var(--body); color:var(--text-muted); letter-spacing:0; text-transform:none; }
@media (min-width:821px) and (max-width:1100px){ .hero-v4 .hero-grid{ grid-template-columns:1fr .9fr; } }
@media (max-width:820px){
  .hero-v4 .hero-grid{ grid-template-columns:1fr; gap:26px; }
  .hero-v4 .hero-figure{ max-width:300px; margin:0 auto; }
}

/* ═══════════════════════════════════════════════════════════════════
   DIRECTION v4, SITE-WIDE — typography: sentence case, no letter-spaced
   uppercase; monospace only for small labels. Structured comparison.
   ═══════════════════════════════════════════════════════════════════ */
.eyebrow,.pillar-tag,.bi-tag,.footer-descriptor,.footer-col-title,.cmp-tag,.page-hero-line,.hero-figure figcaption,.mobile-menu-tag{
  text-transform:none; letter-spacing:0;
}
.eyebrow{ font:600 13.5px/1.2 var(--body); color:var(--teal-bright); opacity:1; margin-bottom:16px; gap:10px; }
.eyebrow::before{ width:22px; opacity:.8; }
.pillar-tag,.bi-tag{ font:400 12.5px/1.4 var(--mono); }
.footer-descriptor{ font:400 12.5px/1.6 var(--mono); color:var(--teal-bright); }
.footer-col-title{ font:600 13px/1.2 var(--body); color:var(--white); margin-bottom:16px; }
.page-hero-line{ font:600 14px/1.4 var(--body); color:var(--teal-bright); }
.hero-figure figcaption{ font:400 12px/1.5 var(--body); color:var(--text-muted); }
.cmp-tag{ font:600 13.5px/1.2 var(--body); color:var(--text-dim); padding-bottom:12px; }
.cmp-nexgen .cmp-tag{ color:var(--teal-bright); }
/* structured comparison: the Nexgen column sits on a faint surface */
.cmp-card{ padding:18px 20px 8px; border-radius:14px; }
.cmp-nexgen{ background:rgba(0,224,167,.035); border:1px solid rgba(0,224,167,.14); }
.cmp-generic{ padding-left:0; padding-right:0; }
@media (max-width:820px){ .cmp-nexgen{ padding:16px 16px 6px; } }
/* headings: deliberate measure everywhere */
.section-title{ letter-spacing:-.035em; }
.section-header.left .section-title{ max-width:20ch; }
/* every section header aligns left, like the homepage */
.section-header{ text-align:left; }
.section-header .section-subtitle{ margin-left:0; margin-right:0; }
.section-header .section-title{ max-width:20ch; }
.btn{ text-transform:none; }
/* Project rows below 1024px: the number runs inline with the platform name
   instead of taking a narrow grid column of its own. */
@media (max-width:1023px){
  .proj-row{ display:block; padding:22px 0; }
  .proj-num{ display:inline-block; margin-right:10px; line-height:1; vertical-align:2px; }
  .proj-id{ display:block; margin-bottom:12px; }
  .proj-id h3{ display:inline; margin:0; }
  .proj-cat{ display:block; margin:6px 0 0; }
  .proj-desc{ margin-bottom:12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE v5 — shorter, more composed. Surfaces alternate, mint is
   reserved for emphasis and interaction, no divider rows, no uppercase.
   ═══════════════════════════════════════════════════════════════════ */
.h5-head{ max-width:640px; margin-bottom:clamp(26px,3.2vw,40px); }
.h5-head h2,.h5-brand-head h2,.h5-fnd-body h2,.h5-cta h2{ font-size:clamp(32px,4vw,52px); line-height:1.02; letter-spacing:-.04em; color:var(--white); margin:0 0 14px; }
.h5-head .kicker,.h5-brand-head .kicker,.h5-fnd-body .kicker{ margin-bottom:14px; }
.h5-band{ background:linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* founder: short, human */
.h5-founder{ padding:clamp(36px,4.6vw,72px) 0 clamp(20px,2.6vw,40px); }
.h5-fnd{ display:grid; grid-template-columns:minmax(200px,240px) minmax(0,1fr); gap:clamp(30px,5vw,80px); align-items:center; }
.h5-portrait{ margin:0; }
.h5-portrait img{ display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:50% 22%; border-radius:8px; border:1px solid rgba(255,255,255,.1); }
.h5-portrait figcaption{ margin-top:12px; font:600 14px/1.3 var(--body); color:var(--white); display:flex; flex-direction:column; gap:2px; }
.h5-portrait figcaption span{ font:400 13px/1.4 var(--body); color:var(--text-muted); }
.h5-fnd-body h2{ max-width:20ch; }
.h5-fnd-body p{ font-size:16.5px; line-height:1.65; color:var(--text-dim); margin:0 0 14px; max-width:52ch; }
.h5-bridge{ font-weight:600; color:var(--white) !important; padding-left:14px; border-left:2px solid var(--teal-bright); margin:18px 0 18px !important; }
.h5-fnd-body .text-link{ min-height:0; font-size:14.5px; }

/* built around your brand: a band with the demonstration */
.h5-brand{ padding:clamp(56px,6.4vw,92px) 0; background:linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.h5-brand-head{ max-width:640px; margin-bottom:clamp(26px,3vw,38px); }
.h5-brand-head p{ font-size:clamp(16px,1.2vw,17.5px); line-height:1.62; color:var(--text-dim); margin:0; max-width:54ch; }
.demo{ border-radius:18px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.025); padding:clamp(16px,2vw,24px); }
.demo-top{ display:flex; align-items:center; justify-content:space-between; gap:16px 24px; flex-wrap:wrap; margin-bottom:16px; }
.demo-note{ margin:0; font-size:13.5px; line-height:1.5; color:var(--text-muted); max-width:52ch; }
.demo-switch{ display:inline-flex; padding:3px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); }
.demo-switch button{
  appearance:none; border:0; cursor:pointer; padding:9px 14px; border-radius:999px; min-height:36px;
  font:600 13.5px/1 var(--body); color:var(--text-dim); background:transparent; transition:background .2s ease,color .2s ease;
}
.demo-switch button.is-on{ background:var(--teal-bright); color:var(--bg); }
.demo-switch button:focus-visible{ outline:2px solid var(--teal-bright); outline-offset:2px; }
.demo-app{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:14px; }
.demo-bar{ grid-column:1 / -1; display:flex; align-items:center; gap:14px; padding:12px 16px; border-radius:12px; background:var(--demo-surface,rgba(255,255,255,.04)); border:1px solid var(--demo-border,rgba(255,255,255,.08)); }
.demo-brand{ display:inline-flex; align-items:center; gap:10px; font:700 16px/1 var(--display); color:var(--white); letter-spacing:-.01em; }
.demo-mark{ width:26px; height:26px; border-radius:7px; display:grid; place-items:center; font:800 12px/1 var(--display); font-style:normal; color:#fff; background:var(--demo-accent,#3b82f6); }
.demo-tag{ margin-left:auto; font-size:12.5px; color:var(--text-muted); }
.demo-flow,.demo-roles{ padding:14px 16px 16px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); }
.demo-label{ margin:0 0 12px; font:600 12.5px/1 var(--body); color:var(--text-muted); }
.demo-flow ol{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.demo-flow li{ font:500 13.5px/1 var(--body); color:var(--text-dim); padding:9px 12px; border-radius:8px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.07); position:relative; }
.demo-flow li.is-now{ color:var(--bg); background:var(--demo-accent,#3b82f6); border-color:transparent; }
.demo-roles ul{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.demo-roles li{ display:grid; gap:2px; padding:9px 12px; border-radius:8px; background:rgba(255,255,255,.04); }
.demo-roles strong{ font:600 13.5px/1.3 var(--body); color:var(--white); }
.demo-roles span{ font-size:13px; line-height:1.4; color:var(--text-dim); }
/* example switching: the page shows example A until a visitor chooses B */
.demo .ex-b{ display:none; }
.demo[data-example="b"] .ex-a{ display:none; }
.demo[data-example="b"] .ex-b{ display:flex; }
.demo[data-example="b"] ul.ex-b{ display:grid; }
.demo[data-example="a"]{ --demo-accent:#3b82f6; --demo-surface:rgba(59,130,246,.08); --demo-border:rgba(59,130,246,.22); }
.demo[data-example="b"]{ --demo-accent:#d97706; --demo-surface:rgba(217,119,6,.09); --demo-border:rgba(217,119,6,.24); }
.demo[data-example="b"] .demo-mark{ color:#1a1206; }

/* what we build: four entries with motifs, no cards */
.h5-build{ padding:clamp(56px,6.4vw,92px) 0 clamp(40px,5vw,72px); }
.h5-build-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(22px,3vw,44px); }
.h5-build-item h3{ margin:0 0 8px; font-size:19px; letter-spacing:-.02em; color:var(--white); }
.h5-build-item p{ margin:0; font-size:15px; line-height:1.58; color:var(--text-dim); max-width:30ch; }
.motif{ height:64px; margin-bottom:18px; display:flex; align-items:flex-end; gap:6px; }
.motif-platform{ display:grid; grid-template-columns:repeat(2,26px); grid-auto-rows:26px; gap:6px; align-items:stretch; position:relative; }
.motif-platform i{ border-radius:6px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); }
.motif-platform i:first-child{ background:rgba(0,224,167,.18); border-color:rgba(0,224,167,.45); }
.motif-crm{ align-items:center; }
.motif-crm b{ font:500 11.5px/1 var(--mono); color:var(--text-dim); padding:6px 8px; border-radius:6px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); position:relative; }
.motif-crm b + b::before{ content:""; position:absolute; left:-7px; top:50%; width:6px; height:1px; background:rgba(255,255,255,.25); }
.motif-crm b.on{ color:var(--bg); background:var(--teal-bright); border-color:transparent; }
.motif-portal{ align-items:center; flex-wrap:wrap; gap:5px; }
.motif-portal u{ text-decoration:none; font:600 11.5px/1 var(--body); color:var(--white); padding:6px 8px; border-radius:6px; background:rgba(0,224,167,.16); border:1px solid rgba(0,224,167,.4); }
.motif-portal s{ text-decoration:none; font:400 11.5px/1 var(--mono); color:var(--text-dim); padding:6px 8px; border-radius:6px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
.motif-shift{ align-items:flex-end; gap:5px; }
.motif-shift i.d{ width:14px; height:34px; border-radius:4px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); }
.motif-shift i.d.on{ height:46px; background:rgba(0,224,167,.22); border-color:rgba(0,224,167,.5); }
.motif-shift i.d.off{ height:22px; opacity:.5; }

/* systems we've built: identity first, details on request */
.h5-work{ padding:clamp(48px,5.6vw,84px) 0; }
.h5-proj{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.h5-proj-item{ padding:22px 24px 18px; border-radius:16px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); }
.h5-proj-id{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.h5-mark{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center; font:800 14px/1 var(--display); letter-spacing:-.02em; color:#fff; }
.h5-name{ font:700 22px/1.1 var(--display); letter-spacing:-.025em; color:var(--white); }
.id-shiftly .h5-mark{ background:linear-gradient(135deg,#0ea5e9,#0369a1); }
.id-shiftly .h5-name{ font-weight:800; }
.id-leaddesk .h5-mark{ background:linear-gradient(135deg,#6366f1,#3730a3); }
.id-leaddesk .h5-name{ font-weight:600; }
.id-thrive .h5-mark{ background:linear-gradient(135deg,#f59e0b,#b45309); color:#1a1206; }
.id-thrive .h5-name{ font-weight:700; font-style:italic; }
.id-telepro .h5-mark{ background:linear-gradient(135deg,#64748b,#334155); }
.id-telepro .h5-name{ font-weight:600; letter-spacing:-.01em; }
.h5-cat{ margin:0 0 8px; font:400 12.5px/1.4 var(--mono); color:var(--text-muted); }
.h5-sum{ margin:0; font-size:15.5px; line-height:1.58; color:var(--text); max-width:46ch; }
.h5-details{ margin-top:12px; }
.h5-details summary{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px; min-height:40px; padding-right:6px; font:600 13.5px/1 var(--body); color:var(--teal-bright); }
.h5-details summary::-webkit-details-marker{ display:none; }
.h5-details summary::after{ content:""; flex:none; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .2s ease; }
.h5-details[open] summary::after{ transform:rotate(-135deg) translateY(-1px); }
.h5-details summary:focus-visible{ outline:2px solid var(--teal-bright); outline-offset:3px; border-radius:4px; }
.h5-details p{ margin:8px 0 0; font-size:14.5px; line-height:1.58; color:var(--text-dim); }
.h5-details b{ display:block; font:600 12.5px/1.6 var(--body); color:var(--white); }

/* process: three stages on a quiet band */
.h5-process{ padding:clamp(52px,6vw,84px) 0; background:linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg-2) 60%, var(--bg)); }
.h5-stages{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,3vw,44px); }
.h5-stages li{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 14px; align-items:baseline; }
.h5-stages span{ font:400 14px/1 var(--mono); color:var(--teal-bright); grid-row:1 / span 2; padding-top:4px; }
.h5-stages h3{ margin:0; font-size:22px; letter-spacing:-.025em; color:var(--white); }
.h5-stages p{ margin:0; font-size:15px; line-height:1.58; color:var(--text-dim); max-width:32ch; }
.h5-process-link{ margin:clamp(22px,3vw,34px) 0 0; }
.h5-process-link .text-link{ min-height:0; font-size:14.5px; }

/* faq + cta */
.h5-faq{ padding:clamp(44px,5vw,72px) 0; }
.h5-faq .faq-list{ margin-left:0; }
.h5-cta{ padding:clamp(44px,5vw,72px) 0 clamp(52px,6vw,80px); }
.h5-cta .kicker{ margin-bottom:12px; }

/* phones */
@media (max-width:1023px){
  .h5-build-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 24px; }
  .h5-stages{ grid-template-columns:minmax(0,1fr); gap:18px; }
}
@media (max-width:820px){
  .h5-founder{ padding:32px 0 14px; }
  .h5-fnd{ grid-template-columns:132px minmax(0,1fr); gap:20px; align-items:center; }
  .h5-fnd-body{ grid-column:1 / -1; }
  .h5-portrait{ grid-column:1; }
  .h5-portrait figcaption{ margin-top:8px; }
  .h5-fnd{ grid-template-areas:"portrait caption" "body body"; }
  .h5-portrait{ grid-area:portrait; display:contents; }
  .h5-portrait img{ grid-area:portrait; width:132px; }
  .h5-portrait figcaption{ grid-area:caption; align-self:end; margin:0 0 6px; font-size:16px; }
  .h5-fnd-body{ grid-area:body; margin-top:18px; }
  .h5-fnd-body p{ font-size:15.5px; }
  .h5-brand,.h5-build,.h5-work,.h5-process,.h5-faq{ padding-top:44px; padding-bottom:44px; }
  .demo{ padding:14px; border-radius:14px; }
  .demo-top{ margin-bottom:12px; }
  .demo-switch{ width:100%; }
  .demo-switch button{ flex:1; }
  .demo-app{ grid-template-columns:minmax(0,1fr); gap:10px; }
  .demo-tag{ display:none; }
  .demo-flow li{ font-size:13px; padding:8px 10px; }
  .h5-build-grid{ grid-template-columns:minmax(0,1fr); gap:22px; }
  .h5-build-item p{ max-width:none; }
  .motif{ height:52px; margin-bottom:12px; }
  .h5-proj{ grid-template-columns:minmax(0,1fr); gap:12px; }
  .h5-proj-item{ padding:18px 18px 14px; }
  .h5-name{ font-size:20px; }
  .h5-cta{ padding-bottom:52px; }
}
@media (max-width:360px){
  .h5-fnd{ grid-template-columns:116px minmax(0,1fr); }
  .h5-portrait img{ width:116px; }
}

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE v6 — product-company composition. Navy panels, thin borders,
   mint only for active states, links and the primary action.
   ═══════════════════════════════════════════════════════════════════ */
:root{ --navy-1:#0b1526; --navy-2:#0f1d33; --navy-3:#13243d; --line:rgba(255,255,255,.08); --line-2:rgba(255,255,255,.13); }
#main .kicker{ color:var(--text-muted); font-weight:600; }
#main .kicker::before{ background:var(--text-muted); opacity:.7; }
.h6-head{ max-width:640px; margin-bottom:clamp(24px,3vw,36px); }
.h6-head h2,.h6-brand-head h2,.h6-fnd-body h2,.h6-cta h2{ font-size:clamp(32px,4vw,52px); line-height:1.02; letter-spacing:-.04em; color:var(--white); margin:0 0 12px; }

/* founder */
.h6-founder{ padding:clamp(36px,4.6vw,72px) 0 clamp(28px,3.4vw,56px); }
.h6-fnd{ display:grid; grid-template-columns:minmax(200px,236px) minmax(0,1fr); gap:clamp(30px,5vw,80px); align-items:center; }
.h6-portrait{ margin:0; }
.h6-portrait img{ display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:50% 22%; border-radius:8px; border:1px solid var(--line-2); }
.h6-portrait figcaption{ margin-top:12px; font:600 14px/1.3 var(--body); color:var(--white); display:flex; flex-direction:column; gap:2px; }
.h6-portrait figcaption span{ font:400 13px/1.4 var(--body); color:var(--text-muted); }
.h6-fnd-body h2{ max-width:20ch; }
.h6-fnd-body p{ font-size:16.5px; line-height:1.62; color:var(--text-dim); margin:0 0 12px; max-width:48ch; }
.h6-bridge{ font-weight:600; color:var(--white) !important; padding-left:14px; border-left:2px solid var(--teal-bright); margin:16px 0 16px !important; }
.h6-fnd-body .text-link{ min-height:0; font-size:14.5px; }

/* why bespoke: the product moment on a brighter navy panel */
.h6-brand{ padding:clamp(52px,6vw,88px) 0; background:linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 100%); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.h6-brand-head{ max-width:640px; margin-bottom:clamp(22px,2.8vw,32px); }
.h6-brand-head p{ font-size:clamp(16px,1.2vw,18px); line-height:1.55; color:var(--text-dim); margin:0; max-width:46ch; }
.demo{ border-radius:16px; border:1px solid var(--line-2); background:var(--navy-3); box-shadow:0 30px 70px -40px rgba(0,0,0,.8); padding:14px; }
.demo-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.demo-eg{ font:500 12px/1 var(--body); color:var(--text-muted); padding:6px 9px; border-radius:5px; border:1px solid var(--line-2); }
.demo-switch{ display:inline-flex; padding:3px; border-radius:999px; background:rgba(0,0,0,.25); border:1px solid var(--line); }
.demo-switch button{ appearance:none; border:0; cursor:pointer; padding:8px 14px; border-radius:999px; min-height:34px; font:600 13.5px/1 var(--body); color:var(--text-dim); background:transparent; transition:background .2s,color .2s; }
.demo-switch button.is-on{ background:var(--teal-bright); color:var(--bg); }
.demo-switch button:focus-visible,.d-roletabs button:focus-visible{ outline:2px solid var(--teal-bright); outline-offset:2px; }
.demo .ex-b{ display:none; } .demo[data-example="b"] .ex-a{ display:none; } .demo[data-example="b"] .ex-b{ display:block; }
.dapp{ border-radius:12px; overflow:hidden; border:1px solid var(--line-2); }
.d-foot{ padding:7px 14px; font:400 11.5px/1 var(--mono); color:var(--text-muted); text-align:right; border-top:1px solid var(--line); }
.d-roletabs{ display:flex; gap:4px; margin-bottom:10px; }
.d-roletabs button{ appearance:none; cursor:pointer; padding:7px 11px; min-height:32px; border-radius:7px; font:600 12.5px/1 var(--body); color:var(--text-dim); background:transparent; border:1px solid transparent; }
.d-view{ display:none; } .d-view-note{ margin:0 0 8px; font-size:12.5px; line-height:1.45; color:var(--text-muted); }
.dapp[data-role="dispatcher"] .v-dispatcher,.dapp[data-role="driver"] .v-driver,.dapp[data-role="owner"] .v-owner,
.dapp[data-role="reception"] .v-reception,.dapp[data-role="clinician"] .v-clinician,.dapp[data-role="practice"] .v-practice{ display:block; }

/* A · Atlas Freight: cool blue, dense, operations board */
.dapp-a{ --acc:#3b82f6; --acc-soft:rgba(59,130,246,.18); background:#0b1322; font-family:var(--body); }
.da-bar{ display:flex; align-items:center; gap:14px; padding:10px 14px; background:#0e1a2f; border-bottom:1px solid var(--line); }
.da-brand{ display:inline-flex; align-items:center; gap:9px; font:700 14.5px/1 var(--display); color:#fff; letter-spacing:-.01em; white-space:nowrap; }
.da-brand i{ width:24px; height:24px; border-radius:6px; background:var(--acc); color:#fff; font:800 10.5px/1 var(--display); font-style:normal; display:grid; place-items:center; }
.da-tabs{ display:flex; gap:2px; } .da-tabs span{ font:500 12.5px/1 var(--body); color:var(--text-muted); padding:7px 10px; border-radius:6px; } .da-tabs .on{ color:#fff; background:rgba(255,255,255,.07); }
.da-user{ margin-left:auto; display:inline-flex; align-items:center; gap:7px; font:500 12.5px/1 var(--body); color:var(--text-dim); white-space:nowrap; }
.da-user i{ width:20px; height:20px; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; font:700 10px/1 var(--body); font-style:normal; display:grid; place-items:center; }
.da-body{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:10px; padding:10px; }
.da-job{ padding:12px 14px; border-radius:9px; background:#0f1b31; border:1px solid var(--line); }
.da-job-head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.da-id{ font:500 12px/1 var(--mono); color:var(--acc); padding:5px 7px; border-radius:5px; background:var(--acc-soft); }
.da-route{ font:500 13px/1.3 var(--body); color:#fff; } .da-eta{ margin-left:auto; font:500 12px/1 var(--body); color:var(--text-dim); }
.da-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:4px; }
.da-steps li{ position:relative; padding:14px 0 0; font:500 11.5px/1.2 var(--body); color:var(--text-muted); text-align:center; }
.da-steps li::before{ content:""; position:absolute; left:0; right:0; top:4px; height:3px; border-radius:2px; background:rgba(255,255,255,.1); }
.da-steps li.done{ color:var(--text-dim); } .da-steps li.done::before{ background:var(--acc); opacity:.55; }
.da-steps li.now{ color:#fff; } .da-steps li.now::before{ background:var(--acc); }
.da-roles{ padding:10px 12px 12px; border-radius:9px; background:#0f1b31; border:1px solid var(--line); }
.dapp-a .d-roletabs button.is-on{ color:#fff; background:var(--acc-soft); border-color:rgba(59,130,246,.4); }
.da-kpis{ display:flex; gap:6px; margin-bottom:8px; } .da-kpis span{ flex:1; display:flex; flex-direction:column; gap:3px; padding:8px 9px; border-radius:7px; background:rgba(255,255,255,.04); font:400 11px/1.2 var(--body); color:var(--text-muted); }
.da-kpis b{ font:700 17px/1 var(--display); color:#fff; letter-spacing:-.02em; }
.da-list{ list-style:none; margin:0; padding:0; display:grid; gap:4px; }
.da-list li{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 9px; border-radius:6px; background:rgba(255,255,255,.035); font:500 12.5px/1.2 var(--body); color:var(--text); }
.da-list em{ font:500 11px/1 var(--body); font-style:normal; color:var(--text-muted); padding:4px 7px; border-radius:999px; background:rgba(255,255,255,.06); white-space:nowrap; }
.da-list em.ok{ color:#86efac; background:rgba(34,197,94,.14); } .da-list em.warn{ color:#fcd34d; background:rgba(245,158,11,.16); }

/* B · Bloom Dental: warm, calm, diary-led */
.dapp-b{ --acc:#f0a1a8; --acc-2:#e0616c; --acc-soft:rgba(224,97,108,.16); background:#1a1417; font-family:var(--body); }
.db-bar{ display:flex; align-items:center; gap:14px; padding:10px 16px; background:#221a1d; border-bottom:1px solid rgba(255,255,255,.07); }
.db-brand{ display:inline-flex; align-items:center; gap:9px; font:500 16px/1 var(--display); color:#fff5f2; letter-spacing:.02em; white-space:nowrap; }
.db-brand i{ width:12px; height:12px; border-radius:50%; background:var(--acc-2); box-shadow:0 0 0 3px var(--acc-soft); }
.db-tabs{ display:flex; gap:14px; margin-left:auto; } .db-tabs span{ font:500 12.5px/1 var(--body); color:rgba(255,245,242,.55); padding:7px 0; border-bottom:2px solid transparent; } .db-tabs .on{ color:#fff5f2; border-bottom-color:var(--acc-2); }
.db-user{ font:500 12px/1 var(--body); color:rgba(255,245,242,.6); white-space:nowrap; }
.db-body{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; padding:12px; }
.db-appt{ padding:14px; border-radius:12px; background:#231b1f; border:1px solid rgba(255,255,255,.06); }
.db-appt-head{ display:flex; align-items:baseline; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
.db-time{ font:600 20px/1 var(--display); color:#fff5f2; } .db-name{ font:500 13px/1.3 var(--body); color:rgba(255,245,242,.85); } .db-chair{ margin-left:auto; font:500 11.5px/1 var(--body); color:var(--acc); padding:5px 8px; border-radius:999px; background:var(--acc-soft); }
.db-steps{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:5px; }
.db-steps li{ font:500 12px/1 var(--body); color:rgba(255,245,242,.5); padding:7px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.1); }
.db-steps li.done{ color:rgba(255,245,242,.8); border-color:rgba(224,97,108,.35); } .db-steps li.now{ color:#1a1417; background:var(--acc); border-color:var(--acc); }
.db-roles{ padding:12px; border-radius:12px; background:#231b1f; border:1px solid rgba(255,255,255,.06); }
.dapp-b .d-roletabs button{ color:rgba(255,245,242,.6); border-radius:999px; } .dapp-b .d-roletabs button.is-on{ color:#1a1417; background:var(--acc); }
.dapp-b .d-view-note{ color:rgba(255,245,242,.55); }
.db-diary{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.db-diary li{ display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:10px; padding:8px 8px; border-left:2px solid rgba(255,255,255,.1); font:500 12.5px/1.2 var(--body); color:rgba(255,245,242,.85); }
.db-diary li.now{ border-left-color:var(--acc-2); background:var(--acc-soft); border-radius:0 8px 8px 0; }
.db-diary span{ font:400 12px/1 var(--mono); color:rgba(255,245,242,.55); } .db-diary b{ font-weight:600; color:#fff5f2; } .db-diary em{ font:400 11px/1 var(--body); font-style:normal; color:rgba(255,245,242,.55); }
.db-kpis{ display:flex; gap:6px; } .db-kpis span{ flex:1; display:flex; flex-direction:column; gap:3px; padding:9px; border-radius:9px; background:rgba(255,255,255,.04); font:400 11px/1.2 var(--body); color:rgba(255,245,242,.55); }
.db-kpis b{ font:600 18px/1 var(--display); color:#fff5f2; }

/* what we build: schematic + text as one row / 2x2 */
.h6-build{ padding:clamp(52px,6vw,88px) 0; }
.h6-build-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,2vw,24px); }
.h6-build-item{ display:grid; grid-template-columns:160px minmax(0,1fr); gap:20px; align-items:center; padding:18px 20px; border-radius:14px; background:var(--navy-1); border:1px solid var(--line); }
.schem{ width:160px; height:96px; border-radius:10px; background:rgba(255,255,255,.025); border:1px solid var(--line); overflow:hidden; }
.schem svg{ display:block; width:100%; height:100%; }
.s-box{ fill:rgba(255,255,255,.05); stroke:rgba(255,255,255,.32); stroke-width:1.2; }
.s-col{ fill:rgba(255,255,255,.03); stroke:rgba(255,255,255,.2); stroke-width:1; }
.s-hub{ fill:rgba(0,224,167,.12); stroke:var(--teal-bright); stroke-width:1.2; }
.s-card{ fill:rgba(255,255,255,.14); }
.s-active{ fill:var(--teal-bright); }
.s-line{ fill:none; stroke:rgba(255,255,255,.32); stroke-width:1.2; }
.s-arrow{ fill:none; stroke:var(--teal-bright); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.s-dot{ fill:rgba(255,255,255,.45); }
.h6-build-text h3{ margin:0 0 5px; font-size:18px; letter-spacing:-.02em; color:var(--white); }
.h6-build-text p{ margin:0; font-size:14.5px; line-height:1.55; color:var(--text-dim); }

/* systems: compact project cards with real marks */
.h6-work{ padding:clamp(52px,6vw,88px) 0; background:var(--navy-1); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.pc-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.pc{ padding:16px 18px 12px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid var(--line); }
.pc-id{ display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.pc-id img{ height:34px; width:auto; flex:none; }
.pc-type{ font:800 15px/1 var(--display); letter-spacing:-.03em; color:var(--white); padding:9px 8px; border-radius:7px; background:rgba(255,255,255,.07); border:1px solid var(--line-2); white-space:nowrap; }
.pc-id h3{ margin:0; font-size:18px; letter-spacing:-.02em; color:var(--white); line-height:1.15; }
.pc-id p{ margin:2px 0 0; font-size:12.5px; color:var(--text-muted); }
.pc-sum{ margin:0; font-size:14.5px; line-height:1.55; color:var(--text-dim); }
.pc-details{ margin-top:6px; }
.pc-details summary{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:7px; min-height:36px; padding-right:6px; font:600 13px/1 var(--body); color:var(--teal-bright); }
.pc-details summary::-webkit-details-marker{ display:none; }
.pc-details summary::after{ content:""; flex:none; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .2s; }
.pc-details[open] summary::after{ transform:rotate(-135deg) translateY(-1px); }
.pc-details summary:focus-visible{ outline:2px solid var(--teal-bright); outline-offset:3px; border-radius:4px; }
.pc-details p{ margin:6px 0 4px; font-size:14px; line-height:1.55; color:var(--text-dim); }
.pc-details b{ display:block; font:600 12.5px/1.6 var(--body); color:var(--white); }

/* process, faq, cta */
.h6-process{ padding:clamp(52px,6vw,84px) 0; }
.h6-stages{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,3vw,40px); }
.h6-stages li{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 14px; align-items:baseline; }
.h6-stages span{ font:400 14px/1 var(--mono); color:var(--text-muted); grid-row:1 / span 2; padding-top:4px; }
.h6-stages h3{ margin:0; font-size:22px; letter-spacing:-.025em; color:var(--white); }
.h6-stages p{ margin:0; font-size:15px; line-height:1.55; color:var(--text-dim); max-width:32ch; }
.h6-process-link{ margin:clamp(20px,3vw,32px) 0 0; } .h6-process-link .text-link{ min-height:0; font-size:14.5px; }
.h6-faq{ padding:clamp(40px,5vw,64px) 0; border-top:1px solid var(--line); } .h6-faq .faq-list{ margin-left:0; }
.h6-cta{ padding:clamp(48px,5.6vw,76px) 0 clamp(52px,6vw,80px); background:linear-gradient(180deg, var(--bg), var(--navy-1)); }
.h6-cta .kicker{ margin-bottom:10px; } .h6-cta .cta-simple > p{ max-width:46ch; }

@media (max-width:1023px){
  .h6-build-grid{ grid-template-columns:minmax(0,1fr); }
  .h6-stages{ grid-template-columns:minmax(0,1fr); gap:18px; }
  .da-tabs,.db-tabs{ display:none; }
}
@media (max-width:820px){
  .h6-founder{ padding:32px 0 22px; }
  .h6-fnd{ grid-template-columns:minmax(0,1fr); gap:0; grid-template-areas:"portrait caption" "body body"; grid-template-columns:120px minmax(0,1fr); column-gap:18px; }
  .h6-portrait{ display:contents; } .h6-portrait img{ grid-area:portrait; width:120px; } .h6-portrait figcaption{ grid-area:caption; align-self:end; margin:0 0 6px; font-size:16px; }
  .h6-fnd-body{ grid-area:body; margin-top:16px; } .h6-fnd-body p{ font-size:15.5px; }
  .h6-brand,.h6-build,.h6-work,.h6-process{ padding-top:40px; padding-bottom:40px; }
  .demo{ padding:10px; border-radius:14px; }
  .demo-top{ flex-direction:column; align-items:stretch; gap:8px; } .demo-switch{ width:100%; } .demo-switch button{ flex:1; } .demo-eg{ align-self:flex-start; }
  .da-body,.db-body{ grid-template-columns:minmax(0,1fr); gap:8px; padding:8px; }
  .da-user,.db-user{ display:none; }
  .da-steps li{ font-size:11px; } .da-eta{ margin-left:0; }
  .db-appt-head{ gap:8px; } .db-chair{ margin-left:0; }
  .da-kpis span,.db-kpis span{ padding:7px 8px; }
  .h6-build-item{ grid-template-columns:120px minmax(0,1fr); gap:14px; padding:12px 14px; }
  .schem{ width:120px; height:72px; }
  .h6-build-text h3{ font-size:17px; } .h6-build-text p{ font-size:14px; }
  .pc-list{ grid-template-columns:minmax(0,1fr); gap:10px; }
  .pc{ padding:12px 14px 8px; } .pc-id{ gap:10px; margin-bottom:6px; } .pc-id img{ height:28px; } .pc-id h3{ font-size:17px; } .pc-sum{ font-size:14px; }
  .pc-details summary{ min-height:34px; }
}
@media (max-width:360px){ .h6-fnd{ grid-template-columns:104px minmax(0,1fr); } .h6-portrait img{ width:104px; } .da-steps li{ font-size:10.5px; } }

/* detail rows under each workflow: the small interface details that differ per business */
.da-body,.db-body{ align-items:start; }
.da-meta{ margin:12px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }
.da-meta div{ display:flex; flex-direction:column; gap:2px; padding:7px 9px; border-radius:6px; background:rgba(255,255,255,.035); }
.da-meta dt{ font:400 10.5px/1 var(--mono); color:var(--text-muted); } .da-meta dd{ margin:0; font:500 12.5px/1.2 var(--body); color:var(--text); }
.db-meta{ margin:14px 0 0; display:flex; gap:16px; flex-wrap:wrap; padding-top:12px; border-top:1px dashed rgba(255,255,255,.1); }
.db-meta div{ display:flex; flex-direction:column; gap:3px; }
.db-meta dt{ font:400 11px/1 var(--body); color:rgba(255,245,242,.5); } .db-meta dd{ margin:0; font:500 13px/1.2 var(--body); color:#fff5f2; }
@media (max-width:820px){ .da-meta{ margin-top:10px; } .db-meta{ gap:12px; } }

/* ═══════════════════════════════════════════════════════════════════
   DESIGN SYSTEM v6 — SITE-WIDE (approved 2026-09-25)
   Muted labels, navy bands, flat thin-bordered surfaces, compact FAQ,
   mint reserved for active states, links and the primary action.
   ═══════════════════════════════════════════════════════════════════ */
.eyebrow{ color:var(--text-muted); } .eyebrow::before{ background:var(--text-muted); opacity:.7; }
.band-light .eyebrow{ color:#4a5765; }
section.band,main > section.band{ background:var(--navy-1); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
section.band + section.band{ border-top:0; }
/* page heroes */
.page-hero{ padding:clamp(118px,13vw,156px) 0 clamp(36px,4.6vw,64px); }
.page-hero h1{ font-size:clamp(36px,5vw,64px); letter-spacing:-.04em; max-width:18ch; }
.page-hero-lede{ font-size:clamp(16px,1.25vw,18px); max-width:52ch; margin-bottom:26px; }
.page-hero-line{ color:var(--teal-bright); }
.hero-chips{ margin-top:22px; }
.hero-chips li{ font-size:12.5px; color:var(--text-dim); border-color:var(--line-2); background:rgba(255,255,255,.03); }
/* flat surfaces: one treatment */
.pillar,.bi-card,.process-step,.why-card,.note-card,.terms-item,.yours-item,.engagement-card{
  background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:12px; box-shadow:none; transform:none;
}
section.band .pillar,section.band .bi-card,section.band .process-step,section.band .why-card,section.band .note-card,section.band .terms-item{ background:rgba(255,255,255,.035); }
.pillar::before,.process-step::before,.pillar.primary::before{ display:none; }
.pillar:hover,.process-step:hover,.why-card:hover,.bi-card:hover,.engagement-card:hover{ transform:none; box-shadow:none; border-color:var(--line-2); background:rgba(255,255,255,.045); }
.pillar{ padding:26px 24px; } .pillar.primary{ border-color:var(--line-2); background:rgba(255,255,255,.04); }
.pillar-tag,.bi-tag{ color:var(--text-muted); } .pillar-tag.primary::after{ display:none; }
.pillar-icon{ display:none; }
.pillar-title{ font-size:clamp(20px,1.7vw,24px); margin-bottom:10px; }
.pillar-desc{ margin-bottom:0; }
.bi-card{ padding:26px 24px; }
.why-card{ padding:20px 18px; }
.note-card{ border-color:var(--line-2); background:rgba(255,255,255,.03); color:var(--text-dim); }
.note-card strong{ color:var(--white); }
.terms-item,.yours-item{ padding:18px 18px; border-top:1px solid var(--line); }
.terms-grid,.yours-grid{ gap:12px 14px; }
.checklist li{ background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:10px; }
.checklist li::before{ background:rgba(0,224,167,.14); border-color:rgba(0,224,167,.4); }
/* How We Work: six stages as one timeline */
.process-grid{ grid-template-columns:minmax(0,1fr); gap:10px; max-width:820px; }
.process-step{ display:grid; grid-template-columns:52px minmax(0,1fr); gap:4px 18px; align-items:start; padding:20px 22px; }
.process-num{ grid-row:1 / span 2; font:400 14px/1.6 var(--mono); color:var(--text-muted); -webkit-text-fill-color:currentColor; background:none; letter-spacing:0; padding-top:2px; }
.process-num::after{ display:none; }
.process-title{ margin:0 0 4px; font-size:19px; }
.process-desc{ margin:0; font-size:14.5px; line-height:1.58; color:var(--text-dim); max-width:60ch; }
/* FAQ: compact accordion everywhere */
.faq-list{ gap:6px; max-width:820px; }
.faq-item{ border-radius:10px; background:rgba(255,255,255,.025); border:1px solid var(--line); }
.faq-item[open]{ border-color:var(--line-2); background:rgba(255,255,255,.035); }
.faq-item summary{ padding:14px 18px; font-size:15px; }
.faq-item p{ padding:0 18px 16px; font-size:14.5px; line-height:1.6; }
.faq-icon{ width:24px; height:24px; }
/* CTA band on every page */
.cta-section{ padding:clamp(48px,5.6vw,76px) 0 clamp(52px,6vw,80px); background:linear-gradient(180deg, var(--bg), var(--navy-1)); }
.cta-simple > p{ max-width:46ch; }
/* About: founder block in the approved layout, biography kept */
.about-fnd .h6-fnd-body p{ max-width:56ch; }
@media (max-width:820px){
  .pillar,.bi-card{ padding:18px 16px; }
  .process-step{ grid-template-columns:36px minmax(0,1fr); gap:2px 12px; padding:16px 16px; }
  .why-grid{ grid-template-columns:minmax(0,1fr) !important; gap:10px; }
  .terms-grid,.yours-grid{ gap:8px; }
  .faq-item summary{ padding:13px 16px; font-size:14.5px; } .faq-item p{ padding:0 16px 14px; }
}
/* mint is for actions and active states: headings are white throughout */
.section-title em,.band-light .section-title em{ background:none; -webkit-background-clip:initial; background-clip:initial; -webkit-text-fill-color:var(--white); color:var(--white); font-style:normal; font-weight:inherit; text-shadow:none; }
.yours-item h3{ color:var(--white); }
.note-card strong,.pillar-cta{ color:var(--white); }
/* every page hero reads left, like the rest of the system */
.page-hero.pg-ai{ text-align:left; } .page-hero.pg-ai .page-hero-lede{ margin-left:0; margin-right:0; } .page-hero.pg-ai .page-hero-ctas{ justify-content:flex-start; }
@media (max-width:480px){ .page-hero.pg-ai .page-hero-ctas{ justify-content:stretch; } }
.page-hero.pg-ai h1,.page-hero.pg-ai .page-hero-lede,.page-hero.pg-ai .eyebrow{ margin-left:0; margin-right:0; }
