:root {
  --ink: #0a1c33;
  --muted: #53677f;
  --blue: #115fa8;
  --blue-deep: #063a73;
  --blue-soft: #dcecff;
  --cyan: #84c9f5;
  --white: #ffffff;
  --wash: #f6faff;
  --line: rgba(17, 95, 168, 0.16);
  --shadow: 0 28px 80px rgba(7, 31, 64, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 48%, #ffffff 100%);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(22px, 5vw, 72px);
  color: var(--white);
  background: #011638;
  transition: box-shadow 300ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand img,
.brand-full-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 260px;
  object-fit: contain;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  top: 12px;
  left: 7px;
  background: currentColor;
  transform: rotate(-28deg);
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(22px, 6vw, 86px) 76px;
  color: var(--white);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translateY(calc(var(--hero-shift, 0) * 1px)) scale(1.04);
  transform-origin: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(3, 21, 42, 0.84), rgba(6, 45, 86, 0.48) 48%, rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(1, 16, 34, 0.28), rgba(1, 16, 34, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
  hyphens: none;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
  margin: 0 0 24px;
  font-size: clamp(2.3rem, 5vw, 5.25rem);
}

h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(17, 95, 168, 0.28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--white);
  animation: cue 1.6s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, 15px);
    opacity: 1;
  }
}

.intro-section,
.story-step,
.closing-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(36px, 6vw, 86px);
  padding: clamp(92px, 12vw, 160px) 0 70px;
}

.intro-copy p:not(.eyebrow),
.story-copy p:not(.eyebrow),
.closing-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.principles {
  display: grid;
  gap: 16px;
  align-self: end;
}

.principles article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(8, 38, 78, 0.06);
}

.principles span {
  color: var(--blue);
  font-weight: 800;
}

.principles p {
  margin: 0;
  color: var(--muted);
}

.scroll-story {
  padding: 36px 0;
}

.story-step {
  min-height: 112svh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  padding: 46px 0;
}

.story-step.is-right {
  grid-template-columns: minmax(380px, 1.14fr) minmax(0, 0.86fr);
}

.story-copy {
  position: sticky;
  top: 26vh;
  max-width: 520px;
  transition: opacity 450ms ease, transform 450ms ease;
}

.story-copy h2 {
  font-size: clamp(2.55rem, 4.25vw, 4.45rem);
}

.story-copy.is-dimmed {
  opacity: 0.16;
  transform: translateY(-18px);
}

.story-visual {
  position: sticky;
  top: 15vh;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(16, 89, 156, 0.08));
  pointer-events: none;
}

.story-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: translateY(calc(var(--parallax, 0) * 1px)) scale(1.08);
  transition: transform 80ms linear;
}

.closing-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: clamp(80px, 12vw, 150px) 0;
}

.closing-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.closing-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.closing-copy {
  max-width: 610px;
}

.closing-copy .button,
.closing-actions {
  margin-top: 18px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button.secondary-dark {
  color: var(--ink);
  border-color: rgba(10, 28, 51, 0.32);
  background: transparent;
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 34, 66, 0.96), rgba(6, 58, 115, 0.94)),
    var(--ink);
  padding: 58px clamp(22px, 5vw, 72px) 26px;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  max-width: 520px;
}

.footer-brand p:not(.eyebrow),
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 200ms ease;
}

.footer-contact a:hover {
  color: var(--cyan);
}

.footer-contact .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transition: color 200ms ease, background 200ms ease;
}

.footer-contact .social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-contact .social-link:hover {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    padding: 18px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
  }

  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: fill;
    transform: none;
    display: block;
    flex-shrink: 0;
  }

  .hero-scrim {
    height: calc(100vw * 941 / 1672);
    bottom: auto;
    background: linear-gradient(180deg, rgba(3, 21, 42, 0.45) 0%, rgba(3, 21, 42, 0.15) 55%, transparent 100%);
  }

  .hero-content {
    position: static;
    max-width: 100%;
    background: var(--ink);
    padding: 40px 22px 56px;
  }

  .process-steps,
  .blog-grid--2col {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .story-step,
  .story-step.is-right,
  .closing-section {
    grid-template-columns: 1fr;
  }

  .intro-section {
    padding-top: 82px;
  }

  .story-step,
  .story-step.is-right {
    min-height: auto;
    padding: 72px 0;
  }

  .story-copy,
  .story-visual {
    position: relative;
    top: auto;
  }

  .story-step.is-right .story-visual {
    order: 2;
  }

  .story-step.is-right .story-copy {
    order: 1;
  }

  .closing-section {
    padding-top: 74px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-items: start;
  }
}

/* ── Image placeholders ── */
.img-placeholder {
  display: block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.hero-image.img-placeholder {
  width: 100%;
  height: 112%;
}

.story-visual .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  transform: translateY(calc(var(--parallax, 0) * 1px)) scale(1.08);
  transition: transform 80ms linear;
}

.closing-media .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* ── FAQ section ── */
.faq-section {
  background: var(--wash);
  padding: clamp(80px, 12vw, 150px) clamp(22px, 5vw, 72px);
}

.faq-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.faq-header {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
}

.faq-item {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(8, 38, 78, 0.06);
}

.faq-item dt {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

/* ── Closing actions (two-button row) ── */
.closing-copy .button,
.closing-actions {
  margin-top: 18px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button.secondary-dark {
  color: var(--ink);
  border-color: rgba(10, 28, 51, 0.32);
  background: transparent;
}

/* ── Footer 3-column layout ── */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links p.eyebrow {
  margin-bottom: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

@media (min-width: 861px) {
  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
  }
  .footer-links { order: -1; justify-self: start; }
  .footer-brand { justify-self: center; text-align: center; }
  .footer-contact { justify-self: end; }
}

/* ── Active nav link ── */
.nav-links a.is-active {
  opacity: 1;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

/* ── Inner page hero ── */
.page-hero {
  padding: 140px clamp(22px, 6vw, 86px) 80px;
  background: linear-gradient(135deg, #011638 0%, 36%, var(--blue-deep) 55%, 84%, var(--blue) 100%);
  color: var(--white);
}

.page-hero .eyebrow {
  color: var(--cyan);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 760px;
  margin: 0 0 20px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin: 0;
  font-size: 1.08rem;
}

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 14px clamp(22px, 6vw, 86px);
  background: var(--wash);
  font-size: 0.86rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span + span::before {
  content: " / ";
  color: var(--muted);
}

/* ── Generic section wrapper ── */
.section-wrapper {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header h2 {
  margin-bottom: 16px;
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--ink);
  padding: 48px clamp(22px, 5vw, 72px);
}

.stats-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--cyan);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 8px;
  display: block;
}

/* ── Service cards grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 540px), 1fr));
  gap: 24px;
}

.service-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(8, 38, 78, 0.07);
  transition: transform 240ms ease, box-shadow 240ms ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 38, 78, 0.13);
}

.service-card .service-num {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  margin: 10px 0 14px;
  color: var(--ink);
}

.service-card > p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 22px;
}

.card-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── Blog cards grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 28px;
}

.blog-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(8, 38, 78, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(8, 38, 78, 0.12);
}

.blog-card-img {
  height: 190px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.3;
}

.blog-card > .blog-card-body > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
  flex: 1;
}

.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
}

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--blue-deep) 55%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(64px, 10vw, 120px) clamp(22px, 5vw, 72px);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin: 0 auto 20px;
  max-width: 700px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.06rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button.white {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--white);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

/* ── Featured blog post ── */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 240ms ease;
}

.featured-post:hover {
  transform: translateY(-3px);
}

.featured-post-img {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  min-height: 360px;
}

.featured-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.featured-post-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 12px 0 16px;
}

.featured-post-body p {
  color: var(--muted);
  margin: 0 0 24px;
}

/* ── Blog post layout ── */
.post-header {
  padding: 60px clamp(22px, 6vw, 86px) 40px;
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

.post-header-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.post-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  max-width: 860px;
  margin: 12px 0 20px;
}

.post-meta {
  display: flex;
  gap: 24px;
  font-size: 0.86rem;
  color: var(--muted);
  flex-wrap: wrap;
  margin-top: 4px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 60px 0 100px;
  align-items: start;
}

.post-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-top: 52px;
  margin-bottom: 16px;
}

.post-content h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 10px;
}

.post-content p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 20px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content a,
.service-content a,
.faq-list a {
  color: var(--blue);
  text-decoration: underline;
}

.post-content .callout {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}

.post-content .callout p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.post-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 22px;
}

.sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(8, 38, 78, 0.06);
}

.sidebar-card h4 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--ink), var(--blue-deep));
  color: var(--white);
  border-color: transparent;
}

.sidebar-cta h4 {
  color: var(--cyan);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  margin: 0 0 18px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  border-bottom: 1px solid var(--line);
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  display: block;
  color: var(--blue);
  font-size: 0.88rem;
  padding: 8px 0;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--blue-deep);
}

/* ── Author bio ── */
.author-bio {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}

.author-info h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.author-info p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ── Related posts ── */
.related-posts {
  background: var(--wash);
  padding: clamp(60px, 8vw, 100px) clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.related-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.process-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(8, 38, 78, 0.06);
}

.process-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ── Service detail pages ── */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 60px 0 100px;
  align-items: start;
}

.service-content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-top: 52px;
  margin-bottom: 16px;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
  margin-bottom: 20px;
}

.service-content ul {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 20px;
}

.service-content li {
  margin-bottom: 8px;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}

.related-services {
  display: grid;
  gap: 10px;
}

.related-service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.related-service-link:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
}

.related-service-link::after {
  content: "→";
  font-size: 1rem;
  opacity: 0.6;
}

/* ── About page ── */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.founder-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  margin-bottom: 22px;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.founder-card .founder-title {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-card p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--ink);
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 80px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17, 95, 168, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.contact-detail h4 {
  margin: 0 0 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
}

.contact-detail a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ── Responsive: multi-page additions ── */
@media (max-width: 860px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-layout,
  .service-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar,
  .service-sidebar {
    position: relative;
    top: auto;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post-img {
    min-height: 220px;
  }

  .featured-post-body {
    padding: 28px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .founder-card {
    position: relative;
    top: auto;
  }
}

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

  .hero-image,
  .story-visual img,
  .story-visual .img-placeholder {
    transform: none !important;
  }
}
