@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,620&family=Outfit:wght@400;500;600&display=swap");

:root {
  --lagoon: #07343c;
  --deep: #04191e;
  --foam: #f7f1e6;
  --sand: #e8d4b0;
  --gold: #a9783b;
  --ink: #172321;
  --muted: #5c564c;
  --line: rgba(23, 35, 33, 0.14);
  --card: rgba(255, 252, 246, 0.86);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(169, 120, 59, 0.28), transparent 55%),
    radial-gradient(800px 520px at 100% 8%, rgba(14, 110, 120, 0.22), transparent 50%),
    linear-gradient(180deg, #f8f3ea 0%, #f3e6d2 42%, #f7f1e6 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: -30% -10%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'><path d='M0 20 Q20 8 40 20 T80 20 T120 20 T160 20' fill='none' stroke='%23a9783b' stroke-width='0.6'/></svg>");
  animation: tide 48s linear infinite;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 12px; }
h1, h2, h3 { font-family: Fraunces, serif; font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 12px; }
h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 26px; }

.ribbon, .top, .wrap, .band, .close { position: relative; z-index: 1; }
.ribbon {
  background: var(--lagoon);
  color: var(--sand);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; border: 1px solid var(--gold); }
.mark strong { display: block; font-family: Fraunces, serif; font-size: 20px; line-height: 1; }
.mark small { display: block; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-size: 10px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nav a { text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--gold); }
.go {
  display: inline-block;
  background: var(--lagoon);
  color: var(--foam);
  text-decoration: none;
  padding: 12px 16px;
  font-weight: 600;
  border: 1px solid var(--lagoon);
}
.go.light { background: transparent; color: var(--ink); }
.go:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 18px 0 64px; }
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 560px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(4, 25, 30, 0.08);
}
.hero-copy { padding: 48px 44px; display: flex; flex-direction: column; justify-content: flex-end; }
.kicker { color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.hero p.lead { color: var(--muted); max-width: 38ch; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.facts { display: flex; gap: 18px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: Fraunces, serif; font-size: 22px; }
.facts span { color: var(--muted); font-size: 13px; }
.stage { position: relative; overflow: hidden; min-height: 560px; background: #d9c7a4; }
.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(104%);
  transition: transform 1s ease;
}
.stage img.is-here { transform: translateX(0); z-index: 1; }
.stage img.is-here { animation: ken 18s ease-in-out infinite alternate; }

.band { background: var(--lagoon); color: var(--foam); padding: 54px 0; }
.band .wrap { padding: 0; }
.band h2, .band p { color: var(--foam); }
.trio, .grid, .notes, .story-list { display: grid; gap: 14px; }
.trio { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.trio article, .card, .note, .price-row, details {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
}
.band .trio article { background: rgba(255, 252, 246, 0.08); border-color: rgba(247, 241, 230, 0.2); color: var(--foam); }
.grid { grid-template-columns: repeat(3, 1fr); }
.card { padding: 0; overflow: hidden; transition: transform 0.35s ease; }
.card:hover { transform: translateY(-6px); }
.card img { height: 190px; width: 100%; object-fit: cover; }
.card div { padding: 16px; }
.card em { color: var(--gold); font-style: normal; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.card b { color: var(--lagoon); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: center; margin: 28px 0; }
.split img { height: 420px; width: 100%; object-fit: cover; border: 1px solid var(--line); }
.notes { grid-template-columns: repeat(3, 1fr); }
.note { background: #fffdf8; }
.note q { font-family: Fraunces, serif; font-size: 22px; display: block; margin-bottom: 12px; }
.note span { color: var(--muted); font-size: 14px; }
.story-list { grid-template-columns: 1fr; }
.story-list a { display: grid; grid-template-columns: 180px 1fr; gap: 16px; text-decoration: none; background: var(--card); border: 1px solid var(--line); }
.story-list img { height: 140px; width: 100%; object-fit: cover; }
.story-list div { padding: 16px 16px 16px 0; }
.page-hero { padding: 20px 0 8px; }
.page-hero p { max-width: 62ch; color: var(--muted); }
details { margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 8px; color: var(--muted); }
.price-row { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 12px; align-items: center; margin-bottom: 10px; }
.price-row b { justify-self: end; color: var(--lagoon); font-size: 20px; }
form { display: grid; gap: 10px; max-width: 560px; }
input, textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
}
button.go { cursor: pointer; }
.thanks { border: 1px solid var(--gold); padding: 14px; background: #fffdf8; }
.foot {
  background: var(--deep);
  color: var(--foam);
  padding: 48px 0 28px;
  position: relative;
  z-index: 1;
}
.foot::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -28px;
  height: 28px;
  background: radial-gradient(18px 18px at 18px 28px, var(--deep) 17px, transparent 18px);
  background-size: 36px 28px;
}
.foot-grid { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 22px; }
.foot a { color: var(--sand); text-decoration: none; display: block; margin: 6px 0; }
.foot small { color: rgba(247, 241, 230, 0.7); }
.post { max-width: 720px; }
.post img { height: 380px; width: 100%; object-fit: cover; margin: 12px 0 18px; border: 1px solid var(--line); }

.reel { overflow: hidden; }
.reel-track { display: flex; width: max-content; gap: 14px; animation: ltr 42s linear infinite; }
.reel-track img { width: 440px; height: 280px; object-fit: cover; flex: 0 0 auto; max-width: none; }
.word-reel { padding: 36px 0; background: rgba(232, 212, 176, 0.55); }
.lesson { display: grid; grid-template-columns: minmax(240px, 0.78fr) 1.22fr; gap: 28px; align-items: start; }
.lesson.flip { grid-template-columns: 1.22fr minmax(240px, 0.78fr); }
.lesson .pan { height: 420px; position: sticky; top: 16px; }
.lesson .copy h3 { margin-top: 18px; }
.lesson-reel { margin: 0 0 18px; }
.real-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.real { background: #fffdf8; border: 1px solid var(--line); display: grid; text-decoration: none; }
.real img { width: 100%; height: 230px; object-fit: cover; background: #efe8dc; }
.real div { padding: 14px; display: grid; gap: 6px; }
.real em { color: var(--gold); font-style: normal; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.real b { color: var(--lagoon); }
.showcase { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: stretch; margin-bottom: 18px; background: #fffdf8; border: 1px solid var(--line); }
.showcase img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; background: #efe8dc; }
.showcase div { padding: 32px 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.reel.real-run .reel-track img { width: 340px; height: 260px; object-fit: cover; background: #efe8dc; }
.lesson-reel .reel-track img { width: 300px; height: 180px; }
.reel.slow .reel-track { animation-duration: 68s; }
.reel.fast .reel-track { animation-duration: 28s; }
.reel.mid .reel-track img { width: 320px; height: 220px; }
.words { align-items: center; gap: 0; }
.words p {
  margin: 0;
  font-family: Fraunces, serif;
  font-size: clamp(28px, 4vw, 48px);
  white-space: nowrap;
  padding-right: 24px;
}
.pan { overflow: hidden; height: 460px; }
.pan img { width: 145%; max-width: none; height: 100%; object-fit: cover; animation: panltr 20s ease-in-out infinite alternate; }
.pan.short { height: 240px; }
.pan.tall { height: 620px; }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 210px; gap: 12px; }
.tile { position: relative; overflow: hidden; background: var(--lagoon); color: var(--foam); }
.tile img { width: 130%; max-width: none; height: 100%; object-fit: cover; animation: panltr 18s ease-in-out infinite alternate; }
.tile span, .tile strong { position: absolute; left: 14px; bottom: 14px; background: rgba(4, 25, 30, 0.62); color: var(--foam); padding: 6px 10px; }
.tile.ink { display: flex; align-items: flex-end; padding: 16px; }
.tile.ink strong { position: static; background: transparent; font-family: Fraunces, serif; font-size: 28px; }
.tile.wide { grid-column: span 2; }
.shore-photo {
  min-height: 620px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: 0% 50%;
  animation: bgpan 30s ease-in-out infinite alternate;
  color: var(--foam);
}
.shore-photo .wrap { padding-bottom: 48px; }
.shore-photo h2 { max-width: 12ch; font-size: clamp(42px, 6vw, 78px); }
.stops { display: grid; gap: 26px; }
.stop { display: grid; grid-template-columns: 72px 1.1fr 0.9fr; gap: 18px; align-items: center; }
.stop b { font-family: Fraunces, serif; font-size: 40px; color: var(--gold); }
.sheet { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; align-items: stretch; }
.sheet ol { margin: 0; padding-left: 18px; }
.sheet li { margin: 10px 0; }
.ask { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.ask article { min-height: 220px; padding: 22px; background: var(--lagoon); color: var(--foam); display: flex; flex-direction: column; justify-content: flex-end; }
.ask article:nth-child(2) { background: #14484a; }
.ask article:nth-child(3) { background: #8d6232; color: var(--foam); }
.price-run { display: flex; gap: 14px; }
.price-run article { width: 280px; flex: 0 0 auto; background: rgba(255, 252, 246, 0.1); border: 1px solid rgba(247, 241, 230, 0.25); padding: 0; }
.price-run img { height: 140px; width: 100%; object-fit: cover; }
.price-run div { padding: 12px; }
.close-shore { min-height: 520px; align-items: center; }
.close-shore h2 { max-width: 16ch; }

@keyframes ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes panltr { from { transform: translateX(-22%); } to { transform: translateX(0); } }
@keyframes bgpan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes tide { from { transform: translateX(0); } to { transform: translateX(-160px); } }
@keyframes ken { from { transform: translateX(0) scale(1); } to { transform: translateX(0) scale(1.06); } }
.stage img.is-here.drift { animation: ken 18s ease-in-out infinite alternate; }

@media (max-width: 860px) {
  .hero, .split, .trio, .grid, .notes, .foot-grid, .story-list a, .price-row, .mosaic, .stop, .sheet, .ask, .lesson, .lesson.flip, .real-grid, .showcase { grid-template-columns: 1fr; }
  .showcase img { min-height: 280px; }
  .lesson .pan { position: relative; top: auto; height: 260px; }
  .tile.wide { grid-column: auto; }
  .reel-track img { width: 260px; height: 180px; }
  .hero-copy { padding: 28px 20px; }
  .stage, .split img, .post img { min-height: 280px; height: 280px; }
  .top { align-items: flex-start; flex-direction: column; }
  .price-row b { justify-self: start; }
  .story-list div { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
