/* Joby Young SEO — shared site styles
   Brand tokens: navy #0B1F3A, lime #BDE162, cream #FAF8F2
   Type: Fraunces (display), Inter (body), JetBrains Mono (labels) */

:root {
  --navy: #0B1F3A;
  --navy-mid: #16304f;
  --navy-soft: #3E4B60;
  --lime: #BDE162;
  --lime-deep: #7A9A2E;
  --cream: #FAF8F2;
  --cream-deep: #F0EDE2;
  --line: #E4DFD3;
  --line-dark: rgba(250, 248, 242, 0.16);
  --muted: #5B6B82;
  --muted-light: #C7D0DE;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1200px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.04), 0 6px 18px -12px rgba(11, 31, 58, 0.18);
  --shadow-md: 0 2px 4px rgba(11, 31, 58, 0.05), 0 18px 44px -24px rgba(11, 31, 58, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  margin: 0;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

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

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

::selection { background: var(--lime); color: var(--navy); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 200;
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  max-width: var(--wrap);
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 50;
}

.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.logo::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  align-self: flex-end;
  margin-bottom: 4px;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.site-nav > a, .nav-trigger {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.site-nav > a::after, .nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transition: right 0.28s var(--ease);
}
.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after,
.services-group:hover .nav-trigger::after,
.services-group:focus-within .nav-trigger::after,
.nav-trigger[data-current="true"]::after { right: 0; }

.services-group { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-trigger svg { width: 9px; height: 9px; transition: transform 0.22s var(--ease); }
.services-group:hover .nav-trigger svg,
.services-group:focus-within .nav-trigger svg { transform: rotate(180deg); }

.services-sub {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  min-width: 232px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.services-group:hover .services-sub,
.services-group:focus-within .services-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.services-sub::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.services-sub a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--navy-soft);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.services-sub a:hover { background: var(--cream-deep); color: var(--navy); }
.services-sub a.active { color: var(--navy); font-weight: 600; background: var(--cream-deep); }
.services-sub .sub-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { box-shadow: 0 10px 26px -12px rgba(11, 31, 58, 0.6); }
.btn-cta { background: var(--lime); color: var(--navy); }
.btn-cta:hover { box-shadow: 0 10px 26px -12px rgba(122, 154, 46, 0.7); }
.btn-outline { border-color: rgba(11, 31, 58, 0.28); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: rgba(11, 31, 58, 0.04); }
.btn-lime-outline { border-color: var(--lime); color: var(--lime); }
.btn-lime-outline:hover { background: rgba(189, 225, 98, 0.12); }

.link {
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
}
.link::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "\203A"; color: var(--line); }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 76px 24px 60px;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto;
  height: 420px;
  background: radial-gradient(ellipse at 50% 0%, rgba(189, 225, 98, 0.38), transparent 62%);
  pointer-events: none;
  z-index: -1;
}
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.1rem); }
.hero h1 em { font-style: italic; color: var(--lime-deep); }
.hero > p { font-size: 1.08rem; color: var(--navy-soft); max-width: 62ch; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.hero-rule { width: 56px; height: 3px; background: var(--lime); border-radius: 2px; }

.hero > * { animation: rise 0.7s var(--ease) both; }
.hero > *:nth-child(1) { animation-delay: 0.02s; }
.hero > *:nth-child(2) { animation-delay: 0.08s; }
.hero > *:nth-child(3) { animation-delay: 0.14s; }
.hero > *:nth-child(4) { animation-delay: 0.2s; }
.hero > *:nth-child(5) { animation-delay: 0.26s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Pills ---------- */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 24px 8px;
  max-width: 860px;
  margin: 0 auto;
}
.pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--navy);
  background-image: radial-gradient(circle at 12% 0%, rgba(189, 225, 98, 0.14), transparent 45%);
  color: var(--cream);
  padding: 44px 24px;
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 22px;
  border-right: 1px solid var(--line-dark);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--lime);
}
.stat .label { font-size: 0.84rem; color: var(--muted-light); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: 76px 24px; max-width: var(--wrap); margin: 0 auto; }
.section-tight { padding-top: 40px; }
.section-alt { background: var(--cream-deep); max-width: none; }
.section-alt > .inner { max-width: var(--wrap); margin: 0 auto; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
  align-items: center;
}
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); }
.section-head p { color: var(--muted); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(122, 154, 46, 0.4); }
.card h3 { font-size: 1.06rem; }
.card p { font-size: 0.9rem; color: var(--muted); }
.card .link { margin-top: auto; padding-top: 6px; }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: var(--lime);
  flex: none;
}
.card-icon svg { width: 20px; height: 20px; }

.card-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--lime-deep);
}

.card-dark {
  padding: 28px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.24s var(--ease);
}
.card-dark:hover { transform: translateY(-3px); }
.card-dark h3 { color: var(--lime); font-size: 1.06rem; }
.card-dark p { font-size: 0.9rem; color: var(--muted-light); }

/* Numbered step cards */
.steps { counter-reset: step; }
.step {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step .step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--lime-deep);
}
.step h3 { font-size: 1.02rem; }
.step .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 76px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.split .text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.split .text h2 { font-size: clamp(1.55rem, 3.4vw, 2rem); }
.split .text p { color: var(--navy-soft); }
.split-panel {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.split-panel .panel-lead { font-size: 0.95rem; color: var(--muted-light); }
.split-panel .panel-figs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.split-panel .panel-figs .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  color: var(--lime);
  line-height: 1;
}
.split-panel .panel-figs .label {
  font-size: 0.78rem;
  color: var(--muted-light);
  margin-top: 4px;
}

/* ---------- Check lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--navy-soft);
}
.check-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.bullet-list { margin: 0; padding-left: 20px; color: var(--navy-soft); display: flex; flex-direction: column; gap: 8px; }
.bullet-list li::marker { color: var(--lime-deep); }

/* ---------- Testimonial ---------- */
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 24px 76px;
  max-width: 720px;
  margin: 0 auto;
}
.stars { color: var(--lime-deep); letter-spacing: 5px; font-size: 0.95rem; }
.testimonial blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  line-height: 1.45;
  margin: 0;
}
.testimonial cite { font-size: 0.84rem; color: var(--muted); font-style: normal; }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 68px 24px;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 1.95rem); }
.cta-band p { color: var(--muted); max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--muted);
}
.site-footer .footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 280px; }
.site-footer .footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.site-footer .footer-col { display: flex; flex-direction: column; gap: 9px; }
.site-footer .footer-col strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
.site-footer a:hover { color: var(--navy); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-row a:hover { background: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.social-row svg { width: 15px; height: 15px; }

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 52px;
  align-items: center;
  padding: 36px 24px 72px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.about-hero .photo-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.about-hero .text-col { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.about-hero .text-col h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); }
.about-hero .lead { color: var(--navy-soft); font-size: 1.04rem; }

/* Portrait: monogram stand-in until a real photo is supplied */
.portrait {
  width: 260px;
  height: 260px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}
.portrait-monogram {
  width: 260px;
  height: 260px;
  border-radius: 18px;
  background: var(--navy);
  background-image: radial-gradient(circle at 78% 18%, rgba(189, 225, 98, 0.3), transparent 58%);
  display: grid;
  place-items: center;
  color: var(--lime);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 4.4rem;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-md);
}

.pull-quote { border-left: 3px solid var(--lime); padding-left: 20px; }
.pull-quote p {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  margin: 0;
}
.pull-quote cite { font-size: 0.8rem; color: var(--muted); font-style: normal; display: block; margin-top: 8px; }

.bio {
  max-width: 820px;
  padding: 0 24px 76px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.bio h2 { font-size: clamp(1.5rem, 3.2vw, 1.95rem); }
.bio p { color: var(--navy-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
  padding: 36px 24px 76px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info h1 { font-size: clamp(1.9rem, 4.2vw, 2.5rem); }
.contact-info > p { color: var(--navy-soft); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .card-icon { width: 36px; height: 36px; border-radius: 9px; }
.contact-item .meta { display: flex; flex-direction: column; gap: 2px; }
.contact-item .meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item .meta a, .contact-item .meta strong { font-size: 0.95rem; font-weight: 500; }
.contact-item .meta a:hover { color: var(--lime-deep); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--lime-deep);
  background: var(--white);
  outline: none;
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form .select-wrap { position: relative; }
.contact-form .select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.contact-form button { justify-content: center; margin-top: 4px; }
.contact-form button:disabled { opacity: 0.65; cursor: wait; transform: none; }
.form-note { font-size: 0.76rem; color: var(--muted); }
.form-msg { border-radius: 10px; padding: 14px; font-size: 0.88rem; }
.form-msg.ok { background: rgba(189, 225, 98, 0.22); border: 1px solid rgba(122, 154, 46, 0.45); color: #4d6417; }
.form-msg.bad { background: #fdf3f2; border: 1px solid rgba(192, 57, 43, 0.3); color: #9c3227; }
.form-msg.bad a { color: #9c3227; text-decoration: underline; }

/* ---------- Legal / prose ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px 76px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.prose h1 { font-size: clamp(1.9rem, 4.2vw, 2.4rem); }
.prose h2 { font-size: 1.22rem; margin-top: 22px; }
.prose h3 { font-size: 1rem; margin-top: 12px; font-family: 'Inter', sans-serif; font-weight: 600; }
.prose p, .prose li { color: var(--navy-soft); font-size: 0.95rem; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ul li::marker { color: var(--lime-deep); }
.prose .updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.prose a { color: var(--lime-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; width: 100%; }

/* ---------- Sector index cards (services page) ---------- */
.sector-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sector-card h3 { font-size: 1.3rem; }
.sector-card > p { color: var(--muted); font-size: 0.93rem; }
.sector-card .link { align-self: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-hero .text-col { align-items: center; }
  .pull-quote { text-align: left; }
}

@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: none; }
  .site-header { padding: 16px 20px; }
  .site-nav { gap: 18px; order: 3; width: 100%; padding-top: 6px; border-top: 1px solid var(--line); }
  .services-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: none;
    padding: 4px 0 0;
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .services-sub .sub-head { display: none; }
  .services-sub a { padding: 5px 9px; font-size: 0.78rem; background: var(--cream-deep); }
  .nav-trigger svg { display: none; }
  .services-group { display: flex; flex-direction: column; }
  .section, .split, .prose { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2, .stats-bar, .form-row { grid-template-columns: 1fr; }
  .stat { border-right: none; padding-right: 0; }
  .hero { padding: 56px 20px 44px; }
  .site-footer { flex-direction: column; gap: 28px; }
  .site-footer .footer-cols { gap: 32px; }
  .contact-form { padding: 24px; }
  .split-panel .panel-figs { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  .btn:hover, .card:hover, .card-dark:hover, .sector-card:hover, .social-row a:hover { transform: none; }
}

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: rgba(122, 154, 46, 0.45); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1rem; font-weight: 500; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 1.8px solid var(--lime-deep);
  border-bottom: 1.8px solid var(--lime-deep);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.24s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item > p {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--navy-soft);
  max-width: 78ch;
}

/* Check list inside a dark panel */
.split-panel .panel-check li { color: var(--muted-light); font-size: 0.89rem; }
.split-panel .panel-check li::before { background-color: var(--lime); }
