/* Shannon — simple business theme. Accent: navy #1F3A5F. Type: Inter. */

:root {
  --navy: #1F3A5F;
  --navy-hover: #172C49;
  --ink: #1C2430;
  --muted: #5C6570;
  --line: #D6DBE1;
  --line-strong: #C5CBD3;
  --paper: #FFFFFF;
  --mist: #F4F5F7;
  --soft: #EEF0F3;
  --danger: #8B3A34;
  --accent: #C4A36A;
  --accent-strong: #A8843E;
  --radius: 4px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  border-top: 3px solid var(--navy);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.16em; }
a:hover { color: var(--navy-hover); }
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}
.wrap.narrow { width: min(760px, calc(100% - 3rem)); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Buttons — rectangular, no lift */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--navy);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.btn-secondary,
.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover,
.btn-light:hover { background: var(--mist); color: var(--navy); box-shadow: inset 3px 0 0 var(--accent); }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1rem; }
.btn-nav { padding: 0.45rem 0.9rem; font-size: 0.875rem; }

.text-link {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--navy);
}
.text-link:hover { text-decoration: underline; color: var(--navy-hover); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 7rem;
  height: 2px;
  background: var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  background: var(--navy);
  box-shadow: inset 0 -2px 0 var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 650;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.brand-text {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  line-height: 1.2;
}
.brand-name {
  font-weight: 650;
  font-size: 1rem;
  color: var(--navy);
  white-space: nowrap;
}
.brand-rule {
  width: 1px;
  height: 1rem;
  background: var(--line-strong);
  flex-shrink: 0;
}
.brand-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav ul {
  display: flex;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.875rem; position: relative; }
.site-nav a:hover { color: var(--navy); }
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.site-nav ul a:hover::after { transform: scaleX(1); }
.site-nav .btn-nav { color: #fff; }
.site-nav .btn-nav:hover { color: #fff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  position: relative;
}
.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
  margin: 0 auto;
}
.nav-toggle-box span {
  display: block;
  height: 1.5px;
  background: var(--navy);
  border-radius: 0;
}

/* Hero */
.hero {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.hero-bg { display: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 4rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .eyebrow { color: var(--muted); }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 650;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.hero h1 {
  color: var(--navy);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  margin: 0 0 1.15rem;
  max-width: 20ch;
  font-weight: 650;
}
.lede {
  margin: 0 0 1.4rem;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 40rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-note { margin: 1.35rem 0 0; font-size: 0.9rem; color: var(--muted); }
.hero-note a { color: var(--navy); font-weight: 600; }
.hero-note a:hover { color: var(--navy-hover); }
.hero-note-link { margin-top: 0.35rem; }

.portrait { justify-self: end; text-align: center; }
.portrait-frame {
  width: min(210px, 64vw);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: none;
}
.portrait-mark {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-family: var(--font);
  font-size: 2.2rem;
  font-weight: 650;
  display: grid;
  place-items: center;
  line-height: 1;
}
.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.portrait-caption {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Sections */
.section { padding: 5.25rem 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 38rem; margin-bottom: 2.6rem; }
.section-head h2, .split h2, .cta-band h2, .how-split h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin: 0 0 0.75rem;
}
.section-lead, .split p { margin: 0 0 1rem; color: var(--muted); }
.section-lead strong { color: var(--ink); font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.service-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-card h3 { font-size: 1.2rem; margin: 0 0 0.65rem; }
.price { margin: 0 0 0.85rem; font-size: 0.95rem; color: var(--muted); }
.price strong {
  font-size: 1.7rem;
  color: var(--navy);
  font-weight: 650;
  margin-left: 0.15rem;
}
.service-card > p { margin: 0 0 1rem; color: var(--ink); }
.feature-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.feature-list li {
  position: relative;
  padding: 0.32rem 0 0.32rem 1.15rem;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 8px;
  height: 1.5px;
  background: var(--navy);
}
.packages {
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
  margin-bottom: 1.2rem;
  display: grid;
  gap: 0.7rem;
}
.packages div { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.7rem; align-items: baseline; }
.packages span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.packages b { font-size: 0.95rem; color: var(--navy); }
.packages small { grid-column: 1 / -1; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.service-card .btn { width: 100%; }
.card-links {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Process / timeline */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.process li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.process li:last-child { border-bottom: 1px solid var(--line); }
.step {
  font-family: var(--font);
  font-weight: 650;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  width: 2.2rem;
}
.process h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.process p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 0 0 2.1rem 1.5rem;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--navy);
  box-shadow: none;
}
.when {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}
.what h3 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.where { margin: 0 0 0.5rem; font-weight: 500; color: var(--muted); font-size: 0.95rem; }
.what p { margin: 0; }
.timeline-note {
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: var(--navy);
}

.cert-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: none;
}
.cert-issuer {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cert-card h3 { margin: 0; font-size: 1.15rem; }

/* Filters + gallery */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}
.filter {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-weight: 550;
  font-size: 0.875rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  cursor: pointer;
}
.filter:hover { border-color: var(--navy); }
.filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.tile[hidden] { display: none; }
.tile-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--mist);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.tile-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--mist);
}
.badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.45rem;
  border-radius: var(--radius);
}
.tile-meta { padding: 1rem 1.05rem 1.15rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.tile-meta h3 { margin: 0; font-size: 1rem; }
.tile-meta p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }

/* Guide + what you get */
.guide-grid,
.get-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.guide-card,
.get-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.guide-card h3,
.get-card h3 { margin: 0 0 0.6rem; font-size: 1.15rem; }
.guide-card p { margin: 0 0 0.85rem; }
.suggest {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.suggest span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.get-grid { grid-template-columns: repeat(3, 1fr); }
.jargon { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.jargon div { margin: 0 0 0.85rem; }
.jargon div:last-child { margin-bottom: 0; }
.jargon dt {
  font-weight: 650;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.jargon dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Brief checklists */
.tab-panels {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: none;
}
.tab-panel h3 { margin: 0 0 0.9rem; font-size: 1.15rem; }
.checklist {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 1rem;
  height: 1rem;
  border-radius: 2px;
  border: 1px solid var(--navy);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231F3A5F' stroke-width='1.8' d='M3.5 8.2 6.5 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.panel-note { margin: 0 0 1.2rem; color: var(--muted); }

/* How I work */
.subhead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 650;
}
.how-split { align-items: start; }
.standards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.standards li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
}
.standards h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.standards p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.how-footnote {
  margin: 2.2rem 0 0;
  color: var(--muted);
  max-width: 50rem;
}

/* FAQ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.15rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  padding: 1rem 2rem 1rem 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* CTA + footer */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-inner { max-width: 38rem; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D6DCE4; margin: 0 0 1.5rem; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.cta-band .btn-primary:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }

.site-footer {
  background: #162A46;
  color: #C5CCD6;
  padding: 2.6rem 0 2rem;
  font-size: 0.9rem;
}
.footer-inner { display: grid; gap: 1.15rem; }
.footer-brand { display: flex; gap: 0.85rem; align-items: flex-start; }
.footer-brand .brand-mark {
  background: transparent;
  color: #fff;
  border-color: #8A97A8;
}
.footer-brand .brand-name { margin: 0 0 0.2rem; color: #fff; font-size: 1rem; }
.footer-brand p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-links a { color: #D6DCE4; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.copyright { margin: 0.4rem 0 0; color: #8A97A8; font-size: 0.8rem; }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 3.5rem 4.5rem 4.5rem;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 32, 46, 0.94);
}
.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-figure img {
  max-height: calc(100vh - 9rem);
  width: auto;
  max-width: 100%;
  border-radius: var(--radius);
  background: #111;
}
.lightbox-figure figcaption {
  color: #E8ECF0;
  margin-top: 0.8rem;
  font-size: 0.95rem;
  text-align: center;
  max-width: 50rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}
.lightbox-close { top: 1rem; right: 1rem; padding: 0.5rem 0.9rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); padding: 0.7rem 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1.25rem 1.2rem;
    gap: 0.6rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; padding: 0.7rem 0; font-size: 1rem; }
}

@media (max-width: 980px) {
  .hero-grid, .split, .service-grid, .gallery, .cert-grid, .guide-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .get-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; }
  .timeline li { grid-template-columns: 1fr; gap: 0.3rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .wrap, .wrap.narrow { width: min(var(--max), calc(100% - 1.5rem)); }
  .brand-rule, .brand-meta { display: none; }
  .hero { padding: 3.25rem 0 3.5rem; }
  .section { padding: 3.5rem 0; }
  .gallery, .cert-grid, .guide-grid, .get-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 4.5rem 0.8rem 1.2rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 0.6rem; transform: none; }
  .lightbox-prev { left: 0.8rem; }
  .lightbox-next { right: 0.8rem; }
  .lightbox-figure img { max-height: calc(100vh - 11rem); }
}

/* —— Signature layer: editorial hero, numbered sections, accent, services —— */

.hero {
  padding: 2.45rem 0 2.2rem;
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(31, 58, 95, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 58, 95, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow: visible;
}
.hero-bg { display: none; }
.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 2.5rem 4.5rem;
  align-items: stretch;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.1vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 13.5ch;
  margin-bottom: 1.35rem;
}
.hero .eyebrow {
  color: var(--navy);
  letter-spacing: 0.12em;
}
.hero .eyebrow::after {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  margin-left: 0.75rem;
  background: var(--accent);
  vertical-align: middle;
}
.hero-note a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

.hero-aside {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-plot {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  width: 100%;
  height: 70%;
  margin: 0;
  pointer-events: none;
}
.portrait {
  position: relative;
  z-index: 1;
  justify-self: end;
  margin: 0 0 0 auto;
  width: fit-content;
}
.portrait-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
}
.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.portrait-frame::before {
  top: -7px;
  left: -7px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.portrait-frame::after {
  right: -7px;
  bottom: -7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: 4rem;
  row-gap: 0.45rem;
  max-width: none;
  margin-bottom: 3rem;
  align-items: end;
}
.sec-num {
  grid-column: 1;
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}
.section-head .eyebrow {
  grid-column: 1;
  margin: 0;
}
.section-head h2 {
  grid-column: 1;
  margin: 0;
}
.section-head .section-lead {
  grid-column: 2;
  grid-row: 2 / 4;
  margin: 0;
  align-self: end;
}

/* Distinctive full-width services */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service-card {
  display: block;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 2.5rem 0.5rem 2.6rem 0;
  box-shadow: none;
  transition: box-shadow 0.15s ease;
}
.service-card:last-child { border-bottom: 1px solid var(--line); }
.service-card:hover { box-shadow: inset 3px 0 0 var(--accent); }
.service-top {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 0.4rem 1.2rem;
  align-items: start;
  margin-bottom: 0.85rem;
}
.service-index {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
  padding-top: 0.45rem;
}
.service-ident h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  max-width: 22ch;
  letter-spacing: -0.025em;
}
.service-card .price {
  margin: 0;
  text-align: right;
  padding-top: 0.1rem;
}
.service-card .price strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.15rem 0 0;
}
.service-intro {
  margin: 0 0 1.4rem 4.45rem;
  max-width: 42rem;
  color: var(--ink);
}
.service-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  margin: 0 0 1.5rem 4.45rem;
}
.service-card .packages {
  border-top: 0;
  margin: 0;
  padding: 0;
}
.service-card .feature-list { margin: 0; padding: 0; }
.service-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-left: 4.45rem;
}
.service-card .btn { width: auto; }
.service-card .card-links { margin: 0; text-align: left; }

.guide-card,
.get-card,
.cert-card,
.tile,
.tab-panels,
.standards li {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover,
.get-card:hover,
.cert-card:hover,
.tile:hover {
  border-color: var(--navy);
  box-shadow: inset 3px 0 0 var(--accent);
}
.guide-index {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}
.tile:hover { transform: none; }
.filter { transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.filter.is-active { box-shadow: inset 0 -2px 0 var(--accent); }

.how-split { grid-template-columns: 0.9fr 1.1fr; }
.timeline li::before { background: var(--accent-strong); width: 7px; height: 7px; }

.cta-band { box-shadow: inset 0 3px 0 var(--accent); }

.text-link { text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: var(--accent); }

@media (max-width: 1100px) {
  .site-nav ul a::after { display: none; }
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-aside { min-height: 0; }
  .hero-plot { max-width: 24rem; }
  .section-head {
    grid-template-columns: 1fr;
    row-gap: 0.4rem;
  }
  .section-head .section-lead {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.4rem;
  }
  .how-split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero h1 { max-width: none; font-size: clamp(2.15rem, 11vw, 2.7rem); }
  .service-top { grid-template-columns: 2.4rem 1fr; }
  .service-card .price {
    grid-column: 2;
    text-align: left;
    margin-top: -0.2rem;
  }
  .service-intro,
  .service-body,
  .service-cta { margin-left: 0; }
  .service-body { grid-template-columns: 1fr; }
  .hero { padding: 3.25rem 0 3.5rem; }
}

/* Inner pages and breadcrumbs — homepage hero and layout unchanged */
.crumbs {
  margin: 0;
  padding: 1.1rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: #B0B8C2;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current="page"] { color: var(--ink); }

.page-intro { padding: 2rem 0 2.4rem; }
.page-intro h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.page-intro .lede { max-width: 40rem; margin-bottom: 1.4rem; }

.prose { max-width: 42.5rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.prose li { margin: 0 0 0.4rem; }
.prose h2 {
  margin: 2.2rem 0 0.8rem;
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--navy);
  font-size: 1.05rem;
}
.prose a { color: var(--navy); }
.prose .note {
  margin: 0 0 1.2rem;
  padding: 0.9rem 1rem;
  background: var(--mist);
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links-block { display: grid; gap: 0.65rem; }
.footer-label {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A97A8;
}

.hero .hero-note { margin-top: 0.85rem; }

.hero .lede { margin-bottom: 1rem; }

/* About section sub-headings */
.about-sub { margin: 2.5rem 0 1rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #1F3A5F; }
.about-leads p { margin: 0 0 0.9rem; }
.about-leads p:last-child { margin-bottom: 0; }
#about .section-head { align-items: start; grid-template-rows: auto auto 1fr; }
#about .section-head .about-leads { grid-row: 1 / 4; }
#about .timeline-note { margin-top: 1.5rem; }
.cert-meta { margin: 0.5rem 0 0; font-size: 0.9rem; color: #5b6676; }
@media (min-width: 900px) { #about .cert-grid { grid-template-columns: repeat(3, 1fr); } }
