/* Karen Musa — portfolio. Warm paper canvas, near-black ink, one violet action color. Brand mark: the Spark, see assets/brand/README.md. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/inter-tight-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/inter-tight-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --paper: #f5f3ef;
  --paper-2: #ece9e3;
  --surface: #ffffff;
  --ink: #0f0f0d;
  --ink-2: #2b2a27;
  --muted: #66635d;
  --line: #e0dcd4;
  --line-strong: #c9c4ba;
  --violet: #5433eb;
  --violet-hover: #4423d6;
  --violet-wash: #ebe6ff;
  --violet-soft: #a897ff;
  --on-accent: #ffffff;
  --control: #8a857c;
  --ok: #16a34a;
  --danger: #b42318;
  --night: #0f0f0d;
  --night-2: #1b1a17;
  --night-line: #2e2c28;
  --night-muted: #a19d94;
  --night-control: #6b675f;
  --chrome: #fafafa;
  --chrome-line: #eeeeee;
  --chrome-dot: #e2e2e2;
  --chrome-field: #f0f0f0;
  --chrome-text: #6b6b6b;
  --display: 'Inter Tight', Inter, 'Helvetica Neue', Arial, sans-serif;
  --sans: Inter, 'Helvetica Neue', Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(15 15 13 / 6%), 0 8px 24px rgb(15 15 13 / 6%);
  --shadow-lg: 0 2px 4px rgb(15 15 13 / 5%), 0 24px 60px rgb(15 15 13 / 14%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; caret-color: var(--violet); accent-color: var(--violet); }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--violet); color: var(--on-accent); }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-accent); }
.skip-link:focus { top: 16px; }

/* Type */
.h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1; letter-spacing: -.04em; }
.lead { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; letter-spacing: -.018em; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; background: var(--violet); color: var(--on-accent); font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--violet-hover); }
.btn .arrow { transition: transform .2s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgb(84 51 235 / 28%); }
  .btn:hover .arrow { transform: translate(2px, -2px); }
}
.btn:active { transform: none; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: var(--ink-2); box-shadow: 0 10px 24px rgb(15 15 13 / 22%); }
.btn.ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); background: var(--surface); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s, color .2s; background: none; border: 0; padding: 0; }
.text-link:hover { color: var(--violet); text-decoration-color: currentColor; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgb(245 243 239 / 82%); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand-mark { display: inline-block; flex: none; width: 30px; height: 30px; color: var(--ink); }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.header-menu { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; transition: background .2s; }
.nav a:hover { background: var(--paper-2); }
.nav a.active { background: var(--surface); box-shadow: var(--shadow); }
.header .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--control); border-radius: 50%; background: transparent; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 16px; height: 1.5px; margin: auto; background: var(--ink); content: ''; transition: transform .25s var(--ease), background .2s; }
.menu-toggle span::before { transform: translateY(-5px); }
.menu-toggle span::after { transform: translateY(3.5px); }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(0) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-1.5px) rotate(-45deg); }

/* Availability */
.status { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 14px; }
.status::before { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgb(22 163 74 / 15%); content: ''; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero-top { display: grid; gap: 28px; }
.hero h1 { max-width: 13ch; font-size: clamp(52px, 8.6vw, 132px); font-weight: 600; line-height: .94; letter-spacing: -.04em; }
.hero h1 em { color: var(--violet); font-style: normal; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 64px; margin-top: 8px; }
.hero-row .lead { max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.promises { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.promises li { display: inline-flex; align-items: center; gap: 10px; }
.promises svg { width: 18px; height: 18px; flex: none; color: var(--violet); }

.stage { position: relative; margin-top: clamp(48px, 6vw, 80px); padding: clamp(20px, 4vw, 56px) clamp(16px, 5vw, 72px) 0; overflow: hidden; border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 85% 0%, #dcd3ff 0%, rgb(220 211 255 / 0%) 55%), linear-gradient(180deg, #e9e5dd, #e2ddd3); }
.stage-grid { position: relative; display: grid; grid-template-columns: 1fr .5fr; align-items: end; gap: 24px; }
.stage-side { display: grid; gap: 20px; padding-bottom: clamp(24px, 4vw, 56px); }
.stage-note { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: rgb(255 255 255 / 76%); backdrop-filter: blur(8px); box-shadow: var(--shadow); font-size: 14px; }
.stage-note b { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.stage-note span { color: var(--muted); }

/* Browser frame */
.browser { overflow: hidden; border-radius: 14px 14px 0 0; background: var(--surface); box-shadow: var(--shadow-lg); }
.browser.rounded { border-radius: 14px; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--chrome-line); background: var(--chrome); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--chrome-dot); }
.browser-bar span { flex: 1; max-width: 260px; margin-inline: auto; padding: 3px 10px; border-radius: 6px; background: var(--chrome-field); color: var(--chrome-text); font: 500 11px/1.4 var(--sans); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* Sections */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section.white { background: var(--surface); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h2 { max-width: 14ch; }

/* Capabilities */
.capabilities { border-block: 1px solid var(--line); }
.capability-list { display: flex; flex-wrap: wrap; gap: 10px 36px; padding-block: 26px; }
.capability-list li { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); font-family: var(--display); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.02em; }
.capability-list li::before { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); content: ''; }

/* Case studies */
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.case + .case { margin-top: clamp(80px, 9vw, 128px); }
.case.flip { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.case.flip .case-visual { order: 2; }
.case-visual { position: relative; display: block; padding: clamp(20px, 3.4vw, 48px) clamp(20px, 3.4vw, 48px) clamp(40px, 5vw, 72px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--case-a, var(--paper-2)), var(--case-b, var(--line))); }
.case-visual.tron { --case-a: #e4f1f1; --case-b: #c3dcdd; }
.case-visual.anmoruk { --case-a: #ece6f3; --case-b: #d2c6e2; }
.case-visual.keel { --case-a: #e7edf0; --case-b: #d3dde3; }
.case-visual.shop { --case-a: #ece9ff; --case-b: #d9d2ff; }
.case-visual.lyse { --case-a: #f2f5f8; --case-b: #cfdce7; }
.case-visual.holt { --case-a: #eef0ec; --case-b: #c9d1c6; }
.case-visual .browser { border-radius: 12px; transition: transform .6s var(--ease); }
@media (hover: hover) { .case-visual:hover .browser.main { transform: translateY(-6px); } }
.case-visual .browser.float { position: absolute; right: clamp(12px, 2vw, 28px); bottom: clamp(14px, 2vw, 24px); width: 42%; }
.case-copy { display: grid; gap: 22px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font-size: 13px; }
.tag.solid { border-color: var(--ink); background: var(--ink); color: var(--on-accent); }
.case-copy h3 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.04em; }
.case-copy > p { color: var(--muted); font-size: 17px; }
.case-facts { display: grid; gap: 14px; padding: 20px 0; border-block: 1px solid var(--line); }
.case-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; font-size: 15px; }
.case-facts dt { color: var(--muted); font: 500 12px/1.9 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.case-facts dd { margin: 0; color: var(--ink-2); }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-stats div { display: grid; gap: 4px; }
.case-stats b { font-family: var(--display); font-size: clamp(28px, 2.8vw, 38px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.case-stats span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Services */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 18px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.price-card.featured { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.price-card.featured .muted, .price-card.featured .includes li { color: var(--night-muted); }
.price-card .badge { position: absolute; top: 24px; right: 24px; padding: 4px 10px; border-radius: 999px; background: var(--violet); color: var(--on-accent); font-size: 12px; font-weight: 500; }
.price-card h3 { font-size: 26px; letter-spacing: -.035em; }
.price-card > p { font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-size: clamp(40px, 4vw, 54px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 15px; }
.price-card.featured .price span { color: var(--night-muted); }
.timeline { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font: 500 13px/1.4 var(--sans); font-variant-numeric: tabular-nums; }
.price-card.featured .timeline { background: var(--night-2); color: var(--paper); }
.includes { display: grid; align-content: start; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.price-card.featured .includes { border-top-color: var(--night-line); }
.includes li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.includes li::before { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--violet-wash); content: ''; }
.includes li::after { position: absolute; left: 5px; top: 7px; width: 6px; height: 3px; border: solid var(--violet); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); content: ''; }
.price-card .btn { width: 100%; }
.price-card.featured .btn { background: var(--paper); color: var(--ink); }
.price-card.featured .btn:hover { background: var(--surface); box-shadow: none; }
.price-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 20px; padding: 20px 24px; border-radius: var(--radius); background: var(--paper); color: var(--muted); font-size: 15px; }
.price-note b { color: var(--ink); font-weight: 500; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.step { position: relative; display: grid; align-content: start; gap: 14px; padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .when { color: var(--violet); font: 500 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.step h3 { font-size: 24px; letter-spacing: -.035em; }
.step p { color: var(--muted); font-size: 15px; }
.step .out { margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line-strong); color: var(--ink-2); font-size: 14px; }

/* Promise band */
.dark { background: var(--night); color: var(--paper); }
.dark .lead { color: var(--night-muted); }
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--night-line); border-radius: var(--radius-lg); background: var(--night-line); }
.promise { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.6vw, 36px); background: var(--night); }
.promise svg { width: 28px; height: 28px; color: var(--violet-soft); }
.promise h3 { font-size: 21px; letter-spacing: -.03em; }
.promise p { color: var(--night-muted); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-card { position: sticky; top: 100px; display: grid; gap: 24px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.about-card-head { display: flex; align-items: center; gap: 14px; }
.about-card-head .brand-mark { width: 52px; height: 52px; padding: 9px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.about-card-head div { display: grid; }
.about-card-head b { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.about-card-head span { color: var(--muted); font-size: 14px; }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts b { font-family: var(--display); font-size: clamp(30px, 2.6vw, 40px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.facts span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.about-card .btn { width: 100%; }
.about-copy { display: grid; gap: 24px; }
.about-copy .big { font-family: var(--display); font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.about-copy p { color: var(--ink-2); font-size: 17px; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 8px; border-top: 1px solid var(--line); }
.skills li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.skills li span:last-child { color: var(--muted); font-size: 14px; text-align: right; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq-layout .side { display: grid; align-content: start; gap: 20px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; content: '+'; font-family: var(--sans); font-size: 18px; font-weight: 400; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--on-accent); }
.faq details p { max-width: 640px; padding: 0 48px 24px 0; color: var(--muted); }

/* Contact */
.contact { padding: clamp(80px, 10vw, 140px) 0; background: var(--night); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(48px, 7vw, 104px); line-height: .95; letter-spacing: -.04em; }
.contact .lead { margin-top: 24px; color: var(--night-muted); }
.direct { display: grid; gap: 12px; margin-top: 40px; }
.direct-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--night-line); border-radius: 16px; transition: border-color .2s, background .2s; }
.direct-item:hover { border-color: var(--night-control); background: var(--night-2); }
.direct-item small { display: block; color: var(--night-muted); font: 500 11px/1.6 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.direct-item b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
.direct-item .copy { min-width: 76px; min-height: 44px; padding: 0 16px; border: 1px solid var(--night-control); border-radius: 999px; background: transparent; color: var(--paper); font-size: 13px; white-space: nowrap; }
.direct-item .copy:hover { border-color: var(--paper); }
.reply-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--night-muted); font-size: 14px; }
.reply-note::before { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); content: ''; }
/* Single call to action that replaces the direct contacts in the Upwork build (tools/upwork.js). */
.contact-cta { margin-top: 40px; }
.contact > .wrap > .lead { max-width: 640px; }
.form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); }
.form h3 { font-size: 24px; letter-spacing: -.03em; }
.field { display: grid; gap: 8px; }
.field > label, .field legend { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.field legend { margin-bottom: 8px; padding: 0; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--control); border-radius: 12px; background: var(--paper); font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--surface); box-shadow: 0 0 0 4px rgb(84 51 235 / 14%); }
.field ::placeholder { color: var(--muted); opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 4px rgb(180 35 24 / 14%); }
.field-error { color: var(--danger); font-size: 14px; line-height: 1.4; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 11px 18px; border: 1px solid var(--control); border-radius: 999px; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chips span:hover { border-color: var(--ink); }
.chips input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--on-accent); }
.chips input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-help { color: var(--muted); font-size: 13px; }
.form-status { min-height: 20px; color: var(--violet); font-size: 14px; font-weight: 500; }
.form-status.error { color: var(--danger); }
.case-actions .text-link, .form-actions .text-link, .price-note .text-link { min-height: 44px; }

/* Footer */
.footer { padding: 40px 0; background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; font-size: 14px; }
.footer .brand { color: var(--paper); }
.footer .brand-mark { color: var(--paper); }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer nav a { padding: 11px 0; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--paper); }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arrow, .case-visual .browser, .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after, .faq summary::after { transition-property: background, border-color, color, box-shadow; }
  .btn:hover, .btn:hover .arrow, .case-visual:hover .browser.main { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .process, .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .header-menu { display: none; }
  .menu-toggle { display: block; }
  .header.menu-open .header-menu { position: absolute; top: 76px; left: 0; right: 0; display: grid; gap: 16px; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); margin: 0; padding: 12px var(--gutter) 24px; overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 24px 40px rgb(15 15 13 / 12%); }
  .header.menu-open .nav { display: grid; gap: 2px; }
  .header.menu-open .nav a { padding: 14px 12px; font-size: 18px; }
  .header.menu-open .btn { min-height: 52px; font-size: 16px; }
  .hero-row, .section-head, .case, .case.flip, .about, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .case.flip .case-visual { order: 0; }
  .stage-grid { grid-template-columns: 1fr; }
  .stage-side { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .about-card { position: static; order: 2; max-width: 480px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(44px, 13vw, 72px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .process, .promise-grid, .row2, .skills { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .case-stats { gap: 10px; }
  .case-facts div { grid-template-columns: 1fr; gap: 2px; }
  .facts li { grid-template-columns: 76px 1fr; }
  .case-visual .browser.float { width: 50%; }
  .faq details p { padding-right: 0; }
  .browser-bar span { display: none; }
  .price-card .badge { position: static; width: fit-content; margin-bottom: -6px; }
}


/* 404 */
.not-found { display: grid; align-items: center; min-height: 100vh; min-height: 100dvh; padding: 48px 0; }
.not-found .wrap { display: grid; justify-items: start; gap: 28px; }
.not-found .h2 { max-width: 12ch; margin-top: 24px; }
.not-found .lead { max-width: 520px; }
