/* ==========================================================
   Ron & Jody: Your Guide to Water & Wellness
   Brand colour lives in --blue. Swap it once your logo colour is final.
   ========================================================== */
:root {
  --blue: #1463C3;          /* PLACEHOLDER brand blue */
  --blue-dark: #0F4E9C;
  --blue-soft: #E8F0FB;
  --mist: #F4F7FB;
  --navy: #0B1F3A;
  --navy-2: #13294B;
  --ink: #14213A;
  --muted: #56627A;
  --line: #E2E7EF;
  --white: #FFFFFF;
  --danger: #B42318;
  --danger-soft: #FEF3F2;
  --ok: #117A4B;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 12px 32px -12px rgba(11, 31, 58, .18);
  --gutter: 20px;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1080px; }

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

/* Clearly-labelled placeholder copy — remove the .ph span when you add real text */
.ph {
  background: #FFF7DB;
  box-shadow: 0 0 0 3px #FFF7DB;
  border-radius: 2px;
  color: #6B5310;
  font-style: normal;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 6.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 14.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(20, 99, 195, .6); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--lg { min-height: 58px; padding: 16px 34px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--ghost {
  background: #fff; color: var(--navy); border-color: var(--line);
  letter-spacing: .02em; text-transform: none; font-size: 15px; font-weight: 600;
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn[disabled] { cursor: progress; opacity: .85; transform: none; }

.spinner {
  display: none; width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================
   1. Announcement
   ========================================================== */
.announce { background: var(--navy); color: #fff; padding: 26px 0 24px; }
.announce__inner { text-align: center; }
.announce__quote { margin: 0 auto 18px; max-width: 34ch; }
.announce__quote p {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 4.4vw, 22px); line-height: 1.4; color: #DCE7F7;
}
.announce__when {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
  margin: 0 0 14px; font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
}
.announce__when .sep { color: #7F95B8; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5BA4FF; box-shadow: 0 0 0 4px rgba(91, 164, 255, .2); }

.countdown { display: inline-grid; grid-template-columns: repeat(4, minmax(62px, 1fr)); gap: 8px; }
.countdown__cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 6px 8px; border-radius: var(--radius-sm);
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08);
}
.countdown__num {
  font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.countdown__label { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB3D1; }
.countdown__status { margin: 12px 0 0; font-weight: 600; color: #DCE7F7; }

/* ==========================================================
   2. Hero
   ========================================================== */
.hero { padding: 36px 0 34px; text-align: center; }
.brand {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  margin-bottom: 44px; color: var(--navy);
}
.brand__mark { width: 22px; height: 22px; color: var(--blue); }
.brand__name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand__tag { font-size: 13px; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(36px, 8.6vw, 64px);
  line-height: 1.06; letter-spacing: -.022em;
  color: var(--navy);
  margin: 0 auto 22px; max-width: 19ch;
}
.hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--blue); }
.hero__sub { font-size: clamp(18px, 4.4vw, 21px); line-height: 1.55; color: var(--ink); max-width: 36ch; margin: 0 auto 16px; }
.hero__note { color: var(--muted); max-width: 54ch; margin: 0 auto 26px; font-size: 16px; }
.hero__facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0; padding: 0; list-style: none;
}
.hero__facts li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line);
  font-size: 14px; color: var(--navy);
}
.hero__facts strong { color: var(--blue); }

/* ==========================================================
   3. Video
   ========================================================== */
.vsl { padding: 6px 0 64px; }
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow);
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video__facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer; background: var(--navy); color: #fff;
}
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(18px, 4vw, 40px); text-align: left;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(20, 99, 195, .45), transparent 60%),
    var(--navy);
}
.video__cover::before { /* quiet ripple lines */
  content: ""; position: absolute; right: -8%; top: -30%; width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 0 0 40px rgba(255,255,255,.0), 0 0 0 41px rgba(255,255,255,.06), 0 0 0 90px rgba(255,255,255,0), 0 0 0 91px rgba(255,255,255,.045);
}
.video__cover-kicker { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9FC3F5; margin-bottom: 6px; }
.video__cover-title { position: relative; font-family: var(--serif); font-size: clamp(22px, 4.6vw, 38px); line-height: 1.1; max-width: 14ch; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: clamp(64px, 12vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; color: var(--blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .2s ease;
}
.video__play svg { width: 42%; margin-left: 6%; }
.video__facade:hover .video__play { transform: translate(-50%, -50%) scale(1.06); }

.cta-block { margin-top: 30px; text-align: center; }
.cta-block__note { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }

/* ==========================================================
   4. Learn
   ========================================================== */
.learn { background: var(--mist); padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }
.learn__grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.learn__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px;
}
.learn__card p { margin: 0; color: var(--muted); font-size: 16px; }
.learn__num {
  display: block; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--blue); font-weight: 400;
}
.learn__title {
  margin-bottom: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); line-height: 1.4;
}

/* ==========================================================
   5. Story
   ========================================================== */
.story { padding: 80px 0; }
.story__grid { display: grid; gap: 36px; }
.story__text { max-width: 60ch; }
.story__text .section-title { margin-bottom: 22px; }
.story__text p { color: var(--ink); }
.story__lead { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--navy) !important; }
.story__sub { margin: 28px 0 8px; font-family: var(--serif); font-size: 21px; color: var(--navy); }
.story__sign { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blue) !important; }
.story__candids { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--land { aspect-ratio: 4 / 3; }
.photo__placeholder {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 16px; text-align: center;
  border: 1.5px dashed #B9C7DB; border-radius: var(--radius);
  color: var(--muted); font-size: 14px; font-weight: 700;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(20, 99, 195, .035) 14px 15px),
    var(--mist);
}
.photo__placeholder small { font-weight: 500; font-size: 12.5px; }

/* ==========================================================
   6. Register
   ========================================================== */
.register { background: var(--navy); padding: 72px 0; }
.register:focus { outline: none; }
.register__card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border-radius: 18px; padding: 36px 22px 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.register__title {
  font-family: var(--serif); text-align: center; color: var(--navy);
  font-size: clamp(27px, 6vw, 36px); line-height: 1.14; letter-spacing: -.015em; margin-bottom: 12px;
}
.register__sub { text-align: center; color: var(--muted); max-width: 40ch; margin: 0 auto 16px; }
.register__when {
  margin: 0 auto 26px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--blue-soft); color: var(--navy); text-align: center; font-size: 14.5px; font-weight: 600;
}
.register__local { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; }

.form { display: grid; gap: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.field input {
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: 500 17px/1.3 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #CBD4E1; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:hover { border-color: #9FB0C8; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 99, 195, .15); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.field__error { margin: 6px 0 0; min-height: 0; font-size: 14px; color: var(--danger); }
.field__error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }

.form__alert { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--danger-soft); color: var(--danger); font-size: 15px; }
.form__privacy { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; }

.success { text-align: center; padding: 8px 0; }
.success:focus { outline: none; }
.success__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue-soft); color: var(--blue);
}
.success__icon svg { width: 30px; }
.success__hint { font-size: 14.5px; color: var(--muted); }
.success__cal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 22px; }
.success__sign { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--blue); }

/* ==========================================================
   7. Footer
   ========================================================== */
.footer { background: #fff; padding: 40px 0 36px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.footer__brand { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.footer__tag { margin: 0; font-size: 14px; color: var(--muted); }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--navy); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.footer__links a:hover { color: var(--blue); text-decoration: underline; }
.footer__legal { border-top: 1px solid var(--line); padding-top: 22px; }
.footer__legal p { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-bottom: .8em; }

@media (max-width: 639px) {
  .announce__when .sep { display: none; }
  .brand__tag { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .video__play { left: auto; top: 16px; right: 16px; transform: none; width: 56px; }
  .video__facade:hover .video__play { transform: scale(1.06); }
}

/* ==========================================================
   Larger screens
   ========================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .countdown { grid-template-columns: repeat(4, 84px); gap: 10px; }
  .countdown__num { font-size: 34px; }
  .register__card { padding: 44px 44px 34px; }
  .learn__grid { gap: 20px; }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .announce { padding: 30px 0 28px; }
  .announce__inner { max-width: 1080px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; text-align: left; }
  .announce__quote { margin: 0; max-width: 30ch; }
  .announce__meta { text-align: center; }
  .hero { padding: 44px 0 44px; }
  .brand { margin-bottom: 64px; }
  .vsl { padding-bottom: 88px; }
  .learn { padding: 100px 0; }
  .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
  .section-head .eyebrow { order: 2; margin: 0 0 8px; }
  .learn__grid { grid-template-columns: repeat(3, 1fr); }
  .learn__card { padding: 34px 30px 32px; }

  .story { padding: 110px 0; }
  .story__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "main text" "candids text";
    grid-template-rows: auto 1fr;
    column-gap: 64px; row-gap: 16px; align-items: start;
  }
  .story__main { grid-area: main; }
  .story__text { grid-area: text; padding-top: 8px; }
  .story__candids { grid-area: candids; gap: 16px; }

  .register { padding: 100px 0; }
}
