/* ==========================================================================
   good work — goodwork.io
   Mobile-first stylesheet.
   Headings: Neue Montreal (licensed, optional) → Instrument Sans fallback
   Body: Manrope
   ========================================================================== */

/* Headings: Switzer (Fontshare, free) — the closest free match to Neue Montreal. Body: Manrope.
   If you later license Neue Montreal, drop the woff2 files in /assets/fonts/ and move "Neue Montreal"
   to the front of --font-head below; the @font-face rules are already here. */
@font-face { font-family: "Neue Montreal"; src: url("/assets/fonts/NeueMontreal-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("/assets/fonts/NeueMontreal-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("/assets/fonts/NeueMontreal-Bold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  /* Palette from goodwork.io */
  --bg: #ffffff;
  --panel: #f1f5f9;
  --panel-2: #f8fafc;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;

  --purple: #2563eb;          /* primary accent (blue) */
  --purple-2: #1d4ed8;        /* hover */
  --purple-tint: #eff6ff;
  --purple-soft: rgba(37, 99, 235, 0.14);
  --blue-cta: #1440d4;
  --dark: #0f172a;
  --dark-2: #060d1f;

  --brand-a: #86e2eb;
  --brand-b: #71b5ee;
  --brand-c: #4c82f6;
  --grad: linear-gradient(90deg, var(--brand-a) 0%, var(--brand-b) 50%, var(--brand-c) 100%);
  --grad-glow: radial-gradient(60% 55% at 50% 0%, rgba(113, 181, 238, 0.22), transparent 70%);

  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 38px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
  --shadow-sm: 0 1px 2px rgba(4, 8, 21, 0.04), 0 6px 20px rgba(4, 8, 21, 0.05);
  --shadow-md: 0 2px 6px rgba(4, 8, 21, 0.05), 0 20px 50px rgba(4, 8, 21, 0.10);
  --shadow-btn: 0 10px 28px rgba(37, 99, 235, 0.28);

  --font-head: "Switzer", "Instrument Sans", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1280px;
  --nav-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --nav-h: 80px; } }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.sr-only { 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: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); z-index: 1000; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* Type */
.display-1 { font-size: clamp(2.6rem, 7.6vw, 5.4rem); line-height: 1.0; letter-spacing: -0.035em; }
.display-2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 44ch; font-weight: 400; }
.muted { color: var(--muted); }
.accent { color: var(--purple); }
.label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pill-badge { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 600; color: var(--ink); background: #fff; }
.pill-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.pill-badge.tint { background: var(--purple-tint); border-color: transparent; color: var(--purple); }

/* Layout */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.section-head .pill-badge, .section-head .label { margin-bottom: 20px; }
.section-head .lead { margin-top: 14px; margin-bottom: 0; }
.grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .grid { gap: 20px; } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 768px) and (max-width: 1099px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.row-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--purple); font-size: 0.95rem; }
.row-head a svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.row-head a:hover svg { transform: translateY(3px); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; border: 1px solid transparent; line-height: 1; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.18); flex: none; margin-right: -8px; }
.btn .ico svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover .ico svg { transform: translateX(2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-btn); padding-left: 24px; }
.btn-primary:hover { background: var(--purple-2); box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34); }
.btn-dark { background: var(--ink); color: #fff; padding-left: 24px; }
.btn-dark .ico { background: rgba(255,255,255,0.14); }
.btn-dark:hover { background: #1e293b; }
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-white .ico { background: var(--panel); }
.btn-white:hover { border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn-lg .ico { width: 34px; height: 34px; }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.text-link { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: 0.98rem; }
.text-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.text-link:hover { color: var(--purple); }
.text-link:hover svg { transform: translateX(3px); }

/* Announcement bar (from config.json) */
.announce { background: var(--panel); border-bottom: 1px solid var(--line); font-size: 0.86rem; font-weight: 500; color: var(--ink-2); text-align: center; padding: 10px 0; }
.announce a { color: var(--purple); font-weight: 600; margin-left: 6px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; background: rgba(255,255,255,0.8); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(255,255,255,0.9); }
.site-header .container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
@media (min-width: 900px) { .site-header .container { grid-template-columns: 1fr auto 1fr; } }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand .logo-svg { height: 34px; width: auto; }
@media (min-width: 768px) { .brand .logo-svg { height: 38px; } }
.nav-links { display: none; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 9px 14px; border-radius: var(--r-pill); font-weight: 500; font-size: 0.95rem; color: var(--ink-2); transition: background .25s, color .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--panel); color: var(--ink); }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) { .site-header nav { display: none; } }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-cta { display: inline-flex; } .nav-toggle { display: none; } }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90; background: #fff; padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu > a:not(.btn) { font-family: var(--font-head); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.03em; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { margin-top: 28px; align-self: flex-start; }
@media (min-width: 900px) { .mobile-menu { display: none; } }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; text-align: center; padding-block: clamp(64px, 10vw, 132px) clamp(40px, 6vw, 72px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-glow); pointer-events: none; }
.hero .pill-badge { margin-bottom: 26px; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .lead { margin: 22px auto 0; max-width: 52ch; }
.hero .btn-group { justify-content: center; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 36px; font-size: 0.9rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--purple); }

/* Project cards (used in hero strip + work page) */
.project-strip { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 640px) { .project-strip { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.project-card { display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.project-cover { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; }
.project-cover.c1 { background: linear-gradient(135deg, #e0f4f7, #eff6ff); }
.project-cover.c2 { background: linear-gradient(135deg, #f2f2f2, #fafafa); }
.project-cover.c3 { background: linear-gradient(135deg, #e8f0fe, #f0f5ff); }
.mock { width: 66%; aspect-ratio: 4 / 3; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 7%; display: grid; grid-template-rows: auto 1fr auto; gap: 8%; transition: transform .7s var(--ease); }
.project-card:hover .mock { transform: translateY(-6px); }
.mock-bar { height: 8px; width: 40%; border-radius: 99px; background: var(--ink); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; align-items: start; min-width: 0; }
.mock-grid i { display: block; width: 100%; border-radius: 8px; background: var(--panel); aspect-ratio: 1; }
.mock-grid i:nth-child(2) { background: var(--purple-tint); }
.mock-cta { height: 10px; width: 30%; border-radius: 99px; background: var(--purple); }
.project-body { padding: 18px 20px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.project-body h3 { font-size: 1.1rem; margin: 0 0 4px; }
.project-body p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.project-body .label { white-space: nowrap; padding-top: 4px; font-size: 0.68rem; }
.project-card.is-placeholder { border-style: dashed; }
.project-card.is-placeholder .project-cover { background: repeating-linear-gradient(135deg, #f7f7f8 0 14px, #f1f1f3 14px 28px); }
.project-card.is-placeholder .mock { opacity: .55; box-shadow: var(--shadow-sm); }

/* Capability strip (bordered mini cards) */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cap-grid { grid-template-columns: repeat(6, 1fr); } }
.cap { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 12px 14px; text-align: center; background: #fff; transition: border-color .3s, transform .4s var(--ease); }
.cap:hover { border-color: var(--purple); transform: translateY(-2px); }
.cap strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; }
.cap span { display: block; margin-top: 8px; font-size: 0.66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Belief statement + checklist */
.belief { display: grid; gap: 36px; }
@media (min-width: 1000px) { .belief { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; } }
.belief .statement { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.25; letter-spacing: -0.025em; margin: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.checklist li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.checklist li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Comparison */
.versus { display: grid; gap: 28px; max-width: 980px; margin-inline: auto; }
@media (min-width: 768px) { .versus { grid-template-columns: 1fr 1fr; gap: 48px; } }
.versus h3 { font-size: 1.3rem; margin-bottom: 10px; }
.versus ul { list-style: none; margin: 0; padding: 0; }
.versus li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.versus li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background-position: center; background-repeat: no-repeat; }
.versus .no li { color: var(--muted); }
.versus .no li::before { background-color: var(--panel); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); background-size: 11px; }
.versus .yes li::before { background-color: var(--purple); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; }
.versus .yes li { font-weight: 500; }

/* Feature tiles (gray panel, white icon tile) */
.tile { background: var(--panel); border-radius: var(--r-md); padding: 28px 22px 26px; text-align: center; transition: transform .45s var(--ease), background .3s; }
.tile:hover { transform: translateY(-3px); background: #f1f1f3; }
.tile .icon { width: 54px; height: 54px; border-radius: 14px; background: #fff; display: grid; place-items: center; margin: 0 auto 18px; color: var(--purple); box-shadow: var(--shadow-sm); }
.tile .icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.02rem; margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Cards (services, general) */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 34px); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--purple-tint); color: var(--purple); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.3rem; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card p:last-child { margin-bottom: 0; }
.card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; }
.card ul li { padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 0.92rem; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.card ul li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--purple); }
.card .card-link { margin-top: 20px; }
.card.panel { background: var(--panel); border-color: transparent; }
.card.dark { background: var(--dark); color: #fff; border-color: transparent; }
.card.dark h3 { color: #fff; }
.card.dark p, .card.dark ul li { color: rgba(255,255,255,0.72); }
.card.dark .icon { background: rgba(255,255,255,0.1); color: #fff; }
.card.dark ul li { border-top-color: rgba(255,255,255,0.1); }
.card.dark .text-link { color: #fff; }

/* Included list (heading + gray description, hairline) */
.included { display: grid; gap: 0; }
@media (min-width: 768px) { .included { grid-template-columns: repeat(2, 1fr); gap: 0 56px; } }
@media (min-width: 1100px) { .included.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.included div { padding: 26px 0; border-top: 1px solid var(--line); }
.included h3 { font-size: 1.15rem; margin: 0 0 6px; font-weight: 500; }
.included p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Process: sticky title + steps */
.process { display: grid; gap: 40px; }
@media (min-width: 1000px) { .process { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } .process .sticky { position: sticky; top: calc(var(--nav-h) + 32px); } }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 36px 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step .pill-badge { margin-bottom: 16px; }
.step h3 { font-size: 1.35rem; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; max-width: 52ch; }

/* Dark band */
.band { background: var(--dark); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(76, 130, 246, 0.42), transparent); z-index: -1; }
.band::after { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--grad); }
.band h2, .band h3 { color: #fff; }
.band p, .band .lead { color: rgba(255,255,255,0.72); }
.band .label { color: rgba(255,255,255,0.55); }
.band .btn-primary { box-shadow: none; }
.band-quote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; max-width: 30ch; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.city-list li { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); font-size: 0.88rem; }
.band.full { border-radius: 0; }

/* Stats */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 26px 22px; border-radius: var(--r-md); background: var(--panel); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); }
.stat strong:not(.stat-text) { background: linear-gradient(90deg, var(--brand-c), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .stat-text { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

/* FAQ */
.faq { display: grid; max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); font-weight: 500; color: var(--ink); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--purple); color: #fff; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq .answer p:last-child { margin: 0; }

/* CTA panel */
.cta-panel { background: var(--panel); border-radius: var(--r-xl); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); text-align: center; }
.cta-panel .lead { margin: 14px auto 0; }
.cta-panel .btn-group { justify-content: center; margin-top: 30px; }

/* Page hero (inner) */
.page-hero { text-align: center; padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-glow); pointer-events: none; }
.page-hero h1 { max-width: 18ch; margin-inline: auto; }
.page-hero .lead { margin: 20px auto 0; }
.page-hero .btn-group { justify-content: center; margin-top: 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 24px; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a:hover { color: var(--ink); }

/* Prose */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.05rem; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* Case study */
.case-meta { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 36px auto 0; max-width: 980px; text-align: left; }
@media (min-width: 900px) { .case-meta { grid-template-columns: repeat(4, 1fr); } }
.case-meta div { padding: 18px 20px; border-radius: var(--r-md); background: var(--panel); }
.case-meta dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.case-meta dd { margin: 0; font-weight: 600; }
.case-visual { border-radius: var(--r-xl); aspect-ratio: 16 / 8; display: grid; place-items: center; overflow: hidden; margin-block: 40px 56px; background: linear-gradient(135deg, #e0f4f7, #eff6ff); }
.case-visual .mock { width: 46%; }
@media (max-width: 767px) { .case-visual { aspect-ratio: 4 / 3; } .case-visual .mock { width: 74%; } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.form legend { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 8px; padding: 0; }
.form fieldset + fieldset { margin-top: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.field label, .field .label-text { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); font-weight: 500; font-size: 0.93rem; cursor: pointer; background: #fff; transition: background .25s, border-color .25s, color .25s; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label:has(input:checked) { background: var(--purple); color: #fff; border-color: var(--purple); }
.choices label:has(input:focus-visible) { outline: 3px solid var(--purple); outline-offset: 2px; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-status { display: none; padding: 16px 18px; border-radius: var(--r-sm); font-weight: 500; }
.form-status.is-success { display: block; background: var(--purple-tint); color: var(--purple); }
.form-status.is-error { display: block; background: rgba(229, 72, 77, 0.12); color: #a1282c; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.contact-wrap { max-width: 860px; }
.contact-section { padding-block: clamp(40px, 6vw, 80px); background: linear-gradient(135deg, var(--brand-a) 0%, var(--brand-b) 48%, var(--brand-c) 100%); position: relative; isolation: isolate; }
.contact-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(255,255,255,0.28), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(15,23,42,0.18), transparent 60%); }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06); }

.page-contact .site-footer { margin-top: 0; }

.contact-band { margin-top: 0; padding-block: clamp(48px, 7vw, 88px); background: var(--panel); position: relative; overflow: hidden; isolation: isolate; }
.contact-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 8% 0%, rgba(134, 226, 235, 0.35), transparent 60%), radial-gradient(45% 70% at 95% 100%, rgba(76, 130, 246, 0.22), transparent 60%); }
.contact-details { margin: 0; display: grid; gap: 28px; }
@media (min-width: 700px) { .contact-details { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; } }
@media (min-width: 1100px) { .contact-details { grid-template-columns: 1fr 1fr 1fr 1.6fr; } }
.contact-details dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.contact-details dd { margin: 0; font-weight: 600; font-size: 1.02rem; line-height: 1.5; }
.contact-details dd a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); background: #fff; }
.footer-top { padding-block: clamp(48px, 7vw, 80px); display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 48px; } }
.footer-brand .footer-logo { display: inline-block; }
.footer-brand .logo-svg { height: 34px; width: auto; }
@media (min-width: 768px) { .footer-brand .logo-svg { height: 38px; } }
.footer-brand p { color: var(--muted); font-size: 0.93rem; max-width: 34ch; margin-top: 16px; }
.footer-brand address { font-style: normal; color: var(--muted); font-size: 0.9rem; margin-top: 12px; line-height: 1.7; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 0.95rem; transition: color .2s; }
.footer-col a:hover { color: var(--purple); }
.newsletter { padding: 26px; border-radius: var(--r-lg); background: var(--panel); }
.newsletter h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 6px; }
.newsletter p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; flex-direction: column; }
@media (min-width: 480px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input { flex: 1; font: inherit; padding: 13px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; min-width: 0; }
.newsletter-form input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.newsletter-form .btn { padding: 13px 20px; box-shadow: none; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 0.84rem; color: var(--muted); }
.footer-bottom ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
