:root {
  --sand: #f5eee4;
  --paper: #fbf8f3;
  --ink: #1e232c;
  --sea: #22303d;
  --sea-deep: #18222c;
  --ember: #b4572f;
  --ember-soft: #e2a27a;
  --muted: #6a6357;
  --rule: rgba(30, 35, 44, .14);
  --rule-light: rgba(245, 238, 228, .18);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.25rem, 1.14rem + .4vw, 1.45rem);
  line-height: 1.6;
  font-weight: 380;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -.012em; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--sand); padding: .7em 1.1em; z-index: 50;
}
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- header ---------- */
.top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem 2rem; padding: 1.4rem var(--gutter); background: var(--paper);
}
.mark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.2; }
.mark b { font-weight: 500; font-size: 1.4rem; }
.mark small { font-size: 1rem; color: var(--muted); margin-top: .25rem; }
.top nav { display: flex; flex-wrap: wrap; gap: .75rem 1.6rem; align-items: center; font-size: 1.1rem; }
.top nav a { text-underline-offset: .3em; text-decoration-thickness: 1px; }
.top nav a:hover { color: var(--ember); }
.top-call { white-space: nowrap; }
::selection { background: var(--ember); color: var(--paper); }
a { text-underline-offset: .2em; }

/* ---------- opening, text over the photograph ---------- */
.opening { position: relative; isolation: isolate; background: var(--sea-deep); color: var(--paper); }
.opening-photo { position: absolute; inset: 0; z-index: -2; }
.opening-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.opening::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15,22,30,.65); }
.opening-text { max-width: 80rem; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.opening h1 {
  font-size: clamp(2.35rem, 1.55rem + 2.8vw, 4.5rem);
  line-height: 1.08; letter-spacing: -.018em; font-weight: 450;
  max-width: 25ch; margin-bottom: 2rem; text-wrap: balance;
}
.opening .lede { max-width: 39ch; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.35; margin-bottom: 1.3rem; }
.opening .lede:last-of-type { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; align-items: center; margin-top: 2.5rem; }
.btn {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35em .7em;
  background: var(--sand); color: var(--ink); text-decoration: none;
  font-size: 1.15rem; padding: .95em 1.25em; border-radius: 2px;
  transition: background .25s ease;
}
.btn:hover { background: #e2a27a; }
.btn .num { font-variant-numeric: lining-nums; font-weight: 500; }
.opening :focus-visible { outline-color: var(--paper); }
@media (max-width: 480px) {
  .top { gap: 1rem; }
  .top nav { justify-content: space-between; width: 100%; }
}

/* ---------- the meaning of the name ---------- */
.meaning {
  padding: clamp(5rem, 12vw, 10rem) var(--gutter) clamp(4rem, 9vw, 7rem);
  background: var(--paper);
}
.meaning-inner { max-width: 68rem; margin: 0 auto; }
.meaning blockquote {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.3vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -.018em;
  font-weight: 330;
  max-width: 34ch;
}
.meaning blockquote em { color: var(--ember); }
.meaning-body {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  max-width: var(--measure);
  margin-left: auto;
  color: #3d3d3f;
}
.meaning-intro { max-width: 55ch; margin-bottom: 3rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.4; }
.meaning-intro p:last-child { margin-bottom: 0; color: var(--muted); }
.meaning-body { font-size: 1.15em; }

/* ---------- the results ---------- */
.results {
  background: var(--sea);
  color: var(--sand);
  padding: clamp(5rem, 11vw, 9rem) var(--gutter);
}
.results-inner { max-width: 72rem; margin: 0 auto; }
.results .label { color: var(--ember-soft); }
.results h2 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem);
  line-height: 1.08; max-width: 18ch; font-weight: 330;
}
.results-intro { max-width: 30rem; color: rgba(245,238,228,.78); margin-top: 1.5rem; }

.headline-result {
  margin: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  display: grid; gap: 1rem 3rem; align-items: end;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--rule-light);
}
.headline-result .big {
  font-size: clamp(5rem, 2.5rem + 12vw, 12.5rem);
  line-height: .82; letter-spacing: -.05em; font-weight: 300;
  color: var(--ember-soft);
  font-variant-numeric: lining-nums;
}
.headline-result .big small {
  display: block; font-size: .2em; letter-spacing: .02em; color: var(--sand);
  margin-top: .9rem; font-style: italic; font-weight: 350;
}
.headline-result p { max-width: 26rem; margin: 0; font-size: 1.08em; }
@media (min-width: 820px) {
  .headline-result { grid-template-columns: auto 1fr; }
  .headline-result p { padding-bottom: .9rem; }
}

.result-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 4rem;
  counter-reset: r 1;
}
.result-list li {
  counter-increment: r;
  padding: 1.6rem 0 1.7rem;
  border-bottom: 1px solid var(--rule-light);
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 .6rem;
}
.result-list li::before {
  content: counter(r, decimal-leading-zero);
  font-size: .8rem; letter-spacing: .1em; color: var(--ember-soft);
  padding-top: .45rem; font-variant-numeric: lining-nums tabular-nums;
}
.result-list h3 { font-size: 1.3em; line-height: 1.25; margin-bottom: .35rem; font-weight: 420; }
.result-list p { margin: 0; color: var(--sand); font-size: 1.12em; line-height: 1.45; }
@media (min-width: 820px) {
  .result-list { grid-template-columns: 1fr 1fr; }
  .result-list li:nth-child(even) { transform: translateY(2.4rem); }
}
.results-note {
  margin: clamp(4rem, 8vw, 6rem) 0 0; font-style: italic;
  color: rgba(245,238,228,.6); font-size: .92em; max-width: 34rem;
}

/* ---------- photograph band ---------- */
.band { position: relative; background: var(--sea-deep); }
.band img { width: 100%; height: clamp(320px, 62vw, 760px); object-fit: cover; object-position: 50% 70%; }
.band figcaption {
  position: absolute; right: var(--gutter); bottom: 1.1rem;
  font-size: .78rem; font-style: italic; color: rgba(245,238,228,.85);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

/* ---------- guidance ---------- */
.guide { padding: clamp(5rem, 11vw, 9rem) var(--gutter); background: var(--sand); }
.guide-inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; gap: 3rem 5rem;
}
.guide h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.06; font-weight: 330; max-width: 16ch; }
.guide-people { display: grid; gap: 2.6rem; }
.person { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.person h3 { font-size: 1.45em; line-height: 1.2; margin-bottom: .5rem; font-weight: 420; }
.person h3 span { display: block; font-size: .62em; font-style: italic; color: var(--ember); font-weight: 360; margin-top: .3rem; letter-spacing: 0; }
.person p { margin: 0; max-width: var(--measure); color: #3d3d3f; font-size: 1.15em; }
.person.lead h3 { font-size: clamp(1.7em, 1.2em + 1.6vw, 2.3em); }
@media (min-width: 900px) {
  .guide-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .guide h2 { position: sticky; top: 3rem; align-self: start; }
}

/* ---------- the week ---------- */
.week { background: var(--paper); padding: clamp(5rem, 11vw, 9rem) var(--gutter); }
.week-inner { max-width: 72rem; margin: 0 auto; }
.week h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.06; font-weight: 330; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.sessions { border-top: 2px solid var(--ink); }
.session {
  display: grid; gap: .3rem 2rem;
  padding: 1.8rem 0 1.9rem;
  border-bottom: 1px solid var(--rule);
}
.session h3 { font-size: 1.5em; font-weight: 420; line-height: 1.15; }
.session .when { font-variant-numeric: lining-nums; }
.session .days { color: var(--muted); font-style: italic; }
.session .time { font-size: 1.35em; font-weight: 400; letter-spacing: -.01em; }
.session .who { color: #3d3d3f; }
@media (min-width: 820px) {
  .session { grid-template-columns: 1.1fr 1fr 1.2fr; align-items: baseline; }
}

.terms {
  display: grid; gap: 2.4rem 4rem;
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}
.terms h3 { font-size: 1.15em; font-weight: 500; margin-bottom: .4rem; }
.terms p { margin: 0; color: #3d3d3f; }
@media (min-width: 820px) { .terms { grid-template-columns: repeat(2, 1fr); } }

/* ---------- call ---------- */
.call { position: relative; color: var(--sand); background: var(--sea-deep); overflow: hidden; }
.call img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.call::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(24, 28, 38, .42);
}
.call-inner {
  position: relative; z-index: 1;
  min-height: clamp(560px, 92vh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6rem var(--gutter) clamp(4rem, 9vw, 7rem);
  max-width: 80rem; margin: 0 auto;
}
.call h2 {
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem);
  line-height: 1.02; letter-spacing: -.026em; font-weight: 320;
  max-width: 18ch; margin-bottom: 1.6rem;
  text-shadow: 0 2px 30px rgba(10, 12, 18, .25);
}
.call p { max-width: 28rem; color: rgba(245,238,228,.9); }
.call-number {
  display: inline-block; align-self: flex-start; margin-top: 1.4rem;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  font-variant-numeric: lining-nums; letter-spacing: -.01em; font-weight: 360;
  text-decoration: none; border-bottom: 1px solid rgba(245,238,228,.55);
  padding-bottom: .1em; transition: border-color .25s ease;
}
.call-number:hover { border-color: var(--ember-soft); }
.call-where { margin-top: 1.4rem; font-style: italic; color: rgba(245,238,228,.78); }

/* ---------- footer ---------- */
.foot {
  background: var(--sea-deep); color: rgba(245,238,228,.72);
  padding: 3.5rem var(--gutter) 6.5rem; font-size: .9rem; line-height: 1.6;
}
.foot-inner { max-width: 72rem; margin: 0 auto; display: grid; gap: 2rem 4rem; }
.foot strong { color: var(--sand); font-weight: 500; font-size: 1.15rem; display: block; margin-bottom: .4rem; }
.foot p { margin: 0 0 .6rem; }
.foot a { color: var(--sand); }
.foot .credits { font-size: .8rem; color: rgba(245,238,228,.55); }
.foot .credits a { color: rgba(245,238,228,.75); }
@media (min-width: 820px) { .foot-inner { grid-template-columns: 1fr 1.3fr 1fr; } .foot { padding-bottom: 3.5rem; } }

/* ---------- phone call bar ---------- */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--sand);
  text-decoration: none; padding: .95rem 1.2rem; border-radius: 3px;
  box-shadow: 0 10px 30px rgba(20, 24, 32, .25);
  font-size: 1rem;
  transform: translateY(0); transition: transform .35s ease, opacity .35s ease;
}
.callbar b { font-weight: 500; font-variant-numeric: lining-nums; }
.callbar.away { transform: translateY(140%); opacity: 0; }
@media (min-width: 820px) { .callbar { display: none; } }

/* ---------- gentle arrival ---------- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
}

/* ---------- testimonials ---------- */
.testimonials-intro { max-width: 80rem; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter) 2.5rem; }
.testimonials-intro h1 { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 380; line-height: 1.08; }
.video-gallery { max-width: 80rem; margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem); display: grid; gap: 3.5rem 2.5rem; }
.video-story { min-width: 0; margin: 0; }
.video-story video, .youtube-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--sea-deep); object-fit: contain; border: 0; }
.video-story figcaption { padding-top: 1rem; }
.video-story h2 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
.video-story .video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: .4rem; font-size: 1.05rem; color: var(--muted); }
.video-story a:hover { color: var(--ember); }
.video-error { font-size: 1.1rem; margin-top: .75rem; }
.video-error[hidden] { display: none; }
@media (min-width: 820px) { .video-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.video-story.portrait video { aspect-ratio: 9 / 16; max-height: 38rem; }
.video-story video { color: var(--paper); }

/* A distinct Florida sea-oats photograph gives the testimonial gallery its own setting. */
.testimonials-page { position: relative; isolation: isolate; background: var(--sea-deep); color: var(--sand); }
.testimonials-page::before, .testimonials-page::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
}
.testimonials-page::before {
  z-index: -2; background: url("img/testimonials-dunes-2000.jpg") center center / cover no-repeat;
}
.testimonials-page::after { z-index: -1; background: rgba(15, 24, 33, .68); }
.testimonials-page .top { background: rgba(24, 34, 44, .94); border-bottom: 1px solid var(--rule-light); }
.testimonials-page .mark small { color: #d5cfc5; }
.testimonials-page .top nav a:hover { color: var(--ember-soft); }
.testimonials-page .video-story { background: rgba(24, 34, 44, .9); border: 1px solid var(--rule-light); }
.testimonials-page .video-story figcaption { padding: 1.25rem 1.35rem 1.4rem; }
.testimonials-page .video-story .video-meta { color: #d5cfc5; }
.testimonials-page .video-story a:hover { color: var(--ember-soft); }
.testimonials-page :focus-visible { outline-color: var(--ember-soft); }
