/* Layout concept: a calm sand page with pine ink, one column of generous
   reading width, and a few hand-drawn Posca marks as the only flourish. */
:root {
  --bg: #efe8dc;          /* sand, matches the existing banner */
  --surface: #f7f3eb;     /* paper for cards */
  --fg: #26302a;          /* body ink, pine-tinted */
  --muted: #615f55;
  --pine: #1f3a2e;        /* headings + primary buttons */
  --posca: #d9542c;       /* hand-drawn marks only */
  --sun: #e2a93b;
  --line: #d9cfbe;
  --btn-bg: #1f3a2e;
  --btn-fg: #f7f3eb;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-mark: "Cormorant Garamond", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.5vw, 2.75rem);
  --step-4: clamp(2.5rem, 7vw, 4.5rem);

  --radius: 6px;
  --wrap: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14211b;
    --surface: #1b2c24;
    --fg: #e9e2d4;
    --muted: #a8a596;
    --pine: #e9e2d4;
    --posca: #f06e47;
    --sun: #eab450;
    --line: #2d4136;
    --btn-bg: #e9e2d4;
    --btn-fg: #14211b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14211b;
  --surface: #1b2c24;
  --fg: #e9e2d4;
  --muted: #a8a596;
  --pine: #e9e2d4;
  --posca: #f06e47;
  --sun: #eab450;
  --line: #2d4136;
  --btn-bg: #e9e2d4;
  --btn-fg: #14211b;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--posca); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--pine);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--step-0);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35); }
.btn--small { padding: 0.55em 1.15em; font-size: var(--step--1); }
.btn--ghost {
  background: transparent;
  color: var(--pine);
  box-shadow: inset 0 0 0 1.5px var(--pine);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--pine), 0 6px 18px -8px rgba(0, 0, 0, 0.25); }

.text-link {
  color: var(--pine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--posca);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--pine);
  line-height: 1;
}
.wordmark__name {
  font-family: var(--font-mark);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  margin-right: -0.28em;
}
.wordmark__sub {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  margin-top: 0.35em;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.wordmark__sub::before, .wordmark__sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { display: grid; gap: 1.5rem; min-width: 0; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.01em; }


.hero__lead { font-size: var(--step-1); line-height: 1.55; max-width: 34em; }
.hero__lead strong { color: var(--pine); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hero__note { font-size: var(--step--1); color: var(--muted); }

.hero__quote {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--posca);
  max-width: 30rem;
}
.hero__quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-0); line-height: 1.45; color: var(--pine); }
.hero__quote blockquote::before { content: "\201C"; }
.hero__quote blockquote::after { content: "\201D"; }
.hero__quote figcaption { margin-top: 0.35rem; font-size: var(--step--1); color: var(--muted); }

.hero__quote figcaption a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.hero__quote figcaption a:hover { color: var(--pine); text-decoration-color: var(--posca); }

.hero__art {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}
.hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--rule { border-top: 1px solid var(--line); }
.section__head { display: grid; gap: 0.75rem; max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--muted); }

/* Sound familiar */
.signs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 0 3rem;
}
.signs li {
  position: relative;
  padding: 1.1rem 0 1.1rem 2.25rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.signs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 1.1rem;
  height: 0.8rem;
  background: var(--posca);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M2 9.5c2 1.2 4 3 5.5 4.5C10 9 14 4.5 20 2' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M2 9.5c2 1.2 4 3 5.5 4.5C10 9 14 4.5 20 2' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.signs__close { margin-top: 2rem; font-family: var(--font-display); font-size: var(--step-1); color: var(--pine); }

/* Approach */
.approach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.approach > div { display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.approach h3 { display: flex; align-items: center; gap: 0.6rem; }
.approach h3 svg { width: 1.6rem; height: 1.6rem; flex: none; }
.approach h3 svg * { fill: none; stroke: var(--posca); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Offers */
.offers {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.offer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.offer--main { border-color: var(--pine); border-width: 1.5px; }
.offer__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.offer__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--posca);
}
.offer__price { font-family: var(--font-display); font-size: var(--step-2); color: var(--pine); line-height: 1.1; }
.offer__price small { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-size: var(--step--1); color: var(--muted); }
.offer__desc { color: var(--fg); }
.offer__facts {
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  font-size: var(--step--1);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.offer__facts strong { color: var(--fg); font-weight: 600; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offers__note { margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); max-width: 42rem; }

/* About */
.about { display: grid; gap: 1.1rem; max-width: 38em; }
.about h2 { margin-bottom: 0.4rem; }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
}
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  min-width: 0;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--pine);
}
.quote blockquote::before { content: "\201C"; color: var(--posca); }
.quote blockquote::after { content: "\201D"; color: var(--posca); }
.quotes:has(> .quote:only-of-type) { max-width: 46rem; }
.quote--long blockquote { font-size: var(--step-0); line-height: 1.6; }
@media (min-width: 640px) { .quote--long blockquote { font-size: 1.15rem; } }
.quote { scroll-margin-top: 6rem; transition: box-shadow 0.4s ease; }
.quote:target { box-shadow: 0 0 0 2px var(--posca); }
.quote figcaption { margin-top: auto; font-size: var(--step--1); color: var(--muted); }
.quote figcaption strong { color: var(--fg); }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--pine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--posca);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; max-width: 40em; }

/* Closing CTA */
.closing { text-align: center; }
.closing .wrap { display: grid; justify-items: center; gap: 1.5rem; }
.closing p { color: var(--muted); max-width: 32rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer__info { display: grid; gap: 0.3rem; }
.site-footer__info p { max-width: 40rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { max-width: 22rem; aspect-ratio: 1 / 1; justify-self: center; width: 100%; }
  .approach, .offers { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .site-header .btn { padding-inline: 0.95em; }
  .wordmark__name { font-size: 1.1rem; }
}

