@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif/instrument-serif-italic-0.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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif/instrument-serif-normal-1.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: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans/instrument-sans-italic-0.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans/instrument-sans-normal-1.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 {
  --brand: #2454ff;
  --brand-deep: #2046cd;
  --brand-light: #87a1ff;
  --brand-wash: #d8e0ff;
  --brand-tint: #edf1ff;
  --ink: #10131a;
  --ink-soft: #282b31;
  --muted: #585a5f;
  --muted-on-ink: #b7b8ba;
  --rule: #dededf;
  --white: #ffffff;
  --paper: #fbfaf7;
  --ivory: #f3f0e8;
  --error: #b3261e;
  --success: #1e6b3a;
  --brand-rgb: 36 84 255;
  --ink-rgb: 16 19 26;
  --white-rgb: 255 255 255;
}
/* Page & Reach. Colours come only from the brand tokens that the build writes above this file
   (content/brand.mjs). Never add a literal colour here; tests/brand.test.mjs enforces it. */

/* Local fallbacks resized to the web fonts' measured width and line metrics, so text does not reflow when the web fonts arrive. */
@font-face {
  font-family: 'Instrument Sans Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 101.76%;
  ascent-override: 95.32%;
  descent-override: 24.57%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Instrument Serif Fallback';
  src: local('Times New Roman'), local('Times'), local('Liberation Serif');
  size-adjust: 82.37%;
  ascent-override: 120.2%;
  descent-override: 37.64%;
  line-gap-override: 0%;
}

:root {
  --serif: 'Instrument Serif', 'Instrument Serif Fallback', Georgia, serif;
  --sans: 'Instrument Sans', 'Instrument Sans Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 132px);
  --radius: 18px;
  --header: 76px;
  --field-border: rgb(var(--ink-rgb) / .5);
  --shadow-lg: 0 40px 80px -32px rgb(var(--ink-rgb) / .45), 0 0 0 1px rgb(var(--ink-rgb) / .06);
  --shadow-md: 0 18px 40px -22px rgb(var(--ink-rgb) / .35), 0 0 0 1px rgb(var(--ink-rgb) / .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.band-brand :focus-visible, .band-ink :focus-visible, .site-footer :focus-visible, .topline :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }
::selection { background: var(--brand); color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: .7rem 1.1rem; background: var(--ink); color: var(--white); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.muted, .muted-inline { color: var(--muted); }
.muted-inline { font-size: .9em; }

/* ---------- type helpers ---------- */
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem; font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow-num { display: inline-grid; place-items: center; min-width: 2.2rem; height: 1.6rem; padding: 0 .45rem; border: 1.5px solid currentColor; border-radius: 999px; font-size: .72rem; letter-spacing: .06em; }
.band-brand .eyebrow, .band-ink .eyebrow { color: var(--white); }
.band-ink .eyebrow { color: var(--brand-light); }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.pill { display: inline-block; margin: 0 0 1.25rem; padding: .4rem .85rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font: 600 .8rem/1.3 var(--sans); letter-spacing: .04em; }
.pill-concept { background: var(--ink); color: var(--white); }
.card-label { margin: 0 0 .55rem; font: 600 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.tag { display: inline-block; margin-top: .6rem; padding: .2rem .6rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-size: .78rem; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border: 1.5px solid var(--brand); border-radius: 999px; background: var(--brand); color: var(--white); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.05rem; }
.btn-small { padding: .6rem 1.1rem; font-size: .95rem; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--brand); }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-deep); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: rgb(var(--white-rgb) / .14); border-color: var(--white); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }

/* ---------- top strip, header and navigation ---------- */
.topline { background: var(--brand); color: var(--white); font-size: .86rem; }
.topline-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topline p { margin: 0; }
.topline-contact { display: flex; gap: 1.5rem; font-weight: 600; }
.topline a { color: var(--white); text-decoration: none; }
.topline a:hover { color: var(--white); text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header); }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 56px; transform-origin: left center; transition: transform .25s ease; }
.brand:hover img, .brand:focus-visible img { transform: scale(1.12); }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.primary-nav ul a { position: relative; padding: .4rem 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.primary-nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current]::after { transform: scaleX(1); }
.primary-nav ul a[aria-current] { color: var(--brand); }
.nav-toggle { display: none; align-items: center; gap: .6rem; padding: .55rem .95rem; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 600; cursor: pointer; }
.nav-toggle-lines { position: relative; width: 18px; height: 12px; border-block: 2px solid currentColor; }
.nav-toggle-lines::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { border-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 3px; transform: rotate(45deg); box-shadow: 0 0 0 0 currentColor; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .topline-row > p:first-child { display: none; }
  .topline-row { justify-content: center; }
  .header-row { flex-wrap: wrap; }
  .primary-nav { flex-wrap: wrap; gap: 1rem; padding-bottom: 1rem; width: 100%; }
  .primary-nav ul { flex-wrap: wrap; gap: .5rem 1.25rem; }
}
/* With scripting on, the menu collapses before first paint, so the page does not shift when main.js runs. */
@media (max-width: 1080px) and (scripting: enabled) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.25rem var(--gutter) 2rem; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-md); }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule); font: 400 1.75rem/1.2 var(--serif); }
  .primary-nav ul a::after { display: none; }
  .primary-nav .btn { align-self: flex-start; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.band-brand { background: var(--brand); color: var(--white); }
.band-brand a:not(.btn) { color: var(--white); }
.band-ink { background: var(--ink); color: var(--white); }
.band-ink a:not(.btn) { color: var(--brand-light); }
.band-ivory { background: var(--ivory); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .section-title { font: 400 clamp(2.3rem, 4.6vw, 4rem)/1.04 var(--serif); letter-spacing: -.015em; margin-bottom: .55em; }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); }
.band-brand .section-head p, .band-ink .section-head p { color: var(--white); }
.section-more { margin: clamp(40px, 5vw, 56px) 0 0; }

/* ---------- frames ---------- */
.browser { overflow: hidden; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: var(--ivory); border-bottom: 1px solid var(--rule); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.browser img { width: 100%; }
.handset { overflow: hidden; border: 7px solid var(--ink); border-radius: 34px; background: var(--ink); box-shadow: var(--shadow-lg); }
.handset img { width: 100%; border-radius: 26px; }
.handset-small { border-width: 5px; border-radius: 26px; }
.handset-small img { border-radius: 20px; }

/* ---------- home: hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(72px, 8vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { font: 400 clamp(3.3rem, 7vw, 6.4rem)/.97 var(--serif); letter-spacing: -.025em; margin-bottom: .3em; }
.hero h1 em { color: var(--brand); }
.hero .lead { font-size: clamp(1.2rem, 1.6vw, 1.45rem); max-width: 34ch; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; font-weight: 600; font-size: .95rem; }
.hero-proof li { display: flex; align-items: center; gap: .5rem; }
.hero-proof li::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand); }
.hero-stage { position: relative; padding: 9% 0 12% 9%; }
.stage-panel { position: absolute; inset: 0 -40vw 0 22%; border-radius: 36px 0 0 36px; background: var(--brand); background-image: radial-gradient(rgb(var(--white-rgb) / .16) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.stage-desktop { position: relative; }
.stage-phone { position: absolute; left: 0; bottom: 2%; width: 27%; }
.stage-note { position: relative; margin: 1.5rem 0 0 22%; color: var(--white); font-size: .85rem; }
.stage-note a { color: var(--white); }

/* ---------- home: why ---------- */
.why { padding-block: var(--section); }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.why-intro p { font-size: 1.12rem; }
.why-intro .section-head { margin-bottom: 1.5rem; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.why-list li { padding: 1.4rem 0 1.5rem; border-top: 1px solid rgb(var(--white-rgb) / .35); }
.why-num { font: italic 400 1.15rem/1 var(--serif); }
.why-list h3 { margin: .5rem 0 .4rem; font: 400 1.65rem/1.15 var(--serif); }
.why-list p { margin: 0; }
.why-note { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgb(var(--white-rgb) / .35); max-width: 90ch; font-size: .98rem; }

/* ---------- home: work ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.feature-copy h3 { font: 400 clamp(2rem, 3.2vw, 2.8rem)/1.08 var(--serif); margin-bottom: .5em; }
.feature-copy h3 a, .mosaic-link, .card-title a { color: var(--ink); text-decoration: none; }
.feature-copy h3 a:hover { color: var(--brand); }
.feature-links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.mosaic-1, .mosaic-4 { grid-column: span 7; }
.mosaic-2, .mosaic-3 { grid-column: span 5; }
.mosaic-2, .mosaic-4 { margin-top: clamp(0px, 6vw, 96px); }
.mosaic-link { display: block; }
.mosaic-link .browser { margin-bottom: 1.25rem; transition: transform .3s ease, box-shadow .3s ease; }
.mosaic-link:hover .browser { transform: translateY(-6px); }
.mosaic-title { display: block; font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--serif); margin-bottom: .35rem; }
.mosaic-link:hover .mosaic-title { color: var(--brand); }
.mosaic-summary { display: block; color: var(--muted); max-width: 52ch; }
.mosaic .card-label { display: block; }

/* ---------- home: services ---------- */
.services-section { background: var(--white); }
.service-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.service-group { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.service-photo { position: relative; overflow: hidden; background: var(--ivory); }
.service-photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.service-group-copy { padding: clamp(22px, 2.5vw, 32px); }
.service-group-copy h3 { font: 400 2rem/1.1 var(--serif); margin-bottom: .3em; }
.service-group-copy > p { color: var(--muted); }
.service-group-copy ul { margin: 0; padding: 0; list-style: none; }
.service-group-copy li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--rule); color: var(--ink); font-weight: 600; text-decoration: none; }
.service-group-copy li a:hover { color: var(--brand); }

/* ---------- home: styles ---------- */
.style-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.style-card { display: flex; flex-direction: column; }
.style-card-link { display: block; color: var(--ink); text-decoration: none; }
.style-card-link .handset { margin-bottom: 1rem; transition: transform .3s ease; }
.style-card-link:hover .handset { transform: translateY(-6px); }
.style-name { display: block; font: 400 1.4rem/1.15 var(--serif); margin-bottom: .3rem; }
.style-card-link:hover .style-name { color: var(--brand); }
.style-line { display: block; color: var(--muted); font-size: .92rem; line-height: 1.5; margin-bottom: .75rem; }
.style-use { margin-top: auto; font-size: .92rem; }

/* ---------- steps ---------- */
.steps-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); margin: 0; padding: 0; list-style: none; }
.steps-list li { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.step-num { display: block; font: 400 clamp(2.6rem, 4vw, 3.6rem)/1 var(--serif); color: var(--brand); margin-bottom: 1rem; }
.steps-list h3 { font: 600 1.1rem/1.3 var(--sans); margin-bottom: .45rem; }
.steps-list p { color: var(--muted); margin: 0; }
.prose .steps-list { grid-template-columns: 1fr; gap: 0; margin: 1.5rem 0 2rem; padding: 0; }
.prose .steps-list li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.prose .steps-list .step-num { font-size: 2.4rem; margin: 0; }
.prose .steps-list h3 { margin-top: .2rem; }

/* ---------- home: local ---------- */
.local-section { padding-block: var(--section); }
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.local-section p { color: var(--muted-on-ink); font-size: 1.1rem; }
.local-section .section-head p { color: var(--muted-on-ink); }
.contact-links { display: grid; gap: .7rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.contact-links li { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.contact-links .icon { color: var(--brand); width: 1.3rem; height: 1.3rem; }
.contact-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-links a:hover { color: var(--brand); text-decoration: underline; }
.contact-links-light .icon { color: var(--brand-light); }
.contact-links-light a, .band-ink .contact-links-light a:not(.btn) { color: var(--white); font-size: 1.15rem; }
.contact-links-light span { color: var(--muted-on-ink); }
.area-map { margin: 0; }
.area-map svg { width: 100%; }
.area-map figcaption { margin-top: 1rem; color: var(--muted-on-ink); font-size: .9rem; }
.map-region { fill: var(--ink-soft); stroke: rgb(var(--white-rgb) / .16); stroke-dasharray: 4 6; }
.map-region-label { fill: var(--muted-on-ink); font: 600 12px var(--sans); letter-spacing: .16em; }
.map-road { fill: none; stroke: var(--brand-light); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.map-road-label { fill: var(--muted-on-ink); font: italic 15px var(--serif); }
.map-dot { fill: var(--white); }
.map-home { fill: var(--brand); stroke: var(--white); stroke-width: 3; }
.map-home-ring { fill: rgb(var(--brand-rgb) / .35); }
.map-label { fill: var(--white); font: 400 22px var(--serif); }
.map-label-home { font-size: 28px; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); transition: box-shadow .25s ease, transform .25s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card:focus-within { box-shadow: 0 0 0 3px var(--brand); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }
.card-title { font: 400 1.55rem/1.15 var(--serif); margin-bottom: .45rem; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card-title a:focus-visible { outline: none; }
.card:hover .card-title a { color: var(--brand); }
.card-photo img, .card-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.card-art { background: var(--brand-tint); }
.card-art-tool { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--brand); }
.card-art-tool svg { width: 72px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-art-report { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--ink); color: var(--white); font: italic 400 4rem/1 var(--serif); }
.card-concept { background: var(--ivory); }
.browser-card { margin: 1.25rem 1.25rem 0; box-shadow: var(--shadow-md); }
.browser-card .browser-bar { height: 18px; }
.browser-card .browser-bar span { width: 6px; height: 6px; }
.card-concept .card-body { background: var(--white); margin-top: 1.25rem; flex: 1; }

/* ---------- home: resources, faq, cta ---------- */
.tool-strip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--rule); }
.tool-strip h3 { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tool-strip ul { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.tool-strip a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem .5rem .6rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: .93rem; text-decoration: none; }
.tool-strip a:hover { border-color: var(--brand); color: var(--brand); }
.tool-strip svg { width: 24px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.faq-section { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header) + 32px); }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.3rem 0; cursor: pointer; list-style: none; font: 600 1.12rem/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq-icon { position: relative; flex: none; width: 2rem; height: 2rem; border: 1.5px solid currentColor; border-radius: 50%; color: var(--brand); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 3.5rem 1.4rem 0; color: var(--ink-soft); }
.faq-answer p { margin: 0; }

.final-cta { padding-block: var(--section); }
.final-cta-grid > * { max-width: 1000px; }
.final-cta h2 { font: 400 clamp(2.5rem, 5.4vw, 4.8rem)/1.02 var(--serif); letter-spacing: -.015em; margin-bottom: .6em; }
.offer { margin: 0 0 2.25rem; padding-left: clamp(20px, 3vw, 32px); border-left: 2px solid currentColor; }
.offer p { font: italic 400 clamp(1.35rem, 2.3vw, 1.95rem)/1.38 var(--serif); margin-bottom: .75rem; }
.offer footer { font-size: .95rem; font-weight: 600; }
.offer-head { margin-top: .5rem; color: var(--ink-soft); border-color: var(--brand); max-width: 62ch; }
.offer-head footer { color: var(--brand); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band { padding-block: clamp(64px, 8vw, 104px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; }
.cta-band h2 { font: 400 clamp(2.1rem, 4vw, 3.4rem)/1.05 var(--serif); margin-bottom: .45em; }
.cta-band p { max-width: 58ch; margin: 0; font-size: 1.1rem; }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 88px); }
.page-head-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-head-split .page-head-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.page-head h1 { font: 400 clamp(2.6rem, 5.4vw, 4.75rem)/1.02 var(--serif); letter-spacing: -.02em; margin-bottom: .45em; max-width: 20ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--rule); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.head-visual { margin: 0; }
.head-visual figcaption, .figure figcaption { margin-top: .85rem; color: var(--muted); font-size: .88rem; }
.head-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.head-illustration { margin: 0; }
.head-illustration img { width: 100%; border-radius: var(--radius); }
.about-mark { margin: 0; justify-self: center; }
.about-mark img { width: min(340px, 70vw); border-radius: 40px; box-shadow: var(--shadow-lg); }
.byline { margin: 1.5rem 0 0; color: var(--muted); font-size: .95rem; }
.byline a { font-weight: 600; }
.meta-list { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 1.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--rule); }
.meta-list dt { font: 600 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta-list dd { margin: .2rem 0 0; font-weight: 600; }
.preview-flag { margin: 0 0 2rem; padding: .9rem 1.2rem; border: 1.5px dashed var(--brand); border-radius: 12px; background: var(--brand-tint); font-size: .95rem; }
.missing-image { display: grid; place-items: center; min-height: 200px; padding: 1rem; border: 1.5px dashed var(--muted); border-radius: 12px; background: var(--ivory); color: var(--muted); font-size: .9rem; }

/* ---------- documents ---------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-bottom: var(--section); }
.doc-single { grid-template-columns: minmax(0, 1fr); }
.doc-aside { position: relative; }
.toc { position: sticky; top: calc(var(--header) + 32px); }
.toc-title { font: 600 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: .93rem; line-height: 1.4; text-decoration: none; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.prose { max-width: 74ch; min-width: 0; }
.doc-single .prose { margin-inline: auto; }
.prose > p:first-child { margin-top: 0; }
.prose h2 { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--serif); letter-spacing: -.01em; margin: 2.2em 0 .6em; }
.prose .doc-section:first-child h2, .prose > .doc-section:first-of-type h2 { margin-top: .4em; }
.prose h3 { font: 600 1.2rem/1.35 var(--sans); margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose strong { font-weight: 600; }
.doc-section { scroll-margin-top: calc(var(--header) + 24px); }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.5rem 0 2rem; }
.points > div { padding: 1.2rem 1.3rem; border: 1px solid var(--rule); border-top: 3px solid var(--brand); border-radius: 4px 4px 12px 12px; background: var(--white); }
.points dt { font-weight: 600; margin-bottom: .3rem; }
.points dd { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.note { margin: 1.75rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--brand-tint); }
.note p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--white); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: .7rem .9rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--ivory); font-weight: 600; white-space: nowrap; }
.table-wrap tbody th { font-weight: 600; }
.table-wrap tr:last-child > * { border-bottom: 0; }
.figure { margin: 2.25rem 0; }
.figure img { width: 100%; border-radius: 14px; }
.figure .browser img { border-radius: 0; }
.figure-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 2.25rem 0; }
.figure-pair .figure { margin: 0; }
.related { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.related h2 { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--serif); margin-bottom: 1.5rem; }
.related + .related { border-top: 0; padding-top: 0; }
.related-lead { color: var(--muted); }

/* ---------- services hub ---------- */
.service-hub { display: grid; gap: clamp(56px, 7vw, 96px); padding-bottom: var(--section); }
.service-hub-head { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 2rem; }
.service-hub-head .service-photo { border-radius: var(--radius); }
.service-hub-head .service-photo img { aspect-ratio: 4 / 3; min-height: 0; }
.service-hub-head h2 { font: 400 clamp(1.9rem, 3.2vw, 2.8rem)/1.1 var(--serif); }
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.service-list a { position: relative; display: block; height: 100%; padding: 1.4rem 3.5rem 1.5rem 1.5rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.service-list a:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.service-list .icon { position: absolute; right: 1.25rem; top: 1.5rem; color: var(--brand); }
.service-list-title { display: block; font: 400 1.5rem/1.15 var(--serif); margin-bottom: .4rem; }
.service-list a:hover .service-list-title { color: var(--brand); }
.service-list-summary { display: block; color: var(--muted); font-size: .96rem; }

/* ---------- case studies and concepts ---------- */
.case-hero { margin-bottom: clamp(48px, 6vw, 80px); }
.case-hero .figure { margin: 0; }
.concept-disclaimer { margin: 1.5rem 0 0; padding-left: 1rem; border-left: 2px solid var(--rule); color: var(--muted); font-size: .92rem; max-width: 62ch; }
.concept-showcase { position: relative; margin-bottom: clamp(88px, 10vw, 140px); }
.showcase-desktop { width: 80%; }
.showcase-phone { position: absolute; right: var(--gutter); bottom: -64px; width: 20%; }
.concept-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 96px) clamp(32px, 6vw, 96px); padding-bottom: var(--section); }
.concept-body h2 { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--serif); margin-bottom: .7em; }
.concept-body h3 { font: 600 1.05rem/1.35 var(--sans); margin: 1.6em 0 .4em; }
.concept-cta { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; }
.decision-list { margin: 0; padding: 0; list-style: none; }
.decision-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.decision-list .step-num { font-size: 2rem; margin: 0; }
.decision-list h3 { margin: .25rem 0 .3rem; }
.decision-list p { margin: 0; color: var(--ink-soft); }
.concept-system, .concept-pages { grid-column: 1 / -1; }
.system-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.specimens, .swatches { margin: 0; padding: 0; list-style: none; }
.specimens li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.specimen { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; margin: 0 0 .35rem; }
.specimen-name { font-weight: 600; margin: 0; }
.specimen-role { color: var(--muted); margin: 0; font-size: .95rem; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 18px; align-content: start; }
.swatches svg { width: 100%; margin-bottom: .5rem; }
.swatch-name { display: block; font-weight: 600; font-size: .92rem; }
.swatch-hex { display: block; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.fullpage-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 1.5rem; }
.fullpage { max-height: 760px; overflow: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-md); overscroll-behavior: contain; }
.fullpage img { width: 100%; }
.fullpage-mobile { max-width: 390px; justify-self: center; width: 100%; }

/* ---------- creative ---------- */
.artboards { display: grid; gap: clamp(64px, 8vw, 112px); padding-bottom: var(--section); }
.artboard { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: calc(var(--header) + 24px); }
.artboard:nth-child(even) .artboard-media { order: 2; }
.artboard-media { display: grid; place-items: center; padding: clamp(20px, 4vw, 48px); border-radius: 24px; background: var(--ivory); }
.artboard-media img { box-shadow: var(--shadow-md); border-radius: 6px; }
.artboard-copy h2 { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--serif); margin-bottom: 1rem; }
.artboard-facts { margin: 0 0 1.5rem; }
.artboard-facts div { padding: .8rem 0; border-top: 1px solid var(--rule); }
.artboard-facts dt { font: 600 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.artboard-facts dd { margin: .25rem 0 0; }

/* ---------- resource library ---------- */
.library-controls { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.library-controls[hidden] { display: none; }
.library-search { max-width: 560px; }
.library-search input { font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .5rem 1rem; border: 1.5px solid var(--field-border); border-radius: 999px; background: var(--white); font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.library-count { margin: 0; color: var(--muted); font-size: .93rem; }
.library { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.library-item { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.5rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); }
.library-item[hidden] { display: none; }
.library-item:hover { border-color: var(--brand); }
.library-item:focus-within { box-shadow: 0 0 0 3px var(--brand); }
.library-item h3 { font: 400 1.45rem/1.15 var(--serif); margin-bottom: .45rem; }
.library-item h3 a { color: var(--ink); text-decoration: none; }
.library-item h3 a::after { content: ''; position: absolute; inset: 0; }
.library-item h3 a:focus-visible { outline: none; }
.library-item:hover h3 a { color: var(--brand); }
.library-item > p:not(.card-label) { color: var(--muted); font-size: .96rem; }
.library-meta { margin: auto 0 0; padding-top: .5rem; font-size: .85rem; }
.library-empty { margin-top: 1.5rem; }

/* ---------- articles and downloads ---------- */
.download-card { margin: 3rem 0 0; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--brand-wash); border-radius: var(--radius); background: var(--brand-tint); }
.prose .download-card h2 { margin: 0 0 .4em; font-size: 1.9rem; }
.download-card .btn .icon, .download .btn .icon { width: 1.2em; height: 1.2em; }
.downloads { display: grid; gap: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.download { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header) + 24px); }
.download h2 { font: 400 clamp(1.8rem, 2.8vw, 2.4rem)/1.1 var(--serif); margin-bottom: .5em; }
.download-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.preview-label { font: 600 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.download-preview .table-wrap { margin: 0; max-height: 340px; }
.download-preview table { font-size: .84rem; }
.download-preview td { min-width: 9rem; color: var(--ink-soft); }

/* ---------- website styles ---------- */
.style-rows { display: grid; gap: clamp(88px, 10vw, 144px); padding-bottom: var(--section); }
.style-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: calc(var(--header) + 24px); }
.style-row:nth-child(even) .style-visual { order: 2; }
.style-visual { position: relative; padding-bottom: 6%; }
.style-visual .browser { width: 88%; }
.style-phone { position: absolute; right: 0; bottom: 0; width: 24%; }
.style-copy h2 { font: 400 clamp(2.2rem, 4vw, 3.4rem)/1.05 var(--serif); margin-bottom: .35em; }
.style-lede { font: italic 400 1.5rem/1.35 var(--serif); color: var(--brand); }
.style-suits { color: var(--ink-soft); }
.style-copy .actions { align-items: center; gap: 1rem 1.5rem; }

/* ---------- forms ---------- */
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.two-up .doc-section h2 { font: 400 clamp(1.8rem, 2.8vw, 2.4rem)/1.1 var(--serif); margin-bottom: 1rem; }
.two-up .points { grid-template-columns: 1fr; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.inquiry-form { padding: clamp(22px, 4vw, 48px); border: 1px solid var(--rule); border-radius: 24px; background: var(--white); }
.inquiry-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.inquiry-form > fieldset + fieldset { margin-top: clamp(40px, 5vw, 56px); }
.legend-title { display: block; padding: 0; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif); margin-bottom: .5rem; }
.legend-text { color: var(--muted); margin-bottom: 1.5rem; }
.legend-text p { margin: 0; }
.style-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.style-option { position: relative; display: block; cursor: pointer; }
.style-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.style-option-card { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 14px; border: 1.5px solid var(--rule); border-radius: 16px; background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.style-option:hover .style-option-card { border-color: var(--brand); }
.style-option input:checked + .style-option-card { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); background: var(--white); }
.style-option input:focus-visible + .style-option-card { outline: 3px solid var(--brand); outline-offset: 3px; }
.style-option-img { display: block; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: .7rem; border-radius: 10px; background: var(--ivory); }
.style-option-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.style-option-blank { display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font: italic 400 4rem/1 var(--serif); }
.style-option-name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.style-option-line { margin-top: .25rem; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.style-option input:checked + .style-option-card .style-option-name { color: var(--brand); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > label, .radio-row legend, .tool legend { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .97rem; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: .88em; }
.hint { margin: -.15rem 0 .45rem; color: var(--muted); font-size: .88rem; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { width: 100%; padding: .78rem 1rem; border: 1.5px solid var(--field-border); border-radius: 10px; background: var(--white); line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { margin: .4rem 0 0; color: var(--error); font-size: .9rem; font-weight: 600; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.radio-row legend { width: 100%; }
.radio { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--brand); width: 1.1rem; height: 1.1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 1rem; justify-items: start; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.form-privacy { margin: 0; color: var(--muted); font-size: .9rem; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="loading"] { color: var(--muted); }
.form-aside { position: sticky; top: calc(var(--header) + 32px); padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--brand-tint); }
.form-aside h2 { font: 400 1.9rem/1.1 var(--serif); margin-bottom: .5rem; }
.form-aside .contact-links { margin: 1.25rem 0; }
.form-aside .muted { font-size: .9rem; margin: 0; }
.contact-card p:last-child { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- tools ---------- */
.tool-page .doc { grid-template-columns: minmax(0, 1fr); }
.tool-page .doc-aside { display: none; }
.tool-page .prose { max-width: none; }
.tool-page .prose > :not(.tool-shell), .tool-page .prose .doc-section > :not(.tool-shell) { max-width: 74ch; }
.tool-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin: 2rem 0 3rem; }
.tool fieldset { margin: 0 0 1.25rem; padding: 1.25rem 1.4rem 1.4rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); min-width: 0; }
.tool legend { float: left; width: 100%; padding: 0; margin: 0 0 .85rem; }
.tool legend + * { clear: both; }
.tool-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tool-columns .tool-column { margin: 0; }
.tool-column legend { font: 400 1.5rem/1.2 var(--serif); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
.tool-grid[hidden] { display: none; }
.tool .field { margin-bottom: 1rem; }
.tool-grid .field { margin: 0; }
.affix { display: flex; align-items: center; border: 1.5px solid var(--field-border); border-radius: 10px; background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; }
.affix:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.affix span { padding: 0 .75rem; color: var(--muted); font-weight: 600; }
.affix span + input { padding-left: 0 !important; }
.field .affix input { border: 0 !important; box-shadow: none !important; background: transparent; padding: .72rem .9rem; }
.affix:has([aria-invalid="true"]) { border-color: var(--error); }
.choice-row, .mode, .checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .65rem; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--paper); font-size: .93rem; cursor: pointer; }
.choice:hover { border-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.tool .mode, .tool .checks { padding: 0; border: 0; background: none; margin-bottom: 1.25rem; }
.tool .checks { margin-top: .5rem; }
.assess-group { display: grid; gap: 0; }
.assess-q { padding: .85rem 0; border-top: 1px solid var(--rule); }
.assess-q:first-of-type { border-top: 0; }
.assess-q > p { margin: 0 0 .55rem; font-weight: 500; }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0; }
.tool-results { position: sticky; top: calc(var(--header) + 24px); padding: clamp(20px, 3vw, 28px); border: 1px solid var(--rule); border-top: 4px solid var(--brand); border-radius: 6px 6px 20px 20px; background: var(--white); box-shadow: var(--shadow-md); }
.results-title, .prose .results-title { font: 400 1.8rem/1.15 var(--serif); margin: 0 0 1rem; }
.results-empty { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 1rem; }
.stat { padding: .85rem 1rem; border-radius: 12px; background: var(--paper); }
.stat dt { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.stat dd { margin: .25rem 0 0; }
.stat-value { display: block; font: 400 1.9rem/1.1 var(--serif); color: var(--ink); }
.score .stat-value { display: inline; font-size: 2.4rem; color: var(--brand); }
.stat-note { display: block; color: var(--muted); font-size: .82rem; margin-top: .2rem; }
.results-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: 1rem; }
.results-table caption { text-align: left; color: var(--muted); font-size: .85rem; padding-bottom: .5rem; }
.results-table th, .results-table td { padding: .55rem .5rem; border-bottom: 1px solid var(--rule); text-align: left; }
.results-table thead th { font-size: .82rem; color: var(--muted); font-weight: 600; }
.results-table td { font-variant-numeric: tabular-nums; }
.results-list { padding-left: 1.1em; color: var(--ink-soft); font-size: .93rem; }
.area-bars { display: grid; gap: .6rem; margin: 1rem 0 1.5rem; }
.area-bars > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .75rem; align-items: center; }
.area-bars dt { font-weight: 600; font-size: .92rem; }
.area-bars dd { display: flex; align-items: center; gap: .75rem; margin: 0; }
.bar { flex: 1; height: 10px; overflow: hidden; border-radius: 999px; background: var(--brand-tint); }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.bar-label { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.tool-results h3 { font: 600 1.05rem/1.3 var(--sans); margin: 1.25rem 0 .5rem; }
.priorities { padding-left: 1.2em; }
.priorities li { margin-bottom: .55em; }
.notice, .scenario { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--brand-tint); font-size: .95rem; }
.brief { max-height: 520px; overflow: auto; margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--paper); font: .92rem/1.6 var(--sans); white-space: pre-wrap; }
.copy-status { color: var(--muted); font-size: .9rem; }
.tool-note { color: var(--muted); font-size: .9rem; grid-column: 1 / -1; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-ink); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.footer-logo { display: inline-block; margin-bottom: 1.5rem; }
.footer-logo img { width: 168px; }
.footer-brand p { max-width: 40ch; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer address strong { color: var(--white); font-weight: 600; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--brand-light); text-decoration: underline; }
.footer-col h2 { margin-bottom: 1rem; color: var(--white); font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem 2rem; font-size: .85rem; }
.footer-base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgb(var(--white-rgb) / .14); }
.footer-base p { margin: 0; max-width: 80ch; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .style-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .tool-shell { grid-template-columns: minmax(0, 1fr); }
  .tool-results { position: static; }
}
@media (max-width: 960px) {
  .hero-grid, .why-grid, .local-grid, .faq-grid, .feature, .page-head-split .page-head-grid, .form-layout, .two-up, .concept-body, .system-grid, .artboard, .download, .style-row, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { margin-top: 1rem; }
  .stage-panel { inset: 0 -40vw 0 14%; }
  .faq-grid > div:first-child, .form-aside, .toc { position: static; }
  .service-groups { grid-template-columns: minmax(0, 1fr); }
  .mosaic-1, .mosaic-2, .mosaic-3, .mosaic-4 { grid-column: 1 / -1; margin-top: 0; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc-aside { margin-bottom: 2.5rem; }
  .toc ol { columns: 2; column-gap: 1.5rem; }
  .artboard:nth-child(even) .artboard-media, .style-row:nth-child(even) .style-visual { order: 0; }
  .service-hub-head { grid-template-columns: 180px minmax(0, 1fr); }
  .fullpage-grid { grid-template-columns: minmax(0, 1fr); }
  .fullpage { max-height: 560px; }
  .page-head-aside { order: 2; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .brand img { height: 44px; }
  .topline-contact { gap: 1rem; font-size: .82rem; }
  .why-list, .points, .field-grid, .figure-pair, .tool-columns, .stats { grid-template-columns: minmax(0, 1fr); }
  .service-group { grid-template-columns: minmax(0, 1fr); }
  .service-photo img { min-height: 0; aspect-ratio: 16 / 9; }
  .style-rail { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 1rem; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .style-card { flex: 0 0 62%; scroll-snap-align: start; }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .steps-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; }
  .steps-list .step-num { font-size: 2.2rem; margin: 0; }
  .tool-strip { grid-template-columns: minmax(0, 1fr); }
  .service-hub-head { grid-template-columns: minmax(0, 1fr); }
  .showcase-desktop { width: 100%; }
  .showcase-phone { position: relative; right: auto; bottom: auto; width: 46%; margin: -18% 0 0 auto; }
  .concept-showcase { margin-bottom: 64px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { flex-direction: column; }
  .faq-answer { padding-right: 0; }
  .toc ol { columns: 1; }
  .hero-stage { padding: 6% 0 14% 10%; }
  .stage-phone { width: 32%; }
  .stage-note { margin-left: 38%; font-size: .8rem; }
}

/* ---------- motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .topline, .site-header, .site-footer, .skip-link, .cta-band, .final-cta, .related, .doc-aside, .actions, .print-slot, .tool, .tool-actions, .preview-flag { display: none !important; }
  body { background: var(--white); font-size: 11pt; }
  .doc { display: block; padding: 0; }
  .prose { max-width: none; }
  .tool-shell { display: block; }
  .tool-results { position: static; box-shadow: none; border: 0; padding: 0; }
  .brief { max-height: none; overflow: visible; background: none; padding: 0; }
  a { color: var(--ink); }
  .page-head { padding: 0 0 1rem; }
  details { break-inside: avoid; }
}


/* ---------- homepage layout ---------- */
.home h1, .home h2.home-h2, .home .final-cta h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.03em; }
.home .hero h1 { font-size: clamp(2.9rem, 5.6vw, 5.2rem); line-height: 1.02; }
.home .hero h1 em { font-style: normal; }
.home h2.home-h2 { font-size: clamp(2.1rem, 3.9vw, 3.4rem); line-height: 1.06; margin-bottom: .4em; }
.home .final-cta h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; }
.home .section-head h2 { font-family: var(--sans); }

.home-proof { background: var(--brand); color: var(--white); padding-block: 22px; }
.home-proof ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.home-proof li { display: flex; align-items: center; gap: .6rem; }
.home-proof svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.home-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.home-split .eyebrow { margin-bottom: .75rem; }
.home-split-note { margin: 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; }
.band-brand .home-split-note { color: var(--white); }

.home-work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.home-work-item .browser { box-shadow: var(--shadow-md); }
.home-work-item a[tabindex="-1"] { display: block; }
.home-work-item h3 { font: 700 1.15rem/1.25 var(--sans); letter-spacing: -.01em; margin: 1.1rem 0 .2rem; }
.home-work-sector { margin: 0; color: var(--muted); font-size: .92rem; }
.home-real { display: block; margin-top: .75rem; color: var(--muted); font-size: .95rem; }
.home-real a { font-weight: 600; }
.home-work .section-more { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; }

.home-services { padding-block: var(--section); }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.home-service { display: flex; gap: 1.1rem; height: 100%; padding: 1.6rem; border: 1px solid rgb(var(--white-rgb) / .35); border-radius: var(--radius); color: var(--white); text-decoration: none; transition: background .25s ease; }
.home-service:hover { background: rgb(var(--white-rgb) / .12); color: var(--white); }
.home-service svg { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-service-title { display: block; font: 700 1.25rem/1.2 var(--sans); letter-spacing: -.01em; margin-bottom: .4rem; }
.home-service-line { display: block; font-size: .98rem; line-height: 1.45; color: rgb(var(--white-rgb) / .92); }
.home-services .section-more .btn { background: var(--white); color: var(--brand); }

.home-styles { padding-block: var(--section); }
.home-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.home-style-link { display: block; color: var(--ink); text-decoration: none; }
.home-style-link .browser { box-shadow: var(--shadow-md); transition: transform .3s ease; }
.home-style-link:hover .browser { transform: translateY(-6px); }
.home-style-name { display: block; font: 700 1.2rem/1.2 var(--sans); letter-spacing: -.01em; margin-top: 1.1rem; }
.home-style-line { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; margin: .25rem 0 .6rem; }
.home-style-grid .style-use { font-size: .92rem; }

.home-process { padding-block: var(--section); }
.home-process .steps-list { margin-top: 0; }

.home-library { padding-block: var(--section); background: var(--ivory); }
.home-library-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.home-library .section-head { margin-bottom: 0; }
.home-library .section-head p { color: var(--ink-soft); }
.home-library .section-more { margin-top: 1.5rem; }
.home-resource { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.25rem; align-items: center; padding-block: 1.2rem; border-top: 1px solid var(--rule); }
.home-resource img { width: 150px; height: auto; border-radius: 12px; background: var(--brand-tint); }
.home-resource .card-label { margin-bottom: .3rem; }
.home-resource h3 { font: 700 1.1rem/1.3 var(--sans); margin-bottom: .3rem; }
.home-resource h3 a { color: var(--ink); text-decoration: none; }
.home-resource h3 a:hover { color: var(--brand); }
.home-resource p { margin: 0; color: var(--muted); font-size: .95rem; }
.home-library .tool-strip { margin-top: 1.5rem; }

.home .local-section { padding-block: var(--section); }

@media (max-width: 1080px) {
  .home-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-library-grid, .home-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .home-work-grid, .home-service-grid, .home-style-grid { grid-template-columns: minmax(0, 1fr); }
  .home-proof ul { flex-direction: column; align-items: flex-start; }
  .home-real { display: block; }
  .home-resource { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; }
  .home-resource img { width: 96px; }
}
