/* Rosie's Itinerary — earthy neutrals, sunrise gold, ocean teal, terracotta blush */
:root {
  --cream: #faf5ee;
  --sand: #f1e7da;
  --paper: #ffffff;
  --ink: #2c2420;
  --ink-soft: #5e524b;
  --line: #e4d7c7;
  --terracotta: #b8553a;
  --terracotta-dark: #96412a;
  --blush: #f3d6c8;
  --gold: #e0a23a;
  --gold-soft: #fbecd0;
  --teal: #1e6b67;
  --teal-dark: #154f4c;
  --teal-soft: #dcecea;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(60, 40, 25, 0.10);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
h1 em { font-style: italic; font-weight: 400; color: var(--terracotta); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.eyebrow {
  font: 700 .78rem/1.4 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: .9em;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--terracotta);
  background: var(--terracotta); color: #fff; font: 700 1rem/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--terracotta); }
.btn-ghost:hover { background: var(--terracotta); color: #fff; }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.text-link { font-weight: 700; text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 238, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { position: relative; display: block; width: 39px; height: 56px; flex: none; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-mark .wink { opacity: 0; }
/* Rosie winks every few seconds, and right away on hover */
@keyframes rosie-wink { 0%, 92%, 100% { opacity: 0; } 94%, 98% { opacity: 1; } }
.brand-mark .wink { animation: rosie-wink 6s infinite; }
.brand-mark img { transition: transform .3s ease; transform-origin: 50% 100%; }
.brand:hover .brand-mark img, .brand:focus-visible .brand-mark img { transform: rotate(-4deg); }
.brand:hover .brand-mark .wink, .brand:focus-visible .brand-mark .wink { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .brand-mark .wink { animation: none; } }
.brand-name { font: 600 1.85rem/1 var(--script); color: var(--terracotta); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-menu a:not(.btn):hover { color: var(--terracotta); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow);
}
.hero-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border-radius: 200px 200px var(--radius) var(--radius); background: var(--gold-soft);
}
.hero-note {
  position: absolute; left: -36px; bottom: 32px; max-width: 260px;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); padding: 12px 18px 12px 8px; border-radius: 16px; box-shadow: var(--shadow);
}
.hero-note img { width: 64px; height: 64px; flex: none; }
.hero-note p { margin: 0; font: 600 1.35rem/1.15 var(--script); color: var(--teal-dark); }

/* Message */
.message { background: var(--paper); }
.big-quote {
  margin: 0; font: 400 clamp(1.25rem, 2.4vw, 1.65rem)/1.55 var(--serif); font-style: italic; color: var(--ink);
}
.signature { font: 600 1.9rem/1 var(--script); color: var(--terracotta); margin-top: 20px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pillar { background: var(--cream); border-radius: var(--radius); padding: 32px 28px; }
.pillar-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal); font-size: 1.4rem; margin-bottom: 18px;
}
.pillar p { color: var(--ink-soft); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photos img:nth-child(2) { margin-top: 56px; }
.story {
  margin: 28px 0; padding: 24px 26px; background: var(--paper);
  border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.story blockquote { margin: 0; }
.story p { font-family: var(--serif); font-style: italic; margin: 0 0 10px; }
.story figcaption { color: var(--terracotta); font-weight: 700; font-size: .95rem; }
.facts { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 32px; }
.facts strong { display: block; font: 600 2.2rem/1 var(--serif); color: var(--teal); }
.facts span { font-size: .9rem; color: var(--ink-soft); }

/* Recipe */
.recipe { background: var(--sand); }
.recipe-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 56px 0 24px; font-size: 1.45rem; }
.recipe-title:first-of-type { margin-top: 0; }
.tag { font: 700 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--teal); color: #fff; padding: 7px 12px; border-radius: 999px; }
.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pack-card { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden; }
.pack-letter {
  position: absolute; right: 14px; top: -6px; font: 600 5.5rem/1 var(--serif); color: var(--gold-soft); z-index: 0;
}
.pack-card h4, .pack-card p { position: relative; }
.pack-card h4 { color: var(--terracotta); font-size: 1.3rem; }
.pack-card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

.keys { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.key-tabs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-bottom: 28px; }
.key-tabs button {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream);
  font: 500 .78rem/1.2 var(--sans); color: var(--ink-soft); cursor: pointer; transition: all .2s;
}
.key-tabs button b { font: 600 1.6rem/1 var(--serif); color: var(--teal); }
.key-tabs button:hover { border-color: var(--teal); }
.key-tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.key-tabs button[aria-selected="true"] b { color: var(--gold-soft); }
.key-panel { max-width: 780px; padding: 0 8px; }
.key-panel h4 { font-size: 1.6rem; }
.key-q { font: 600 1.5rem/1.2 var(--script); color: var(--terracotta); font-size: 1.6rem; }
.key-panel ul { padding-left: 1.2em; margin: 0 0 1em; }
.key-panel li { margin-bottom: .5em; }
.tip { background: var(--gold-soft); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .97rem; }
.tip::before { content: "Rosie's tip · "; font-weight: 700; color: var(--terracotta-dark); }

.ready {
  margin-top: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center;
  background: var(--teal); color: #fff; border-radius: var(--radius); padding: 36px;
}
.ready h3 { color: #fff; }
.ready p { color: var(--teal-soft); margin: 0; }
.kind-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.kind-list li { padding-left: 26px; position: relative; font-size: .97rem; }
.kind-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* Services */
.services-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.services-intro img { border-radius: 50%; box-shadow: var(--shadow); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.service-card.featured { border: 2px solid var(--terracotta); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--terracotta); color: #fff; font: 700 .75rem/1 var(--sans); padding: 7px 12px; border-radius: 999px; margin: 0; }
.service-for { color: var(--terracotta); font-weight: 500; font-size: .95rem; }
.service-card ul { padding: 0; margin: 0; list-style: none; }
.service-card li { padding: 8px 0 8px 26px; position: relative; border-top: 1px dashed var(--line); font-size: .97rem; }
.service-card li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.process { list-style: none; padding: 0; margin: 56px 0 40px; display: flex; justify-content: space-between; gap: 12px; counter-reset: none; }
.process li { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; font-weight: 500; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: calc(50% + 30px); right: calc(-50% + 30px); border-top: 2px dotted var(--gold); }
.process b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--terracotta-dark); font: 600 1.2rem/1 var(--serif); }

/* Academy */
.academy { background: var(--teal-dark); color: #fff; }
.academy h2, .academy h3 { color: #fff; }
.academy .eyebrow { color: var(--gold); }
.academy p { color: var(--teal-soft); }
.academy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.modules { list-style: none; padding: 0; margin: 28px 0 8px; }
.modules li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.modules span { font: 600 1rem/1.6 var(--serif); color: var(--gold); }
.academy .btn-ghost { color: #fff; border-color: #fff; }
.academy .btn-ghost:hover { background: #fff; color: var(--teal-dark); }
.academy-media { position: relative; }
.academy-media img { border-radius: var(--radius); }
.community-card {
  position: relative; margin: -60px 24px 0; background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.community-card h3 { color: var(--ink); font-size: 1.15rem; }
.community-card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Tours */
.tours { padding-top: 0; }
.banner { height: clamp(220px, 34vw, 420px); overflow: hidden; margin-bottom: clamp(56px, 8vw, 96px); }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.tour-card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.tour-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.tour-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-meta { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.tour-body h3 { font-size: 1.12rem; flex: 1; }
.tour-price { margin: 0; color: var(--ink-soft); }
.tour-price b { font: 600 1.35rem/1 var(--serif); color: var(--terracotta); }
.fineprint { font-size: .85rem; color: var(--ink-soft); margin-top: 16px; }

/* Contact */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-illus { width: 220px; border-radius: 50%; margin: 24px 0; box-shadow: var(--shadow); }
.contact-links { list-style: none; padding: 0; margin: 0; }
.contact-links li { margin-bottom: 8px; font-weight: 700; }
.contact-form { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream);
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-weight: 500; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--terracotta-dark); }

/* Footer */
.site-footer { background: var(--ink); color: #d9cec4; padding: 56px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { display: inline-flex; margin-bottom: 12px; }
.site-footer .brand-name { color: var(--blush); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-label { font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .88rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .key-tabs { grid-template-columns: repeat(5, 1fr); }
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid, .about-grid, .academy-grid, .contact-grid, .services-intro, .ready { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-media::before { inset: 16px -12px -16px 12px; }
  .hero-note { left: 0; bottom: 16px; }
  .pillars, .service-grid { grid-template-columns: 1fr; }
  .services-intro img { max-width: 240px; }
  .about-photos { max-width: 480px; }
  .process { flex-wrap: wrap; justify-content: center; }
  .process li { flex: 0 0 30%; }
  .process li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1.6rem; }
  .pack-grid, .tour-grid, .field-row, .kind-list { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .key-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .key-tabs button { padding: 12px 2px; }
  .key-tabs button span { display: none; }
  .key-tabs button b { font-size: 1.4rem; }
  .keys { padding: 18px; }
  .ready { padding: 26px; }
  .process li { flex: 0 0 45%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .community-card { margin: -40px 12px 0; }
}

/* YouTube videos (click to load) */
.videos { margin-top: 28px; }
.videos-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.videos-head h4 { margin: 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yt, .yt-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); cursor: pointer;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt:hover img { transform: scale(1.04); }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(184, 85, 58, .92); box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.yt-play::after {
  content: ""; position: absolute; left: 26px; top: 20px;
  border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff;
}
.yt-meta {
  position: absolute; right: 10px; top: 10px; background: rgba(44, 36, 32, .82); color: #fff;
  font: 700 .8rem/1 var(--sans); padding: 6px 10px; border-radius: 999px;
}
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.series-note { margin: 20px 0 0; text-align: center; color: var(--ink-soft); }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; max-width: 520px; } }
