@font-face {
  font-family: "Rethink Sans";
  src: url("assets/rethink-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("assets/dancing-script.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Rethink Sans", system-ui, sans-serif;
  --font-script: "Dancing Script", cursive;
  --paper: #f6f3ea;
  --cream: #fffdf6;
  --ink: #192b23;
  --muted: #536057;
  --forest: #122820;
  --deep: #0c1e17;
  --gold: #d3bd96;
  --line: #ddd6c7;
  --page-width: 1240px;
  --gutter: clamp(20px, 4.4vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid #a47e3e;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--cream);
  color: var(--ink);
}

.skip-link:focus { transform: none; }

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.section-space { padding-block: clamp(66px, 8vw, 124px); }

.eyebrow {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.08;
}

h2 { font-size: clamp(2.05rem, 4.4vw, 4rem); }

.script-accent {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  max-width: 100%;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button-whatsapp {
  gap: 9px;
  background: #25d366;
  color: #fff;
}
.button-whatsapp:hover { background: #1da751; }

.button-gold {
  background: var(--gold);
  color: var(--deep);
}
.button-gold:hover { background: #ecd7af; }

.button-forest {
  background: var(--forest);
  color: var(--cream);
}
.button-forest:hover { background: #244637; }

.button-outline {
  border-color: #f8f0dd75;
  color: var(--cream);
}
.button-outline:hover {
  border-color: var(--cream);
  background: #fffdf618;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  color: var(--cream);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid #fffdf64a;
}

.brand { display: block; flex: 0 0 auto; width: 150px; }
.brand img { width: 100%; height: auto; }

.text-link:hover { text-decoration: underline; }
.header-contact { min-height: 43px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(840px, max(660px, 94svh));
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
}

.hero-media, .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, #0b1e18f0 0%, #0b1e18d6 28%, #0b1e1870 57%, #0b1e181a 100%),
    linear-gradient(180deg, #0e231c9c, transparent 25%, transparent 63%, #0b1b16a3);
}

.hero-inner { padding-block: 126px 90px; }
.hero-location { color: #f0dfbf; }
.hero-location span { padding-inline: .45em; }

.hero h1 {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(3rem, 5.7vw, 5.15rem);
}

.hero h1 .script-accent {
  display: block;
  color: #ead7b5;
}

.hero h1 span {
  display: block;
  margin-top: .34em;
  font-size: .55em;
  font-weight: 550;
  letter-spacing: -.035em;
}

.hero-offer {
  display: flex;
  gap: clamp(22px, 4vw, 52px);
  width: max-content;
  max-width: 100%;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #f6eddb5c;
}

.hero-offer p { color: #f5eddf; line-height: 1.35; }

.hero-offer strong {
  display: block;
  margin-top: 3px;
  color: var(--cream);
  font-size: clamp(1.55rem, 2.55vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.035em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 22px;
}

.text-link {
  text-underline-offset: 5px;
  font-weight: 600;
}

.hero-image-note {
  position: absolute;
  right: var(--gutter);
  bottom: 15px;
  color: #f5eddf;
  font-size: .8125rem;
}

.section-intro .eyebrow, .details-content .eyebrow { margin-bottom: 14px; }

.payment {
  border-block: 1px solid #e0d9c9;
  background: #eee9db;
}

.payment-intro, .authors-intro { margin-bottom: clamp(28px, 4vw, 54px); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(15px, 2.5vw, 34px);
}

.plan {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(25px, 4vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-short { background: var(--cream); }
.plan-direct { border-color: transparent; background: var(--forest); color: var(--cream); }
.plan h3 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.plan-direct h3 { color: var(--gold); }

.plan-term {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.55vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.plan-description {
  max-width: 33ch;
  margin-block: 11px 24px;
}

.plan .button { margin-top: auto; }

.purchase-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .875rem;
}

.authors { background: var(--cream); }

.author-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.2vw, 48px);
}

.author-card {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.author-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 5px;
  object-fit: cover;
  object-position: 50% 29%;
  filter: grayscale(1);
}

.author-card .eyebrow { margin-top: 22px; color: var(--muted); }

.author-card h3 {
  margin-block: 7px 8px;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
}
.author-card p:last-child { max-width: 35ch; color: var(--muted); }

.details {
  background:
    linear-gradient(180deg, #0d271ebf, #0d271e5c 27%, #0d271eb8 57%, #0d271ef5),
    var(--forest) url("assets/landscape.webp") center 40% / cover no-repeat;
  color: var(--cream);
}

.details-content .eyebrow { color: #f5e7c9; }
.details-content h2 { max-width: 17ch; text-wrap: balance; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(110px, 16vw, 220px);
}

.feature-box {
  min-width: 0;
  padding: clamp(21px, 2.55vw, 34px);
  border: 1px solid #eee7d448;
  border-radius: 7px;
  background: #132a24ee;
}

.feature-box h3 {
  margin-bottom: 11px;
  color: #f0deba;
  font-size: clamp(1.24rem, 1.85vw, 1.67rem);
  letter-spacing: -.028em;
  line-height: 1.18;
}

.feature-box p { color: #efeee6; }

.details-image-note {
  margin-top: 15px;
  color: #f5eddf;
  font-size: .8125rem;
}

.visit {
  padding-block: clamp(45px, 6vw, 80px);
  background: var(--forest);
  color: var(--cream);
}

.visit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px 48px;
}

.visit h2 { font-size: clamp(1.9rem, 3.35vw, 3.25rem); }
.visit p { max-width: 59ch; margin-top: 11px; color: #e0e4da; }
.visit .button { flex: 0 0 auto; }

.location { background: var(--cream); }

.location-intro {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: end;
  gap: 22px clamp(28px, 6vw, 84px);
  margin-bottom: clamp(28px, 4vw, 55px);
}

.location-intro h2 { max-width: 19ch; text-wrap: balance; }
.location-intro > p { max-width: 48ch; color: var(--muted); }
.location-intro strong { color: var(--ink); }

.location-image { position: relative; }

.location-image img {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 7px;
}

.location-image figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #122820ed;
  color: var(--cream);
  font-size: .8125rem;
}

.closing {
  padding-block: clamp(66px, 8vw, 110px);
  background: #e8dfcc;
  text-align: center;
}

.closing h2 { max-width: 19ch; margin-inline: auto; }
.closing .script-accent { display: block; font-size: 1.18em; }
.closing p { max-width: 43ch; margin: 18px auto 24px; color: #3d4a41; }

.site-footer {
  padding-block: 27px;
  background: var(--deep);
  color: #f0e9db;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-inner .brand { width: 122px; }

.footer-disclosure p + p { margin-top: 8px; }

.footer-disclosure p {
  max-width: 54ch;
  color: #d3d6cd;
  font-size: .8125rem;
}

.mobile-contact { display: none; }

@media (max-width: 1000px) {
  .header-inner { gap: 16px; }
  .header-contact { padding-inline: 12px; }
}

@media (max-width: 850px) {
  .author-grid { gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .header-inner { min-height: 67px; }
  .brand { width: 116px; }
  .header-contact { display: none; }

  .hero { min-height: 700px; min-height: max(630px, min(790px, 100svh)); }
  .hero-inner { padding-block: 101px 64px; }
  .hero-media img { object-position: 50% 47%; }
  .hero::after {
    background:
      linear-gradient(180deg, #0b1e18ca 0%, #0d211b70 28%, #0b1e18aa 54%, #0b1e18f0 100%),
      linear-gradient(90deg, #0b1e188c, #0b1e1833 100%);
  }
  .hero h1 { font-size: clamp(2.7rem, 9.7vw, 4.35rem); }

  .hero-offer { gap: 18px; }
  .hero-offer p { font-size: .9375rem; }
  .hero-offer strong { font-size: clamp(1.35rem, 5.35vw, 1.85rem); }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-image-note { right: var(--gutter); bottom: 11px; }

  .plan-grid, .author-grid, .feature-grid, .location-intro { grid-template-columns: minmax(0, 1fr); }
  .plan .button { min-width: min(210px, 100%); }

  .author-card {
    display: grid;
    grid-template-columns: clamp(83px, 27vw, 140px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 16px;
    padding-bottom: 18px;
  }

  .author-card img { grid-row: span 3; }
  .author-card .eyebrow { margin-top: 2px; font-size: .8125rem; }
  .author-card h3 { margin-block: 5px 6px; font-size: clamp(1.45rem, 5vw, 1.85rem); }

  .details {
    background:
      linear-gradient(180deg, #0d271eaa, #0d271e5c 155px, #10261ecb 360px, var(--forest) 540px),
      var(--forest) url("assets/landscape.webp") 56% top / auto 500px no-repeat;
  }

  .feature-grid { margin-top: 117px; }
  .visit-inner { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-bottom: 88px; }

  .mobile-contact:not([hidden]) {
    position: fixed;
    z-index: 5;
    display: inline-flex;
    right: var(--gutter);
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    left: var(--gutter);
    box-shadow: 0 4px 20px #0b1e1850;
  }
}

@media (max-width: 355px) {
  .hero h1 { font-size: 2.45rem; }
  .hero-offer { gap: 12px; }
  .hero-offer strong { font-size: 1.26rem; }
}

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