/* SipTasteWander — site styles */
:root {
  --sand: #F3ECE1;
  --sand-2: #E6DCCB;
  --card: #FBF7F0;
  --line: #CBBFAE;
  --line-soft: #E2D7C6;
  --ink: #22292B;
  --ink-2: #3F4A4C;
  --muted: #4D585A;
  --teal: #1F5A5A;
  --teal-dark: #163F3F;
  --teal-mist: #DCE6E2;
  --on-dark: #F3ECE1;
  --on-dark-2: #D6DFDB;
  --clay: #9A4A2C;
  --clay-light: #E2A584;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
@media (max-width: 560px) { .polaroid.two { right: 4%; width: 46%; } }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: inherit; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header .header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal); font-family: var(--serif); font-size: 26px; }
.brand img { width: 48px; height: 48px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 17px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.site-nav .ig { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: var(--teal); }
.nav-toggle { display: none; min-height: 44px; padding: 0 16px; border: 2px solid var(--teal); border-radius: 6px; background: transparent; color: var(--teal); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }

@media (max-width: 820px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .js .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .site-header .header-inner { column-gap: 12px; padding-top: 18px; padding-bottom: 18px; }
  .brand { font-size: 22px; gap: 10px; }
  .brand img { width: 40px; height: 40px; }
}

/* Type helpers */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 20px; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(32px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -0.015em; }
/* Home headline: size to the column so "Programs and tools for" always fits on one line */
.hero-copy { container-type: inline-size; }
.hero-copy .h1 { font-size: clamp(30px, 9.2cqi, 64px); }
.nowrap-lg { white-space: nowrap; }
.h1-page { font-size: clamp(32px, 4.1vw, 56px); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 28px; }
.h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.12; }
.h2-band { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-2); }
.muted { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 6px; font-weight: 600; font-size: 18px; text-decoration: none; border: 2px solid var(--teal); background: var(--teal); color: #fff; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--teal); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); color: var(--teal-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 600; display: inline-block; padding: 10px 0; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.section-tight { padding-bottom: 104px; }
.band { background: var(--teal-dark); color: var(--on-dark); }
.band .muted, .band p { color: var(--on-dark-2); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 48px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 540px; min-width: 0; }
.hero-copy .lead { margin: 28px 0 36px; max-width: 680px; }
@media (min-width: 900px) {
  .hero-copy .btn-row { flex-wrap: nowrap; gap: 12px; }
  .hero-copy .btn { font-size: clamp(15px, 1.2vw, 17px); padding: 0 clamp(14px, 1.4vw, 22px); white-space: nowrap; }
}
.rotator { display: block; min-height: 1.1em; white-space: nowrap; }
.rotator.fade { animation: fadeUp .5s ease both; }
.hero-art { flex: 1 1 420px; min-width: 0; position: relative; min-height: 560px; }
.hero-art .route { position: absolute; inset: 0; width: 100%; height: 100%; }
.polaroid { position: absolute; background: #fff; padding: 12px 12px 44px; box-shadow: 0 12px 30px rgba(34,41,43,.16); border-radius: 4px; }
.polaroid img { width: 100%; object-fit: cover; }
.polaroid figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.polaroid.one { left: 4%; top: 4%; width: 52%; transform: rotate(-5deg); }
.polaroid.one img { aspect-ratio: 4 / 5; }
.polaroid.two { right: 2%; top: 30%; width: 48%; transform: rotate(4deg); }
.polaroid.two img { aspect-ratio: 1 / 1; object-position: center 20%; }
.badge { position: absolute; left: 17%; bottom: -16px; width: 160px; height: 160px; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px rgba(34,41,43,.14); display: flex; align-items: center; justify-content: center; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.badge img { position: relative; width: 70px; height: 70px; }
@media (max-width: 560px) {
  .hero-art { min-height: 440px; }
  .badge { width: 120px; height: 120px; }
  .badge img { width: 52px; height: 52px; }
}

/* Marquee */
.marquee { background: var(--sand-2); color: var(--teal); overflow: hidden; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; font-family: var(--serif); font-size: 26px; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-track span { padding: 0; }
.marquee-track i { font-style: normal; color: var(--clay); margin: 0 0.35em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; margin: 56px 0; }
.stat { border-top: 2px solid var(--clay-light); padding-top: 20px; }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: 80px; line-height: 1; color: var(--on-dark); }
.stat p { margin-top: 12px; }

/* Path chooser */
.paths-intro { margin: 16px 0 36px; font-size: 20px; color: var(--ink-2); }
.path-panel { border-radius: 12px; padding: clamp(20px, 4vw, 48px); transition: background-color .35s ease; }
.path-tabs { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: clamp(20px, 3vw, 32px); border-bottom: 1px solid rgba(34,41,43,.16); }
.path-tab { min-height: 52px; padding: 0 22px; border-radius: 6px; border: 2px solid var(--teal); background: rgba(255,255,255,.55); color: var(--teal); font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; }
.path-tab:hover { background: #fff; }
.path-tab[aria-pressed="true"] { background: var(--teal); color: #fff; }
.path-card { padding-top: clamp(24px, 3.5vw, 44px); display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
@media (max-width: 560px) { .path-tab { flex: 1 1 auto; font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .path-panel { transition: none; } }
.path-card[hidden] { display: none; }
.path-card.fade { animation: fadeUp .45s ease both; }
.path-card img { flex: 0 1 300px; width: 300px; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: 8px; }
.path-card .body { flex: 1 1 440px; min-width: 0; }
.path-card h3 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; margin: 8px 0 14px; }
.path-card p.desc { font-size: 20px; color: var(--ink-2); margin-bottom: 28px; }
.no-js .path-card[hidden] { display: flex; margin-top: 24px; }
.tint-clay { background: #EAD9C6; }
.tint-sand { background: var(--sand-2); }
.tint-mist { background: var(--teal-mist); }
.tint-rose { background: #E9D8CC; }

/* CTA panel */
.cta-panel { background: var(--teal-dark); color: var(--on-dark); border-radius: 12px; padding: clamp(36px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-panel > div { flex: 1 1 460px; min-width: 0; }
.cta-panel p { margin-top: 12px; font-size: 20px; color: var(--on-dark-2); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.card h2, .card h3 { font-size: 30px; line-height: 1.15; }
.card .grow { flex-grow: 1; color: var(--ink-2); }
.card-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 0%; border-radius: 8px; margin-bottom: 10px; }
.card.mist { background: var(--teal-mist); border: 0; padding: 44px; }
.card.sand { background: var(--sand-2); border: 0; padding: 44px; }
.card.mist h3, .card.sand h3 { font-size: 36px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag { font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 4px; background: var(--teal); color: #fff; }
.tag.outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); padding: 2px 12px; }
.links-row { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }

.feature { background: var(--card); border: 1px solid var(--line-soft); border-radius: 10px; padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; }
.feature img { flex: 0 1 280px; width: 280px; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.feature .body { flex: 1 1 420px; min-width: 0; }
.feature .side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature h3 { font-size: 36px; margin: 8px 0 14px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: 17px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

.group-head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 32px; }
.group-head h2 { font-size: 38px; }
.group-head p { font-size: 17px; color: var(--muted); }

/* About */
.banner-photo { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 15%; border-radius: 12px; margin-top: 48px; }
@media (max-width: 640px) { .banner-photo { aspect-ratio: 4 / 3; object-position: center 20%; } }
.founder { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.founder img { flex: 1 1 340px; min-width: 0; max-width: 480px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.founder .body { flex: 1 1 560px; min-width: 0; }
.founder h2 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.1; margin-bottom: 24px; }
.founder .eyebrow { color: var(--clay-light); }
.founder p + p { margin-top: 20px; }
.timeline { list-style: none; margin: 48px 0 0; padding: 0; }
.timeline li { display: flex; flex-wrap: wrap; gap: 8px 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { flex: 0 1 220px; font-family: var(--serif); font-size: 24px; color: var(--teal); }
.timeline .what { flex: 1 1 600px; min-width: 0; }
.timeline h3 { font-family: var(--sans); font-size: 22px; font-weight: 600; margin-bottom: 8px; }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.value { padding: clamp(28px, 3.5vw, 44px); gap: 10px; }
.value h3 { font-size: clamp(24px, 2.4vw, 30px); display: flex; align-items: baseline; gap: 14px; }
.value .num { color: var(--clay); flex: 0 0 auto; }
.value-wide { grid-column: 1 / -1; border-color: #D9B6A3; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Connect */
.connect { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 64px; padding-bottom: 104px; }
.connect-info { flex: 1 1 400px; min-width: 0; }
.contact-list { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 40px; }
.contact-list .label { font-size: 16px; color: var(--muted); margin-bottom: 4px; }
.contact-list a { font-weight: 600; }
.connect-photo { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; border-radius: 10px; margin-top: 40px; }
.form { flex: 1 1 560px; min-width: 0; align-self: flex-start; background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 17px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 14px; border: 1px solid #8C9A97; border-radius: 6px; background: #fff; font: inherit; color: var(--ink); width: 100%; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 15px; color: var(--muted); }
.alert { border-radius: 8px; padding: 14px 18px; font-size: 17px; }
.alert.error { background: #F6DCD3; color: #6E2A14; border: 1px solid #D9A28D; }

/* Legal */
.legal { max-width: 860px; padding-top: 64px; padding-bottom: 104px; }
.legal h1 { margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 17px; margin-bottom: 40px; }
.legal h2 { font-size: 28px; margin: 44px 0 14px; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 14px; }
.legal ul { padding-left: 24px; margin: 14px 0 0; }
.legal li + li { margin-top: 8px; }

/* Product pages */
.product-hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.product-hero .copy { flex: 1 1 540px; min-width: 0; }
.product-hero .copy .lead { margin: 24px 0 32px; }
.product-hero img { flex: 1 1 360px; min-width: 0; max-width: 520px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: 12px; }
.price-line { font-family: var(--serif); font-size: 28px; line-height: 1.25; color: var(--teal); margin-bottom: 24px; }
.small-note { font-size: 16px; color: var(--muted); margin-top: 16px; }
.section-head { margin-bottom: 40px; }
.section-head p { margin-top: 14px; font-size: 20px; color: var(--ink-2); }
.band .section-head p { color: var(--on-dark-2); }
.num-card .num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--clay); }
.num-card h3 { font-size: 26px; }
.band .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.band .card h3 { color: var(--on-dark); }
.band .card p { color: var(--on-dark-2); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px 40px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 10px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.band .check-list li::before { border-color: var(--clay-light); }
.x-list li::before { width: 16px; height: 16px; top: 6px; border: 0; transform: none; background:
  linear-gradient(45deg, transparent 43%, var(--clay) 43%, var(--clay) 57%, transparent 57%),
  linear-gradient(-45deg, transparent 43%, var(--clay) 43%, var(--clay) 57%, transparent 57%); }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pill-list li { background: var(--card); border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px 18px; font-size: 18px; }
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.fit .card h3 { font-size: 28px; margin-bottom: 6px; }
.packages .card { padding: 44px; }
.packages .card h3 { font-size: 34px; }
.price-big { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--teal); }
.price-big s { font-size: 32px; color: var(--muted); margin-right: 12px; }
.quote { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.25; color: var(--teal); border-left: 3px solid var(--clay); padding-left: 24px; margin-top: 32px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--serif); font-size: 32px; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 900px; }
.note-box { background: var(--sand-2); border-radius: 10px; padding: 28px 32px; }
.note-box h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding-top: 36px; padding-bottom: 48px; font-size: 16px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner a { color: var(--muted); padding: 10px 0; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--sand), 0 8px 20px rgba(22,63,63,.25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease; }
.to-top:hover { background: var(--teal-dark); color: #fff; }
.to-top.show, .no-js .to-top { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 900px) { .to-top { right: 28px; bottom: 28px; } }

/* Motion */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .badge svg, .rotator.fade, .path-card.fade { animation: none; }
}
