:root {
  --navy: #0d355f;
  --navy-deep: #082a4d;
  --teal: #03989e;
  --green: #2cb191;
  --blue: #4688a6;
  --pale-blue: #cfe2f3;
  --pale-green: #e3f1e0;
  --ink: #17324d;
  --muted: #526579;
  --paper: #fffefa;
  --white: #ffffff;
  --max-width: 1180px;
  --reading-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0 0 0.75em;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 4.4vw, 3.875rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2.1rem, 3.4vw, 3.25rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul {
  margin: 1.2rem 0 1.6rem;
  padding-left: 1.25rem;
}

li { margin: 0.45rem 0; padding-left: 0.35rem; }
li::marker { color: var(--teal); }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--white);
  color: var(--navy);
}

.skip-link:focus { transform: translateY(0); }

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

.site-header {
  border-bottom: 1px solid rgba(13, 53, 95, 0.12);
  background: rgba(255, 254, 250, 0.96);
}

.header-inner { display: flex; align-items: center; min-height: 88px; }
.brand-logo { width: 245px; height: auto; }

.section { padding-block: clamp(6rem, 7vw, 7.5rem); }
.section-rule { border-top: 1px solid rgba(13, 53, 95, 0.14); }
.section-soft { background: linear-gradient(135deg, rgba(227, 241, 224, 0.45), rgba(207, 226, 243, 0.32)); }

.hero { padding-top: clamp(2rem, 3vw, 3rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(3rem, 5.5vw, 5.5rem); align-items: center; }
.hero-copy { max-width: 675px; }
.eyebrow { margin-bottom: 1.1rem; color: var(--teal); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; }
.lede { margin: 1.6rem 0 1.2rem; color: var(--navy); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.55; }
.hero-figure img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 0.25rem; }
.opening-note { margin-top: 1.75rem; padding-left: 1.25rem; border-left: 3px solid var(--green); color: var(--muted); font-size: 0.94rem; }
.opening-note p { margin-bottom: 0.25rem; }

.button {
  display: inline-block;
  margin-top: 1.3rem;
  padding: 0.9rem 1.35rem;
  border: 2px solid var(--navy);
  border-radius: 0.2rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover { border-color: var(--teal); background: var(--teal); }

.split-copy { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.split-copy > div:last-child { max-width: 680px; }
section[aria-labelledby="decision-title"] { padding-block: clamp(4rem, 5vw, 5.5rem); }
section[aria-labelledby="decision-title"] .split-copy > div:first-child { margin-bottom: 0; }

section[aria-labelledby="useful-note-title"],
section[aria-labelledby="who-title"],
section[aria-labelledby="useful-title"],
section[aria-labelledby="small-title"] { padding-bottom: clamp(4rem, 5vw, 5.5rem); }
section[aria-labelledby="who-title"],
section[aria-labelledby="small-title"] { padding-top: clamp(3.5rem, 4.5vw, 5rem); }

.section-intro { max-width: 720px; margin-bottom: clamp(2.75rem, 4vw, 4rem); }
.note-parts { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1.4rem, 3vw, 2.75rem); }
.note-parts article { min-width: 0; }
.note-parts .number { width: fit-content; margin-bottom: 1.2rem; color: var(--teal); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; }
.note-parts h3 { font-size: 1.32rem; }
.note-parts article p:last-child { color: var(--muted); font-size: 0.96rem; }
.closing-line { max-width: 760px; margin-top: clamp(2.75rem, 4vw, 4rem); font-weight: 650; }

.portrait-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.portrait-grid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center; border-radius: 0.25rem; }
section[aria-labelledby="writing-title"] { padding-bottom: clamp(3rem, 4vw, 4.5rem); }

@media (min-width: 941px) {
  [aria-labelledby="writing-title"] .portrait-grid img {
    width: 100%;
    height: min(720px, 72vw);
    object-fit: cover;
    object-position: center top;
  }
}

.question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.question-grid article { padding-top: 1.4rem; border-top: 3px solid var(--green); }
.section-outro { max-width: 760px; margin-top: clamp(3rem, 4.5vw, 4.5rem); }
section[aria-labelledby="questions-title"] { padding-bottom: clamp(4rem, 5vw, 5.5rem); }

.final-pause { height: clamp(6rem, 8vw, 8rem); background: var(--paper); }
.final-section { padding-block: clamp(6rem, 7vw, 7.5rem); background: var(--navy-deep); color: #f6fbff; }
.final-section h2 { color: var(--white); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.button-light { border-color: var(--green); background: var(--green); color: #082a4d; }
.button-light:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
.small-print { margin-top: 1.1rem; color: var(--pale-blue); font-size: 0.9rem; }
.final-message-section { padding-block: clamp(4.5rem, 6vw, 6.5rem); border-top: 1px solid rgba(255, 255, 255, 0.24); background: linear-gradient(135deg, rgba(227, 241, 224, 0.45), rgba(207, 226, 243, 0.32)); color: var(--navy); }
.final-message-section .final-message { max-width: 760px; margin: 0 auto; padding: 0; text-align: center; }
.final-message-section .final-message h2 { color: var(--navy); }
.final-message-section .final-message .small-print { color: var(--muted); }
.final-message > p { margin-bottom: 0.8rem; }
.final-message > p:nth-of-type(2) { margin-bottom: 2rem; }
.final-message > p:nth-last-of-type(2) { margin-top: 2rem; }

.site-footer { padding-block: 3rem; background: #061f39; color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.copyright { margin: 0; color: var(--pale-blue); font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 1.75rem; }
.site-footer a { color: var(--white); font-size: 0.92rem; text-underline-offset: 0.25em; }

@media (max-width: 1099px) {
  .hero-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 940px) {
  .section { padding-block: clamp(4.5rem, 9vw, 5.5rem); }
  .hero { padding-block: clamp(4.5rem, 8vw, 5.25rem); }
  .hero-grid, .split-copy, .portrait-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-figure { max-width: 760px; }
  .split-copy { gap: 1.5rem; }
  .note-parts { grid-template-columns: repeat(2, 1fr); row-gap: 3.5rem; }
  .question-grid { grid-template-columns: 1fr; }
  .final-section { padding-block: clamp(4.75rem, 9vw, 5.5rem); }
  .final-pause { height: 5.5rem; }
  .portrait-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
  }
}

@media (max-width: 768px) {
  .final-grid { grid-template-columns: 1fr; gap: 4.5rem; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; line-height: 1.7; }
  .shell, .narrow { width: min(calc(100% - 2.25rem), var(--max-width)); }
  .header-inner { min-height: 76px; }
  .brand-logo { width: 210px; height: auto; }
  .section { padding-block: clamp(3.25rem, 13vw, 4.25rem); }
  .hero { padding-block: clamp(3.5rem, 12vw, 4.25rem); }
  .hero-grid { gap: 3.25rem; }
  .button { width: 100%; padding-inline: 1rem; }
  .note-parts, .final-grid { grid-template-columns: 1fr; }
  .note-parts { gap: 3rem; }
  .note-parts article { max-width: 30rem; }
  .final-grid { gap: 4.5rem; }
  .final-section { padding-block: clamp(3.75rem, 13vw, 4.25rem); }
  .final-pause { height: 4.25rem; }
  .final-message { margin-top: 4rem; padding-top: 3.5rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .site-footer nav { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
