/* Kashmir One Line Foundation — shared styles */
:root {
  --snow: #F6F7F5;
  --paper: #FFFFFF;
  --ink: #13283A;
  --lake: #1E4E5C;
  --crocus: #5E3F8F;
  --crocus-dark: #48306F;
  --crocus-soft: #EEE8F6;
  --saffron: #E3A21A;
  --mist: #DCE3E6;
  --muted: #4F5F6C;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--crocus); text-underline-offset: 3px; }
a:hover { color: var(--crocus-dark); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.5rem 1rem; z-index: 200; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mist);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand svg { flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 1.35rem; margin: 0; padding: 0; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--crocus); }
.menu-toggle {
  display: none; margin-left: auto;
  background: none; border: 1.5px solid var(--ink); border-radius: 8px;
  font: 600 0.95rem var(--sans); color: var(--ink); padding: 0.5rem 0.85rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem/1 var(--sans); padding: 0.9rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--crocus); color: #fff; }
.btn-primary:hover { background: var(--crocus-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-saffron { background: var(--saffron); color: var(--ink); }
.btn-saffron:hover { background: #F0B53A; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.header-cta { padding: 0.7rem 1.1rem; font-size: 0.95rem; }

.quick-exit {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 100;
  background: var(--ink); color: #fff; border: 2px solid var(--snow);
  border-radius: 10px; font: 600 0.9rem var(--sans); padding: 0.7rem 1rem; cursor: pointer;
  box-shadow: 0 6px 20px rgba(19, 40, 58, 0.25);
}
.quick-exit:hover { background: var(--crocus-dark); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.section-soft { background: var(--crocus-soft); }
.section-ink { background: var(--ink); color: #E9EEF1; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink a { color: var(--saffron); }
.intro { max-width: 46rem; margin-bottom: 3rem; }
.intro p { font-size: 1.15rem; color: var(--muted); }
.section-ink .intro p { color: #B9C6CF; }

/* The stitch: the site's one recurring line */
.stitch { border: 0; border-top: 2.5px dashed var(--crocus); opacity: 0.55; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 4.5rem 0 3.5rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { font-size: 1.25rem; color: var(--muted); max-width: 48ch; }

/* ---------- Home hero ---------- */
.hero { padding: 4.5rem 0 1rem; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 3.5rem; align-items: end; }
.hero h1 { max-width: 15ch; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 44ch; }

.helpline-card { background: var(--ink); color: #DCE5EA; padding: 1.9rem; border-radius: 22px; }
.helpline-card h2 { font-size: 1.5rem; color: #fff; margin-bottom: 0.35em; }
.helpline-card p { margin-bottom: 0.75em; }
.helpline-num {
  display: inline-block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.1rem);
  color: var(--saffron); text-decoration: none; margin: 0.25rem 0 0.75rem;
}
.helpline-num:hover { color: #F5C25A; }
.helpline-card .fine { font-size: 0.92rem; color: #A9B8C2; border-top: 1px solid #2C4458; padding-top: 0.9rem; margin: 0.5rem 0 0; }
.helpline-card .fine a { color: #fff; }

/* Thread drawing across the hero */
.thread { margin-top: 3.5rem; }
.thread svg { display: block; width: 100%; height: auto; overflow: visible; }
.thread .line { fill: none; stroke: var(--crocus); stroke-width: 3; stroke-dasharray: 10 8; stroke-linecap: round; }
.thread .reveal { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.6,.05,.3,1) .3s forwards; }
.thread .knot { fill: var(--saffron); stroke: var(--snow); stroke-width: 4; opacity: 0; animation: knot .4s ease-out forwards; }
.thread .knot:nth-of-type(1) { animation-delay: 0.9s; }
.thread .knot:nth-of-type(2) { animation-delay: 1.4s; }
.thread .knot:nth-of-type(3) { animation-delay: 1.9s; }
.thread .knot:nth-of-type(4) { animation-delay: 2.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes knot { to { opacity: 1; } }

.causes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.causes a { display: block; text-align: center; text-decoration: none; color: var(--ink); padding: 0.5rem; border-radius: 12px; }
.causes a:hover { background: var(--crocus-soft); color: var(--ink); }
.causes strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.causes span { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 0.3rem; }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2.5px dashed var(--crocus); padding-top: 1.25rem; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; top: -1rem; left: 0;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--saffron); color: var(--ink);
  display: grid; place-items: center; font: 700 0.95rem var(--sans);
}
.steps h3 { margin-top: 0.9rem; }
.steps p { color: var(--muted); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split-wide { grid-template-columns: 1.2fr 0.8fr; }

/* Programme blocks with the stitch running down the side */
.programme { display: grid; grid-template-columns: 16rem 1fr; gap: 3rem; padding: 3.5rem 0; border-top: 1px solid var(--mist); scroll-margin-top: 5rem; }
.programme:first-of-type { border-top: 0; }
.programme-side h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.programme-side p { color: var(--muted); font-size: 0.98rem; }
.programme-body { border-left: 2.5px dashed rgba(94, 63, 143, 0.45); padding-left: 2.25rem; }
.programme-body .big { font-size: 1.2rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.ticks li { padding-left: 1.6rem; position: relative; max-width: 60ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--saffron); }

.note { background: var(--paper); border: 1px solid var(--mist); border-radius: 14px; padding: 1.1rem 1.3rem; font-size: 0.98rem; }
.note strong { color: var(--crocus-dark); }

/* Values */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3.5rem; }
.values h3 { display: flex; align-items: center; gap: 0.6rem; }
.values h3::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--saffron); flex: none; }
.values p { color: var(--muted); }

/* Stories */
.story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--mist); }
.story:first-of-type { border-top: 0; padding-top: 0; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.3; color: var(--crocus-dark); }
.story .who { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }
.disclaimer { font-size: 0.92rem; color: var(--muted); }

/* Ways to give */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.way { background: var(--paper); border: 1px solid var(--mist); border-radius: 18px; padding: 1.75rem; display: flex; flex-direction: column; }
.way.featured { background: var(--crocus); border-color: var(--crocus); color: #F1ECF8; }
.way.featured h3 { color: #fff; }
.way p { flex: 1; }
.way .btn { align-self: flex-start; }

.bank { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; margin: 0; }
.bank dt { color: #A9B8C2; }
.bank dd { margin: 0; color: #fff; font-weight: 600; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; background: var(--paper); border: 1px solid var(--mist); border-radius: 20px; padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: end; }
label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
label .hint { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
input, select, textarea {
  font: 400 1rem var(--sans); color: var(--ink);
  padding: 0.8rem 0.9rem; border: 1.5px solid #C3CDD3; border-radius: 10px; background: var(--snow); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--crocus); box-shadow: 0 0 0 3px rgba(94, 63, 143, 0.2); }
textarea { min-height: 8rem; resize: vertical; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.checkbox input { width: auto; margin-top: 0.3rem; }
.form-status { margin: 0; font-weight: 600; color: var(--lake); }
.form-status:empty { display: none; }

.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.4rem; }
.contact-list h3 { font-size: 1.15rem; margin-bottom: 0.2em; }
.contact-list p { margin: 0; color: var(--muted); }
.contact-list a { font-weight: 600; }

.emergency { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.emergency li { background: rgba(255,255,255,0.06); border: 1px solid #2C4458; border-radius: 14px; padding: 1.1rem; }
.emergency a { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--saffron); text-decoration: none; }
.emergency span { color: #B9C6CF; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 26px; overflow: hidden; }
.cta-band > div { padding: 3rem; }
.cta-band .give { background: var(--crocus); color: #EFE9F7; }
.cta-band .give h2 { color: #fff; }
.cta-band .vol { background: var(--paper); border: 1px solid var(--mist); border-left: 0; border-radius: 0 26px 26px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C6CF; padding: 4rem 0 5.5rem; margin-top: 0; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-grid h2 { font-size: 1.15rem; color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid #2C4458; margin-top: 3rem; padding-top: 1.5rem; font-size: 0.88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 4.5rem); overflow: auto; background: var(--snow); border-bottom: 1px solid var(--mist); display: none; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1.25rem; }
  .nav a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--mist); }
  .nav a[aria-current="page"] { color: var(--crocus); border-bottom-color: var(--mist); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .ways { grid-template-columns: 1fr; }
  .emergency { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .section { padding: 3.5rem 0; }
  .hero-grid, .split, .split-wide, .cta-band, .story, .footer-grid, .programme { grid-template-columns: 1fr; gap: 2rem; }
  .programme-body { padding-left: 1.25rem; }
  .cta-band > div { padding: 2rem; }
  .cta-band .vol { border-left: 1px solid var(--mist); border-top: 0; border-radius: 0 0 26px 26px; }
  .cta-band { border-radius: 26px 26px 0 0; }
  .thread svg { display: none; }
  .causes { grid-template-columns: 1fr; gap: 0; border-left: 2.5px dashed rgba(94, 63, 143, 0.55); margin-left: 0.4rem; }
  .causes a { text-align: left; padding: 0.9rem 1rem; position: relative; }
  .causes a::before { content: ""; position: absolute; left: -0.95rem; top: 1.35rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--saffron); border: 3px solid var(--snow); }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .brand-name small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .thread .reveal { animation: none; stroke-dashoffset: 0; }
  .thread .knot { animation: none; opacity: 1; }
}

/* =========================================================
   Full-site additions
   ========================================================= */

/* Dropdown navigation */
.nav li { position: relative; }
.nav .has-sub > a::after {
  content: ""; display: inline-block; width: 0.38rem; height: 0.38rem; margin-left: 0.45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.nav .sub {
  list-style: none; margin: 0; padding: 0.5rem;
  display: none; flex-direction: column;
  position: absolute; top: calc(100% + 10px); left: -0.85rem; min-width: 15rem; z-index: 60;
  background: var(--paper); border: 1px solid var(--mist); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(19, 40, 58, 0.13);
}
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { display: flex; }
.nav .sub a { display: block; padding: 0.55rem 0.75rem; border-radius: 8px; border-bottom: 0; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--crocus-soft); color: var(--crocus-dark); }
.nav .is-parent > a { border-bottom-color: var(--crocus); }

/* Breadcrumbs */
.crumbs { font-size: 0.92rem; color: var(--muted); margin: 0 0 1.25rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--crocus); }
.page-hero .btn-row { margin-top: 1.5rem; }

/* Knot-bulleted grid used for services and values */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3.5rem; }
.services h3 { display: flex; align-items: center; gap: 0.6rem; }
.services h3::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--saffron); flex: none; }
.services p { color: var(--muted); margin: 0; }

/* "At a glance" side panel */
.glance { background: var(--paper); border: 1px solid var(--mist); border-radius: 18px; padding: 1.75rem; }
.glance h2 { font-size: 1.35rem; }
.glance dl { margin: 0; display: grid; gap: 1rem; }
.glance dt { font-weight: 700; font-size: 0.92rem; color: var(--crocus-dark); }
.glance dd { margin: 0.15rem 0 0; color: var(--muted); }
.glance .btn { margin-top: 1.5rem; width: 100%; }

/* Cards (links to other pages) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--mist); border-radius: 18px; padding: 1.6rem;
  transition: border-color .15s;
}
a.card:hover { border-color: var(--crocus); color: var(--ink); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); flex: 1; margin-bottom: 1rem; }
.card .more { font-weight: 600; color: var(--crocus); }
.section-soft .card { border-color: transparent; }

/* FAQ */
.faq { max-width: 52rem; }
.faq h2 { margin-top: 2.5rem; }
.faq h2:first-child { margin-top: 0; }
.faq details { border-top: 1px solid var(--mist); }
.faq details:last-of-type { border-bottom: 1px solid var(--mist); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 1.15rem 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--crocus); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 0 0 1.2rem; }

/* People */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; padding: 0; margin: 0; }
.person { display: flex; gap: 1rem; align-items: flex-start; }
.avatar {
  flex: none; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem;
  background: var(--crocus-soft); color: var(--crocus-dark); border: 2px dashed var(--crocus);
}
.person h3 { font-size: 1.15rem; margin-bottom: 0.15em; }
.person p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.person .role { color: var(--crocus-dark); font-weight: 600; font-size: 0.92rem; }

/* Long-form pages with a side table of contents */
.layout-toc { display: grid; grid-template-columns: 15rem 1fr; gap: 4rem; align-items: start; }
.toc { position: sticky; top: 6.5rem; border-left: 2.5px dashed rgba(94, 63, 143, 0.45); padding-left: 1.25rem; }
.toc h2 { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.75rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.toc a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.toc a:hover { color: var(--crocus); }
.prose { max-width: 44rem; }
.prose > section { scroll-margin-top: 6rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--mist); }
.prose > section:last-child { border-bottom: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose ul:not(.ticks) { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }

/* Roles table-like list */
.roles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.roles li { background: var(--paper); border: 1px solid var(--mist); border-radius: 16px; padding: 1.4rem; }
.roles h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.roles p { color: var(--muted); margin: 0 0 0.6rem; }
.roles .time { font-size: 0.92rem; font-weight: 600; color: var(--lake); margin: 0; }

/* Forms: grouped checkboxes */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.55rem; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; }
.checks label, .radios label { display: flex; gap: 0.55rem; align-items: center; font-weight: 400; }
.checks input, .radios input { width: auto; margin: 0; accent-color: var(--crocus); }
.radios { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.form-intro { color: var(--muted); margin: -0.4rem 0 0.4rem; }

/* Safety callout */
.safety { background: var(--ink); color: #DCE5EA; border-radius: 18px; padding: 1.6rem 1.75rem; }
.safety h2, .safety h3 { color: #fff; font-size: 1.3rem; }
.safety p:last-child { margin-bottom: 0; }

/* Email list */
.emails { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.emails li { display: grid; gap: 0.1rem; }
.emails span { color: var(--muted); font-size: 0.95rem; }
.emails a { font-weight: 600; word-break: break-word; }

.notfound { padding: 7rem 0 8rem; }
.notfound h1 { max-width: 16ch; }

@media (max-width: 1120px) {
  .nav .has-sub > a::after { display: none; }
  .nav .sub {
    display: flex; position: static; box-shadow: none; border: 0; border-radius: 0;
    background: none; padding: 0 0 0.5rem 1rem; min-width: 0;
  }
  .nav .sub::before { display: none; }
  .nav .sub a { padding: 0.55rem 0; font-weight: 400; color: var(--muted); border-bottom: 0; }
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .services, .roles, .checks, .cards, .cards.two, .cards.four, .people { grid-template-columns: 1fr; }
  .layout-toc { grid-template-columns: 1fr; gap: 2rem; }
  .toc { position: static; }
}
