/* =========================================================================
   Voice for Blind — Concept B "Companion"
   Warm, human, community-first design system.
   Plain CSS3, no build tools. Fonts loaded via <link> in each HTML head.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root{
  --bg:            #EFF6FF; /* page background */
  --bg-tint:       #E3EEFC; /* slightly deeper tint for alternating sections */
  --bg-tint-2:     #D8E7FA; /* deeper still, for card fills on tinted sections */
  --surface:       #FFFFFF; /* card surfaces on the base background */

  --primary:       #4C7EA8; /* periwinkle-blue — large text, icons, borders, big fills */
  --primary-deep:  #2E5A80; /* darkened blue — safe for small text/links (>=4.5:1 on bg) */
  --primary-button:#3E6A8F; /* solid button fill — safe with white text (>=4.5:1) */
  --primary-soft:  #C9DCEF; /* pale blue for subtle fills/borders */

  --accent:        #E8956B; /* warm coral — CTA buttons & highlights ONLY */
  --accent-deep:   #A8522B; /* AA-safe deep coral: white text passes 4.5:1 for button hover + required-field marker */

  --ink:           #233240; /* primary text colour */
  --ink-soft:      #4B5A66; /* secondary text colour, still AA on bg */
  --white:         #FFFFFF;

  --focus-ring:    #1B2733;

  --radius-blob-1: 63% 37% 54% 46% / 43% 45% 55% 57%;
  --radius-blob-2: 37% 63% 46% 54% / 55% 40% 60% 45%;
  --radius-blob-3: 50% 50% 40% 60% / 60% 40% 60% 40%;

  --shadow-soft:   0 20px 45px -25px rgba(35, 50, 64, 0.35);
  --shadow-card:   0 14px 30px -18px rgba(35, 50, 64, 0.28);

  --container-w:   1180px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote{ margin: 0; }
ul, ol{ padding: 0; }
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
label{ display: block; }

body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}
h1{ font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h2{ font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem); }
h3{ font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); }

p{ max-width: 62ch; }
.lede{ font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- Focus visibility (accessibility floor) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
main{ display: block; overflow: hidden; }
.section{ padding-block: var(--space-6); position: relative; }
.section-tight{ padding-block: var(--space-5); }
.section-tint{ background: var(--bg-tint); }
.section-ink{ background: var(--ink); color: var(--bg); }
.section-ink h2, .section-ink h3{ color: var(--white); }
.section-ink p{ color: #C9D6DE; }

.section-head{ max-width: 46rem; margin-bottom: var(--space-4); }
.section-head.center{ margin-inline: auto; text-align: center; }
.eyebrow{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--primary-soft);
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: var(--space-2);
}
.section-ink .eyebrow{ background: rgba(255,255,255,0.14); color: #CFE0F0; }

.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 ---------- */
.skip-link{
  position: absolute;
  top: -100px;
  left: var(--space-2);
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 10px 10px;
  z-index: 1000;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus{ top: 0; }
@media (prefers-reduced-motion: reduce){ .skip-link{ transition: none; } }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.85rem 1.6rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
}
.btn:hover{ transform: translateY(-2px); }
.btn-accent{
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.btn-accent:hover{ background: var(--accent-deep); color: var(--white); }
.btn-primary{
  background: var(--primary-button);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover{ background: var(--primary-deep); }
.btn-outline{
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-outline:hover{ background: rgba(35,50,64,0.06); }
.section-ink .btn-outline{ color: var(--white); }
.section-ink .btn-outline:hover{ background: rgba(255,255,255,0.1); }
.btn-on-primary{
  background: var(--white);
  color: var(--primary-deep);
}
.btn-on-primary:hover{ background: var(--bg-tint); }

.btn-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ---------- Site header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(239, 246, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(76,126,168,0.18);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 0.85rem;
}
.logo{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  min-height: 44px;
}
.logo-mark{ width: 40px; height: 40px; flex-shrink: 0; }
.logo-text-sub{
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.nav-toggle{
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  border: 2px solid var(--primary-soft);
}
.nav-toggle:hover{ background: var(--primary-soft); }
.nav-toggle-icon{
  width: 22px; height: 16px;
  position: relative;
  display: inline-block;
}
.nav-toggle-icon span, .nav-toggle-icon::before, .nav-toggle-icon::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle-icon::before{ top: 0; }
.nav-toggle-icon span{ top: 7px; }
.nav-toggle-icon::after{ bottom: 0; }

.primary-nav .nav-list{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-list > li{ position: relative; }
.nav-list a,
.nav-dropdown-toggle{
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.nav-list a:hover,
.nav-dropdown-toggle:hover{ background: var(--primary-soft); }
.nav-list a[aria-current="page"]{
  background: var(--primary);
  color: var(--white);
}
.nav-dropdown-toggle .chevron{
  width: 12px; height: 12px;
  transition: transform 0.18s ease;
}
@media (prefers-reduced-motion: reduce){ .nav-dropdown-toggle .chevron{ transition: none; } }
.nav-dropdown-toggle[aria-expanded="true"] .chevron{ transform: rotate(180deg); }
.nav-item-dropdown.current-section > .nav-dropdown-toggle{
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.dropdown-menu{
  list-style: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--primary-soft);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}
.dropdown-menu.is-open{ display: flex; }
.dropdown-menu a{
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
}
.dropdown-menu a[aria-current="page"]{
  background: var(--primary-soft);
  color: var(--primary-deep);
}

/* Mobile nav */
@media (max-width: 860px){
  .nav-toggle{ display: inline-flex; }
  .primary-nav{
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--primary-soft);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  @media (prefers-reduced-motion: reduce){ .primary-nav{ transition: none; } }
  .primary-nav.is-open{ max-height: 640px; }
  .primary-nav .nav-list{
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  }
  .nav-list a, .nav-dropdown-toggle{ width: 100%; justify-content: space-between; border-radius: 12px; }
  .dropdown-menu{
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-tint);
    margin-top: 0.15rem;
  }
}

/* ---------- Wave / blob dividers ---------- */
.wave-divider{
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}
.wave-divider svg{ width: 100%; height: 60px; display: block; }
.wave-divider.flip svg{ transform: scaleX(-1); }

/* ---------- Hero (full — index.html only) ---------- */
.hero{
  position: relative;
  background: linear-gradient(155deg, var(--bg-tint) 0%, var(--bg) 62%);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-4);
  align-items: center;
}
.hero-content .eyebrow{ margin-bottom: var(--space-2); }
.hero h1{ margin-bottom: var(--space-2); }
.hero-subtext{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem);
  color: var(--primary-deep);
  margin-bottom: var(--space-4);
}
.hero-visual{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-inline: auto;
}
.hero-blob{
  position: absolute;
  inset: 0;
  background: var(--primary-soft);
  border-radius: var(--radius-blob-1);
}
.hero-blob img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.hero-visual svg{ position: relative; z-index: 1; }

/* ---------- Mini banner (all other pages) ----------
   Each page sets its own photo via an inline background-image style on
   .mini-banner. The ::before scrim keeps the existing dark ink text
   (designed for a light background) legible over any photo — see
   contrast notes in the implementation report. */
.mini-banner{
  position: relative;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  padding-block: clamp(2.75rem, 5vw, 4rem) clamp(3.25rem, 6vw, 4.5rem);
}
.mini-banner::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(140deg, rgba(227,238,252,0.94) 0%, rgba(239,246,255,0.90) 70%);
  pointer-events: none;
}
.mini-banner-inner{ position: relative; z-index: 1; max-width: 44rem; }
.mini-banner .eyebrow{ margin-bottom: var(--space-2); }
.mini-banner p{ font-size: 1.1rem; color: var(--ink-soft); margin-top: var(--space-2); }
.mini-banner .btn-row{ margin-top: var(--space-3); }
.mini-banner .wave-divider{ position: relative; z-index: 1; }

/* ---------- Mission / two-column asymmetric blocks ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}
.split.reverse .split-visual{ order: 2; }
.split-visual{ position: relative; }
.split-blob{
  background: var(--primary-soft);
  border-radius: var(--radius-blob-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.split-blob img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.split-text h2{ margin-bottom: var(--space-2); }
.split-text p + p{ margin-top: 0.9rem; }

/* ---------- How We Help / feature grid with thread motif ---------- */
.thread-grid{ position: relative; }
.thread-track{
  position: relative;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, 1fr);
}
.thread-svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.thread-svg.thread-vertical{ display: none; }
.thread-path{
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 10;
}
/* Animated draw-in state is only ever applied by JS, and only when JS has
   confirmed prefers-reduced-motion: no-preference. Until then / without JS
   the path renders fully visible via the dasharray dot pattern above. */
.thread-svg.thread-animate .thread-path{
  stroke-dasharray: var(--thread-length, 1000);
  stroke-dashoffset: var(--thread-length, 1000);
  transition: stroke-dashoffset 1.4s ease;
}
.thread-svg.thread-animate.in-view .thread-path{ stroke-dashoffset: 0; }

.feature-card{
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 28px;
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.feature-card:nth-child(2n){ transform: translateY(1.75rem); }
.card-media{
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-blob-3);
  overflow: hidden;
}
.card-media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-icon{
  width: 60px; height: 60px;
  border-radius: var(--radius-blob-3);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg{ width: 30px; height: 30px; }
.feature-card h3{ margin: 0; }
.feature-card p{ color: var(--ink-soft); font-size: 0.98rem; }
.feature-card .card-link{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-deep);
  min-height: 44px;
  padding-block: 0.4rem;
}
.feature-card .card-link:hover{ text-decoration: underline; }
.feature-card .card-link svg{ width: 16px; height: 16px; }

@media (max-width: 980px){
  .thread-track{ grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2n){ transform: none; }
}
@media (max-width: 620px){
  .thread-track{ grid-template-columns: 1fr; gap: var(--space-3); padding-left: 1.6rem; }
  .thread-svg.thread-horizontal{ display: none; }
  .thread-svg.thread-vertical{ display: block; }
}

/* Two-item variant of the thread track (e.g. Scribe Assistance "How Can We
   Help?"): always two columns down to the mobile stack breakpoint. */
.thread-track.thread-track-2{ grid-template-columns: repeat(2, 1fr); max-width: 46rem; margin-inline: auto; }
@media (max-width: 620px){
  .thread-track.thread-track-2{ grid-template-columns: 1fr; }
}

/* ---------- Generic card grids (no thread) ---------- */
.grid{ display: grid; gap: var(--space-3); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; } }

.info-card{
  background: var(--surface);
  border-radius: 24px;
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
}
.info-card.on-tint{ background: var(--white); }
.info-card h3{ margin-bottom: 0.5rem; }
.info-card p{ color: var(--ink-soft); }
.info-card--outline{
  background: transparent;
  border: 2px solid var(--primary-soft);
  box-shadow: none;
}

/* alternating organic radii for value/benefit style cards */
.info-card:nth-child(4n+1){ border-radius: var(--radius-blob-1); }
.info-card:nth-child(4n+2){ border-radius: 24px; }
.info-card:nth-child(4n+3){ border-radius: var(--radius-blob-2); }
.info-card:nth-child(4n+4){ border-radius: 24px; }

/* ---------- Steps (genuine sequences) ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  counter-reset: step;
  position: relative;
}
.step{
  background: var(--surface);
  border-radius: 24px;
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  position: relative;
}
.step-number{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step h3{ margin-bottom: 0.4rem; }
.step p{ color: var(--ink-soft); }
@media (max-width: 780px){ .steps{ grid-template-columns: 1fr; } }

/* ---------- CTA bands ----------
   Each instance sets its own photo via an inline background-image style.
   The ::before scrim (primary-deep at 88% opacity) keeps the existing
   white text at AA contrast even over a bright patch of photo — see
   contrast notes in the implementation report. */
.cta-band{
  position: relative;
  border-radius: 32px;
  padding: var(--space-4);
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  overflow: hidden;
}
/* Parallax-style fixed background on capable desktop viewports only:
   iOS Safari doesn't support background-attachment:fixed (harmlessly falls
   back to scroll there). Deliberately NOT gated behind prefers-reduced-motion
   like the thread-draw animation elsewhere on this file — this is a static
   background-paint property, not a moving/animating effect, and gating it
   there was also silently disabling it for anyone whose OS reports a
   reduced-motion preference even without asking for one, which made it
   hard to verify. */
@media (min-width: 768px) {
  .cta-band { background-attachment: fixed; }
}
.cta-band h2{ color: var(--white); margin-bottom: 0.35rem; }
.cta-band p{ color: #E6F0FA; max-width: 42ch; }
.cta-band .btn-accent{ flex-shrink: 0; }
.cta-band::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(46, 90, 128, 0.88);
  border-radius: inherit;
  pointer-events: none;
}
.cta-band > *{ position: relative; z-index: 1; }
.cta-strip{
  border-radius: 24px;
  border: 2px dashed var(--primary-soft);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.cta-strip h3{ margin-bottom: 0.2rem; }
.cta-strip p{ color: var(--ink-soft); margin: 0; }

@media (max-width: 620px){
  .cta-band, .cta-strip{ flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---------- Accordion (Guidance schemes) ---------- */
.accordion{ display: flex; flex-direction: column; gap: var(--space-2); }
.accordion-item{
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.accordion-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  min-height: 44px;
}
.accordion-trigger:hover{ background: var(--bg-tint); }
.accordion-icon{
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
@media (prefers-reduced-motion: reduce){ .accordion-icon{ transition: none; } }
.accordion-trigger[aria-expanded="true"] .accordion-icon{ transform: rotate(45deg); }
.accordion-icon svg{ width: 16px; height: 16px; }

.accordion-panel{
  padding: 0 1.5rem 1.5rem;
  display: grid;
  gap: var(--space-3);
}
.accordion-panel[hidden]{ display: none; }
.scheme-field h4{
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}
.scheme-field p{ margin: 0; color: var(--ink-soft); }
.scheme-fields{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--bg-tint-2);
}
@media (max-width: 620px){ .scheme-fields{ grid-template-columns: 1fr; } }

/* ---------- Why We Exist (about) ---------- */
.reason-list{
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: var(--space-3) 0;
}
.reason-list li{
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-card);
}
.reason-list li svg{ width: 22px; height: 22px; flex-shrink: 0; margin-top: 0.15rem; color: var(--primary); }
.closing-lines{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-deep);
  margin-top: var(--space-3);
}

/* ---------- Values grid (about) ---------- */
.value-card{ text-align: left; }

/* ---------- Contact page ---------- */
.contact-layout{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-4);
  align-items: start;
}
.contact-details{
  background: var(--surface);
  border-radius: 28px;
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: var(--space-3);
}
.contact-detail{ display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-detail-icon{
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg{ width: 22px; height: 22px; }
.contact-detail h3{ font-size: 1rem; margin-bottom: 0.15rem; }
.contact-detail a, .contact-detail p{ color: var(--ink-soft); margin: 0; }
.contact-detail a{ color: var(--primary-deep); text-decoration: underline; text-underline-offset: 2px; }

.contact-form-card{
  background: var(--surface);
  border-radius: 28px;
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
.form-grid{ display: grid; gap: var(--space-3); }
.form-row{ display: grid; gap: 0.4rem; }
.form-row label{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.form-row .req{ color: var(--accent-deep); }
.form-row input,
.form-row select,
.form-row textarea{
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--primary-soft);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.form-row textarea{ min-height: 120px; resize: vertical; }
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible{
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--primary);
}
.form-two{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-hint{ font-size: 0.85rem; color: var(--ink-soft); }

.form-confirm{
  text-align: center;
  padding: var(--space-4) var(--space-3);
  display: grid;
  gap: var(--space-2);
  justify-items: center;
}
.form-confirm svg{ width: 64px; height: 64px; color: var(--primary); }
.form-confirm[hidden]{ display: none; }

@media (max-width: 900px){
  .contact-layout{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .form-two{ grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: #D7E3EC; }
.footer-top{ padding-block: var(--space-5); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-4);
}
.footer-brand .logo{ color: var(--white); margin-bottom: 0.75rem; }
.footer-brand .logo-text-sub{ color: #9FB4C2; }
.footer-brand p{ color: #AEC0CC; max-width: 32ch; }
.site-footer h2{
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9FB4C2;
  margin-bottom: 0.9rem;
}
.site-footer ul{ list-style: none; display: grid; gap: 0.6rem; }
.site-footer a{ color: #D7E3EC; }
.site-footer a:hover{ color: var(--accent); text-decoration: underline; }
.social-list{ display: flex !important; flex-direction: row; gap: 0.6rem; }
.social-list a{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(215,227,236,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-list a:hover{ background: var(--accent); border-color: var(--accent); color: var(--ink); }
.social-list svg{ width: 20px; height: 20px; }

.footer-bottom{
  border-top: 1px solid rgba(215,227,236,0.15);
  padding-block: var(--space-2);
}
.footer-bottom p{ font-size: 0.85rem; color: #9FB4C2; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- Responsive: hero / split at narrow widths ---------- */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 320px; }
  .split, .split.reverse{ grid-template-columns: 1fr; }
  .split.reverse .split-visual{ order: -1; }
  .contact-layout{ gap: var(--space-3); }
}
@media (max-width: 400px){
  .container{ padding-inline: 1rem; }
}

/* ---------- Reduced motion catch-all ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
