/* Self-hosted typefaces (SIL Open Font License 1.1). Nothing is loaded from third-party servers. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-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: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-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; }
/* ==========================================================================
   Sperancera — site styles

   Layout: a left-aligned editorial grid. Every page opens on a horizon: a rule
   with the half-sun of the mark rising on it. Below it, sections are two-column
   spreads (title rail on the left, substance on the right). One accent, cobalt;
   the only full-colour surface is the contact band above the footer.
   ========================================================================== */

:root {
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #121826;
  --ink-2: #4B5566;
  --ink-3: #5F6A7D;
  --line: #D5DAE3;
  --accent: #2457E6;
  --accent-hover: #1C47C4;
  --accent-ink: #FFFFFF;
  --accent-soft: #DFE7FB;
  --band: #2457E6;
  --band-ink: #FFFFFF;
  --band-ink-2: #DCE5FF;
  --band-btn: #FFFFFF;
  --band-btn-ink: #14307F;
  --shadow: 0 18px 40px -18px rgb(18 24 38 / .28);
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --wrap: 1160px;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1420;
    --surface: #171D2C;
    --ink: #EAEEF6;
    --ink-2: #AAB3C4;
    --ink-3: #8791A5;
    --line: #273047;
    --accent: #6B8CFF;
    --accent-hover: #8AA4FF;
    --accent-ink: #0B1020;
    --accent-soft: #1B2648;
    --shadow: 0 18px 40px -18px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0F1420;
  --surface: #171D2C;
  --ink: #EAEEF6;
  --ink-2: #AAB3C4;
  --ink-3: #8791A5;
  --line: #273047;
  --accent: #6B8CFF;
  --accent-hover: #8AA4FF;
  --accent-ink: #0B1020;
  --accent-soft: #1B2648;
  --shadow: 0 18px 40px -18px rgb(0 0 0 / .7);
  color-scheme: dark;
}

/* --------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}

[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* the mark and the logo, drawn from one sprite */
.lk-sun { fill: var(--lk-sun, var(--accent)); }
.lk-stroke { fill: none; stroke: currentColor; stroke-linecap: round; }
.lk-text { fill: currentColor; }
.lockup { display: block; height: 25px; width: auto; }

.chev { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------- header */

.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; padding-block: 8px; color: var(--ink); text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; display: flex; align-items: center; height: var(--header-h); }
.nav > li.is-current { box-shadow: inset 0 -2px 0 var(--accent); }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: .97rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.nav a:hover, .nav > li.is-current > a { color: var(--ink); }
.caret { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }

.sub {
  position: absolute;
  left: -6px;
  top: calc(100% - 8px);
  z-index: 2;
  min-width: 330px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.topbar.nav-suppress .sub { opacity: 0; visibility: hidden; }
.nav .sub a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-weight: 600; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--bg); }
.nav .sub small { display: block; margin-top: 1px; color: var(--ink-3); font-size: .86rem; font-weight: 400; line-height: 1.4; }

.tools { display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.lang a { padding: 6px 10px; color: var(--ink-3); font-size: .8rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; text-decoration: none; }
.lang a + a { border-left: 1px solid var(--line); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.lang a:focus-visible { outline-offset: -2px; }

.menu-btn {
  display: none;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: none;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn .done, .btn.is-done .label { display: none; }
.btn.is-done .done { display: inline; }

.link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transition: text-decoration-color .15s;
}
.link:hover { text-decoration-color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- home hero */

.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(44px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 1.1rem + 5.2vw, 5.5rem); line-height: .98; letter-spacing: -.026em; }
.lead { color: var(--ink-2); font-size: clamp(1.125rem, 1rem + .55vw, 1.375rem); line-height: 1.5; }
.hero .lead { max-width: 46ch; margin-top: 28px; }
.hero .actions { margin-top: 36px; }
.note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--ink-2); font-size: .95rem; }
.note::before { content: ""; flex: none; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.hero-art { min-width: 0; }
.hero-mark { display: block; width: 100%; height: auto; overflow: visible; }
.hm-ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.hm-ring-2 { opacity: .75; }
.hm-ring-3 { opacity: .5; }
.hm-sun { fill: var(--accent); }
.hm-bowl, .hm-horizon { fill: none; stroke: var(--ink); stroke-width: 22; stroke-linecap: round; }

@keyframes hm-rise { from { transform: translateY(132px); } }
@keyframes hm-fade { from { opacity: 0; } }
@keyframes hm-draw { from { stroke-dashoffset: 1.05; } }
@keyframes sun-up { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: no-preference) {
  .hm-sun { animation: hm-rise 1.5s cubic-bezier(.2, .75, .15, 1) both; }
  .hm-ring { animation: hm-fade 1.1s ease-out backwards; }
  .hm-ring-1 { animation-delay: .5s; }
  .hm-ring-2 { animation-delay: .65s; }
  .hm-ring-3 { animation-delay: .8s; }
  .hm-bowl { stroke-dasharray: 1 2; animation: hm-draw 1s cubic-bezier(.4, 0, .2, 1) .55s backwards; }
  .horizon-sun::before { animation: sun-up .9s cubic-bezier(.2, .75, .15, 1) .1s backwards; }
}

/* ---------------------------------------------------------- inner page head */

.page-head { padding-top: clamp(32px, 4.5vw, 60px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 22px; color: var(--ink-3); font-size: .92rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--ink-3); opacity: .6; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-head h1 { max-width: 15ch; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -.026em; }
.page-head .lead { max-width: 54ch; margin-top: 22px; }

.horizon { position: relative; height: 3px; margin-top: clamp(64px, 7vw, 96px); border-radius: 3px; background: var(--ink); }
.horizon-sun { position: absolute; right: clamp(20px, 7%, 88px); bottom: 100%; width: 76px; height: 38px; overflow: hidden; }
.horizon-sun::before { content: ""; position: absolute; inset: 0; border-radius: 76px 76px 0 0; background: var(--accent); }

/* ----------------------------------------------------------------- sections */

.block { padding-block: clamp(44px, 5.5vw, 80px); border-top: 1px solid var(--line); }
.blocks-after-horizon > .block:first-child { border-top: 0; }

.spread { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.rail { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 28px); }
.rail h2 { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.025em; }
.rail h2 .num { margin-right: .3em; color: var(--accent); font-variant-numeric: tabular-nums; }
.rail p { max-width: 30ch; margin-top: 12px; color: var(--ink-2); }
.rail .link { display: inline-block; margin-top: 18px; }
.rail .btn { margin-top: 22px; }

h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; }

.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose p { color: var(--ink-2); }
.prose .big { color: var(--ink); font-size: 1.2rem; line-height: 1.55; }

/* service rows */
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 18px;
  gap: 6px 28px;
  align-items: start;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.row:first-child { padding-top: 0; border-top: 0; }
.row:last-child { padding-bottom: 0; }
.row h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; transition: color .15s; }
.row .tags { margin-top: 5px; color: var(--ink-3); font-size: .9rem; }
.row-text { color: var(--ink-2); }
.row .chev { margin-top: 5px; color: var(--ink-3); transition: transform .2s, color .15s; }
.row:hover h3, .row:hover .chev { color: var(--accent); }
.row:hover .chev { transform: translateX(3px); }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-content: start; }
.steps .num { color: var(--accent); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.steps p { grid-column: 2; margin-top: 8px; color: var(--ink-2); }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.points p { margin-top: 8px; color: var(--ink-2); }

/* dictionary entry */
.ety { display: grid; gap: 6px; max-width: 520px; padding: 26px 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.ety-word { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.ety-pron { color: var(--ink-3); font-size: .95rem; }
.ety-def { margin-top: 6px; color: var(--ink-2); }
.name-block { display: grid; gap: 26px; }

/* scope / fit / deliverables */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.scope h3 { font-size: 1.125rem; letter-spacing: -.005em; }
.scope p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }

.suns { display: grid; gap: 14px; max-width: 62ch; }
.suns li { position: relative; padding-left: 32px; }
.suns li::before { content: ""; position: absolute; left: 0; top: .86em; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.suns li::after { content: ""; position: absolute; left: 4px; top: calc(.86em - 5px); width: 10px; height: 5px; border-radius: 10px 10px 0 0; background: var(--accent); }

.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-list li { padding: 5px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); font-size: .92rem; }
.sub-title { margin: 36px 0 14px; font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }

.fit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 40px; align-items: start; }
.fit h3 { margin-bottom: 14px; font-size: 1.125rem; letter-spacing: -.005em; }
.fit-no { padding: 22px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.fit-no p { color: var(--ink-2); font-size: 1rem; }

/* questions */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
}
.faq details:first-child summary { padding-top: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 6px 4px 0 0; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { margin-top: 11px; transform: rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq .answer { max-width: 62ch; padding: 0 40px 24px 0; color: var(--ink-2); }

/* next page */
.next { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(30px, 4vw, 48px); border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.next small { display: block; margin-bottom: 6px; color: var(--ink-3); font-size: .92rem; }
.next strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; transition: color .15s; }
.next .chev { width: 30px; height: 30px; color: var(--ink-3); transition: transform .2s, color .15s; }
.next:hover strong, .next:hover .chev { color: var(--accent); }
.next:hover .chev { transform: translateX(5px); }

/* process */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; max-width: 64ch; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.duo h3 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.duo p { margin-top: 6px; }

/* about: anatomy of the mark */
.anatomy { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.anatomy-mark { display: block; width: 100%; height: auto; color: var(--ink); }
.anatomy-parts { display: grid; gap: 22px; }
.anatomy-parts li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
.anatomy-parts svg { display: block; width: 46px; height: 46px; }
.anatomy-parts h3 { font-size: 1.125rem; letter-spacing: -.005em; }
.anatomy-parts p { margin-top: 4px; color: var(--ink-2); font-size: 1rem; }
.part path { fill: none; stroke: var(--line); stroke-width: 5; stroke-linecap: round; }
.part .p-sun { fill: var(--line); stroke: none; }
.part-1 .p-sun { fill: var(--accent); }
.part-2 .p-bar, .part-3 .p-bowl { stroke: var(--ink); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-side { display: grid; gap: 34px; }
.contact-side h2 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.contact-side h2 + * { margin-top: 10px; }
.email-xl {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  transition: color .15s;
}
.email-xl:hover { color: var(--accent); }
.contact-side .actions { margin-top: 22px; }
.contact-side .muted { margin-top: 14px; color: var(--ink-2); }
.plain-list { display: grid; gap: 6px; color: var(--ink-2); }

.form-card { padding: clamp(20px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.form-card h2 { font-size: 1.6rem; line-height: 1.1; letter-spacing: -.02em; }
.form-card > p { margin-top: 8px; color: var(--ink-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 600; }
.field .hint { color: var(--ink-3); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; color: var(--ink-3); font-size: .88rem; }

.draft { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.draft:focus { outline: none; }
.draft h3 { font-size: 1.2rem; }
.draft pre { margin: 14px 0 0; padding: 16px 18px; max-height: 320px; overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-family: var(--font-body); font-size: .97rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.draft .actions { margin-top: 16px; }

/* legal */
.legal { display: grid; gap: 14px; max-width: 64ch; }
.legal p { color: var(--ink-2); }
.updated { color: var(--ink-3); font-size: .92rem; }

/* closing rule on pages that end without the contact band */
.end-rule { border-top: 1px solid var(--line); }

/* not found */
.nf { padding-block: clamp(64px, 10vw, 140px); }
.nf h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -.03em; }
.nf p { max-width: 48ch; margin-top: 18px; color: var(--ink-2); font-size: 1.15rem; }
.nf .actions { margin-top: 28px; }
.nf-alt { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.nf-alt h2 { font-size: 1.6rem; letter-spacing: -.02em; }

/* -------------------------------------------------------------- contact band */

.band { position: relative; overflow: hidden; background: var(--band); color: var(--band-ink); --lk-sun: currentColor; }
.band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(24px, 5vw, 72px); align-items: end; padding-block: clamp(56px, 7vw, 104px); }
.band h2 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem); line-height: 1; letter-spacing: -.026em; }
.band p { max-width: 44ch; margin-top: 20px; color: var(--band-ink-2); font-size: 1.15rem; line-height: 1.5; }
.band-actions { display: grid; gap: 22px; justify-items: start; }
.band-email { font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgb(255 255 255 / .5); transition: text-decoration-color .15s; }
.band-email:hover { text-decoration-color: #FFFFFF; }
.btn-band { background: var(--band-btn); border-color: var(--band-btn); color: var(--band-btn-ink); }
.btn-band:hover { background: var(--band-ink-2); border-color: var(--band-ink-2); }
.band :focus-visible { outline-color: #FFFFFF; }
.band-mark { position: absolute; right: -70px; top: 50%; width: min(52vw, 560px); height: auto; aspect-ratio: 1; transform: translateY(-46%); opacity: .13; pointer-events: none; }

/* ------------------------------------------------------------------- footer */

.footer { padding-block: clamp(44px, 5vw, 64px) 28px; color: var(--ink-2); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 36px 32px; }
.foot-brand .lockup { height: 28px; }
.foot-brand p { max-width: 26ch; margin-top: 14px; }
.footer h2 { margin-bottom: 12px; font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.footer ul { display: grid; gap: 8px; }
.footer li { overflow-wrap: anywhere; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .88rem; }

/* --------------------------------------------------------------- responsive */

@media (min-width: 821px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav-wrap {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow: auto;
    padding-block: 4px 14px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .topbar.is-open .nav-wrap { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li { display: block; height: auto; border-top: 1px solid var(--line); }
  .nav > li:first-child { border-top: 0; }
  .nav > li.is-current { box-shadow: none; }
  .nav a { display: flex; padding: 14px 0; color: var(--ink); font-size: 1.05rem; }
  .caret { display: none; }
  .sub, .topbar.nav-suppress .sub { position: static; min-width: 0; padding: 0 0 10px 14px; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav .sub a { padding: 8px 0; color: var(--ink-2); font-size: .98rem; font-weight: 500; }
  .nav .sub a:hover, .nav .sub a[aria-current="page"] { background: none; color: var(--ink); }
  .nav .sub small { display: none; }

  .hero-grid, .spread, .contact, .band-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(100%, 440px); margin-left: auto; }
  .rail { position: static; }
  .rail p { max-width: 46ch; }
  .band-inner { align-items: start; }
  .band-mark { right: -90px; top: auto; bottom: -70px; width: 320px; transform: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .horizon-sun { width: 60px; height: 30px; }
}

@media (max-width: 600px) {
  .row { grid-template-columns: minmax(0, 1fr) 18px; }
  .row-text { grid-column: 1; grid-row: 2; }
  .row .chev { grid-column: 2; grid-row: 1; }
  .steps, .points, .scope, .fit, .duo, .form, .anatomy { grid-template-columns: minmax(0, 1fr); }
  .anatomy-mark { max-width: 150px; }
  .faq .answer { padding-right: 0; }
  .hero .actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar .lockup { height: 22px; }
  .bar { gap: 12px; }
  .tools { gap: 8px; }
}

@media (max-width: 350px) {
  .topbar .lockup { height: 19px; }
  .lang a { padding: 6px 8px; }
  .menu-btn { padding: 5px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* services overview */
.suns-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; max-width: none; margin-top: 26px; }
.svc-more { margin-top: 28px; }
@media (max-width: 600px) { .suns-cols { grid-template-columns: minmax(0, 1fr); } }
