:root {
  --ink: #17323a;
  --ink-soft: #385760;
  --paper: #fffdf7;
  --paper-warm: #f5efe3;
  --sand: #eadbc1;
  --clay: #b96f4a;
  --clay-dark: #8f4e32;
  --sea: #276f75;
  --sea-dark: #174c55;
  --sea-pale: #dfeeed;
  --gold: #d9a348;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 50, 58, 0.13);
  --shadow-soft: 0 12px 38px rgba(23, 50, 58, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 999;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 8px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.narrow { max-width: 820px; }
.section-pad { padding: 88px 0; }
.soft-bg { background: linear-gradient(180deg, rgba(223, 238, 237, 0.8), rgba(245, 239, 227, 0.42)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 50, 58, 0.08);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--sea);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 0.94rem;
  box-shadow: 0 8px 22px rgba(39, 111, 117, 0.28);
}
.brand-text {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--sea-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.15;
  box-shadow: 0 12px 32px rgba(185, 111, 74, 0.25);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--clay-dark);
  box-shadow: 0 16px 38px rgba(143, 78, 50, 0.28);
}
.button-small { min-height: 40px; padding: 10px 16px; font-size: 0.9rem; }
.text-link {
  color: var(--sea-dark);
  font-weight: 700;
  text-decoration-color: rgba(23, 76, 85, 0.25);
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(217, 163, 72, 0.18), transparent 30%),
    linear-gradient(180deg, var(--paper), #faf5ec);
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(39, 111, 117, 0.08);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: 58px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3rem, 7vw, 6.25rem); max-width: 880px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.hero-lede {
  margin: 26px 0 0;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}
.anchor-line {
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  max-width: 650px;
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  line-height: 1.28;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  color: var(--sea-dark);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.image-card {
  position: relative;
  min-height: 520px;
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  background: var(--sea-pale);
}
.image-card img {
  width: 100%;
  height: 520px;
  object-fit: contain;
background: var(--sand);
}
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,50,58,0.04), rgba(23,50,58,0.42));
  pointer-events: none;
}
.image-card figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(23, 50, 58, 0.12);
}
.image-card figcaption p { margin: 0; }
.card-kicker {
  margin-bottom: 8px !important;
  color: var(--sea-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.problem h2, .problem p { text-align: center; }
.problem p { color: var(--ink-soft); font-size: 1.08rem; }
.section-heading { max-width: 820px; margin-bottom: 42px; }
.section-intro { margin: 18px 0 0; color: var(--ink-soft); font-size: 1.08rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 535px;
  border: 1px solid rgba(23, 50, 58, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.image-topped-card > img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--sea-pale);
}
.image-topped-card:nth-child(3) > img {
  object-fit: contain;
  padding: 34px;
  background: linear-gradient(135deg, rgba(223,238,237,.95), rgba(245,239,227,.85));
}
.feature-content { padding: 28px; position: relative; }
.feature-card p { color: var(--ink-soft); }
.feature-label {
  margin: 0 0 24px;
  color: rgba(23, 50, 58, 0.38) !important;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.feature-card h3 { margin-bottom: 16px; }
.feature-card ul {
  margin: 22px 0 0;
  padding-left: 19px;
  color: var(--ink-soft);
}
.feature-card li + li { margin-top: 8px; }
.icon-dot {
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
}
.emphasized-card { background: var(--sea-dark); color: var(--white); }
.emphasized-card p, .emphasized-card ul, .emphasized-card .feature-label { color: rgba(255, 255, 255, 0.78) !important; }
.emphasized-card .icon-dot { background: var(--sand); }
.emphasized-card > img {
  background: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.64fr);
  gap: 60px;
  align-items: start;
}
.split-grid p { color: var(--ink-soft); font-size: 1.08rem; }
.steps-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 50, 58, 0.1);
}
.step:first-child { padding-top: 0; }
.step span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sea-pale);
  color: var(--sea-dark);
  font-weight: 800;
}
.step p { margin: 0; font-size: 0.98rem; }
.full-width { width: 100%; margin-top: 24px; }

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
}
.portrait-placeholder {
  min-height: 430px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.55), transparent 28%),
    linear-gradient(160deg, var(--sea-pale), var(--sand));
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.portrait-initials {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sea-dark);
  color: var(--white);
  font-family: Fraunces, Georgia, serif;
  font-size: 2.25rem;
  font-weight: 650;
}
.portrait-image {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}
.about-section p { color: var(--ink-soft); font-size: 1.05rem; }
.about-note {
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--paper-warm);
  border-left: 5px solid var(--gold);
}
.about-note p {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  color: var(--sea-dark);
  font-size: 1.25rem;
  line-height: 1.35;
}
.final-cta { padding-top: 20px; }
.final-card {
  padding: clamp(34px, 7vw, 72px);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(217, 163, 72, 0.22), transparent 32%),
    linear-gradient(135deg, var(--sea-dark), var(--sea));
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}
.final-card .eyebrow, .final-card p { color: rgba(255,255,255,0.82); }
.final-card h2 { max-width: 820px; margin: 0 auto; }
.final-card p { max-width: 660px; margin: 22px auto 30px; font-size: 1.1rem; }
.final-card .button { background: var(--paper); color: var(--sea-dark); box-shadow: none; }
.final-card .button:hover { background: var(--sand); }
.site-footer {
  padding: 30px 0;
  color: var(--ink-soft);
  border-top: 1px solid rgba(23, 50, 58, 0.08);
}
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration-color: rgba(56, 87, 96, 0.25); text-underline-offset: 4px; }

@media (max-width: 1040px) {
  .site-nav { display: none; }
  .header-inner .button-small { margin-left: auto; }
  .hero-grid, .split-grid, .about-grid { grid-template-columns: 1fr; }
  .image-card { min-height: 420px; }
  .image-card img { height: 420px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { gap: 36px; }
  .portrait-placeholder { min-height: 320px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section-pad { padding: 62px 0; }
  .header-inner { min-height: 68px; }
  .brand-text { max-width: 160px; line-height: 1.1; }
  .button-small { display: none; }
  .hero-grid { gap: 34px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button, .text-link { width: 100%; text-align: center; }
  .image-card { min-height: 360px; border-radius: 26px; }
  .image-card img { height: 360px; }
  .image-card figcaption { left: 18px; right: 18px; bottom: 18px; padding: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-content { padding: 26px; }
  .image-topped-card > img { height: 180px; }
  .steps-card { padding: 24px; }
  .about-note p { font-size: 1.1rem; }
}
