/* ==========================================================================
   Suyoga Setu: shared stylesheet
   To change the look of the whole site, edit the values in :root below.
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colours */
  --bg: #f5f2ec;          /* warm paper */
  --surface: #fbfaf7;     /* slightly lighter panels and form fields */
  --ink: #1a1917;         /* main text */
  --muted: #5d5a54;       /* secondary text */
  --line: #dcd7cd;        /* hairlines and dividers */
  --line-strong: #b9b3a7;
  --accent: #3540a8;      /* indigo: the single accent colour */
  --accent-dark: #252e86;
  --accent-tint: #e8e8f3;
  --on-accent: #ffffff;
  --success: #2f6b45;
  --error: #9b2c1f;

  /* Type */
  --font: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.75vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.75rem + 2.75vw, 4.1rem);
  --step-5: clamp(2.7rem, 1.9rem + 4vw, 5.6rem);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --measure: 62ch;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset and base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "ss01" on;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover { color: var(--accent-dark); }

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

::selection { background: var(--accent); color: var(--on-accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; color: var(--bg); }

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

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.btn--small { min-height: 2.5rem; padding: 0.55rem 1rem; font-size: var(--step--1); }

.btn[disabled] { opacity: 0.6; cursor: progress; }

.arrow { width: 1em; height: 1em; flex: none; }

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

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 18px; color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.25rem 0.5rem 0.75rem;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: var(--step--1);
  cursor: pointer;
}
.nav-toggle-lines { position: relative; width: 22px; height: 12px; }
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-lines::before { top: 0; }
.nav-toggle-lines::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 5px; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 2rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.2vw, 1.75rem);
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--accent); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1rem var(--gutter) 2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 0.95rem 0; font-size: var(--step-1); }
  .nav-list a::after { display: none; }
  .site-nav .btn { align-self: flex-start; }
  /* Without JavaScript, the menu simply stays visible below the brand */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 1rem; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
  html:not(.js) .nav-list { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  html:not(.js) .nav-list li { border: 0; }
  html:not(.js) .nav-list a { padding: 0.25rem 0; font-size: 0.95rem; }
}

/* ---------- Generic sections ---------- */

main { display: block; }

.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section--tight { padding-block: calc(var(--section) * 0.7); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.prose { max-width: var(--measure); }
.prose p { color: var(--ink); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}

.muted { color: var(--muted); }

/* Two-column editorial split: heading on the left, text on the right */
.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
  }
}

.h-display { font-size: var(--step-4); letter-spacing: -0.03em; }
.h-section { font-size: var(--step-3); letter-spacing: -0.025em; }
.h-sub { font-size: var(--step-2); }
.h-item { font-size: var(--step-1); letter-spacing: -0.01em; }

/* ---------- Page header (inner pages) ---------- */

.page-head {
  padding-top: clamp(3rem, 2rem + 5vw, 7rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  max-width: 18ch;
  font-size: var(--step-4);
  letter-spacing: -0.03em;
}
.page-head .page-intro {
  max-width: var(--measure);
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.page-head .actions { margin-top: 2.25rem; }

/* ---------- Home: hero ---------- */

.hero {
  padding-top: clamp(3rem, 2rem + 5vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; }
}

.hero-name {
  margin: 0 0 1.25rem;
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
}
.hero-tagline {
  margin: 0;
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 12ch;
  text-wrap: balance;
}
.hero-text {
  max-width: 44ch;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.hero-art { width: 100%; max-width: 520px; justify-self: center; color: var(--ink); }
@media (max-width: 959px) { .hero-art { max-width: 440px; justify-self: start; } }

.connect .dot { fill: var(--ink); }
.connect .dot--soft { fill: var(--line-strong); }
.connect .ring { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.connect .hub { fill: var(--accent); }
.connect .thread { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.connect .thread--accent { fill: none; stroke: var(--accent); stroke-width: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .js .connect .thread--accent {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: draw 1.8s var(--ease) 0.3s forwards;
  }
  .js .connect .hub { opacity: 0; animation: appear 0.6s var(--ease) 1.6s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* ---------- Home: statement ---------- */

.statement-sub {
  margin-top: 1.25rem;
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--accent);
  max-width: 22ch;
}

.question {
  margin: 2rem 0;
  padding-left: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  border-left: 2px solid var(--accent);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ---------- Pass it forward motif ---------- */

.chain { width: 100%; max-width: 560px; height: auto; margin-top: 2.5rem; }
.chain .link { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.chain .link--on { stroke: var(--accent); stroke-width: 1.5; }
.chain .node { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.25; }
.chain .node--on { fill: var(--accent); stroke: var(--accent); }

/* ---------- Closing CTA band ---------- */

.cta-band {
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
  background: var(--ink);
  color: var(--bg);
}
.cta-band .eyebrow { color: #b9b5ad; }
.cta-band .eyebrow::before { background: #8f97e6; }
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--bg);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 2px solid #8f97e6;
  padding-bottom: 0.08em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cta-link:hover { color: #ffffff; border-bottom-color: #ffffff; }
.cta-link .arrow { width: 0.7em; height: 0.7em; transition: transform 0.25s var(--ease); }
.cta-link:hover .arrow { transform: translateX(6px); }
.cta-band a:focus-visible { outline-color: #ffffff; }
.cta-secondary { margin-top: 1.5rem; }
.cta-secondary a { color: #c9cdf5; font-size: var(--step-2); font-weight: 600; }
.cta-secondary a:hover { color: #ffffff; }

/* ---------- What we do: numbered rows ---------- */

.rows { list-style: none; }
.row {
  display: grid;
  gap: 1rem 2rem;
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; }
@media (min-width: 900px) {
  .row { grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; }
}
.row-num {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.45em;
}
.row h2 { font-size: var(--step-2); max-width: 16ch; }
.row .prose { color: var(--ink); }

.row--feature {
  background: var(--surface);
  border: 1px solid var(--line);
  padding-inline: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  margin-top: 1rem;
}
.row--feature + .row { border-top: 0; }

/* ---------- Ruled lists (topics, contributions) ---------- */

.ruled {
  list-style: none;
  border-top: 1px solid var(--line);
}
.ruled li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-1);
  line-height: 1.35;
}
.ruled li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border: 1.25px solid var(--accent);
  border-radius: 50%;
  transform: translateY(-0.12em);
}
@media (min-width: 700px) {
  .ruled--cols { columns: 2; column-gap: 3rem; border-top: 0; }
  .ruled--cols li { break-inside: avoid; }
  .ruled--cols li:first-child,
  .ruled--cols { border-top: 0; }
}

/* ---------- Steps (How it works) ---------- */

.steps {
  display: grid;
  gap: 0;
  list-style: none;
  margin-top: 3rem;
  border-top: 1px solid var(--ink);
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step + .step { border-left: 1px solid var(--line); }
  .step { padding-right: 2rem; }
  .step + .step { padding-left: 2rem; }
}
.step { padding-block: 2rem; }
@media (max-width: 799px) { .step + .step { border-top: 1px solid var(--line); } }
.step-num {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.step p { color: var(--muted); }

/* ---------- Pair statement (volunteer) ---------- */

.pair {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 0.5rem;
}
.pair p {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.pair p + p { color: var(--accent); }

/* ---------- About ---------- */

.stack-lines {
  list-style: none;
  margin: 1.75rem 0 2rem;
  border-left: 2px solid var(--accent);
  padding-left: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
}
.stack-lines li {
  padding: 0.3rem 0;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.4;
}

.name-meaning { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 700px) { .name-meaning { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.name-meaning p {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.name-meaning strong { font-weight: 600; color: var(--accent); }

.founder-link { margin-top: 2rem; }
.founder-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 760px) {
  .founder-grid { grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr); }
}
.founder-photo-wrap {
  width: min(100%, 280px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--line);
}
.founder-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
@media (max-width: 759px) {
  .founder-photo-wrap { width: min(72vw, 260px); }
}
.founder-copy .h-section {
  margin-bottom: 2rem;
}


/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-card + .contact-card { border-left: 1px solid var(--line); padding-left: 2rem; }
  .contact-card { padding-right: 2rem; }
}
.contact-card { padding-block: 2rem 2.5rem; }
@media (max-width: 859px) { .contact-card + .contact-card { border-top: 1px solid var(--line); } }
.contact-card h2 {
  margin-bottom: 1.25rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card .contact-action {
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

/* ---------- Forms ---------- */

.form-section { background: var(--surface); border-top: 1px solid var(--line); }
.form-section + .section { border-top: 1px solid var(--line); }

.form-wrap { max-width: 760px; }

.form {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label,
.field legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.field .optional { font-weight: 400; color: var(--muted); }
.field .hint { font-size: var(--step--1); color: var(--muted); margin: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 2.5rem;
  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.5l5 5 5-5' fill='none' stroke='%231a1917' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

fieldset.field { margin: 0; padding: 0; border: 0; }
fieldset.field legend { padding: 0; margin-bottom: 0.6rem; }
.checks { display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  font-size: 0.97rem;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.check:hover { border-color: var(--line-strong); }
.check input {
  flex: none;
  width: 1.1rem; height: 1.1rem;
  margin: 0.1rem 0 0;
  accent-color: var(--accent);
}
.check:has(input:checked) { border-color: var(--accent); }

.form-note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--muted);
  max-width: 60ch;
}

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.hidden-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.form-status {
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--success);
  background: #ffffff;
  font-size: var(--step-0);
}
.form-status[hidden] { display: none; }
.form-status h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.form-status--error { border-left-color: var(--error); }

/* ---------- Privacy / long text ---------- */

.legal h2 { font-size: var(--step-1); margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 3.5rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--muted);
}
.cta-band + .site-footer { border-top: 0; }
.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; } }
.footer-brand {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}
.footer-motto { margin: 1rem 0 0; color: var(--ink); font-weight: 600; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-meta p { margin: 0; }
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--accent); }

/* ---------- 404 ---------- */

.not-found { padding-block: clamp(5rem, 4rem + 8vw, 10rem); }
.not-found .code { color: var(--accent); font-weight: 600; margin-bottom: 1rem; }

/* ---------- Reduced motion ---------- */

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

/* Empty offset columns collapse on small screens */
@media (max-width: 899px) { .split > div:empty { display: none; } }

/* Contact page */
.split .form-wrap .form { margin-top: 0; }
.contact-email { font-size: clamp(1.05rem, 1.25vw, 1.45rem); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.form-row { align-items: start; }
.field { align-content: start; }


/* ---------- About page refinements ---------- */
.about-page .page-head {
  padding-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}
.about-page .about-story {
  padding-block: clamp(3.5rem, 3rem + 3vw, 5rem);
}
.about-story-copy {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.about-story-copy .lede {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  line-height: 1.5;
  margin-bottom: 2rem;
}
.about-page .about-name,
.about-page .about-founder {
  padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem);
}
.about-page .name-meaning { margin-bottom: 2rem; }
.about-page .founder-grid {
  gap: clamp(2rem, 4vw, 4rem);
}
.about-page .founder-photo-wrap {
  width: min(100%, 220px);
}
@media (max-width: 759px) {
  .about-page .founder-photo-wrap { width: min(60vw, 210px); }
}
