/* ==========================================================================
   MatricMap — landing page
   Light, fast, mobile-first: most visitors arrive on a phone, often on mobile data.
   ========================================================================== */

:root {
  --ink:        #15232b;
  --ink-2:      #47565f;
  --ink-3:      #6d7b83;
  --paper:      #fbfaf6;
  --surface:    #ffffff;
  --tint:       #f1efe7;
  --line:       #e2dfd3;
  --brand:      #0f3d3e;   /* deep green */
  --brand-2:    #145a5b;
  --accent:     #f4b942;   /* warm gold */
  --accent-ink: #2b2000;

  --radius: 14px;
  --wrap: 1040px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font: 700 clamp(2rem, 5.2vw, 3.3rem)/1.12 var(--serif); letter-spacing: -0.02em; }
h2 { font: 700 clamp(1.5rem, 3.4vw, 2.1rem)/1.2 var(--serif); margin-bottom: 14px; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand-2); }
em { font-style: italic; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.fine { font-size: 0.85rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 246, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
  color: var(--brand); text-decoration: none;
}
.brand svg { width: 24px; height: 24px; color: var(--accent); }
.brand b { color: var(--brand-2); font-weight: 600; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .08s, background .15s, box-shadow .15s;
}
.btn:hover { background: rgba(15, 61, 62, 0.06); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(244, 185, 66, 0.35);
}
.btn-primary:hover { background: #f7c45c; }
.btn-block { display: flex; width: 100%; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: clamp(48px, 9vw, 104px) 0 clamp(44px, 8vw, 88px);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(244, 185, 66, 0.20), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(20, 90, 91, 0.10), transparent 60%);
}
.hero h1 { max-width: 19ch; }
.hero h1 em { color: var(--brand-2); }
.lead { max-width: 60ch; margin: 22px 0 30px; font-size: 1.15rem; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-note { color: var(--ink-3); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(44px, 7vw, 80px) 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-lead { color: var(--ink-2); margin-bottom: 26px; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { margin-bottom: 8px; color: var(--brand); }
.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; max-width: 70ch; }
.checks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.checks li strong { color: var(--ink); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23f4b942' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.steps { list-style: none; counter-reset: step; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps li { counter-increment: step; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand); color: var(--accent);
  font-weight: 800;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* booking card */
.section-book { background: var(--brand); }
.book-card {
  max-width: 460px; margin: 0 auto;
  padding: 30px 26px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.price { margin: 0; font: 700 3rem/1.1 var(--serif); color: var(--brand); }
.price-note { color: var(--ink-2); margin: 6px 0 18px; }
.book-list { list-style: none; margin: 0 0 22px; padding: 16px 0; border-block: 1px solid var(--line); display: grid; gap: 6px; color: var(--ink-2); }
.book-card .fine { margin: 14px 0 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 22px; }
summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--brand-2); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); padding: 0 2px 6px; max-width: 65ch; }

/* footer */
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); background: var(--tint); }
.site-footer p { margin: 0 0 8px; }

/* thank-you page */
.thanks { padding-top: clamp(60px, 16vh, 180px); padding-bottom: 60px; }
.thanks h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
