@font-face {
  font-family: "Bitter";
  src: url("/fonts/bitter.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans.woff") format("woff");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --stone: #eef1ec;   /* page: unscented soap */
  --paper: #ffffff;
  --pine: #1f2b27;    /* ink + dark bands */
  --moss: #2c3c36;
  --sage: #5e7a6e;    /* secondary text */
  --line: #cbd5ce;
  --spark: #f5c04a;   /* beeswax: the one accent */
  --measure: 66ch;
  --serif: "Bitter", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--stone);
  color: var(--pine);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--spark); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.prose { max-width: var(--measure); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--spark); color: var(--pine); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* Header */
.site-header { padding: 1.5rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 1.35rem; height: 1.35rem; }
.site-header nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-header nav a { text-decoration: none; color: var(--sage); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--pine); text-decoration: underline; }

.site-header--over { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--stone); }
.site-header--over nav a { color: rgba(238, 241, 236, 0.82); }
.site-header--over nav a:hover { color: var(--stone); }

/* Buttons */
.button {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: var(--spark);
  color: var(--pine);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--spark);
  line-height: 1.2;
}
.button:hover { background: #f8cf6e; border-color: #f8cf6e; }
.button--line { background: transparent; border-color: var(--pine); }
.button--line:hover { background: var(--pine); border-color: var(--pine); color: var(--stone); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.quiet { font-weight: 600; }
.fine { font-size: 0.85rem; }

/* Type */
h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
h3 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin: 0 0 0.35rem; }
.intro { max-width: 52ch; color: var(--sage); margin: 0 0 2.5rem; font-size: 1.1rem; }

/* Hero: full-bleed film */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--stone);
  background: var(--pine) url("/media/hero-poster.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 28, 25, 0.55) 0%, rgba(20, 28, 25, 0) 22%),
    linear-gradient(0deg, rgba(20, 28, 25, 0.88) 0%, rgba(20, 28, 25, 0.45) 38%, rgba(20, 28, 25, 0) 65%),
    linear-gradient(90deg, rgba(20, 28, 25, 0.55) 0%, rgba(20, 28, 25, 0) 50%);
}
.hero-copy { position: relative; padding: 7rem 0 clamp(2.5rem, 7vh, 5rem); }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hero-copy > p:not(.fine) { max-width: 36ch; margin: 1.25rem 0 1.75rem; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(238, 241, 236, 0.9); }
.hero .quiet { color: var(--stone); }
.hero .fine { margin: 1.5rem 0 0; color: rgba(238, 241, 236, 0.65); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* Before / after */
.examples { padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem); }
.pair {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: clamp(3.5rem, 9vw, 6rem);
  position: relative;
}
.pair-after { grid-row: 1; grid-column: 1; }
.pair-after img { width: 100%; border-radius: 6px; }
.pair-before {
  grid-row: 1; grid-column: 1;
  align-self: end; justify-self: start;
  width: 36%;
  margin: 0 0 -1.5rem 0.9rem;
  background: var(--paper);
  padding: 0.45rem 0.45rem 0.35rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(31, 43, 39, 0.28);
  transform: rotate(-3deg);
}
.pair-before img { border-radius: 2px; }
.pair-before figcaption { font-size: 0.8rem; font-weight: 700; text-align: center; padding-top: 0.3rem; color: var(--sage); }
.pair-text { padding-top: 2.75rem; }
.pair-text p { margin: 0; color: var(--sage); max-width: 38ch; }

@media (min-width: 60rem) {
  .pair { grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
  .pair-after { grid-row: 1 / span 2; }
  .pair-after img { max-height: 46rem; aspect-ratio: 4 / 5; object-fit: cover; }
  .pair-before { grid-row: 1; grid-column: 2; width: 58%; margin: 4rem 0 0; transform: rotate(-2deg); }
  .pair-text { grid-row: 2; grid-column: 2; padding: 2.5rem 0 0; }
  .pair-text h3 { font-size: 1.7rem; }
  .pair--flip { grid-template-columns: 5fr 7fr; }
  .pair--flip .pair-after { grid-column: 2; }
  .pair--flip .pair-before { grid-column: 1; justify-self: end; transform: rotate(2deg); }
  .pair--flip .pair-text { grid-column: 1; text-align: right; justify-self: end; }
}

.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem var(--gap); }
.mini-imgs { display: grid; grid-template-columns: 1fr 2fr; gap: 0.5rem; align-items: end; }
.mini-imgs img { width: 100%; border-radius: 4px; }
.mini-imgs img:first-child { filter: saturate(0.9); }
.mini figcaption { font-family: var(--serif); font-weight: 700; margin-top: 0.6rem; }

/* Ad */
.ad { background: var(--pine); color: var(--stone); padding: clamp(4rem, 10vw, 7rem) 0; }
.ad-grid { display: grid; gap: 2.5rem; align-items: center; }
.phone {
  width: min(100%, 19rem);
  justify-self: center;
  padding: 0.6rem;
  background: #0f1714;
  border-radius: 2.4rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 1.9rem; background: var(--moss); }
.ad-still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ad-auto { display: none; }
  .ad-still { display: block; }
}
.ad-text p { max-width: 42ch; color: rgba(238, 241, 236, 0.85); font-size: 1.1rem; }
.ad-text .fine { color: rgba(238, 241, 236, 0.6); font-size: 0.85rem; }
@media (min-width: 52rem) {
  .ad-grid { grid-template-columns: 5fr 7fr; gap: var(--gap); }
}

/* Tiles: one horizontal row, like a model range */
.make { padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem); }
.make h2 { margin-bottom: 2rem; }
.tiles {
  list-style: none; margin: 0; padding: 0 max(1.25rem, calc((100vw - 72rem) / 2)) 1.5rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 22rem); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(1.25rem, calc((100vw - 72rem) / 2));
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.tile { scroll-snap-align: start; }
.tile img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; margin-bottom: 0.9rem; }
.tile p { margin: 0; color: var(--sage); font-size: 0.98rem; }

/* Prices */
.prices { padding: clamp(3rem, 8vw, 5rem) 0; background: var(--paper); }
.plans { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--stone);
}
.plan h3 { font-size: 1.35rem; }
.price { font-family: var(--serif); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; margin: 0.4rem 0 1.25rem; }
.price span { font-size: 0.5em; vertical-align: 0.75em; margin-right: 0.05em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.plan li { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.plan .button { align-self: flex-start; }
.plan--main { background: var(--pine); color: var(--stone); border-color: var(--pine); }
.plan--main li { border-top-color: rgba(238, 241, 236, 0.2); }
.badge { margin: 0 0 0.6rem; align-self: flex-start; background: var(--spark); color: var(--pine); font-weight: 700; font-size: 0.82rem; padding: 0.2rem 0.7rem; border-radius: 999px; }
.included { margin-top: 2.5rem; max-width: var(--measure); }
.included ul { margin: 0; padding-left: 1.2rem; color: var(--sage); }
.included li { margin-bottom: 0.3rem; }

/* Steps: a real sequence, so numbered */
.how { padding: clamp(4rem, 10vw, 7rem) 0 clamp(2rem, 6vw, 4rem); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0 var(--gap); }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 1.25rem 0; border-top: 2px solid var(--pine); }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--sage); margin-bottom: 0.75rem; }
.steps p { margin: 0; color: var(--sage); }

/* FAQ */
.faq { padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 10vw, 6rem); }
.answers { max-width: 46rem; }
.answers details { border-top: 1px solid var(--line); }
.answers details:last-child { border-bottom: 1px solid var(--line); }
.answers summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
  padding: 1.05rem 2.5rem 1.05rem 0; position: relative;
}
.answers summary::-webkit-details-marker { display: none; }
.answers summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.5rem; font-weight: 400; color: var(--sage); }
.answers details[open] summary::after { content: "−"; }
.answers details p { margin: 0 0 1.25rem; color: var(--sage); max-width: 62ch; }

/* Last call */
.last { background: var(--spark); padding: clamp(3.5rem, 9vw, 6rem) 0; }
.last h2 { max-width: 16ch; }
.last p { max-width: 46ch; margin: 0 0 1.75rem; font-size: 1.1rem; }
.last .button { background: var(--pine); border-color: var(--pine); color: var(--stone); }
.last .button:hover { background: var(--moss); border-color: var(--moss); }

/* Older shared pieces (legal pages) */
section { margin: 0; }
.legal { padding-bottom: 2rem; }
.legal h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 1.5rem 0 0.75rem; }
.legal .lede { color: var(--sage); margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin: 2.75rem 0 0.75rem; }
.legal h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.35rem; }
address { font-style: normal; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.5rem; margin: 0 0 1.5rem; }
.card h2:first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.notice { background: var(--paper); border-left: 5px solid var(--spark); border-radius: 0 14px 14px 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.notice > :last-child { margin-bottom: 0; }
.lang { font-size: 0.95rem; color: var(--sage); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; font-size: 0.92rem; color: var(--sage); }
.home .site-footer { border-top: 0; background: var(--pine); color: rgba(238, 241, 236, 0.72); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer address, .site-footer p { margin: 0; }

@media (max-width: 46rem) {
  .hero { display: block; min-height: 0; background: var(--pine) url("/media/hero-poster.jpg") top center / auto 64svh no-repeat; }
  .hero-video { position: relative; height: 64vh; height: 64svh; min-height: 22rem; }
  .hero-shade { bottom: auto; height: 64vh; height: 64svh; min-height: 22rem; background: linear-gradient(180deg, rgba(20, 28, 25, 0.6) 0%, rgba(20, 28, 25, 0) 24%, rgba(20, 28, 25, 0) 62%, var(--pine) 100%); }
  .hero-copy { padding: 0 0 2.75rem; margin-top: -4.25rem; }
}

@media (max-width: 40rem) {
  .site-header nav { gap: 1rem; font-size: 0.9rem; }
  .hero .actions .button { width: 100%; text-align: center; }
}
