/* Flow Inc. — shared site styles (Hybrid direction: warm editorial type × friendly-blocks layout) */
:root {
  --bg: #FAF9F5;
  --ink: #3D3929;
  --muted: #6B675C;
  --faint: #98937F;
  --line: #E7E3D5;
  --accent: #C96442;
  --accent-deep: #A85530;
  --peach: #F2DCC9;
  --sage: #E3E4CE;
  --butter: #EFE6C8;
  --dark: #3D3929;
  --dark-2: #4A4534;
  --dark-text: #B5B0A0;
  --accent-on-dark: #E2A483;
  --cream-on-accent: #F3D9CB;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ── Nav ─────────────────────────────────────── */
.nav-bar { position: sticky; top: 0; z-index: 100; background: rgba(250,249,245,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(231,227,213,0.8); }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 16px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: 0.005em; white-space: nowrap; }
.logo em { color: var(--accent); font-style: normal; }
.logo img { height: 26px; width: auto; display: block; }
.foot .logo img { height: 28px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a { font-size: 15.5px; font-weight: 500; padding: 10px 18px; border-radius: 999px; color: var(--muted); transition: background 0.15s; }
.nav-links a:hover { background: #F0EDE3; color: var(--ink); }
.nav-links a.active { background: #F0EDE3; color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; order: 1; background: none; border: 1.5px solid #D8D3C5; border-radius: 10px; width: 44px; height: 44px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── Buttons ─────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--bg); border-radius: 999px; padding: 15px 30px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; font-family: var(--sans); transition: background 0.15s; white-space: nowrap; }
.btn:hover { background: var(--accent-deep); }
.btn.light { background: var(--bg); color: var(--ink); }
.btn.light:hover { background: #F0EDE3; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #D8D3C5; }
.btn.ghost:hover { background: #F0EDE3; }
.btn.big { padding: 18px 38px; font-size: 17px; }

/* ── Type ────────────────────────────────────── */
.kicker { display: inline-block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h1 { font-family: var(--serif); font-size: clamp(44px, 5.4vw, 78px); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 28px; text-wrap: balance; }
h2 { font-family: var(--serif); font-size: clamp(34px, 3.5vw, 50px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; margin: 0 0 14px; }
.lead { font-size: 19.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hl { background: var(--peach); border-radius: 14px; padding: 0 20px; display: inline-block; }
.hl2 { background: var(--sage); border-radius: 14px; padding: 0 20px; display: inline-block; }
.mono-tag { font-family: var(--mono); font-size: 13px; color: var(--faint); }

/* ── Page hero (centered) ────────────────────── */
.page-hero { text-align: center; padding-top: 80px; padding-bottom: 76px; }
.page-hero .badge { display: inline-flex; gap: 10px; align-items: center; background: #FFFFFF; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 20px; font-size: 14.5px; font-weight: 500; color: var(--muted); margin-bottom: 36px; }
.page-hero .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); font-style: normal; }
.page-hero .lead { max-width: 640px; margin: 0 auto 40px; }
.page-hero .lead:last-child { margin-bottom: 0; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ── Marquee ─────────────────────────────────── */
.marquee { background: var(--accent); color: var(--bg); padding: 22px 0; overflow: hidden; }
.marquee .track { display: flex; gap: 64px; font-family: var(--serif); font-weight: 600; font-size: 20px; white-space: nowrap; width: max-content; animation: mq 30s linear infinite; }
.marquee .track i { font-style: normal; opacity: 0.5; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ── Sections ────────────────────────────────── */
.sec { padding-top: 100px; padding-bottom: 100px; }
.sec.tight { padding-top: 72px; padding-bottom: 72px; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 18px auto 0; line-height: 1.6; }

/* ── Cards ───────────────────────────────────── */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: 24px; padding: 40px 36px 44px; min-height: 380px; display: flex; flex-direction: column; }
.card.peach { background: var(--peach); } .card.sage { background: var(--sage); } .card.butter { background: var(--butter); }
.card .n { font-family: var(--serif); font-size: 56px; font-weight: 600; line-height: 1; opacity: 0.3; margin-bottom: auto; }
.card h3 { margin: 28px 0 14px; }
.card p { font-size: 16px; line-height: 1.6; margin: 0 0 22px; color: #55503F; }
.card .link { font-weight: 600; font-size: 15.5px; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); margin-top: auto; }

/* ── Dark band ───────────────────────────────── */
.dark-band { background: var(--dark); color: var(--bg); border-radius: 32px; }
.dark-inner { padding: 88px 80px; }
.dark-band .kicker { color: var(--accent-on-dark); }
.dark-band h2 { color: var(--bg); }
.dark-band .lead { font-size: 18px; color: var(--dark-text); max-width: 520px; margin: 18px 0 0; }
.pills { display: flex; gap: 14px; margin-top: 52px; }
.pill { flex: 1; background: var(--dark-2); border-radius: 18px; padding: 26px 24px; }
.pill .pn { font-family: var(--mono); font-size: 12.5px; color: var(--accent-on-dark); display: block; margin-bottom: 12px; letter-spacing: 0.06em; }
.pill b { font-size: 17px; display: block; margin-bottom: 8px; font-weight: 600; }
.pill span { font-size: 14px; line-height: 1.5; color: var(--dark-text); }

/* ── How-steps row ───────────────────────────── */
.how-row { display: flex; align-items: stretch; }
.how-step { flex: 1; padding: 0 36px; }
.how-step + .how-step { border-left: 2px dashed #E0DBC9; }
.how-step .ball { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 24px; }
.how-step:nth-child(1) .ball { background: var(--peach); }
.how-step:nth-child(2) .ball { background: var(--sage); }
.how-step:nth-child(3) .ball { background: var(--butter); }
.how-step h3 { font-size: 25px; margin: 0 0 12px; }
.how-step p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── Placeholders ────────────────────────────── */
.ph { background: repeating-linear-gradient(-45deg, #F0EDE3, #F0EDE3 14px, #E9E5D8 14px, #E9E5D8 28px); display: flex; align-items: center; justify-content: center; }
.ph span { font-family: var(--mono); font-size: 13px; color: var(--faint); background: var(--bg); padding: 6px 12px; border-radius: 6px; }

/* ── Founder / split cards ───────────────────── */
.founder-card { display: grid; grid-template-columns: 440px 1fr; background: #FFFFFF; border-radius: 32px; overflow: hidden; border: 1.5px solid var(--line); }
.founder-card .ph { min-height: 460px; height: 100%; }
.founder-card .txt { padding: 64px 72px; display: flex; flex-direction: column; justify-content: center; }
.founder-card blockquote { font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 28px; text-wrap: pretty; }
.who { display: flex; align-items: center; gap: 16px; }
.who .av { width: 52px; height: 52px; border-radius: 50%; background: var(--peach); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--accent-deep); flex-shrink: 0; }
.who b { display: block; font-size: 16px; }
.who span { font-size: 14.5px; color: var(--muted); }

/* ── Split (text + media) ────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .media { border-radius: 24px; min-height: 420px; }
.split p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }

/* ── Checklist ───────────────────────────────── */
.list-check { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.list-check li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.list-check li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--peach); display: flex; align-items: center; justify-content: center; font-size: 13px; margin-top: 2px; }

/* ── Quote block ─────────────────────────────── */
.quote { text-align: center; max-width: 780px; margin: 0 auto; }
.quote .mark { font-family: var(--serif); font-size: 64px; color: var(--accent); line-height: 0.5; display: block; margin-bottom: 22px; }
.quote p { font-family: var(--serif); font-size: 29px; font-weight: 500; font-style: italic; line-height: 1.4; margin: 0 0 22px; color: #55503F; }

/* ── CTA band ────────────────────────────────── */
.cta-band { background: var(--accent); border-radius: 32px; padding: 96px 80px; text-align: center; color: var(--bg); }
.cta-band h2 { color: var(--bg); max-width: 720px; margin: 0 auto 20px; }
.cta-band p { font-size: 18px; color: var(--cream-on-accent); max-width: 520px; margin: 0 auto 40px; line-height: 1.6; }
.cta-band .btn { background: var(--bg); color: var(--ink); }
.cta-band .btn:hover { background: #F0EDE3; }

/* ── Footer ──────────────────────────────────── */
.site-footer { background: var(--dark); color: var(--dark-text); margin-top: 100px; }
.foot { display: flex; justify-content: space-between; gap: 48px; padding: 64px 0 56px; font-size: 15px; flex-wrap: wrap; }
.foot .logo { color: var(--bg); }
.foot .fine { margin-top: 16px; line-height: 1.6; font-size: 14px; }
.foot .cols { display: flex; gap: 80px; }
.foot .cols b { display: block; color: var(--bg); margin-bottom: 14px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.foot .cols div a { display: block; margin-bottom: 10px; }
.foot .cols div a:hover { color: var(--bg); }
.foot-base { border-top: 1px solid #4A4534; padding: 24px 0 32px; display: flex; justify-content: space-between; font-size: 13.5px; color: #8B8675; flex-wrap: wrap; gap: 12px; }

/* ── Forms ───────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field input, .field textarea, .field select { font-family: var(--sans); font-size: 16px; padding: 15px 18px; border-radius: 12px; border: 1.5px solid #D8D3C5; background: #FFFFFF; color: var(--ink); outline: none; transition: border-color 0.15s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }

/* ── Detail rows (services) ──────────────────── */
.svc-detail { display: grid; grid-template-columns: 90px 1fr 380px; gap: 56px; padding: 72px 0; border-top: 1px solid var(--line); align-items: start; }
.svc-detail:last-of-type { border-bottom: 1px solid var(--line); }
.svc-detail .num { font-family: var(--mono); font-size: 15px; color: var(--accent); padding-top: 12px; }
.svc-detail h3 { font-size: 34px; margin-bottom: 18px; }
.svc-detail .desc { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.svc-aside { border-radius: 20px; padding: 32px 32px 36px; }
.svc-aside .at { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #6B6650; display: block; margin-bottom: 18px; }
.svc-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-aside li { font-size: 15.5px; line-height: 1.5; color: #55503F; padding-left: 22px; position: relative; }
.svc-aside li::before { content: "—"; position: absolute; left: 0; color: var(--accent-deep); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 980px) {
  .cards3 { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .pills { flex-direction: column; }
  .how-row { flex-direction: column; gap: 44px; }
  .how-step + .how-step { border-left: none; border-top: 2px dashed #E0DBC9; padding-top: 44px; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card .ph { min-height: 320px; }
  .founder-card .txt { padding: 44px 36px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .dark-inner { padding: 56px 36px; }
  .cta-band { padding: 64px 36px; }
  .nav-links { display: none; }
  .site-nav > .btn { padding: 11px 20px; font-size: 14.5px; }
  .site-nav { position: relative; }
  .nav-toggle { display: flex; }
  .site-nav.nav-open .nav-links { display: flex; flex-direction: column; gap: 4px; position: absolute; top: calc(100% - 8px); left: 0; right: 0; background: #FFFFFF; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px; z-index: 50; box-shadow: 0 12px 32px rgba(61,57,41,0.12); }
  .site-nav.nav-open .nav-links a { padding: 14px 18px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
}
