/* fazley.dev — one stylesheet, no framework.
   Palette: warm paper, ink, and the Fazley rust (shared with fazley.org). */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  --paper: #f6f3ed;
  --paper-2: #ede8df;
  --paper-3: #e3dccf;
  --ink: #15171a;
  --ink-2: #33363c;
  --muted: #5b5f66;
  --line: #ddd6ca;
  --line-strong: #b8af9f;
  --rust: #a8462a;
  --rust-deep: #8a3820;
  --night: #17191d;
  --night-2: #202328;
  --on-night: #efebe3;
  --on-night-muted: #a8a59e;
  --night-line: rgba(239, 235, 227, 0.14);
  --rust-on-night: #e07a52;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rust); }

:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

abbr[title] { text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.dot { color: var(--rust); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; color: var(--paper); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 8px; border: 1.5px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--rust); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--on-night); color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--rust); }
.btn-line-paper { border-color: rgba(239, 235, 227, 0.5); color: var(--on-night); }
.btn-line-paper:hover { border-color: var(--on-night); background: var(--on-night); color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link svg { transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.035em;
  text-decoration: none; color: var(--ink);
}
.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  text-decoration: none; font-weight: 500; color: var(--ink-2);
  padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.site-nav ul a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rust); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 1.5px solid var(--ink); border-radius: 8px;
  min-height: 42px; padding: 0 14px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative;
  transition: transform 0.2s;
}
.menu-toggle-bars { margin-top: -5px; }
.menu-toggle-bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

/* ------------------------------------------------------------------ home hero */
.hero { border-bottom: 1px solid var(--line-strong); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px); align-items: end;
}
.hero-copy { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--ink-2); margin-bottom: 22px;
}
.hero-tag::before { content: ""; width: 28px; height: 2px; background: var(--rust); }
.hero-name {
  font-size: clamp(3.75rem, 10.5vw, 9rem);
  line-height: 0.88; letter-spacing: -0.055em; font-weight: 800;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.hero-lede { font-size: clamp(1.15rem, 1.55vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 33em; margin-bottom: 32px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 16px 36px; margin-top: 44px;
}
.hero-meta li { padding-left: 14px; border-left: 2px solid var(--line-strong); line-height: 1.35; }
.hero-meta span { display: block; font-size: 0.88rem; color: var(--muted); }
.hero-meta strong { font-weight: 600; color: var(--ink); }

.portrait {
  margin: 0; background: var(--paper-2);
  border-radius: 18px 18px 0 0; overflow: hidden;
  aspect-ratio: 385 / 531;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; mix-blend-mode: multiply; }
.hero-portrait { width: 100%; max-width: 440px; justify-self: end; }

/* ------------------------------------------------------------------ statement */
.statement { padding: var(--section) 0 calc(var(--section) * 0.6); }
.statement-text {
  font-size: clamp(1.5rem, 3vw, 2.45rem); line-height: 1.28; letter-spacing: -0.02em;
  font-weight: 500; max-width: 25em; margin-bottom: 32px;
}

/* ------------------------------------------------------------------ sections */
.section { padding: var(--section) 0; }
.section h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -0.035em; }

/* services list */
.services { padding-top: calc(var(--section) * 0.4); }
.services-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: 40px; }
.services-head p { max-width: 28em; color: var(--ink-2); margin: 0; }
.services-index { padding-top: 0; }

.service-list { border-top: 1px solid var(--ink); }
.service-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 44px;
  gap: 16px 40px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background-color 0.2s;
}
.service-row h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -0.025em; transition: color 0.2s; }
.service-body p { color: var(--ink-2); max-width: 36em; }
.service-body .tags { margin-top: 10px; font-size: 0.9rem; color: var(--muted); }
.row-arrow {
  justify-self: end; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.service-row:hover { color: inherit; }
.service-row:hover h3 { color: var(--rust); }
.service-row:hover .row-arrow { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateX(4px); }

/* work (dark) */
.work { background: var(--night); color: var(--on-night); }
.work .dot { color: var(--rust-on-night); }
.work-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.work-head p { color: var(--on-night-muted); margin: 0; max-width: 30em; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-card {
  border: 1px solid var(--night-line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px); background: var(--night-2);
  display: flex; flex-direction: column; min-height: 260px;
  transition: border-color 0.2s;
}
.work-card:hover { border-color: rgba(239, 235, 227, 0.32); }
.work-kind { font-size: 0.9rem; color: var(--on-night-muted); margin-bottom: 14px; }
.work-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.work-card > p:not(.work-kind) { color: #cfcbc3; max-width: 30em; }
.work-link {
  margin-top: auto; padding-top: 24px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--on-night);
  border-bottom: 1px solid rgba(239, 235, 227, 0.4);
}
.work-link:hover { color: var(--rust-on-night); border-bottom-color: currentColor; }
.work-also { margin-top: 36px; color: var(--on-night-muted); max-width: 46em; }

/* process */
.process-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 120px); }
.process-intro p { color: var(--ink-2); margin: 20px 0 28px; max-width: 26em; }
.process-intro { align-self: start; position: sticky; top: 110px; }
.steps { border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-num { font-weight: 700; color: var(--rust); font-size: 1.1rem; line-height: 1.5; }
.step h3 { font-size: 1.35rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); }

/* toolbox */
.toolbox { padding-top: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: 44px; }
.tool-col h3 { font-size: 1rem; letter-spacing: -0.01em; padding-top: 16px; border-top: 2px solid var(--ink); margin-bottom: 14px; }
.tool-col li { padding: 7px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 0.98rem; }

/* place */
.place { background: var(--paper-2); padding: clamp(56px, 7vw, 96px) 0; }
.place-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 7vw, 120px); align-items: start; }
.place h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.035em; }
.place-body > p { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line-strong); }
.facts dt { font-size: 0.88rem; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 600; }
.facts a { text-decoration: none; }
.facts a:hover { text-decoration: underline; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 7vw, 120px); }
.faq-intro p { color: var(--ink-2); margin-top: 20px; max-width: 24em; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.6px; background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--rust); }
.faq-answer { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 42em; }

/* cta band */
.cta-band { background: var(--night); color: var(--on-night); padding: clamp(64px, 8vw, 112px) 0; }
.cta-band .dot { color: var(--rust-on-night); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta-band h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; margin-bottom: 16px; }
.cta-band p { color: var(--on-night-muted); font-size: 1.1rem; max-width: 32em; }
.cta-band .actions { justify-content: flex-end; }

/* footer */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.footer-brand p { color: var(--ink-2); margin: 14px 0 18px; max-width: 22em; }
.footer-brand address { font-style: normal; color: var(--ink-2); line-height: 1.75; }
.footer-brand address a { text-decoration: none; }
.footer-brand address a:hover { text-decoration: underline; }
.footer-col h2 { font-size: 0.95rem; letter-spacing: 0; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { text-decoration: none; color: var(--ink-2); }
.footer-col a:hover { color: var(--rust); text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted);
}
.footer-base p { margin: 0; }

/* ------------------------------------------------------------------ inner pages */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-strong); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); letter-spacing: -0.05em; line-height: 0.98; margin-bottom: 24px; max-width: 14em; }
.page-lede { font-size: clamp(1.15rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; margin-bottom: 32px; }
.page-hero .page-lede:last-child { margin-bottom: 0; }

.breadcrumb { margin-bottom: clamp(28px, 4vw, 48px); font-size: 0.92rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-2); }

.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.fit-box { background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.fit-box h2 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.fit-box li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line-strong); color: var(--ink-2); line-height: 1.45; }
.fit-box li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--rust); border-radius: 2px; }

.offers-section h2 { margin-bottom: 48px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; }
.offer { border-top: 1px solid var(--ink); padding-top: 20px; }
.offer h3 { font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.offer p { color: var(--ink-2); }

.approach { background: var(--paper-2); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 7vw, 120px); }
.approach-body p { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.approach-body a { color: var(--ink); }

.defs-section { padding-bottom: 0; }
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 44px 0 0; }
.def { padding: 26px 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 20px; }
.def dt { display: contents; }
.def dt abbr { grid-row: span 2; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--rust); line-height: 1; }
.def dt span { font-weight: 700; }
.def dd { margin: 0; color: var(--ink-2); grid-column: 2; }
.defs-note { margin-top: 32px; padding: 24px 28px; background: var(--paper-2); border-radius: var(--radius); max-width: 52em; color: var(--ink-2); }
.defs-note a { color: var(--ink); }

.related { padding: 0 0 var(--section); }
.related h2 { font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 18px; }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: 10px;
  text-decoration: none; font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s;
}
.related-link:hover { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.related-link svg { flex: none; transition: transform 0.25s var(--ease); }
.related-link:hover svg { transform: translateX(3px); }

/* about */
.about-hero { padding-bottom: 0; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.about-portrait { max-width: 460px; width: 100%; }
.about-hero-copy { padding-bottom: clamp(48px, 6vw, 80px); }
.about-hero-copy h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.about-story p { color: var(--ink-2); max-width: 36em; }
.about-story a { color: var(--ink); }

.quote-section { padding: var(--section) 0 0; }
.motto { margin: 0; padding-left: clamp(20px, 3vw, 36px); border-left: 3px solid var(--rust); max-width: 860px; }
.motto p { font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; letter-spacing: -0.025em; font-weight: 500; }

.roles-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 7vw, 120px); }
.roles-grid > div > p { color: var(--ink-2); margin: 20px 0 24px; max-width: 26em; }
.roles-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); }
.roles-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.ventures { padding-top: 0; }
.venture-list { border-top: 1px solid var(--ink); }
.venture-list a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.venture-list strong { font-size: 1.35rem; letter-spacing: -0.02em; }
.venture-list span { color: var(--muted); }
.venture-list a:hover strong { color: var(--rust); }

/* contact */
.contact-section { padding-top: clamp(48px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.channels { border-top: 1px solid var(--ink); }
.channel {
  display: block; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.channel-label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 4px; }
.channel-value { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
a.channel:hover .channel-value { color: var(--rust); }
.channel-primary .channel-value svg { transition: transform 0.25s var(--ease); }
.channel-primary:hover .channel-value svg { transform: translateX(3px); }

.brief { background: var(--paper-2); border-radius: 18px; padding: clamp(24px, 4vw, 44px); }
.brief h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 8px; }
.brief-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 12px 14px; min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2315171a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(168, 70, 42, 0.22);
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-status { margin: 14px 0 0; font-size: 0.95rem; color: var(--ink-2); min-height: 1.5em; }

.next-steps { padding-top: 0; }
.next-steps h2 { margin-bottom: 36px; }
.next-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: next; }
.next-list li { counter-increment: next; border-top: 1px solid var(--ink); padding-top: 18px; color: var(--ink-2); }
.next-list li::before { content: counter(next); display: block; font-weight: 700; color: var(--rust); margin-bottom: 8px; }
.next-list strong { display: block; color: var(--ink); font-size: 1.2rem; margin-bottom: 4px; letter-spacing: -0.015em; }

.notfound { min-height: 56vh; padding-top: clamp(64px, 10vw, 140px); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); }
  .site-nav ul a[aria-current="page"] { color: var(--rust); }
  .site-nav .btn { min-height: 50px; }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 40px; }
  .hero-portrait { justify-self: center; max-width: 340px; }

  .work-head, .process-grid, .place-grid, .faq-grid, .approach-grid, .roles-grid,
  .page-hero-grid, .cta-inner, .contact-grid { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .cta-band .actions { justify-content: flex-start; }

  .about-hero-grid { grid-template-columns: 1fr; }
  .about-portrait { order: 2; justify-self: center; max-width: 340px; }
  .about-hero-copy { padding-bottom: 40px; }

  .defs { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .next-list { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .service-row { grid-template-columns: minmax(0, 1fr) 40px; padding: 24px 0; }
  .service-row h3 { grid-column: 1; }
  .service-body { grid-column: 1 / -1; grid-row: 2; }
  .row-arrow { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
  .work-grid, .offer-grid, .tool-grid, .roles-list, .facts { grid-template-columns: 1fr; }
  .work-card { min-height: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }
  .actions .btn, .form-actions .btn { flex: 1 1 100%; }
  .def { grid-template-columns: 72px minmax(0, 1fr); }
  .def dt abbr { font-size: 1.6rem; }
  .channel-value { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .cta-band, .site-footer nav, .menu-toggle { display: none; }
  body { background: #fff; }
}
