:root {
  --paper: #f3f0ea;
  --paper-deep: #e7e1d6;
  --ink: #0d2744;
  --ink-soft: #3c5368;
  --line: rgba(13, 39, 68, 0.12);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --stroke: rgba(255, 255, 255, 0.88);
  --shadow: 0 18px 48px rgba(13, 39, 68, 0.08);
  --shadow-soft: 0 10px 30px rgba(13, 39, 68, 0.06);
  --radius: 28px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  background:
    radial-gradient(980px 520px at 92% -8%, rgba(190, 214, 224, 0.55), transparent 62%),
    radial-gradient(760px 480px at -12% 18%, rgba(232, 214, 190, 0.55), transparent 60%),
    var(--paper);
  text-rendering: optimizeLegibility;
}

body.legal {
  background:
    radial-gradient(720px 360px at 100% 0%, rgba(190, 214, 224, 0.4), transparent 60%),
    var(--paper);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #16385f;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: #d5e4ee;
  color: var(--ink);
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0 12px;
  background: rgba(243, 240, 234, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 72px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: end;
  padding: 42px 0 18px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
}

#roles,
#about,
#start,
#faq,
#contact {
  scroll-margin-top: 108px;
}

h1 {
  font-size: clamp(3.1rem, 6.4vw, 5.35rem);
  max-width: 9.2em;
}

.lead {
  margin: 24px 0 0;
  max-width: 38rem;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fine {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 36rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: #f6f3ed;
}

.btn-primary:hover {
  background: #16385f;
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(13, 39, 68, 0.16);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  position: absolute;
  inset: 0;
}

.rate-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(300px, calc(100% - 44px));
  padding: 22px 22px 20px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--radius);
}

.glass-strong {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-radius: var(--radius);
}

.rate-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rate {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 2.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.rate-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  padding: 72px 0 20px;
}

.mosaic figure {
  margin: 0;
}

.mosaic img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.mosaic figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section {
  padding: 108px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 42px;
}

.section-head h2,
.prose h1,
.pause-card h2,
.contact-card h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.section-head p,
.about-copy p,
.step p,
.contact-card p,
.pause-card p {
  color: var(--ink-soft);
  text-wrap: pretty;
}

.section-head p {
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.role {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.role-media {
  height: 240px;
}

.role-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-desk {
  object-position: center 62%;
}

.role-copy {
  padding: 28px 28px 32px;
}

.role h3 {
  font-size: 2rem;
  margin-top: 8px;
}

.role ul {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
}

.role li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.about-grid {
  max-width: 40rem;
}

.about-copy p {
  margin: 0 0 18px;
  font-size: 1.08rem;
}

.facts {
  list-style: none;
  margin: 64px 0 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
}

.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.facts span {
  color: var(--ink-soft);
  display: block;
}

.band {
  margin: 0 20px;
  padding: 84px 0;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(223, 232, 236, 0.72), rgba(243, 240, 234, 0.2));
}

.steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps li {
  padding-top: 8px;
}

.step-no {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.steps p {
  margin: 0;
}

.pause {
  padding: 40px 0 20px;
}

.pause-figure {
  position: relative;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  min-height: 540px;
  box-shadow: var(--shadow);
}

.pause-figure img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 42%;
}

.pause-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 440px;
  padding: 28px 28px 26px;
}

.pause-card h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.pause-card p {
  margin: 12px 0 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-soft);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 0 22px;
  max-width: 46rem;
  color: var(--ink-soft);
}

.contact {
  padding-bottom: 40px;
}

.contact-card {
  max-width: 680px;
  padding: 42px 40px 36px;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card > p {
  margin-top: 0;
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 28px 0 28px;
}

.contact-meta div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-meta dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-meta dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
}

.contact-meta a {
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 39, 68, 0.25);
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-panel {
  padding: 36px 36px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.footer-grid p {
  margin: 0;
  max-width: 28rem;
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--ink);
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid nav a {
  text-decoration: none;
}

.footer-grid nav a:hover {
  text-decoration: underline;
}

.legal-line {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.prose {
  width: min(740px, calc(100% - 48px));
  margin: 28px auto 80px;
}

.prose h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  max-width: 14ch;
}

.updated {
  margin: 14px 0 36px;
  color: var(--ink-soft);
}

.prose h2 {
  font-size: 1.55rem;
  margin: 36px 0 10px;
}

.prose p,
.prose li {
  color: var(--ink);
  font-size: 1.05rem;
}

.prose ul {
  margin: 8px 0 16px;
  padding-left: 1.2rem;
}

.prose li {
  margin: 6px 0;
}

.prose a {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero,
  .role-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
    order: -1;
  }

  .steps,
  .facts,
  .mosaic,
  .contact-meta {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    z-index: 40;
    background: #f7f4ee;
    border: 1px solid rgba(13, 39, 68, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }
}

@media (max-width: 680px) {
  .wrap,
  .nav,
  .prose {
    width: min(var(--max), calc(100% - 32px));
  }

  .section {
    padding: 76px 0;
  }

  .mosaic,
  .steps,
  .facts,
  .contact-meta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mosaic img,
  .role-media {
    height: 220px;
  }

  .hero {
    gap: 28px;
    padding-top: 18px;
  }

  .hero-visual,
  .pause-figure,
  .pause-figure img {
    min-height: 420px;
    height: 420px;
  }

  .pause-card,
  .rate-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-width: none;
  }

  .band {
    margin: 0 12px;
    padding: 56px 0;
    border-radius: 28px;
  }

  .contact-card,
  .footer-panel,
  .role-copy {
    padding: 24px 20px;
  }

  .footer-panel {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
