
/* ---------- Goldoni (Sharkshock DEMO — personal use; keep assets/fonts/readme.txt) ---------- */
@font-face {
  font-family: 'Goldoni';
  src: url('/assets/fonts/Goldoni_DEMO.otf') format('opentype');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

/* ============================================
   mar.dog — Beachy handmade storybook
   Sky + sea + surfboard dog — warm, playful, not luxury editorial
   ============================================ */

:root {
  --sky: #87ceeb;
  --sky-deep: #5bb8e0;
  --sky-pale: #d6f0fa;
  --sand: #e8c98a;
  --sand-light: #f6e2b8;
  --sea: #2a7eb5;
  --sea-deep: #1a5a8a;
  --grass: #7ec850;
  --grass-deep: #5a9e35;
  --grass-light: #a8e06a;
  --wood: #c48a4a;
  --wood-deep: #8b5a2b;
  --wood-light: #e0b070;
  --cream: #fff8e7;
  --cream-wall: #fff4dc;
  --coral: #ff7a6e;
  --burgundy: #ff7a6e; /* alias for older inline styles */
  --coral-deep: #e85a4f;
  --peach: #ffb089;
  --sun: #ffe566;
  --flower-pink: #ff8fb8;
  --flower-yellow: #ffd54a;
  --flower-purple: #c59bff;
  --ink: #3d2e24;
  --ink-soft: #5c4a3d;
  --ink-muted: #8a7464;
  --white: #ffffff;
  --fence: #f5e6c8;
  --fence-edge: #d4b888;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow: 0 12px 28px -10px rgba(61, 46, 36, 0.22);
  --shadow-sm: 0 6px 16px -6px rgba(61, 46, 36, 0.14);
  --font-display: "Goldoni", "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
  --max: 1080px;
  --header-h: 68px;
  --ease: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-home {
  background: linear-gradient(180deg, #5bb8e0 0%, #87ceeb 48%, #2a7eb5 52%, #1a5a8a 100%);
  overflow-x: hidden;
  overflow-y: auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--coral-deep);
  margin-bottom: 0.65rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 36em;
}

/* ---------- Header (inner pages) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 248, 231, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--wood-light);
  box-shadow: 0 4px 0 rgba(139, 90, 43, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sun), var(--peach));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 0 var(--coral-deep);
  border: 2px solid var(--ink);
  overflow: hidden;
}

.logo-mark svg { width: 20px; height: 20px; }
.logo-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.logo .dot { color: var(--coral); font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.35rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.2s var(--ease);
  position: relative;
  padding: 0.25rem 0.15rem;
}

.nav a:hover {
  color: var(--coral-deep);
  transform: translateY(-1px);
}

.nav a[aria-current="page"] {
  color: var(--coral-deep);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--sun);
  border-radius: 4px;
  border: 1.5px solid var(--ink);
}

.nav-cta {
  padding: 0.45rem 1.05rem !important;
  background: var(--coral);
  color: var(--white) !important;
  border-radius: 999px;
  font-size: 0.88rem !important;
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.nav-cta:hover {
  background: var(--coral-deep) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

.nav-cta[aria-current="page"]::after { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--sun);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--ink);
  margin: 4px 0;
  transition: 0.25s var(--ease-soft);
  border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Home: floating wordmark logo (bigger) ---------- */
.home-chrome {
  position: fixed;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-chrome .logo {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.logo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0;
}

.logo-wordmark-img {
  width: clamp(72px, 12vw, 110px);
  height: auto;
  display: block;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(61, 46, 36, 0.35);
  background: #000;
}

.home-chrome .logo-wordmark-img {
  width: clamp(100px, 16vw, 168px);
  box-shadow: 5px 5px 0 rgba(61, 46, 36, 0.4);
}

.site-header .logo-wordmark-img {
  width: clamp(64px, 10vw, 88px);
}

.logo-wordmark-img--footer {
  width: clamp(96px, 14vw, 128px);
  border-color: var(--cream);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

/* Header height bump when wordmark is used */
.site-header { --header-h: 78px; height: auto; min-height: var(--header-h); padding: 0.35rem 0; }

/* ---------- Beach scene (layered sky / horizon / sea) ---------- */
.beach-scene {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.beach-layer {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}

.beach-sky {
  top: 0;
  height: 52%;
  z-index: 1;
  background: linear-gradient(180deg, #4aa8d4 0%, #87ceeb 55%, #c8e8f8 100%);
  /* Soft feather into horizon */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.beach-sea {
  bottom: 0;
  height: 52%;
  z-index: 2;
  background: linear-gradient(180deg, #5eb3d9 0%, #2a7eb5 40%, #1a5a8a 100%);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 0%, #000 82%, transparent 100%);
}

.beach-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sky-fallback {
  background: linear-gradient(180deg, #4aa8d4 0%, #87ceeb 50%, #d6f0fa 100%);
}

.sea-fallback {
  background: linear-gradient(180deg, #6ec0e0 0%, #2a7eb5 45%, #154e78 100%);
}

.beach-horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 18%;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 -4px 12px rgba(246, 226, 184, 0.35));
}

.beach-dunes {
  width: 100%;
  height: 100%;
  display: block;
}

.beach-foreground {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  padding: 1rem;
  padding-top: clamp(4.5rem, 10vh, 7rem);
  padding-bottom: 22vh;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1.5vh, 1rem);
  width: min(92vw, 560px);
  pointer-events: none;
}

.hero-wordmark {
  width: min(84vw, 480px);
  line-height: 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}

.hero-wordmark-img {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid rgba(255, 248, 231, 0.85);
  box-shadow: 0 0 0 3px #000, 8px 10px 0 rgba(0, 0, 0, 0.4);
  background: #000;
  user-select: none;
  -webkit-user-drag: none;
}

.surf-logo-link {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  width: min(88vw, 540px);
  max-width: none;
  transform-origin: 50% 70%;
  animation: surf-bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 14px 18px rgba(26, 90, 138, 0.35));
  transition: transform 0.3s var(--ease);
}

.surf-logo-link:hover,
.surf-logo-link:focus-visible {
  transform: translateY(-10px) scale(1.04);
  animation-play-state: paused;
}

.surf-logo-link:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 10px;
  border-radius: 24px;
}

.surf-logo {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.surf-hint {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 248, 231, 0.94);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  box-shadow: 0 3px 0 rgba(61, 46, 36, 0.15);
  white-space: nowrap;
}

@keyframes surf-bob {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-12px) rotate(1.2deg); }
}

/* Legacy aliases kept so old class hooks don't break if referenced */
.home-hint { display: none; }
.garden-scene { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }

.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover { background: var(--coral-deep); }

.btn-gold,
.btn-sun {
  background: var(--sun);
  color: var(--ink);
}
.btn-gold:hover,
.btn-sun:hover { background: var(--flower-yellow); }

.btn-ghost {
  background: var(--cream);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--peach); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-header {
  max-width: 560px;
  margin-bottom: 2.75rem;
}

.section-muted {
  background: var(--cream-wall);
  border-top: 3px dashed var(--wood-light);
  border-bottom: 3px dashed var(--wood-light);
}

.section-ink {
  background: linear-gradient(165deg, #4a8fc0 0%, #6bb8d6 50%, #7ec850 100%);
  color: var(--white);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink .eyebrow { color: var(--sun); }
.section-ink .lead { color: rgba(255, 255, 255, 0.92); }

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-header-row .section-header { margin-bottom: 0; }

/* ---------- Manifesto / welcome ---------- */
.manifesto {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  background: var(--white);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--wood);
}

.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: 1rem 0;
}

.manifesto cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral-deep);
}

/* ---------- Room doors (inside page) ---------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.room-door {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.5rem;
  box-shadow: 5px 5px 0 var(--wood);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.room-door:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 8px 10px 0 var(--coral);
}

.room-door .door-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 1rem;
}

.room-door h3 {
  margin-bottom: 0.35rem;
}

.room-door p {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* ---------- Look cards ---------- */
.looks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.looks-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.looks-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.look-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--wood);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  border: 3px solid var(--ink);
}

.look-card:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow: 7px 8px 0 var(--coral);
}

.look-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.look-visual svg {
  width: 55%;
  max-width: 160px;
  height: auto;
}

.look-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.7rem;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--ink);
}

.look-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  background: var(--cream-wall);
  border-top: 3px solid var(--ink);
}

.look-body h3 { font-size: 1.2rem; }

.look-body p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex: 1;
}

.look-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  padding-top: 0.7rem;
  border-top: 2px dashed var(--wood-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.look-link {
  color: var(--coral-deep);
  font-weight: 800;
}

/* Visual variants — bright storybook */
.viz-cashmere { background: linear-gradient(160deg, #f0c98a 0%, #d4a056 50%, #a06b30 100%); }
.viz-silk { background: linear-gradient(160deg, #ffc0d0 0%, #ff8fb8 45%, #e85a8a 100%); }
.viz-harness { background: linear-gradient(160deg, #6bb8d6 0%, #4a8fc0 50%, #3d6a90 100%); }
.viz-cape { background: linear-gradient(160deg, #c59bff 0%, #9b6fe0 40%, #ff7a6e 100%); }
.viz-linen { background: linear-gradient(160deg, #fff4dc 0%, #e0c99a 50%, #c48a4a 100%); }
.viz-pearl { background: linear-gradient(160deg, #e8f8ff 0%, #b8e0f0 40%, #87ceeb 100%); }
.viz-merino { background: linear-gradient(160deg, #b8e890 0%, #7ec850 45%, #5a9e35 100%); }
.viz-scarf { background: linear-gradient(160deg, #ffe566 0%, #ffb089 40%, #ff7a6e 100%); }

/* ---------- Journal cards ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.journal-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--wood);
  border: 3px solid var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 8px 0 var(--peach);
}

.journal-visual {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}

.journal-visual svg {
  width: 40%;
  max-width: 90px;
}

.jv-walk { background: linear-gradient(135deg, #87ceeb, #7ec850 60%, #ffe566); }
.jv-atelier { background: linear-gradient(135deg, #ffb089, #ff7a6e 50%, #c48a4a); }
.jv-structure { background: linear-gradient(135deg, #fff4dc, #a8e06a 55%, #5a9e35); }
.jv-champagne { background: linear-gradient(135deg, #ffe566, #ffb089, #ff8fb8); }
.jv-ritual { background: linear-gradient(135deg, #d6f0fa, #c59bff, #87ceeb); }

.journal-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  background: var(--cream-wall);
  border-top: 3px solid var(--ink);
}

.journal-date {
  font-size: 0.78rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--coral-deep);
}

.journal-body h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.journal-body p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex: 1;
}

.journal-body .read-more {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--coral-deep);
  font-family: var(--font-display);
}

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #87ceeb, #7ec850 50%, #ffe566);
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
}

.split-media.svg-panel svg {
  width: 55%;
  max-width: 200px;
}

.split-copy .lead { margin-bottom: 1.1rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 3px dashed var(--wood-light);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--coral-deep);
  line-height: 1.1;
}

.stat span {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 700;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: 3.25rem 0 2.5rem;
  background:
    linear-gradient(180deg, var(--sky-pale) 0%, var(--cream) 100%);
  border-bottom: 3px solid var(--wood-light);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--grass) 0 16px,
    var(--grass-deep) 16px 32px
  );
  opacity: 0.35;
  pointer-events: none;
}

.page-hero h1 { margin-bottom: 0.65rem; }
.page-hero .lead { margin-top: 0.4rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover { color: var(--coral-deep); }
.breadcrumb .sep { opacity: 0.45; }

/* ---------- Detail look page ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.detail-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  box-shadow: 6px 6px 0 var(--ink);
  border: 3px solid var(--ink);
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.detail-visual svg {
  width: 55%;
  max-width: 200px;
}

.detail-copy .season {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--sun);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-display);
  border: 2px solid var(--ink);
  margin-bottom: 0.85rem;
}

.detail-copy h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 0.85rem;
}

.detail-copy .lead { margin-bottom: 1.25rem; }

.detail-specs {
  margin: 1.75rem 0;
  padding: 1.35rem;
  background: var(--cream-wall);
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--wood-light);
}

.detail-specs dt {
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--coral-deep);
  margin-top: 0.9rem;
}

.detail-specs dt:first-child { margin-top: 0; }

.detail-specs dd {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* ---------- Article ---------- */
.article {
  max-width: 700px;
  margin-inline: auto;
  padding: 2.75rem 0 4.5rem;
}

.article-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.65rem 0 0.85rem;
}

.article-meta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.article-hero-visual {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  margin-bottom: 2.25rem;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--wood);
}

.article-hero-visual svg {
  width: 18%;
  max-width: 72px;
}

.article-body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.article-body h2 {
  font-size: 1.55rem;
  margin: 2.25rem 0 0.85rem;
}

.article-body blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--coral-deep);
  border-left: 5px solid var(--sun);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  background: var(--cream-wall);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-top: 2px solid var(--wood-light);
  border-right: 2px solid var(--wood-light);
  border-bottom: 2px solid var(--wood-light);
}

.article-footer {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 3px dashed var(--wood-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------- Inside porch hero ---------- */
.porch-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #5bb8e0 0%, #87ceeb 38%, var(--sand-light) 38%, var(--cream) 55%);
  border-bottom: 3px solid var(--wood);
  text-align: center;
}

.porch-hero .porch-illu {
  max-width: 280px;
  margin: 0 auto 1.5rem;
}

.porch-hero h1 {
  margin-bottom: 0.5rem;
}

.porch-hero .lead {
  margin-inline: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wood-deep);
  color: rgba(255, 248, 231, 0.85);
  padding: 3.5rem 0 1.75rem;
  border-top: 5px solid var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 0.85rem;
}

.footer-brand .logo-mark {
  background: linear-gradient(145deg, var(--sun), var(--peach));
  box-shadow: 0 3px 0 var(--ink);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 26em;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sun);
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.28rem 0;
  color: rgba(255, 248, 231, 0.8);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--sun); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(255, 248, 231, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 248, 231, 0.5);
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .looks-grid.cols-4,
  .looks-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split,
  .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-visual { position: static; }
}

@media (max-width: 720px) {
  .menu-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(255, 248, 231, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem 1.35rem 1.5rem;
    gap: 0;
    border-bottom: 3px solid var(--wood);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s var(--ease-soft);
    box-shadow: var(--shadow);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.8rem 0;
    border-bottom: 2px dashed var(--wood-light);
  }

  .nav a[aria-current="page"]::after { display: none; }

  .nav-cta {
    margin-top: 0.65rem;
    text-align: center;
    justify-content: center;
  }

  .looks-grid,
  .looks-grid.cols-3,
  .looks-grid.cols-4,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .stat-row { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .surf-logo-link { width: min(88vw, 320px); }
  .hero-wordmark { width: min(72vw, 280px); }
  .hero-stack { width: min(94vw, 360px); }
  .banner-band {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0 0.75rem;
    bottom: 4%;
  }
  .banner-btn { font-size: clamp(0.95rem, 4.2vw, 1.25rem); padding: 0.7rem 0.5rem; }
  .surf-hint { font-size: 0.82rem; padding: 0.35rem 0.85rem; }
  .beach-horizon { top: 40%; height: 20%; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  .surf-logo-link,
  .surf-logo {
    animation: none !important;
  }
}


/* Beach reduced motion + mobile polish */
@media (max-width: 640px) {
  body.is-home { overflow: auto; }
  .beach-scene {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
  }
  .beach-sky { height: 48%; }
  .beach-sea { height: 55%; }
}

@media (prefers-reduced-motion: reduce) {
  .surf-logo-link { animation: none !important; }
  .beach-video {
    visibility: hidden;
  }
  .sky-fallback,
  .sea-fallback {
    z-index: 2;
  }
}

.surf-logo-link.is-entering .surf-logo {
  transform: scale(1.08);
  transition: transform 0.35s var(--ease);
}


/* ============================================
   Banner band — Goldoni 3D MySpace-style buttons
   ============================================ */
:root {
  --font-banner: "Goldoni", "Fredoka", "Nunito", system-ui, sans-serif;
}

.banner-band {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(96vw, 920px);
  padding: 0 0.5rem;
  pointer-events: auto;
}

.banner-btn {
  font-family: var(--font-banner);
  font-size: clamp(1.05rem, 2.6vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  padding: 0.85rem 0.6rem;
  border: 3px solid #1a120c;
  border-radius: 10px;
  position: relative;
  /* Hard 3D shade / bevel — early-web energy */
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.55),
    inset -3px -3px 0 rgba(0, 0, 0, 0.25),
    5px 5px 0 #1a120c;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.35);
  line-height: 1.1;
}

.banner-btn:hover,
.banner-btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.55),
    inset -3px -3px 0 rgba(0, 0, 0, 0.25),
    7px 7px 0 #1a120c;
  outline: none;
}

.banner-btn:active {
  transform: translate(3px, 3px);
  box-shadow:
    inset 2px 2px 0 rgba(0, 0, 0, 0.2),
    inset -1px -1px 0 rgba(255, 255, 255, 0.3),
    2px 2px 0 #1a120c;
}

.banner-shop {
  background: linear-gradient(180deg, #ff8fb8 0%, #ff5a9a 55%, #e83d7e 100%);
  color: #fff;
  text-shadow: 2px 2px 0 #8b1048;
}
.banner-wishlist {
  background: linear-gradient(180deg, #ffe566 0%, #ffd000 55%, #e8b800 100%);
  color: #3d2e24;
  text-shadow: 1px 1px 0 #fff6b0;
}
.banner-care {
  background: linear-gradient(180deg, #a8e06a 0%, #7ec850 55%, #5a9e35 100%);
  color: #fff;
  text-shadow: 2px 2px 0 #2d5a12;
}
.banner-volunteer {
  background: linear-gradient(180deg, #87ceeb 0%, #5bb8e0 55%, #2a7eb5 100%);
  color: #fff;
  text-shadow: 2px 2px 0 #0e4a6e;
}

/* Beach scene grows a tad so banners sit on horizon band */
.beach-scene {
  min-height: 100vh;
  min-height: 100dvh;
}

/* ============================================
   Fun footer + flying cookies (mar.farm satire)
   ============================================ */
.fun-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #5a3a1e 0%, #8b5a2b 45%, #3d2e24 100%);
}

.fun-footer .footer-note {
  font-size: 0.85rem;
  color: rgba(255, 248, 231, 0.55);
  margin-top: 0.85rem;
  line-height: 1.45;
}

.cookie-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.fun-footer .container {
  position: relative;
  z-index: 1;
}

.fly-cookie {
  position: absolute;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  left: calc(8% + (var(--i) * 11%));
  bottom: -2rem;
  opacity: 0.55;
  animation: cookie-flutter 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.85s);
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

@keyframes cookie-flutter {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.85);
    opacity: 0;
  }
  12% { opacity: 0.7; }
  50% {
    transform: translate3d(18px, -55vh, 0) rotate(140deg) scale(1.15);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(-28px, -110vh, 0) rotate(320deg) scale(0.7);
    opacity: 0;
  }
}

.btn-accept-nothing {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-banner);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(180deg, #ffe566, #ffb089);
  border: 3px solid #1a120c;
  border-radius: 999px;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.5),
    4px 4px 0 #1a120c;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-accept-nothing:hover,
.btn-accept-nothing:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.5),
    5px 5px 0 #1a120c;
}

.btn-accept-nothing:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #1a120c;
}

.cookie-tagline {
  font-family: var(--font-banner);
  font-size: 0.9rem;
}

.privacy-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 6px 6px 0 var(--wood);
}

.privacy-status {
  margin-top: 1rem;
  font-family: var(--font-banner);
  font-weight: 700;
  color: var(--coral-deep);
  min-height: 1.4em;
}

/* Burst mode when Accept nothing is clicked */
.cookie-sky.is-bursting .fly-cookie {
  animation-name: cookie-burst;
  animation-duration: 1.6s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  opacity: 1;
}

@keyframes cookie-burst {
  0% {
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dx, 40vw), -120vh, 0) rotate(720deg) scale(0.4);
    opacity: 0;
  }
}

/* Spawned burst cookies */
.fly-cookie.is-spawn {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  font-size: 1.8rem;
  animation: cookie-spawn-fly 1.8s ease-out forwards;
}

@keyframes cookie-spawn-fly {
  0% {
    transform: translate(0, 0) rotate(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) rotate(540deg) scale(0.3);
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .home-chrome { top: 0.6rem; left: 0.6rem; }
  .beach-foreground {
    padding-top: clamp(4rem, 12vh, 5.5rem);
    padding-bottom: 28vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fly-cookie,
  .cookie-sky.is-bursting .fly-cookie,
  .fly-cookie.is-spawn {
    animation: none !important;
    opacity: 0.4;
  }
  .banner-btn:hover,
  .banner-btn:focus-visible {
    transform: none;
  }
}

/* ===== Clarified home (Mar feedback Sep 20) ===== */
.logo-wordmark--clear,
.logo-wordmark-img--clear {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
.home-chrome .logo-wordmark-img--clear {
  width: clamp(88px, 14vw, 132px);
  opacity: 0.95;
}
.logo-wordmark-img--footer.logo-wordmark-img--clear {
  width: clamp(96px, 14vw, 120px);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}

/* Hide old competing hero wordmark if present */
.hero-wordmark { display: none !important; }

.beach-foreground {
  justify-content: center;
  padding-top: clamp(3rem, 8vh, 5.5rem);
  padding-bottom: clamp(7rem, 18vh, 10rem);
  gap: 0.85rem;
}

.surf-logo-link {
  width: min(78vw, 420px);
  filter: drop-shadow(0 16px 22px rgba(26, 90, 138, 0.4));
}
.surf-logo {
  width: 100%;
  height: auto;
  display: block;
  /* no black plate — transparent PNG with black stroke */
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  -webkit-user-drag: none;
  user-select: none;
}

.enter-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.45rem;
  border-radius: 999px;
  background: #f5e6c8;
  color: #3d2e24;
  border: 2.5px solid #3d2e24;
  font-family: var(--font-display), "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 0 #3d2e24;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  z-index: 25;
}
.enter-btn:hover,
.enter-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #3d2e24;
}

/* Mid horizon nav — lives on the sand bar */
.mid-nav {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, 0);
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  width: min(96vw, 720px);
  padding: 0.55rem 0.85rem;
  background: rgba(245, 230, 200, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2.5px solid rgba(61, 46, 36, 0.55);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(61, 46, 36, 0.18);
  pointer-events: auto;
}
.mid-nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  text-decoration: none;
  color: #f7f0e4;
  background: #5c4030;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  border: 2px solid #2a1c14;
  text-shadow:
    1px 1px 0 #2a1c14,
    2px 2px 0 rgba(0,0,0,0.35);
  box-shadow:
    3px 3px 0 #2a1c14,
    0 2px 0 rgba(255,255,255,0.15) inset;
  transition: transform 0.15s ease, background 0.15s ease;
  letter-spacing: 0.02em;
}
.mid-nav-link:hover,
.mid-nav-link:focus-visible {
  transform: translateY(-2px) scale(1.04);
  background: #7a5638;
  color: #fff8e7;
}
.mid-nav-rooms {
  background: #e8b923;
  color: #3d2e24;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.45), 2px 2px 0 rgba(61,46,36,0.35);
}
.mid-nav-rooms:hover,
.mid-nav-rooms:focus-visible {
  background: #f0c94a;
  color: #3d2e24;
}

/* Keep old banner-band out of the way if leftover */
.banner-band { display: none !important; }

@media (max-width: 640px) {
  .mid-nav {
    top: auto;
    bottom: 18%;
    transform: translate(-50%, 0);
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
  }
  .mid-nav-link { font-size: 0.85rem; padding: 0.35rem 0.6rem; }
  .surf-logo-link { width: min(86vw, 340px); }
  .beach-foreground { padding-bottom: clamp(9rem, 26vh, 12rem); }
}

@media (prefers-reduced-motion: reduce) {
  .surf-logo-link { animation: none !important; }
}

/* ===== Surf ride R→L on horizon + transparent water footer ===== */
.surf-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  height: 0;
  z-index: 12;
  pointer-events: none;
}

.surf-rider {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(140px, 22vw, 260px);
  pointer-events: auto;
  text-decoration: none;
  transform: translate3d(110vw, -42%, 0);
  animation: surf-across 16s linear infinite;
  filter: drop-shadow(0 10px 14px rgba(20, 70, 110, 0.35));
  will-change: transform;
}

.surf-rider .surf-logo {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  user-select: none;
  -webkit-user-drag: none;
}

.surf-rider:hover,
.surf-rider:focus-visible {
  animation-play-state: paused;
  filter: drop-shadow(0 14px 18px rgba(20, 70, 110, 0.5));
}

.surf-rider:focus-visible {
  outline: 3px solid #ffe566;
  outline-offset: 8px;
  border-radius: 20px;
}

@keyframes surf-across {
  0% {
    transform: translate3d(110vw, -42%, 0) rotate(-4deg);
  }
  12% {
    transform: translate3d(85vw, -48%, 0) rotate(-2deg);
  }
  28% {
    transform: translate3d(55vw, -38%, 0) rotate(3deg);
  }
  45% {
    transform: translate3d(28vw, -50%, 0) rotate(-3deg);
  }
  62% {
    transform: translate3d(5vw, -40%, 0) rotate(2deg);
  }
  78% {
    transform: translate3d(-18vw, -46%, 0) rotate(-2deg);
  }
  100% {
    transform: translate3d(-45vw, -42%, 0) rotate(-4deg);
  }
}

/* Keep mid-nav above water, below/alongside rider */
.mid-nav {
  z-index: 14;
}

.enter-btn {
  position: absolute;
  left: 50%;
  bottom: clamp(11rem, 28vh, 16rem);
  transform: translateX(-50%);
  z-index: 16;
  pointer-events: auto;
}

/* Transparent footer over sea video */
.water-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  padding: 1.25rem 1.25rem 1rem;
  background: transparent !important;
  color: #fffaf0;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

.water-footer a,
.water-footer button {
  pointer-events: auto;
}

.water-footer .cookie-sky {
  opacity: 0.55;
}

.water-footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.water-footer-brand {
  max-width: 28rem;
}

.water-footer-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.65rem;
}

.water-footer-logo img {
  width: clamp(72px, 12vw, 110px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.water-footer-brand p {
  margin: 0;
  font-size: clamp(0.85rem, 1.6vw, 0.98rem);
  line-height: 1.5;
  color: rgba(255, 250, 240, 0.95);
}

.water-footer-brand strong {
  color: #ffe566;
}

.water-footer-cols {
  display: flex;
  gap: 2.25rem;
}

.water-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 6.5rem;
}

.water-footer-col h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display), Fredoka, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffe566;
  letter-spacing: 0.02em;
}

.water-footer-col a {
  color: rgba(255, 250, 240, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.water-footer-col a:hover,
.water-footer-col a:focus-visible {
  color: #fff;
  transform: translateX(2px);
}

.water-footer-col a.is-accent {
  color: #ffe566;
}

.water-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 250, 240, 0.2);
  font-size: 0.8rem;
  color: rgba(255, 250, 240, 0.75);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.water-footer .btn-accept-nothing {
  margin-top: 0.75rem;
}

/* Hide old solid footer styles on home when using water-footer */
.is-home .site-footer.fun-footer { display: none; }

/* Beach scene needs room for footer overlay */
.is-home .beach-scene {
  min-height: 100vh;
  min-height: 100dvh;
}

.is-home .beach-sea {
  height: 58%;
}

@media (max-width: 760px) {
  .water-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .water-footer-cols { gap: 1.75rem; }
  .surf-rider { width: clamp(120px, 34vw, 180px); }
  .enter-btn { bottom: clamp(13rem, 34vh, 18rem); }
  .mid-nav { top: 58%; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .surf-rider {
    animation: none !important;
    left: 50%;
    transform: translate(-50%, -42%) !important;
  }
}

/* home layout polish for surfing dog + water footer */
body.is-home { margin: 0; }
body.is-home .beach-scene { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
body.is-home .mid-nav {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, 0);
  z-index: 14;
}
body.is-home .enter-btn {
  position: absolute;
  left: 50%;
  bottom: clamp(10.5rem, 26vh, 15rem);
  transform: translateX(-50%);
  z-index: 16;
  pointer-events: auto;
}
body.is-home .beach-sea { height: 60%; }
body.is-home .beach-sky { height: 48%; }


/* ============================================
   Inner pages — fixed beach video bg + white card
   ============================================ */
body.has-beach-bg {
  background: transparent;
  min-height: 100vh;
}

.page-beach-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.page-beach-bg .beach-sky {
  top: 0;
  height: 50%;
  z-index: 1;
}

.page-beach-bg .beach-sea {
  bottom: 0;
  height: 55%;
  z-index: 2;
}

.page-beach-bg .beach-horizon {
  top: 42%;
  height: 16%;
  z-index: 5;
  opacity: 0.92;
}

body.has-beach-bg .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 231, 0.82);
}

body.has-beach-bg > .site-header,
body.has-beach-bg > main,
body.has-beach-bg > footer,
body.has-beach-bg > .page-shell {
  position: relative;
  z-index: 10;
}

.page-shell {
  position: relative;
  z-index: 10;
  padding: 1.5rem 0 3rem;
  min-height: calc(100vh - var(--header-h) - 8rem);
}

.content-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 3px solid var(--ink);
  box-shadow:
    6px 6px 0 rgba(61, 46, 36, 0.18),
    0 18px 40px -12px rgba(26, 90, 138, 0.28);
  max-width: var(--max);
  margin-inline: auto;
}

.content-card.narrow {
  max-width: 720px;
}

.content-card.wide {
  max-width: 1080px;
}

/* Soften page-hero / porch when inside white card or over beach */
body.has-beach-bg .page-hero,
body.has-beach-bg .porch-hero {
  background: transparent;
  border-bottom: none;
  padding: 0 0 1.25rem;
}

body.has-beach-bg .page-hero::before {
  display: none;
}

body.has-beach-bg .section {
  padding: 1.5rem 0;
}

body.has-beach-bg .section-muted {
  background: rgba(255, 244, 220, 0.55);
  border-top: 2px dashed var(--wood-light);
  border-bottom: 2px dashed var(--wood-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}

body.has-beach-bg .section-ink {
  border-radius: var(--radius);
}

body.has-beach-bg .site-footer.fun-footer {
  background: rgba(61, 46, 36, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 3px solid rgba(255, 248, 231, 0.25);
  position: relative;
  z-index: 10;
}

body.has-beach-bg main > .container,
body.has-beach-bg main.page > .container {
  /* when not using content-card wrapper, still readable */
}

/* Goldoni on mid-nav + enter + footer titles already via --font-display */
.mid-nav-link,
.enter-btn,
.banner-btn,
.eyebrow,
.water-footer-col h4,
.footer-col h4 {
  font-family: var(--font-display);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400; /* Goldoni is a titling face; demo is single weight */
  letter-spacing: 0.02em;
}

/* Keep Fredoka/Nunito feel for UI chrome that needs bold weights */
.btn,
.nav a,
.look-tag,
.nav-cta {
  font-family: "Fredoka", var(--font-body);
}

@media (max-width: 640px) {
  body.is-home .mid-nav,
  .mid-nav {
    top: auto;
    bottom: 16%;
    transform: translate(-50%, 0);
  }
  .page-shell { padding: 1rem 0 2.5rem; }
  .content-card { padding: 1.15rem 1rem; border-width: 2.5px; }
}


/* Nested containers inside white cards shouldn't re-cap width */
.content-card .container,
.content-card .page-hero .container,
.content-card .section .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.content-card .page-hero,
.content-card .porch-hero {
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
}

.content-card .section:last-child {
  padding-bottom: 0;
}
