:root {
  --paper: #fcfaf6;
  --paper-deep: #f5efe4;
  --sky: #7ea2d1;
  --sky-soft: #bfd8ef;
  --sky-pale: #e0f1f6;
  --sand: #f4e7c4;
  --sand-deep: #ead7ab;
  --cocoa: #6e5149;
  --ink: #223148;
  --muted: #59677d;
  --line: rgba(34, 49, 72, 0.12);
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --shadow: 0 18px 42px rgba(53, 68, 89, 0.09);
  --shadow-soft: 0 8px 20px rgba(53, 68, 89, 0.06);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(191, 216, 239, 0.65), transparent 32%),
    radial-gradient(circle at left 42%, rgba(244, 231, 196, 0.42), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, var(--paper) 38%, #fefbf8 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9)),
    linear-gradient(120deg, rgba(224, 241, 246, 0.65), rgba(244, 231, 196, 0.45));
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(126, 162, 209, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(252, 250, 246, 0.72);
  border-bottom: 1px solid rgba(34, 49, 72, 0.06);
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--sky), var(--sky-soft));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
}

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a.is-current {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(53, 68, 89, 0.12);
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
}

.button-primary {
  background: linear-gradient(145deg, var(--cocoa), #58413b);
  color: #fff;
}

.button-secondary {
  border: 1px solid rgba(34, 49, 72, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.hero {
  padding-top: 58px;
  padding-bottom: 88px;
}

.hero-grid,
.about-layout,
.format-layout,
.faq-layout,
.final-grid {
  display: grid;
  gap: 44px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cocoa);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 12.6ch;
  font-size: clamp(3.3rem, 6vw, 6.1rem);
}

.welcome-title {
  max-width: 12.6ch;
  padding-right: 0.22em;
}

.welcome-title .phrase {
  display: block;
  white-space: nowrap;
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: 0 100%;
}

html.js .welcome-title .phrase {
  opacity: 0;
  transform: translate3d(0, 0.24em, 0);
  filter: blur(6px);
}

html.js .welcome-title.is-ready .phrase {
  animation: welcomePhraseReveal 1020ms linear(
    0, 0.0043 1.4%, 0.0179 2.8%, 0.0506 5%, 0.1038 7.5%, 0.1815 10.4%,
    0.2914 13.8%, 0.4413 17.8%, 0.5918 21.7%, 0.7176, 0.8175 29.4%,
    0.8915 33%, 0.9437 36.7%, 0.9771 40.5%, 0.9967 45%, 1.0056 50%,
    1.0082 56%, 1.006 62%, 1.0024 70%, 1.0004 80%, 1
  ) both;
}

html.js .welcome-title.is-ready .phrase:nth-child(1) {
  animation-delay: 60ms;
}

html.js .welcome-title.is-ready .phrase:nth-child(2) {
  animation-delay: 200ms;
}

@keyframes welcomePhraseReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.24em, 0);
    filter: blur(6px);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

h2 {
  font-size: clamp(2.3rem, 4vw, 4.25rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

p {
  margin: 0;
}

.hero-lead,
.section-heading p,
.section-text,
.about-copy p,
.final-copy p {
  max-width: 62ch;
  font-size: 1.04rem;
  color: var(--muted);
  line-height: 1.72;
}

.hero-lead {
  margin-top: 26px;
  max-width: 36rem;
}

.hero-intro {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.hero-intro .hero-lead {
  margin-top: 0;
}

.hero-support {
  max-width: 36rem;
  font-size: 1.04rem;
  color: var(--muted);
  line-height: 1.72;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 49, 72, 0.09);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.93rem;
}

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

.hero-microcopy {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: end;
  align-content: start;
  padding: 20px 0 18px 28px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10px 44px 58px 0;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(191, 216, 239, 0.78), rgba(244, 231, 196, 0.74)),
    var(--paper-deep);
}

.photo-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(191, 216, 239, 0.36));
  box-shadow: var(--shadow);
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
}

.hero-photo img,
.about-photo img,
.contact-photo img,
.photo-shell-offset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo img {
  aspect-ratio: 1.46;
  object-position: center 15%;
}

.about-photo .photo-shell,
.photo-shell-offset,
.contact-photo {
  max-width: 440px;
}

.photo-shell-offset {
  margin-left: auto;
}

.photo-shell-offset img {
  aspect-ratio: 1.34;
  object-position: center 13%;
}

.about-photo .photo-shell {
  margin: 0 auto;
}

.about-photo img {
  aspect-ratio: 1.32;
  object-position: center 14%;
}

.contact-photo img {
  aspect-ratio: 1.38;
  object-position: center 13%;
}

.photo-shell,
.floating-card,
.steps-card,
.info-panel,
.contact-card {
  box-shadow: var(--shadow);
}

.floating-card {
  position: relative;
  z-index: 2;
  margin: -28px -18px 0 0;
  max-width: 320px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(34, 49, 72, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.floating-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
  display: grid;
  gap: 14px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.issue-grid,
.principles-grid,
.format-cards,
.fact-grid {
  display: grid;
  gap: 20px;
}

.issue-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.issue-card,
.principle-card,
.format-card,
.fact-card,
.accent-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(34, 49, 72, 0.08);
  background: var(--surface);
}

.issue-card:nth-child(2),
.issue-card:nth-child(5),
.principle-card:nth-child(2) {
  background: rgba(224, 241, 246, 0.68);
}

.issue-card:nth-child(3),
.issue-card:nth-child(6),
.format-card:nth-child(2) {
  background: rgba(244, 231, 196, 0.64);
}

.issue-card h3,
.principle-card h3,
.format-card strong,
.accent-card strong,
.info-panel h3,
.steps-card h3 {
  margin-bottom: 12px;
}

.issue-card p,
.principle-card p,
.accent-card p,
.format-list p,
.format-list div p,
.contact-card span,
.details-content p,
.details-content li,
.steps-list p {
  color: var(--muted);
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: start;
}

.approach-side,
.about-photo {
  position: static;
}

.accent-list,
.format-list,
.details-group,
.contact-cards {
  display: grid;
  gap: 16px;
}

.story-grid,
.approach-text-grid {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.story-card,
.section-card {
  max-width: none;
  padding: 4px 0 4px 22px;
  border: 0;
  border-left: 2px solid rgba(126, 162, 209, 0.45);
  background: transparent;
  box-shadow: none;
}

.story-card:nth-child(2),
.section-card:nth-child(2) {
  border-left-color: rgba(126, 162, 209, 0.75);
}

.story-card:nth-child(3) {
  border-left-color: rgba(234, 215, 171, 0.88);
}

.story-card:nth-child(4) {
  border-left-color: rgba(110, 81, 73, 0.42);
}

.approach-text-grid {
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.accent-list {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.accent-card:last-child {
  grid-column: auto;
}

.steps-card {
  margin-top: 22px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 231, 196, 0.48));
  border: 1px solid rgba(34, 49, 72, 0.08);
}

.steps-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 18px;
}

.steps-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.about-layout {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.about-copy h2,
.format-main h2,
.faq-main h2,
.faq-side h2,
.final-copy h2 {
  margin-bottom: 18px;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.fact-card strong {
  display: block;
  font-size: 2rem;
  color: var(--cocoa);
  font-family: "Cormorant Garamond", serif;
}

.fact-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principles-detail-layout {
  margin-top: 42px;
}

.format-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  align-items: start;
}

.format-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.format-card {
  min-height: 180px;
}

.format-card strong {
  display: block;
  font-size: 2rem;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
}

.format-card p,
.format-label {
  color: var(--muted);
}

.format-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.format-list {
  margin-top: 20px;
}

.format-list div {
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(34, 49, 72, 0.08);
}

.format-list strong {
  display: block;
  margin-bottom: 6px;
}

.info-panel {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid rgba(34, 49, 72, 0.08);
}

.check-list,
.plain-list {
  margin: 18px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.details-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(34, 49, 72, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.details-card summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.details-card summary::-webkit-details-marker {
  display: none;
}

.details-card summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(126, 162, 209, 0.14);
  color: var(--cocoa);
  font-size: 1.4rem;
  line-height: 1;
}

.details-card[open] summary::after {
  content: "−";
}

.details-content {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: start;
}

.reviews-panel {
  min-height: 220px;
  display: grid;
  align-content: start;
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 12% auto auto -8%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 216, 239, 0.5), transparent 70%);
  pointer-events: none;
}

.final-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.95fr);
  align-items: center;
}

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

.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(34, 49, 72, 0.08);
  background: var(--surface-strong);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
}

.contact-card span {
  font-size: 0.9rem;
}

.contact-card strong {
  font-size: 1rem;
  word-break: break-word;
}

.contact-card-static {
  pointer-events: none;
  background: linear-gradient(160deg, rgba(244, 231, 196, 0.66), rgba(255, 255, 255, 0.88));
}

.footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(34, 49, 72, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.reveal {
  opacity: 0;
  animation: rise-in 700ms ease forwards;
}

.reveal-delay-1 {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 220ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    padding: 14px 0 12px;
    row-gap: 14px;
  }

  .topbar .button-small {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(34, 49, 72, 0.08);
    background: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    transition:
      color 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease,
      box-shadow 180ms ease;
  }

  .nav a.is-current {
    border-color: rgba(126, 162, 209, 0.34);
    background: rgba(191, 216, 239, 0.34);
    box-shadow: inset 0 0 0 1px rgba(126, 162, 209, 0.12);
  }

  .hero-grid,
  .approach-layout,
  .about-layout,
  .format-layout,
  .faq-layout,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
    padding: 18px 0 0;
  }

  .hero-visual::before {
    inset: 0 8% 12% 0;
  }

  .hero-photo,
  .about-photo .photo-shell,
  .photo-shell-offset,
  .contact-photo {
    max-width: 100%;
  }

  .approach-text-grid,
  .accent-list {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue-grid,
  .principles-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 78px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand-text small {
    display: none;
  }

  .brand {
    max-width: calc(100% - 110px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .topbar .button-small {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 72px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    padding: 0;
    margin-bottom: 4px;
  }

  h1 {
    max-width: none;
  }

  .hero-actions,
  .pill-row,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav a {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .nav a.is-current {
    background: rgba(191, 216, 239, 0.42);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .issue-grid,
  .principles-grid,
  .format-cards,
  .fact-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 16px;
  }

  .hero-visual::before {
    inset: 4% 0 14% 0;
  }

  .hero-photo img,
  .about-photo img,
  .contact-photo img,
  .photo-shell-offset img {
    aspect-ratio: 1.18;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .story-card,
  .section-card {
    padding-left: 18px;
  }

  .issue-card,
  .principle-card,
  .format-card,
  .fact-card,
  .accent-card,
  .contact-card,
  .info-panel,
  .steps-card {
    padding: 22px;
  }

  .details-card summary {
    padding: 18px 18px;
  }

  .details-content {
    padding: 0 18px 18px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

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

  .welcome-title .phrase {
    opacity: 1;
    clip-path: none;
    -webkit-clip-path: none;
    transform: none;
    filter: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    animation: none;
  }

  .button,
  .contact-card {
    transition: none;
  }
}
