/* Stack22 website. Tokens from stack22-content-scout/design/system/tokens.css (brand guidelines v1.0). */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #0A0F1E; --navy-mid: #0F1629; --navy-light: #1A2240;
  --gold: #C9A84C; --gold-light: #E8C97A; --slate: #8892A4; --white: #FFFFFF;
  --body: #D5DAE3;
  --line: rgba(136,146,164,.16); --line-strong: rgba(136,146,164,.32);
  --gold-wash: rgba(201,168,76,.10);
  --radius: 16px; --radius-sm: 10px;
  --max: 1160px; --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--navy); color: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01","cv11"; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 99; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

/* Type */
.eyebrow { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--gold); }
.display { font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.h3 { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--body); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--slate); }
em, .hl { font-style: normal; color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; cursor: pointer; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.arrow { transition: transform .15s; } .btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--gold-light); }
.link:hover { color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10,15,30,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--body); } .nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); padding-bottom: 4px; }
.nav .btn { padding: 10px 20px; font-size: 15px; color: var(--navy); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line-strong); color: var(--white); border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 500; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px var(--gutter) 32px; background: var(--navy); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}

/* Sections */
section { padding: var(--section) 0; }
.bg-mid { background: var(--navy-mid); }
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); display: grid; gap: 16px; }
.grid-motif { position: relative; overflow: hidden; }
.grid-motif::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 36px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.grid-motif > * { position: relative; }

/* Hero */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 128px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin: 20px 0 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.proof { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.proof div { font-size: 14px; color: var(--slate); } .proof strong { display: block; color: var(--gold); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 420px; } }

/* Cards */
.cards { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.card { background: var(--navy-light); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s; }
a.card:hover { border-color: rgba(201,168,76,.5); }
.card p { color: var(--body); font-size: 16px; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-wash); border: 1.5px solid rgba(201,168,76,.45); display: grid; place-items: center; margin-bottom: 8px; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kind { font-size: 14px; font-weight: 600; color: var(--slate); }
.status { align-self: flex-start; margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold-wash); color: var(--gold-light); }

/* Pain list */
.pain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .pain { grid-template-columns: 1fr; } }
.pain li { list-style: none; display: flex; gap: 18px; align-items: center; padding: 22px 26px; background: var(--navy-light); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; font-size: 17px; }
.pain li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.closing-line { margin-top: 48px; font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; max-width: 28ch; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.step { padding: 32px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.step .n { font-size: 44px; font-weight: 700; color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.step p { color: var(--body); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split / feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { display: grid; gap: 18px; margin-top: 28px; }
.ticks li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.ticks svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; margin-top: 3px; }
.ticks strong { display: block; font-weight: 600; } .ticks span { color: var(--slate); font-size: 15px; }


/* CTA band */
.cta { text-align: left; }
.cta-inner { background: var(--navy-light); border: 1px solid var(--line); border-radius: 24px; padding: clamp(36px, 6vw, 72px); display: grid; gap: 20px; position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.cta-inner .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { margin: 16px 0 20px; max-width: 18ch; }

/* Service detail rows */
.svc { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); padding: 48px 0; border-top: 1px solid var(--line-strong); }
.svc:last-child { border-bottom: 1px solid var(--line-strong); }
.svc ul { list-style: none; display: grid; gap: 10px; color: var(--body); }
.svc li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 14px; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* Form */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; } .field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { background: var(--navy); color: var(--white); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } @media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--navy-mid); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid img { height: 32px; width: auto; margin-bottom: 16px; }
.foot-grid h4 { font-size: 15px; font-weight: 600; color: var(--gold); margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; } .foot-grid a { color: var(--body); font-size: 15px; } .foot-grid a:hover { color: var(--gold-light); }
.foot-grid p { color: var(--slate); font-size: 15px; max-width: 34ch; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.legal a:hover { color: var(--white); }


/* ---------- Story + texture ---------- */
.tex-dots { position: relative; overflow: hidden; }
.tex-dots::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(136,146,164,.28) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.tex-hatch { position: relative; overflow: hidden; }
.tex-hatch::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 46%; background: repeating-linear-gradient(135deg, rgba(201,168,76,.10) 0 1px, transparent 1px 14px); -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.tex-dots > *, .tex-hatch > * { position: relative; }


.figure { background: var(--navy-light); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); position: relative; }
.figure .cap { position: absolute; right: 18px; top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.figure svg { width: 100%; height: auto; }
.pain.compact { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
.pain.compact li { padding: 16px 20px; font-size: 16px; background: transparent; }

/* Process with connecting line */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.journey .stop { position: relative; padding-top: 56px; display: grid; gap: 10px; align-content: start; }
.journey .stop::before { content: ""; position: absolute; top: 8px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold); }
.journey .stop:nth-child(4)::before { background: var(--gold); }
.journey p { color: var(--body); font-size: 16px; }
.journey .quote { margin-top: 6px; font-size: 14px; color: var(--slate); font-style: normal; padding-left: 14px; border-left: 2px solid var(--gold); }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; } .journey::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 16px); } .journey .stop { padding: 0 0 0 48px; } .journey .stop::before { top: 4px; } }

/* Illustrative UI panel */
.ui { display: grid; gap: 12px; font-size: 14px; }
.ui-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ui-bar strong { font-size: 15px; } .ui-bar span { color: var(--slate); font-size: 12px; }
.ui-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--navy-mid); border: 1px solid var(--line); border-radius: 10px; }
.ui-row small { display: block; color: var(--slate); font-size: 12px; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--gold-wash); color: var(--gold-light); }
.pill.dim { background: rgba(136,146,164,.14); color: var(--slate); }
.ui-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.ui-stats div { background: var(--navy-mid); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--slate); font-size: 12px; }
.ui-stats b { display: block; color: var(--white); font-size: 22px; letter-spacing: -.02em; }

.big-quote { font-size: clamp(26px, 4vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; max-width: 24ch; }
.divider-band { padding: clamp(40px, 6vw, 72px) 0; border-block: 1px solid var(--line); background: var(--navy); }

/* ---------- Warm light sections ---------- */
.warm {
  --white: #0A0F1E; --body: #3A4256; --slate: #5B6477;
  --navy-light: #FFFFFF; --navy-mid: #F3ECDD;
  --line: rgba(10,15,30,.10); --line-strong: rgba(10,15,30,.22);
  --gold-wash: rgba(201,168,76,.18); --gold-light: #7A5D12;
  background: #FAF6EE; color: var(--white);
}
.warm em, .warm .hl, .warm .eyebrow { color: #8A6A1A; }
.warm .btn-primary:hover { background: #B8973F; }
.warm .journey .stop::before { background: #FAF6EE; }
.warm .card { box-shadow: 0 1px 2px rgba(10,15,30,.04), 0 8px 24px rgba(10,15,30,.05); }

/* People */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.people .photo { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--navy-mid); border: 1.5px dashed var(--line-strong); display: grid; place-items: center; text-align: center; padding: 16px; }
.people .photo span { font-size: 14px; font-weight: 600; color: var(--slate); }
.people figcaption { margin-top: 12px; font-weight: 600; } .people figcaption small { display: block; font-weight: 400; color: var(--slate); font-size: 14px; }
.hello { font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; color: var(--gold); }
.warm .hello { color: #8A6A1A; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
.team .photo { aspect-ratio: 4/5; max-width: 420px; overflow: hidden; border-radius: var(--radius); background: var(--navy-mid); border: 1.5px dashed var(--line-strong); display: grid; place-items: center; margin-bottom: 24px; }
.team .photo span { font-size: 14px; font-weight: 600; color: var(--slate); }
.team p { color: var(--body); margin-top: 12px; }
.people .photo:has(img), .team .photo:has(img) { border: 0; padding: 0; }
.people .photo img, .team .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* Our work rows */
.work-rows { display: grid; gap: clamp(64px, 9vw, 112px); }
.work-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; scroll-margin-top: 104px; }
.work-row:nth-child(even) .shot { order: 2; }
.work-row .shot { aspect-ratio: 16/10; border-radius: 20px; overflow: hidden; background: var(--navy-mid); display: grid; place-items: center; box-shadow: 0 2px 4px rgba(10,15,30,.06), 0 18px 40px rgba(10,15,30,.12); }
.work-row .shot img { width: 100%; height: 100%; object-fit: cover; }
.work-row .ph { font-size: 14px; font-weight: 600; color: var(--slate); border: 1.5px dashed var(--line-strong); padding: 10px 16px; border-radius: 8px; }
.work-row .meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.work-row .status { margin-top: 0; align-self: center; }
.work-row .title { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; margin: 10px 0 12px; }
.work-row .lead { font-size: 18px; }
.pr { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.pr h3 { font-size: 15px; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.warm .pr h3 { color: #8A6A1A; }
.pr p { font-size: 15px; line-height: 1.6; color: var(--body); }
.highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.highlights li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--gold-wash); }
.highlights li::before { content: ""; width: 10px; height: 6px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }
@media (max-width: 860px) {
  .work-row { grid-template-columns: 1fr; }
  .work-row:nth-child(even) .shot { order: 0; }
}
@media (max-width: 560px) { .pr { grid-template-columns: 1fr; gap: 20px; } }
.start-card { gap: 16px; padding: clamp(28px, 4vw, 44px); }
.start-card .h3 { font-size: clamp(24px, 2.6vw, 30px); }
.start-card .btn { align-self: flex-start; margin-top: 8px; }
.portal { margin-top: 20px; font-size: 15px; color: var(--slate); }
