/* ════════════════════════════════════════════════════════════════════════
   Certified Scoop - Design System
   Trinidad-handcrafted ice cream brand. Playful, bold, professional.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand palette */
  --bg-blue:        #314095;
  --bg-blue-deep:   #1F2868;
  --yellow:         #FBDC11;
  --yellow-warm:    #F3C90F;
  --cream:          #F2EED6;
  --cream-warm:     #EAE0BF;
  --pink:           #FF8FB1;
  --green:          #56B746;
  --orange:         #FF8C2E;
  --ink:            #111C18;
  --paper:          #FFFFFF;

  /* Type */
  --f-display:  'Titan One', 'Londrina Solid', system-ui, sans-serif;
  --f-script:   'Permanent Marker', cursive;
  --f-body:     'Londrina Solid', cursive;
  --f-ui:       'Inter', -apple-system, system-ui, sans-serif;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--bg-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--yellow-warm); }

img { display: block; max-width: 100%; }

button { font: inherit; cursor: pointer; }

/* ─── Sticky nav ────────────────────────────────────────────── */

.page-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(31, 40, 104, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px clamp(16px, 4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid rgba(251, 220, 17, 0.35);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
}
.nav-brand .dot { color: var(--yellow); transition: transform 0.4s var(--ease-spring); display: inline-block; }
.nav-brand:hover { color: #fff; }
.nav-brand:hover .dot { transform: rotate(180deg) scale(1.4); }

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-link {
  font-family: var(--f-script);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover { color: var(--yellow); }
.nav-link.active { color: var(--yellow); border-bottom-color: var(--yellow); }
.nav-link.cta {
  background: var(--yellow);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 100px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 1px;
  border: none;
}
.nav-link.cta:hover {
  background: #fff;
  color: var(--bg-blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(251, 220, 17, 0.35);
}
.nav-link.cta.active { background: #fff; color: var(--bg-blue); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 110;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  color: #fff;
}
.nav-burger svg { display: block; transition: opacity 0.2s ease, transform 0.3s var(--ease-spring); }
.nav-burger .nav-burger-close { display: none; }
.nav-burger.open { color: var(--yellow); }
.nav-burger.open .nav-burger-open { display: none; }
.nav-burger.open .nav-burger-close { display: block; transform: rotate(90deg); }

@media (max-width: 820px) {
  .page-nav .nav-burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--bg-blue-deep);
    flex-direction: column;
    justify-content: flex-start;
    padding: 36px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 22px; }
  .nav-link.cta { font-size: 16px; padding: 12px 24px; align-self: flex-start; }
}

/* ─── Page hero strip ───────────────────────────────────────── */

.page-hero {
  position: relative;
  background: var(--bg-blue);
  color: #fff;
  padding: 90px 24px 110px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px),
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px, 90px 90px;
  background-position: 0 0, 30px 30px;
  pointer-events: none;
}
.page-hero .eyebrow {
  position: relative;
  display: inline-block;
  font-family: var(--f-script);
  font-size: 15px;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 14px;
  transform: rotate(-2deg);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.25);
  text-transform: uppercase;
}
.page-hero h1 {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 1px;
  line-height: 1;
  margin: 0 0 16px;
  color: var(--cream);
  text-shadow: 5px 5px 0 var(--bg-blue-deep), -2px -2px 0 var(--green);
}
.page-hero p.lede {
  position: relative;
  font-size: clamp(15px, 1.6vw, 22px);
  max-width: min(56ch, 100%);
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .page-hero p.lede { max-width: 32ch; font-size: 15px; }
}

/* ─── Wave divider ──────────────────────────────────────────── */

.wave-div { position: relative; height: 60px; background: var(--bg-blue); }
.wave-div::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--cream);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 Q300,0 600,30 T1200,30 V60 H0 Z' fill='white'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 Q300,0 600,30 T1200,30 V60 H0 Z' fill='white'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.wave-div.invert { background: var(--cream); }
.wave-div.invert::after { background: var(--bg-blue); }
.wave-div.yellow-from-cream { background: var(--cream); }
.wave-div.yellow-from-cream::after { background: var(--yellow); }
.wave-div.cream-from-yellow { background: var(--yellow); }
.wave-div.cream-from-yellow::after { background: var(--cream); }
.wave-div.cream-from-blue { background: var(--bg-blue); }
.wave-div.cream-from-blue::after { background: var(--cream); }
.wave-div.blue-from-cream { background: var(--cream); }
.wave-div.blue-from-cream::after { background: var(--bg-blue); }

/* ─── Sections ──────────────────────────────────────────────── */

.section { padding: clamp(50px, 7vw, 80px) clamp(16px, 4vw, 24px); }
.section.cream { background: var(--cream); color: var(--ink); }
.section.cream-warm { background: var(--cream-warm); color: var(--ink); }
.section.blue { background: var(--bg-blue); color: #fff; }
.section.blue-deep { background: var(--bg-blue-deep); color: #fff; }
.section.yellow { background: var(--yellow); color: var(--ink); }
.section.paper { background: var(--paper); color: var(--ink); }
.section.tight { padding: clamp(28px, 4vw, 40px) clamp(16px, 4vw, 24px); }
.section.deep { padding: 110px 24px; }

.container { max-width: var(--maxw); margin: 0 auto; }
.container.narrow { max-width: 880px; }

/* Section header */
.section-head { margin-bottom: 36px; text-align: left; }
.section-head.center { text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--f-script);
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--bg-blue);
  margin-bottom: 8px;
  transform: rotate(-1deg);
}
.section.blue .section-eyebrow,
.section.blue-deep .section-eyebrow { color: var(--yellow); }
.section-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.3px;
  margin: 0 0 12px;
  color: var(--bg-blue);
  text-shadow: 4px 4px 0 rgba(31, 40, 104, 0.08);
}
.section.blue .section-title,
.section.blue-deep .section-title { color: var(--cream); text-shadow: 4px 4px 0 var(--bg-blue-deep), -2px -2px 0 var(--green); }
.section.yellow .section-title { color: var(--ink); text-shadow: 3px 3px 0 var(--yellow-warm); }
.section-sub { font-size: 17px; max-width: 56ch; margin: 6px 0 0; opacity: 0.85; }

/* ─── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 1.2px;
  border-radius: 100px;
  border: 3px solid transparent;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.18); }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { background: #fff; color: var(--bg-blue); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--bg-blue); }
.btn-ink { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.btn-ink:hover { background: var(--bg-blue); color: var(--yellow); border-color: var(--bg-blue); }
.btn-blue { background: var(--bg-blue); color: var(--yellow); border-color: var(--bg-blue); }
.btn-blue:hover { background: var(--bg-blue-deep); color: var(--yellow); }
.btn.lg { padding: 18px 38px; font-size: 17px; }
.btn.sm { padding: 10px 20px; font-size: 13px; }

/* ─── Marquee ───────────────────────────────────────────────── */

.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-track span::after {
  content: '🍦';
  font-size: 20px;
  margin-left: 14px;
  filter: hue-rotate(0deg);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Pillars (3-up icon cards) ─────────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.pillar {
  background: var(--paper);
  border-radius: 18px;
  padding: 30px 26px;
  text-align: left;
  border-top: 6px solid var(--accent, var(--bg-blue));
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.pillar .pi {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--cream);
  border-radius: 14px;
  font-size: 28px;
  margin-bottom: 18px;
}
.pillar h3 {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.4px;
  color: var(--bg-blue);
  margin: 0 0 8px;
}
.pillar p { font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--ink); opacity: 0.85; }

/* ─── Flavor card ───────────────────────────────────────────── */

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.flav-card {
  position: relative;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  border-top: 6px solid var(--flavor-color, var(--bg-blue));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.flav-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}
.flav-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
}
.flav-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.flav-card:hover .flav-photo img { transform: scale(1.07); }
.flav-badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 52px; height: 52px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18), 0 0 0 4px var(--flavor-color, var(--bg-blue));
  transform: rotate(-8deg);
  transition: transform 0.3s var(--ease-spring);
}
.flav-card:hover .flav-badge { transform: rotate(8deg) scale(1.12); }
.flav-body { padding: 18px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.flav-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 12px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 100px;
  font-family: var(--f-script);
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.flav-name {
  font-family: var(--f-display);
  font-size: 24px;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  color: var(--bg-blue);
}
.flav-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.85;
  margin: 0 0 12px;
  flex: 1;
}
.flav-price {
  font-family: var(--f-script);
  font-size: 13px;
  color: var(--bg-blue);
  letter-spacing: 0.5px;
}

/* ─── Filter tabs ───────────────────────────────────────────── */

.tabs {
  display: inline-flex;
  background: var(--paper);
  border: 2px solid var(--bg-blue);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 28px;
  max-width: 100%;
}
.tab {
  background: none;
  border: none;
  padding: 8px 18px;
  font-family: var(--f-script);
  font-size: 13px;
  letter-spacing: 0.6px;
  color: var(--bg-blue);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { background: var(--bg-blue); color: var(--yellow); }
@media (max-width: 600px) {
  /* Wrap the tabs row so it can horizontally scroll on phones */
  .tabs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 22px;
    padding: 2px 4px;
  }
  .tabs-scroll::-webkit-scrollbar { display: none; }
  .tabs { margin-bottom: 0; padding: 3px; }
  .tab { padding: 7px 14px; font-size: 12px; }
}

/* ─── Founder photo frame ──────────────────────────────────── */

.photo-frame {
  position: relative;
  border: 8px solid #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  transform: rotate(-2deg);
  background: var(--cream);
  aspect-ratio: 4 / 5;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .stamp {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 110px; height: 110px;
  background: var(--yellow);
  color: var(--bg-blue);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 14px;
  text-align: center;
  line-height: 1.05;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.photo-frame .stamp small {
  display: block;
  margin-top: 4px;
  font-family: var(--f-script);
  font-size: 9px;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* ─── Story / About ─────────────────────────────────────────── */

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; gap: 32px; } .photo-frame { max-width: 460px; margin: 0 auto; } }

.story-text p { font-size: 17px; line-height: 1.65; margin: 0 0 16px; color: var(--ink); }
.story-text p strong { color: var(--bg-blue); font-weight: normal; font-family: var(--f-display); letter-spacing: 0.3px; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat {
  background: var(--bg-blue);
  color: var(--cream);
  padding: 22px 14px;
  border-radius: 14px;
  text-align: center;
}
.stat .n { font-family: var(--f-display); font-size: 38px; color: var(--yellow); line-height: 1; }
.stat .l { font-family: var(--f-script); font-size: 12px; letter-spacing: 0.6px; margin-top: 8px; opacity: 0.9; }

/* ─── Timeline ──────────────────────────────────────────────── */

.timeline {
  border-left: 3px dashed var(--cream);
  padding: 6px 0 6px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section.cream .timeline { border-left-color: var(--bg-blue); }
.tl-item { position: relative; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -39px; top: 6px;
  width: 16px; height: 16px;
  background: var(--yellow);
  border: 3px solid var(--bg-blue);
  border-radius: 50%;
}
.section.blue .tl-item::before, .section.blue-deep .tl-item::before { border-color: var(--cream); }
.tl-when { font-family: var(--f-script); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--yellow); }
.section.cream .tl-when { color: var(--bg-blue); }
.tl-what { font-family: var(--f-display); font-size: 20px; margin: 4px 0; color: inherit; }
.tl-d { font-size: 15px; opacity: 0.85; line-height: 1.55; }

/* ─── Locations ─────────────────────────────────────────────── */

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 720px) { .locations-grid { grid-template-columns: 1fr; } }
.loc-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  border-top: 6px solid var(--yellow);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.loc-photo {
  aspect-ratio: 16 / 9;
  background: var(--cream);
  overflow: hidden;
}
.loc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.loc-card:hover .loc-photo img { transform: scale(1.05); }
.loc-body { padding: 22px 26px 26px; }
.loc-name { font-family: var(--f-display); font-size: 22px; color: var(--bg-blue); margin: 0 0 6px; }
.loc-addr { font-size: 15px; line-height: 1.5; margin: 4px 0; }
.loc-hrs {
  margin-top: 12px;
  font-family: var(--f-script);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--bg-blue);
}
.loc-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── Gallery ───────────────────────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
}
@media (max-width: 720px) { .gallery-grid { grid-auto-rows: 200px; } }
.gallery-grid .g-item:nth-child(6n+1) { grid-row: span 2; }
.gallery-grid .g-item:nth-child(7n+4) { grid-column: span 2; }
@media (max-width: 720px) {
  .gallery-grid .g-item { grid-row: auto; grid-column: auto; }
}
.g-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-blue);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.g-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.g-item:hover img { transform: scale(1.08); }
.g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(17, 28, 24, 0.85), transparent);
  color: #fff;
  font-family: var(--f-script);
  font-size: 14px;
  letter-spacing: 0.5px;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.g-item:hover .g-cap { opacity: 1; transform: translateY(0); }

/* ─── Catering packages ─────────────────────────────────────── */

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.pkg {
  background: var(--paper);
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  border-top: 8px solid var(--accent, var(--bg-blue));
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,0.1); }
.pkg.featured { background: var(--bg-blue); color: #fff; transform: scale(1.04); }
.pkg.featured:hover { transform: scale(1.04) translateY(-6px); }
.pkg-tag {
  position: absolute;
  top: -16px; left: 28px;
  background: var(--yellow);
  color: var(--ink);
  padding: 5px 16px;
  border-radius: 100px;
  font-family: var(--f-script);
  font-size: 12px;
  letter-spacing: 1px;
}
.pkg-name {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--bg-blue);
  margin: 4px 0 4px;
}
.pkg.featured .pkg-name { color: var(--yellow); }
.pkg-tagline {
  font-family: var(--f-script);
  font-size: 14px;
  letter-spacing: 0.4px;
  margin: 0 0 18px;
  opacity: 0.7;
}
.pkg-price {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--ink);
  margin: 0 0 18px;
}
.pkg.featured .pkg-price { color: #fff; }
.pkg-price small { font-family: var(--f-body); font-size: 14px; opacity: 0.8; }
.pkg-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pkg-features li {
  font-size: 15px;
  line-height: 1.55;
  padding: 6px 0 6px 26px;
  position: relative;
}
.pkg-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  display: grid; place-items: center;
  font-family: var(--f-ui);
  font-weight: 700;
}
.pkg.featured .pkg-features li::before { background: var(--yellow); color: var(--ink); }
.pkg .btn { align-self: stretch; text-align: center; }

/* ─── Process steps ─────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--paper);
  border-radius: 18px;
  padding: 28px 24px 24px;
  border-top: 6px solid var(--bg-blue);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--f-display);
  font-size: 44px;
  letter-spacing: -1px;
  color: var(--cream);
  line-height: 1;
}
.step h4 { font-family: var(--f-display); font-size: 20px; color: var(--bg-blue); margin: 0 0 8px; }
.step p { font-size: 15px; line-height: 1.55; margin: 0; opacity: 0.85; }

/* ─── FAQ accordion ─────────────────────────────────────────── */

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--paper);
  border-radius: 12px;
  border-left: 4px solid var(--yellow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--f-display);
  font-size: 17px;
  color: var(--bg-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.3px;
}
.faq-q::after {
  content: '+';
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--bg-blue);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 220px; }
.faq-a-inner { padding: 0 22px 18px; font-size: 15px; line-height: 1.55; }

/* ─── Press strip ───────────────────────────────────────────── */

.press {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  opacity: 0.85;
}
.press .org {
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--bg-blue);
  opacity: 0.65;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.press .org:hover { opacity: 1; color: var(--bg-blue); }

/* ─── Team grid ─────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.team-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  border-bottom: 6px solid var(--accent, var(--yellow));
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.08); }
.team-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--cream);
  overflow: hidden;
  border: 4px solid var(--paper);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--f-display); font-size: 19px; color: var(--bg-blue); margin: 0 0 4px; }
.team-role {
  font-family: var(--f-script);
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--ink);
  opacity: 0.7;
  text-transform: uppercase;
}

/* ─── Quick contact card ────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.quick-card {
  background: var(--bg-blue);
  color: #fff;
  padding: 32px;
  border-radius: 22px;
}
.quick-card h3 { font-family: var(--f-display); font-size: 24px; color: var(--yellow); margin: 0 0 18px; }
.quick-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.18);
  font-size: 16px;
}
.quick-row:last-child { border-bottom: none; }
.quick-row .ic {
  width: 42px; height: 42px;
  background: var(--yellow);
  color: var(--bg-blue);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.quick-row strong { display: block; font-family: var(--f-display); font-size: 14px; color: var(--yellow); margin-bottom: 2px; letter-spacing: 0.5px; }
.quick-row a { color: #fff; border-bottom: 1px dashed rgba(255,255,255,0.4); }
.quick-row a:hover { color: var(--yellow); }

.form-card {
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border-radius: 22px;
  border-top: 6px solid var(--bg-blue);
}
.form-card h2 { font-family: var(--f-display); font-size: 32px; line-height: 1; color: var(--bg-blue); margin: 0 0 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 14px; }
.field-label {
  display: block;
  font-family: var(--f-script);
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--bg-blue);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid rgba(31, 40, 104, 0.16);
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; font-family: var(--f-ui); font-size: 15px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--bg-blue);
  box-shadow: 0 0 0 4px rgba(251, 220, 17, 0.4);
}
.submit-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-success {
  background: var(--green);
  color: #fff;
  padding: 22px;
  border-radius: 14px;
  text-align: center;
  margin-top: 14px;
  display: none;
}
.form-success.shown { display: block; }
.form-success h3 { font-family: var(--f-display); font-size: 24px; margin: 0 0 6px; }

/* ─── Footer ────────────────────────────────────────────────── */

.page-footer {
  background: var(--bg-blue-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 50px 24px 30px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: inline-block; }
.footer-brand img { display: block; width: 120px; height: auto; max-width: 100%; transition: transform 0.3s var(--ease-spring); }
.footer-brand:hover img { transform: rotate(-3deg) scale(1.05); }
.footer-tagline { margin: 12px 0 18px; font-size: 15px; line-height: 1.5; opacity: 0.8; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-spring);
}
.footer-socials a:hover {
  background: var(--yellow);
  color: var(--bg-blue-deep);
  border-color: var(--yellow);
  transform: translateY(-2px) rotate(-3deg);
}
.footer-socials a svg { width: 18px; height: 18px; display: block; }
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 1.3px;
  color: var(--yellow);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.footer-col a { display: block; padding: 4px 0; color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.footer-col a:hover { color: var(--yellow); }
.footer-bot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.65;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Decorative scatter (cherries, sprinkles, chips, scoops, drips) ─── */

.decor-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.decor-scatter > * {
  position: absolute;
  display: block;
  user-select: none;
}

/* Float keyframes - different rhythms so things don't move in lockstep */
@keyframes dec-float-a {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 4deg)); }
}
@keyframes dec-float-b {
  0%, 100% { transform: translateY(-4px) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(8px)  rotate(calc(var(--rot, 0deg) - 5deg)); }
}
@keyframes dec-drift {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot, 0deg)); }
  50%      { transform: translate(8px, -10px) rotate(calc(var(--rot, 0deg) + 6deg)); }
}

.dec-float-a { animation: dec-float-a 5.5s ease-in-out infinite; }
.dec-float-b { animation: dec-float-b 6.2s ease-in-out infinite; }
.dec-drift   { animation: dec-drift   7.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .dec-float-a, .dec-float-b, .dec-drift { animation: none; }
}

/* CHERRY - red ball + green stem */
.dec-cherry { width: 32px; height: 42px; }
.dec-cherry .ball { fill: #E1322C; stroke: #1F2868; stroke-width: 2; }
.dec-cherry .highlight { fill: #FF6B5B; opacity: 0.6; }
.dec-cherry .stem { fill: none; stroke: #56B746; stroke-width: 2.5; stroke-linecap: round; }
.dec-cherry .leaf { fill: #56B746; stroke: #1F2868; stroke-width: 1.5; }

/* SPRINKLE - capsule shape */
.dec-sprinkle { width: 18px; height: 6px; border-radius: 999px; }
.dec-sprinkle.pink   { background: #FF8FB1; }
.dec-sprinkle.yellow { background: #FBDC11; }
.dec-sprinkle.blue   { background: #314095; }
.dec-sprinkle.green  { background: #56B746; }
.dec-sprinkle.orange { background: #FF8C2E; }
.dec-sprinkle.cream  { background: #F2EED6; }

/* CHOCOLATE CHIP - irregular blob */
.dec-chip { width: 22px; height: 18px; }
.dec-chip path { fill: #4A2A1A; stroke: #2A1408; stroke-width: 1.5; stroke-linejoin: round; }
.dec-chip .shine { fill: #6B3A22; opacity: 0.5; stroke: none; }

/* MINI CONE - small cone with scoop */
.dec-cone { width: 28px; height: 38px; }
.dec-cone .cone { fill: #C29A6B; stroke: #1F2868; stroke-width: 1.8; stroke-linejoin: round; }
.dec-cone .wafl { stroke: #1F2868; stroke-width: 1.2; opacity: 0.5; fill: none; }
.dec-cone .scoop { stroke: #1F2868; stroke-width: 1.8; }

/* SCOOP - single round scoop */
.dec-scoop { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #1F2868; }

/* DRIP - teardrop shape */
.dec-drip { width: 20px; height: 30px; }
.dec-drip path { stroke: #1F2868; stroke-width: 1.8; stroke-linejoin: round; }

/* WAFFLE WEDGE - small triangle waffle pattern */
.dec-wafer { width: 26px; height: 26px; }
.dec-wafer rect { fill: #C29A6B; stroke: #1F2868; stroke-width: 1.5; }
.dec-wafer line { stroke: #1F2868; stroke-width: 1; opacity: 0.5; }


/* ─── Reveal-on-scroll ──────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease-out, transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ─── Utility ───────────────────────────────────────────────── */

.center { text-align: center; }
.lift-on-hover { transition: transform 0.3s var(--ease-out); }
.lift-on-hover:hover { transform: translateY(-4px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }

/* Decorative scoop sprinkle dots */
.sprinkle-bg {
  position: relative;
  overflow: hidden;
}
.sprinkle-bg::before, .sprinkle-bg::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.15;
  filter: blur(40px);
}
.sprinkle-bg::before { background: var(--yellow); top: 10%; left: -50px; }
.sprinkle-bg::after { background: var(--pink); bottom: 10%; right: -50px; }

/* ──────────────────────────────────────────────
   REVIEWS / TESTIMONIALS (homepage)
   ────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(28px, 3vw, 44px);
}
.review-card {
  --accent: var(--bg-blue);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 28px 24px 22px;
  position: relative;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  margin: 0;
}
.review-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--accent);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -2px;
  left: 14px;
  font-family: var(--f-display);
  font-size: 70px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
}
.review-card blockquote {
  margin: 12px 0 18px;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px dashed rgba(17, 28, 24, 0.18);
  padding-top: 12px;
}
.rv-name {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.rv-meta {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 28, 24, 0.6);
  font-weight: 500;
}
.reviews-attribution {
  text-align: center;
  margin-top: clamp(28px, 3vw, 40px);
  font-family: var(--f-ui);
  font-size: 13px;
  color: rgba(17, 28, 24, 0.65);
}
.reviews-attribution a {
  color: var(--bg-blue);
  border-bottom: 1px solid var(--bg-blue);
}

/* ──────────────────────────────────────────────
   LIVE INSTAGRAM CAROUSEL
   Cream/blue/yellow CS palette, polaroid-style cards
   ────────────────────────────────────────────── */
.ig-carousel-wrap {
  position: relative;
  margin: clamp(24px, 3.2vw, 44px) auto 0;
  padding: 0 clamp(36px, 5vw, 56px);
  max-width: 1180px;
}
.ig-carousel-frame {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.ig-carousel {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: clamp(16px, 2vw, 28px) 0 clamp(20px, 2.4vw, 32px);
}
.ig-carousel::-webkit-scrollbar { display: none; }
.ig-card {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 280px);
  display: block;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 5px 5px 0 var(--bg-blue);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
  padding: 10px 10px 0 10px;
}
.ig-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--yellow);
}
.ig-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background: var(--cream);
}
.ig-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 50%;
}
.ig-card::after {
  content: "";
  display: block;
  height: clamp(38px, 4vw, 50px);
}
.ig-card-overlay {
  position: absolute;
  left: 10px; right: 10px;
  bottom: 10px;
  background: linear-gradient(to top, rgba(17, 28, 24, 0.95) 30%, rgba(17, 28, 24, 0.8) 60%, transparent 100%);
  padding: 16px 14px 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
  border-radius: 0 0 3px 3px;
  color: var(--paper);
}
.ig-card:hover .ig-card-overlay {
  opacity: 1;
  transform: translateY(0);
}
.ig-card-caption {
  font-family: var(--f-ui);
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.45;
  margin: 0 0 8px 0;
  color: var(--paper);
}
.ig-card-caption:empty { display: none; }
.ig-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ig-card-time { color: rgba(242, 238, 214, 0.7); }
.ig-card-view { color: var(--yellow); }
.ig-card-time-bottom {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 28, 24, 0.55);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-weight: 500;
}
.ig-card:hover .ig-card-time-bottom { opacity: 0; }

.ig-card.ig-skeleton {
  background: linear-gradient(110deg, var(--cream) 30%, var(--cream-warm) 50%, var(--cream) 70%);
  background-size: 300% 100%;
  animation: igSkeletonShimmer 1.6s ease-in-out infinite;
}
.ig-card.ig-skeleton img,
.ig-card.ig-skeleton .ig-card-badge,
.ig-card.ig-skeleton .ig-card-overlay,
.ig-card.ig-skeleton::after { display: none; }
.ig-card.ig-skeleton { aspect-ratio: 0.85; }
@keyframes igSkeletonShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.ig-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
  font-family: var(--f-display);
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--bg-blue);
}
.ig-carousel-arrow[data-dir="-1"] { left: 0; }
.ig-carousel-arrow[data-dir="1"]  { right: 0; }
.ig-carousel-arrow:hover { background: var(--yellow); transform: translateY(-50%) translate(-1px, -1px); box-shadow: 4px 4px 0 var(--bg-blue); }
.ig-carousel-arrow:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 600px) {
  .ig-carousel-arrow { display: none; }
  .ig-carousel-wrap { padding: 0 16px; }
  .ig-card { width: 70vw; }
}

/* ══════════════════════════════════════════════════════════════
   CS FINAL PASS - DE-AI DESIGN + LAYOUT TIGHTENING
   Strip tilt eyebrows, kill any custom cursor/parallax/sheen
   gimmicks, unify section padding + horizontal rail.
   ══════════════════════════════════════════════════════════════ */

/* Tilted eyebrows: kill the rotate so they sit flat (was an AI tell) */
.home-hero .eyebrow,
.page-hero .eyebrow {
  transform: none !important;
}

/* Custom cursor + parallax + scroll-hint if any remain */
.cursor-dot, .cursor-ring, .scroll-hint { display: none !important; }
body { cursor: auto !important; }

/* Reveal-on-scroll: keep the basic fade but kill exaggerated slide/scale */
.reveal, .reveal-d1, .reveal-d2, .reveal-d3, .reveal-d4 {
  /* Let the existing reveal logic still run; the IO observer adds .visible */
  /* Just remove any oversized translate values via transform reset */
}
.reveal { transition-duration: 0.35s !important; }

/* Unified rail: every section content container caps at --maxw */
.container,
.container.narrow,
.home-hero-inner,
.page-hero {
  max-width: var(--maxw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 3vw, 48px) !important;
  padding-right: clamp(20px, 3vw, 48px) !important;
  box-sizing: border-box;
}
.container.narrow { max-width: 920px !important; }

/* Section vertical padding - cut ~25-30% */
.section {
  padding-top: clamp(48px, 6vw, 84px) !important;
  padding-bottom: clamp(48px, 6vw, 84px) !important;
}
.section.tight {
  padding-top: clamp(28px, 3.5vw, 48px) !important;
  padding-bottom: clamp(28px, 3.5vw, 48px) !important;
}
.page-hero {
  padding-top: clamp(60px, 8vw, 100px) !important;
  padding-bottom: clamp(40px, 5vw, 64px) !important;
}

/* Standardise section header spacing */
.section-head .section-eyebrow { margin-bottom: clamp(10px, 1.2vw, 16px) !important; }
.section-head .section-title   { margin-bottom: clamp(12px, 1.4vw, 20px) !important; }

/* Wave dividers (the SVG wave between sections) - keep but ensure they don't add
   extra vertical space beyond what they paint */
.wave-div { margin: 0 !important; }

/* ──────────────────────────────────────────────
   BRAND LOGO - nav + hero
   ────────────────────────────────────────────── */

/* Screen-reader-only utility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nav brand: cropped & pre-inverted white wordmark - no filter, crisp at small size */
.page-nav .nav-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  height: 56px;
}
.page-nav .nav-mark {
  display: block;
  height: 100%;
  width: auto;
  transition: transform 0.3s var(--ease-spring), filter 0.25s ease;
}
.page-nav .nav-brand:hover .nav-mark {
  filter: drop-shadow(0 2px 0 rgba(251, 220, 17, 0.5));
  transform: rotate(-3deg) scale(1.05);
}

/* Hero logo - full-spread treatment.
   400px source means we cap display width to keep it crisp on retina screens. */
.home-hero .hero-logo {
  display: block;
  width: clamp(280px, 50vw, 540px);
  height: auto;
  margin: 0 auto 28px;
  /* Source PNG is black wordmark - invert to cream for the dark hero */
  filter: brightness(0) invert(1) drop-shadow(0 4px 0 rgba(31, 40, 104, 0.55)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  /* Sharpen rendering on scale */
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 600px) {
  .home-hero .hero-logo {
    width: min(75vw, 360px);
    margin-bottom: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .hero-logo { filter: brightness(0) invert(1); }
}
