:root {
  --ink: #173d4d;
  --ink-soft: #41606b;
  --ocean: #315f68;
  --sea-glass: #82a9a8;
  --foam: #f7f4ed;
  --sand: #eadbc4;
  --sunset: #e8a17f;
  --sunset-dark: #c97e63;
  --shell: #f7e7dd;
  --white: #fffdf9;
  --line: rgba(23, 61, 77, .14);
  --shadow: 0 24px 80px rgba(23, 61, 77, .14);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--foam);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: .65rem 1rem;
  border-radius: 999px;
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 4vw, 5rem);
  color: #fff;
  transition: background .3s ease, box-shadow .3s ease, min-height .3s ease;
}
.site-header.scrolled {
  min-height: 70px;
  color: var(--ink);
  background: rgba(247, 244, 237, .92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.32rem;
  letter-spacing: .02em;
}
.brand img { border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav > a { text-decoration: none; font-size: .93rem; font-weight: 500; }
.site-nav > a:hover { opacity: .68; }
.menu-button { display: none; }

.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 52px;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  background: var(--sunset);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(190, 104, 77, .22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: #f0b095; box-shadow: 0 15px 36px rgba(190, 104, 77, .28); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(232,161,127,.58);
  outline-offset: 3px;
}
.button-small { min-height: 42px; padding: .5rem 1.05rem; }
.button-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.55); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.2); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink) url("assets/hero-sunset.svg") center 55%/cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,38,51,.8) 0%, rgba(10,38,51,.54) 42%, rgba(10,38,51,.08) 75%),
    linear-gradient(0deg, rgba(10,38,51,.38), transparent 38%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 92%);
  padding: 9rem 0 5rem;
  margin-left: clamp(1.5rem, 9vw, 9rem);
}
.eyebrow {
  margin: 0 0 1rem;
  font-size: .78rem;
  line-height: 1.2;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero .eyebrow { color: #f9d6c5; }
h1, h2, h3, blockquote { font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; font-weight: 400; }
h1 {
  margin: 0;
  font-size: clamp(3.6rem, 7.7vw, 7.7rem);
  line-height: .94;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero-copy {
  max-width: 600px;
  margin: 1.8rem 0 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-note { display: flex; align-items: center; gap: .7rem; margin-top: 1.7rem; font-size: .9rem; color: rgba(255,255,255,.82); }
.sun-icon { font-size: 1.5rem; color: #ffd4a2; }
.scroll-cue {
  position: absolute;
  right: clamp(1.4rem, 4vw, 4.5rem);
  bottom: 2rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.25rem;
  animation: float 2.4s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(7px); } }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 6rem); }
.section-heading { max-width: 690px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2, .path-content h2, .youtube-content h2, .cta h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-heading > p:last-child { color: var(--ink-soft); }

.intro { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  max-width: 1250px;
  margin: 4.5rem auto 0;
}
.intro-copy { max-width: 620px; }
.intro-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.intro-copy .lead { color: var(--ink); font-size: 1.35rem; }
.text-link, .card-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  padding: .25rem 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.text-link span, .card-link span { transition: transform .2s ease; }
.text-link:hover span, .card-link:hover span { transform: translateX(4px); }
.quote-card {
  min-height: 390px;
  padding: 3.2rem;
  border-radius: 48% 48% var(--radius-lg) var(--radius-lg) / 34% 34% var(--radius-lg) var(--radius-lg);
  background: linear-gradient(150deg, var(--shell), #f4c8b4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}
.quote-mark { font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: rgba(23,61,77,.28); }
.quote-card blockquote { margin: 1rem 0 2rem; font-size: clamp(1.6rem, 2.4vw, 2.35rem); line-height: 1.3; }
.wave-line { width: 80px; height: 10px; border-top: 2px solid var(--ink); border-radius: 50%; opacity: .6; }

.sessions { background: #edf1ea; }
.session-grid {
  max-width: 1260px;
  margin: 4.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.session-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 2.2rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 50px rgba(23,61,77,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.session-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.session-card.featured { background: var(--ink); color: #fff; transform: translateY(-18px); }
.session-card.featured:hover { transform: translateY(-25px); }
.card-tag { position: absolute; top: 1.15rem; right: 1.15rem; padding: .38rem .7rem; border-radius: 999px; background: var(--sunset); color: var(--ink); font-size: .72rem; font-weight: 600; }
.session-number { font-size: .75rem; letter-spacing: .16em; opacity: .55; }
.session-icon { width: 66px; height: 66px; margin: 3.2rem 0 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--shell); }
.session-icon svg { width: 31px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.featured .session-icon { background: rgba(255,255,255,.12); }
.featured .session-icon svg { stroke: #fff; }
.session-card h3 { margin: 0; font-size: 2rem; }
.session-card p { margin: .8rem 0 2rem; color: var(--ink-soft); }
.featured p { color: rgba(255,255,255,.72); }
.session-card .card-link { margin-top: auto; align-self: flex-start; }
.featured .card-link { color: #fff; }

.path {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.path-visual {
  min-height: 640px;
  border-radius: 260px 260px 36px 36px;
  background: url("assets/hero-sunset.svg") 69% center/cover no-repeat;
  box-shadow: var(--shadow);
}
.path-content { max-width: 600px; }
.path-list { margin: 2.5rem 0 2.8rem; }
.path-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.path-list span { color: var(--sunset-dark); font-size: .78rem; letter-spacing: .12em; }
.path-list p { margin: 0; color: var(--ink-soft); }

.reviews { background: linear-gradient(180deg, #eadbc4 0%, #f7efe3 100%); overflow: hidden; }
.prototype-note { font-size: .86rem; opacity: .75; }
.review-grid { max-width: 1260px; margin: 4rem auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.review-card { min-height: 365px; display: flex; flex-direction: column; padding: 2.2rem; border-radius: var(--radius-lg); background: rgba(255,253,249,.88); box-shadow: 0 15px 50px rgba(91,71,49,.08); }
.review-card.lift { transform: translateY(-18px); }
.stars { color: var(--sunset-dark); letter-spacing: .18em; font-size: .9rem; }
.review-card blockquote { margin: 2rem 0; font-size: 1.47rem; line-height: 1.45; }
.review-card footer { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ocean); color: #fff; }
.review-card footer strong, .review-card footer small { display: block; }
.review-card footer small { color: var(--ink-soft); }

.youtube { background: var(--foam); }
.youtube-card {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border-radius: 42px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.youtube-content { padding: clamp(2.4rem, 5vw, 5rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.youtube-content p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.youtube-content .button { margin-top: 1rem; }
.youtube-content small { margin-top: .9rem; color: rgba(255,255,255,.48); }
.video-preview { min-height: 560px; position: relative; background: url("assets/hero-sunset.svg") 63% center/cover no-repeat; }
.video-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,33,44,.65), transparent 60%); }
.play-button { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); z-index: 2; width: 86px; height: 86px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--sunset-dark); font-size: 1.4rem; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.video-caption { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; z-index: 2; }
.video-caption span, .video-caption strong { display: block; }
.video-caption span { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; color: #ffd7c5; }
.video-caption strong { margin-top: .35rem; font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: 1.55rem; font-weight: 400; }

.cta { text-align: center; background: var(--white); }
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta img { margin: 0 auto 1.5rem; }
.cta p:not(.eyebrow) { color: var(--ink-soft); max-width: 560px; margin: 1rem auto 2rem; }

.site-footer { padding: 4rem clamp(1.25rem, 5vw, 6rem) 2rem; background: #123443; color: rgba(255,255,255,.76); text-align: center; }
.footer-brand { justify-content: center; color: #fff; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.3rem; margin: 2rem 0; }
.footer-links a { text-decoration: none; }
.legal { font-size: .76rem; color: rgba(255,255,255,.45); }

.booking-dialog {
  width: min(980px, calc(100% - 2rem));
  max-height: min(92vh, 920px);
  border: 0;
  border-radius: 32px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 40px 120px rgba(7,30,40,.4);
}
.booking-dialog::backdrop { background: rgba(5,25,34,.72); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(23,61,77,.08); color: var(--ink); font-size: 1.5rem; cursor: pointer; z-index: 2; }
.dialog-header { padding: 2.5rem 2.5rem 1.2rem; background: linear-gradient(135deg, var(--shell), var(--sand)); }
.dialog-header h2 { margin: 0; font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
.dialog-header p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.booking-dialog form { padding: 2rem 2.5rem 2.5rem; }
.session-picker { border: 0; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.session-picker legend { grid-column: 1/-1; width: 100%; margin-bottom: .55rem; font-weight: 600; }
.session-picker label { position: relative; cursor: pointer; }
.session-picker input { position: absolute; opacity: 0; }
.session-picker span { min-height: 84px; display: flex; flex-direction: column; justify-content: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: .2s; }
.session-picker input:checked + span { border-color: var(--ocean); background: rgba(130,169,168,.16); box-shadow: 0 0 0 2px rgba(49,95,104,.14); }
.session-picker small { color: var(--ink-soft); }
.calendar-shell { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem; }
.calendar-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; text-align: center; margin-bottom: .8rem; }
.calendar-arrow { border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: .35rem; }
.calendar-grid > span { padding: .4rem; text-align: center; font-size: .72rem; color: var(--ink-soft); }
.calendar-grid button { min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); cursor: pointer; }
.calendar-grid button:hover:not(:disabled), .calendar-grid button.selected { background: var(--ocean); color: #fff; }
.calendar-grid button:disabled { opacity: .25; cursor: default; }
.time-picker { margin: 1.3rem 0; }
.time-picker p { margin: 0 0 .6rem; font-weight: 600; }
.time-picker > div { display: flex; flex-wrap: wrap; gap: .55rem; }
.time-picker button { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: .55rem .9rem; cursor: pointer; }
.time-picker button.selected { background: var(--sunset); border-color: var(--sunset); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid label { display: flex; flex-direction: column; gap: .35rem; font-size: .86rem; font-weight: 600; }
.full-width { grid-column: 1/-1; }
.form-grid input, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; background: #fff; color: var(--ink); }
.form-grid textarea { resize: vertical; }
.full-button { width: 100%; margin-top: 1rem; }
.form-note { margin: .9rem 0 0; font-size: .75rem; color: var(--ink-soft); text-align: center; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 100; transform: translate(-50%, 160%); padding: .9rem 1.2rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow); transition: transform .3s ease; }
.toast.show { transform: translate(-50%,0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { min-height: 72px; }
  .menu-button { display: block; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: .45rem .8rem; }
  .site-nav { position: fixed; top: 72px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem; border-radius: 18px; background: rgba(247,244,237,.98); color: var(--ink); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: .7rem; }
  .site-nav .button { margin-top: .4rem; }
  .hero-content { margin-left: 1.5rem; padding-right: 1.5rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,38,51,.82), rgba(10,38,51,.35)); }
  .intro-grid, .path, .youtube-card { grid-template-columns: 1fr; }
  .session-grid, .review-grid { grid-template-columns: 1fr; max-width: 650px; }
  .session-card, .session-card.featured, .session-card.featured:hover, .review-card.lift { transform: none; }
  .path-visual { min-height: 500px; }
  .youtube-content { order: 2; }
  .video-preview { min-height: 430px; }
}

@media (max-width: 620px) {
  .brand span { font-size: 1.05rem; }
  .brand img { width: 40px; height: 40px; }
  .hero { min-height: 870px; background-position: 62% center; }
  .hero-content { width: auto; margin-left: 0; padding-inline: 1.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding-inline: 1.1rem; }
  .quote-card { padding: 2rem; min-height: 320px; }
  .session-card { min-height: 390px; padding: 1.7rem; }
  .path-visual { min-height: 420px; border-radius: 180px 180px 28px 28px; }
  .review-card { min-height: 320px; }
  .youtube-card { border-radius: 26px; }
  .video-preview { min-height: 360px; }
  .dialog-header { padding: 2rem 1.2rem 1rem; }
  .booking-dialog form { padding: 1.3rem 1.2rem 2rem; }
  .session-picker { grid-template-columns: 1fr; }
  .session-picker span { min-height: 66px; }
  .form-grid { grid-template-columns: 1fr; }
  .calendar-grid button { min-height: 36px; padding: 0; }
  .toast { width: calc(100% - 2rem); text-align: center; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Live-site scheduling placeholder. Replace this block when a calendar provider is connected. */
.booking-coming-soon { overflow: auto; }
.booking-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 2.5rem 1rem;
}
.booking-options article {
  min-height: 205px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.booking-options article:nth-child(2) { background: var(--ink); color: #fff; }
.booking-options article:nth-child(2) p { color: rgba(255,255,255,.72); }
.booking-options span { font-size: .72rem; letter-spacing: .16em; opacity: .55; }
.booking-options h3 { margin: 1.8rem 0 .5rem; font-size: 1.65rem; }
.booking-options p { margin: 0; color: var(--ink-soft); }
.booking-status { padding: 1.1rem 2.5rem 2.5rem; text-align: center; }
.booking-status > strong { display: block; font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.booking-status p { max-width: 640px; margin: .7rem auto 1.4rem; color: var(--ink-soft); }
.booking-status .button { min-width: 240px; }
.review-card blockquote { font-size: 1.25rem; }

@media (max-width: 700px) {
  .booking-options { grid-template-columns: 1fr; padding: 1.4rem 1.2rem .8rem; }
  .booking-options article { min-height: auto; }
  .booking-options h3 { margin-top: .8rem; }
  .booking-status { padding: 1rem 1.2rem 1.8rem; }
}
