@charset "UTF-8";
/* ============================================================
   DUCKLY - Homepage Stylesheet
   ============================================================ */

/*
  Opsilon is a custom font - place Opsilon.woff2 (and/or .woff)
  inside your fonts/ folder next to index.html.
  Export it from Figma: Assets panel -> find Opsilon -> right-click -> Export
*/
@font-face {
  font-family: 'Opsilon';
  src: url('fonts/Opsilon.woff2') format('woff2'),
       url('fonts/Opsilon.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rum Raisin Cyrillic';
  src: url('fonts/rumraisincyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream:        #FDF3E0;   /* page background */
  --cream-mid:    #FDEFC3;   /* section bg / wave fill */
  --brown:        #8B4513;   /* primary headings */
  --brown-dark:   #5C2D0A;   /* darker headings / footer text */
  --amber:        #C97C1E;   /* accent / CTA buttons */
  --amber-light:  #F5C87A;   /* card bg / pill bg */
  --white:        #FFFFFF;
  --text-body:    #4A3728;   /* body paragraph text */
  --text-muted:   #7A6552;
  --nav-bg:       rgba(255,255,255,0.95);
  --radius-pill:  999px;
  --radius-card:  18px;
  --radius-photo: 14px;
  --font-display: 'Fredoka One', cursive;
  --font-body:    'Nunito', sans-serif;
  --transition:   0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  border: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--white); }
.btn-ghost   { background: var(--white); color: var(--brown); border: 1.5px solid var(--brown-dark); }
.btn-ghost-dark { background: transparent; color: var(--brown); border: 1.5px solid var(--amber); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 100;
  background: #FEF2E6;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: 'Rum Raisin Cyrillic', cursive;
  font-size: 1.9rem;
  color: #814008;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #814008;
  transition: opacity var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-links a:hover { opacity: 0.70; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Find activities near you */
.btn-nav-cta {
  background: #A05617;
  color: #FEF2E6;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-nav-cta:hover { opacity: 0.88; }

/* Sign in */
.btn-nav-signin {
  background: #F9DCC6;
  color: #814008;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-nav-signin:hover { opacity: 0.80; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  overflow-x: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Wave sits between hero and discover, pulled up to overlap hero bottom */
.section-wave {
  position: relative;
  margin-top: -280px;
  z-index: 0;
  line-height: 0;
  pointer-events: none;
}
.section-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/* Heading overlaid on the wave */
.discover-wave-heading {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 4.375rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #A05617;
  text-transform: uppercase;
  width: 600px;
  max-width: 90vw;
  pointer-events: auto;
  z-index: 3;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 400px 60px;
  max-width: 900px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-location {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
  margin: 0;
  letter-spacing: 0.02em;
}
.hero-heading {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(3.5rem, 6.5vw, 6.25rem); /* 100px at ~1540px viewport */
  line-height: 0.9;                           /* 90% */
  letter-spacing: -0.04em;                    /* -4% */
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.hero-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: var(--white);
  opacity: 0.95;
  max-width: 500px;
  margin: 0;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}
/* Find activities - light pill */
.btn-white {
  background: var(--white);
  color: #814008;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-white:hover { opacity: 0.88; }
/* List your activity - amber pill */
.btn-dark {
  background: #A05617;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-dark:hover { opacity: 0.88; }

.hero-duck {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: 1500px;
  z-index: 3;
  transform: scaleX(-1);
}

/* Wave PNG positioned at bottom of hero, extends into discover */
.hero-wave-png {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 5;
  pointer-events: none;
  display: block;
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Duck rise animation (hero, 3s delay) */
.duck-rise {
  opacity: 0;
  transform: translateY(60px) scaleX(-1);
  animation: duckRise 0.7s ease forwards;
  animation-delay: 3s;
}
@keyframes duckRise {
  to { opacity: 1; transform: translateY(0) scaleX(-1); }
}

/* Scroll-triggered fade - visible by default, JS adds the animation class */
.fade-in-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-loaded .fade-in-scroll {
  opacity: 0;
  transform: translateY(24px);
}
.js-loaded .discover-photo.fade-in-scroll {
  opacity: 0;
  transform: var(--photo-transform);
}
.js-loaded .discover-photo.fade-in-scroll.visible {
  opacity: 1;
  transform: var(--photo-transform);
}
.js-loaded .fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Duck slide from left */
.duck-slide-left {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-loaded .duck-slide-left {
  opacity: 0;
  transform: translateX(-80px);
}
.js-loaded .duck-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== DISCOVER ===== */
.discover {
  position: relative;
  background-color: #FCE0AF;
  height: 1240px;
  margin-top: 0;
  z-index: 4;
  overflow: visible;
}

.discover-bg { display: none; }

/* Wave PNG absolutely behind discover content */
.discover-wave-bg {
  position: absolute;
  top: -300px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.discover-inner {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* On desktop: both divs are transparent pass-throughs for abs-positioned photos */
.discover-strip-viewport {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.discover-photos-strip {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.discover-col { display: none; }

.discover-photo {
  position: absolute;
  width: 17.7%;
  aspect-ratio: 340 / 455;
  object-fit: cover;
  border-radius: 20px;
  border: 10px solid var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.discover-photo-football {
  left: 10.4%;
  top: 20px;
  --photo-transform: rotate(4deg);
  transform: rotate(4deg);
}

.discover-photo-reading {
  left: 70.3%;
  top: 25px;
  --photo-transform: rotate(-4deg);
  transform: rotate(-4deg);
}

.discover-photo-painting {
  left: 13.1%;
  top: 421px;
  --photo-transform: rotate(0deg);
  transform: rotate(0deg);
}

.discover-photo-tennis {
  left: 69.2%;
  top: 421px;
  --photo-transform: scaleX(-1);
  transform: scaleX(-1);
}

.discover-centre {
  position: absolute;
  left: 34.2%;
  top: 268px;
  width: 31.6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.discover-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.discover-text h2 {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 4.375rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #A05617;
  text-transform: uppercase;
  margin: 0;
}

.discover-text p {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.25vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
  color: #814008;
  margin: 0;
}

.discover-wave-bottom {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.discover-duck {
  position: absolute;
  left: 50%;
  top: 520px;
  width: clamp(240px, 32.9vw, 632px);
  height: auto;
  display: block;
  transform: scaleX(-1);
  z-index: 3;
}

/* ===== MAP ===== */
.map-section {
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding: 220px 40px 360px;
  text-align: center;
}
.map-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.map-title {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 4.375rem);
  color: #A05617;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.map-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  color: #814008;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 40px;
}
.map-container {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  height: 624px;
}
.map-container iframe {
  height: 100% !important;
  width: 100% !important;
  display: block;
}
.duck-map-img {
  width: 360px;
  position: absolute;
  bottom: -160px;
  right: -180px;
}

/* ===== MEET DUCKLY ===== */
.meet {
  position: relative;
  z-index: 5;
  overflow: visible;
  min-height: 900px;
  background: transparent;
  isolation: isolate;
}

/* meet-bg.png fills the section as background */
.meet-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

/* meet-wave.png overlaid on top of bg */
.meet-wave-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.meet-inner {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
  align-items: start;
  padding: 340px 80px 520px 260px;
}

/* Heading - Opsilon 70px #A05617 */
.meet-text h2 {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(2.75rem, 3.96vw, 4.8rem);
  color: #A05617;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 35px;
}

/* Body - Manrope 500 24px #814008 */
.meet-text > p {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.375vw, 1.65rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #814008;
  max-width: 700px;
  margin-bottom: 0;
}

/* Photos container - absolutely positioned per Figma */
.meet-photos {
  position: relative;
  height: 660px;
}

.meet-photo-wrap {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* Anna: top 124px, left 62% canvas -> within right column ~0% */
.meet-photo-anna-wrap {
  top: 0px;
  right: -60px;
  transform: rotate(3deg);
  border: 10px solid #FEF2E6;
}
.meet-photo-anna {
  width: 374px;
  min-width: 374px;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Eva: top 379px, positioned lower and to the left of Anna */
.meet-photo-eva-wrap {
  top: 280px;
  right: 180px;
  transform: rotate(-4deg);
  border: 10px solid #FEF2E6;
  border-radius: 20px;
}
.meet-photo-eva {
  width: 374px;
  min-width: 374px;
  height: 498px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Anna label - Opsilon 50px, -4deg, #A05617 */
.photo-label-anna {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 3.125rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: #A05617;
  transform: rotate(2deg);
}

/* Eva label - Opsilon 50px, 4deg, #FEF2E6 */
.photo-label-eva {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 3.125rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: #FEF2E6;
  transform: rotate(-2deg);
}

/* Mission image */
.mission-img {
  position: absolute;
  bottom: -260px;
  left: 140px;
  width: clamp(900px, 100vw, 1600px);
  height: auto;
}
.duck-meet {
  position: absolute;
  bottom: 60px;
  left: 160px;
  width: 650px;
}

/* ===== ACTIVITIES ===== */
.activities {
  background: var(--cream);
  padding: 200px 0 20px;
  overflow: hidden;
}

.activities-inner {
  padding: 0 140px;
}
.activities-header {
  text-align: center;
  padding: 0 40px 60px;
}
.activities-header h2 {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(2.5rem, 3.6vw, 4.375rem);
  color: #A05617;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.activities-header p {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.25vw, 1.5rem);
  color: #814008;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* Carousel */
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0 0 40px;
}
.activities-track {
  display: flex;
  padding: 0;
  width: max-content;
  will-change: transform;
  align-items: flex-start;
}

/* -- Card -- */
.activity-card {
  flex-shrink: 0;
  width: 594px;
  margin-right: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Photo - wider than blob, rounded corners */
.activity-photo {
  width: 594px;
  height: 401px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  background: var(--amber-light);
  position: relative;
  z-index: 1;
}

/* Blob area - overlaps bottom of photo */
.activity-blob {
  position: relative;
  margin-top: -90px;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

/* The blob PNG */
.blob-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(91%) sepia(18%) saturate(600%) hue-rotate(340deg) brightness(103%);
}

/* Text centred over the blob */
.activity-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  text-align: center;
  pointer-events: none;
}

.activity-text h3 {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: 50px;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
  color: #A05617;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.activity-text p {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #814008;
  margin: 0;
}

/* ===== TRUST ===== */
.trust {
  background: var(--cream);
  padding: 20px 40px 40px;
  position: relative;
  overflow: hidden;
}

/* Outer wrapper: duck on left, content on right */
.trust-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* Thinking duck - 400% of original 130px = 520px */
.duck-trust {
  width: 702px;
  flex-shrink: 0;
  margin-left: -240px;
  margin-top: -60px;
  position: relative;
  z-index: 0;
}

/* Content: header + bubble rows */
.trust-content {
  flex: 1;
  padding-left: 0;
  margin-left: -200px;
  position: relative;
  z-index: 1;
}

/* Header */
.trust-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Heading - Opsilon 70px #A05617 */
.trust-header h2 {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-weight: 400;
  font-size: clamp(2.5rem, 3.6vw, 4.375rem);
  color: #A05617;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* Sub text - Manrope 500 24px #814008 */
.trust-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.25vw, 1.5rem);
  color: #814008;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Bubble rows */
.trust-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

/* Each bubble image */
.trust-bubble {
  height: auto;
  display: block;
  max-width: 380px;
  width: 100%;
}

/* Wide bubbles for bottom row */
.trust-bubble-wide {
  max-width: 520px;
}

/* ===== FAQ ===== */
.faq {
  background: var(--cream);
  padding: 20px 40px 80px;
}
.faq-inner {
  max-width: 980px;
  margin: 0 auto;
}
.faq-inner h2 {
  font-family: 'Opsilon', 'Fredoka One', cursive;
  font-size: clamp(2rem, 3.6vw, 4.375rem);
  font-weight: 400;
  color: var(--brown);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 48px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each item is a stacked pair: question row + answer row */
.faq-item {
  display: block;
  background: none;
}

/* Question row -- uses question-vector.png as background */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background-image: url('images/question-vector.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  font-weight: 600;
  color: #814008;
  text-align: left;
  border-radius: 0;
  min-height: 64px;
  transition: opacity 0.25s ease;
}
.faq-question:hover { opacity: 0.88; }
.faq-item + .faq-item { margin-top: 12px; }

/* +/- icon circle */
.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #5C2D0A;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after  { width: 2px; height: 14px; }

.faq-question[aria-expanded="true"] .faq-icon { background: #A05617; }
.faq-question[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg) scaleY(0);
}

/* Answer -- CSS grid trick for truly smooth height animation */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition-property: grid-template-rows, margin-top;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer.open {
  grid-template-rows: 1fr;
  margin-top: 8px;
}
.faq-answer-inner {
  overflow: hidden;
  background-image: url('images/answer-vector.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 36px;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer.open .faq-answer-inner {
  padding: 22px 36px 28px;
}
.faq-answer p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  line-height: 1.7;
  color: #814008;
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--cream-mid);
  padding: 48px 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(139,69,19,0.15);
}
.footer-brand {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  height: 160px;
}
.footer-duck {
  width: 132px;
  max-width: none;
  mix-blend-mode: multiply;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.footer-links {
  flex: 1;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.82rem;
  color: var(--text-body);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--amber); }
.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: auto;
}
.footer-bottom {
  max-width: 1100px;
  margin: 16px auto 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-social a {
  color: var(--brown);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--amber); }

/* ===== HERO BUTTONS ===== */
.btn-hero-light {
  background: #FEF2E6;
  color: #814008;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-hero-light:hover { opacity: 0.85; }

.btn-hero-dark {
  background: #A05617;
  color: #FEF2E6;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-hero-dark:hover { opacity: 0.88; }

/* ===== FOOTER BUTTONS ===== */
.btn-footer-signin {
  background: transparent;
  color: #814008;
  border: 1.5px solid #A05617;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-footer-signin:hover { opacity: 0.75; }

.btn-footer-cta {
  background: #A05617;
  color: #FEF2E6;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-footer-cta:hover { opacity: 0.88; }

/* ===== PRICING MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: #FEF2E6;
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 760px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: #F9DCC6;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #814008;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #814008;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 36px;
  line-height: 1.2;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pricing-card {
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.pricing-free {
  background: #FCE0AF;
}
.pricing-paid {
  background: #A05617;
  color: #FEF2E6;
}
.pricing-duck {
  position: absolute;
  top: -40px;
  right: 20px;
  width: 80px;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  text-transform: uppercase;
  color: inherit;
}
.pricing-free h3 { color: #814008; }
.pricing-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pricing-card ul li {
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.pricing-card ul li::before {
  content: '-';
  position: absolute;
  left: 0;
}
.pricing-free ul li { color: #814008; }
.pricing-paid ul li { color: #FEF2E6; }
.price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
}
.pricing-free .price { color: #814008; }
.pricing-paid .price { color: #FEF2E6; }
.btn-pricing-free {
  display: block;
  text-align: center;
  background: #FEF2E6;
  color: #814008;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-pricing-free:hover { opacity: 0.85; }
.btn-pricing-paid {
  display: block;
  text-align: center;
  background: #FEF2E6;
  color: #814008;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity var(--transition);
}
.btn-pricing-paid:hover { opacity: 0.85; }

/* FAQ answer max-height handled in FAQ block above */




/* ============================================================
   
/* ===== LARGE DESKTOP (min-width: 1440px) ===== */

/* ===== ULTRA WIDE (min-width: 2200px) ===== */

/* ===== 2515px (primary design screen) ===== */
@media (min-width: 2515px) {
  .discover-photo-painting { top: 500px; }
  .discover-photo-tennis   { top: 500px; }
}

@media (min-width: 2200px) {
  /* Duck right and moved down */
  .hero-duck { right: -400px; width: 1800px; bottom: -80px; transform: scaleX(-1); }
  /* Photos 30% smaller than base for large screens */
  .discover-photo { width: 12.4%; }
  .discover-photo-football { left: 10.4%; }
  .discover-photo-painting { left: 13.1%; }
  .discover-photo-reading  { left: 70.3%; }
  .discover-photo-tennis   { left: 69.2%; }
}

@media (min-width: 1440px) {

  /* Hero duck -- move right, 50% larger, mirrored */
  .hero-duck { right: -380px; width: 1800px; transform: scaleX(-1); }

  /* Discover */
  .discover-wave-bottom { bottom: 20px; }
  .discover { height: 1400px; }
  .discover-photo { width: 19%; }
  .discover-photo-football { left: 7%; }
  .discover-photo-painting { left: 7%; }
  .discover-duck { width: clamp(300px, 36vw, 700px); top: 600px; }

  /* Meet bg/wave -- stretch to cover full section */
  .meet-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: none;
  }
  .meet-wave-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: none;
  }

  /* Mission -- move left */
  .mission-img { bottom: -200px; left: -40px; }
}

RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ===== SMALL LAPTOP (max 1200px) ===== */
@media (max-width: 1200px) {

  .nav-links { display: flex; gap: 20px; }
  .nav-inner { gap: 16px; }

  .hero-content { padding: 0 40px 360px 40px; }
  .hero-duck { width: 1125px; right: -140px; transform: scaleX(-1); }

  .discover { height: 1100px; }
  .discover-photo { width: 20%; }

  .meet-inner { padding: 280px 60px 420px 160px; gap: 80px; }
  .meet-photo-anna { width: 280px; min-width: 280px; height: 380px; }
  .meet-photo-eva  { width: 280px; min-width: 280px; height: 376px; }
  .duck-meet { width: 605px; left: 80px; bottom: 320px; }

  .activity-card { width: 480px; }
  .activity-photo { width: 480px; height: 324px; }

  .map-section { padding: 160px 40px 280px; }
}

/* ===== TABLET PORTRAIT (max 1024px) ===== */
@media (max-width: 1024px) {

  /* Navbar -- keep both buttons visible */
  /* Navbar -- show all links at laptop size */
  .nav-links { display: flex; gap: 18px; }
  .nav-links a { font-size: 0.80rem; }
  .nav-inner { justify-content: space-between; }
  .btn-nav-cta { display: inline-block; }
  .btn-nav-signin { display: inline-block; }

  /* Hero -- buttons stay pill-shaped not stretched */
  .hero { align-items: flex-end; padding-top: 80px; }
  .hero-content { padding: 0 32px 380px 32px; max-width: 55%; gap: 20px; }
  .hero-duck { width: 1479px; bottom: 60px; right: -200px; transform: scaleX(-1); }
  .hero-btns { flex-direction: row; flex-wrap: wrap; }
  .btn-white, .btn-dark { width: auto; }

  /* Discover -- 2x2 grid like desktop, photos keep absolute positions */
  .discover { height: 900px; }
  .discover-strip-viewport {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
  }
  .discover-photos-strip {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
  }
  .discover-photo { position: absolute; width: 28%; }
  .discover-photo-football { left: 5%; top: 20px; }
  .discover-photo-reading  { left: 70%; top: 20px; }
  .discover-photo-painting { left: 5%; top: 360px; }
  .discover-photo-tennis   { left: 70%; top: 360px; }
  .discover { height: 980px; }
  .discover-centre {
    position: absolute;
    left: 33%;
    top: 200px;
    width: 34%;
  }
  .discover-duck {
    position: absolute;
    left: 50%;
    top: 460px;
    width: clamp(160px, 22vw, 380px);
    transform: scaleX(-1);
  }

  /* Meet Duckly -- bg/wave stretch to fill */
  .meet-inner {
    grid-template-columns: 1fr;
    padding: 200px 40px 340px;
    gap: 60px;
  }
  .meet-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: none;
  }
  .meet-wave-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: none;
  }
  .meet-photos { height: 500px; }
  .meet-photo-anna-wrap { right: 0; }
  .meet-photo-anna { width: 240px; min-width: 240px; height: 320px; }
  .meet-photo-eva-wrap { top: 220px; right: 140px; }
  .meet-photo-eva  { width: 240px; min-width: 240px; height: 318px; }
  .duck-meet { width: 460px; left: 0; bottom: 360px; }
  .discover-wave-bottom { bottom: 20px; }
  .mission-img { width: 45vw; left: 240px; bottom: -140px; }

  /* Activities */
  .activity-card { width: 380px; }
  .activity-photo { width: 380px; height: 257px; }
  .activity-text h3 { font-size: 36px; }
  .activity-text p { font-size: 12px; }
  .activity-blob { width: 380px; }

  /* Map */
  .map-section { padding: 120px 32px 200px; }
  .map-container { height: 440px; }
  .duck-map-img { width: 240px; right: -80px; }

  /* Trust -- 2 columns of paired bubbles, duck above */
  .trust { padding: 60px 32px 60px; }
  .trust-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .duck-trust {
    width: 280px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: -20px;
    flex-shrink: 0;
  }
  .trust-content { margin-left: 0; width: 100%; }
  .trust-header { margin-bottom: 32px; }
  .trust-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
  }
  .trust-bubble { max-width: 45%; width: 45%; }
  .trust-bubble-wide { max-width: 45%; width: 45%; }

  /* Footer */
  .footer-inner { gap: 32px; }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {

  /* Navbar -- show core links, keep both buttons */
  .nav-inner { padding: 8px 16px; gap: 8px; }
  .nav-logo { font-size: 1.3rem; padding: 4px 8px; }
  .nav-links {
    display: flex;
    gap: 14px;
    flex: 1;
    justify-content: center;
  }
  .nav-links a { font-size: 0.72rem; }
  /* Hide Meet Duckly link to save space at tablet size */
  .nav-links a[href="#meet-duckly"] { display: none; }
  .btn-nav-cta    { display: inline-block; font-size: 0.72rem; padding: 6px 10px; }
  .btn-nav-signin { display: inline-block; font-size: 0.72rem; padding: 6px 10px; }

  /* Hero -- content left, duck down and bigger */
  .hero { align-items: flex-end; padding-top: 100px; min-height: 560px; }
  .hero-content {
    padding: 0 24px 300px 24px;
    gap: 16px;
    position: relative;
    z-index: 4;
    max-width: 62%;
  }
  .hero-heading { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 0.88rem; max-width: 100%; }
  .hero-btns { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .btn-white, .btn-dark { width: auto; padding: 10px 18px; font-size: 0.85rem; }
  .hero-duck {
    width: 1313px;
    bottom: 60px;
    top: auto;
    right: -160px;
    transform: scaleX(-1);
  }

  /* Discover -- clip overflow on mobile */
  .discover { padding: 40px 0 80px; overflow: visible; }
  .discover-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .discover-centre { position: static; width: 90%; order: -1; padding: 20px 0 0; }
  .discover-strip-viewport { position: static; display: block; width: 100%; height: auto; overflow: hidden; align-self: stretch; }
  .discover-photos-strip { position: relative; display: flex; width: max-content; gap: 12px; padding: 12px 0; will-change: transform; }
  .discover-photo { position: static; flex-shrink: 0; width: 180px; aspect-ratio: 340 / 455; transform: none !important; }
  .discover-wave-bg { top: -160px; }
  .discover-wave-bottom { width: 100%; left: 0; bottom: 20px; }

  /* Meet Duckly */
  .meet-inner { padding: 140px 24px 280px; }
  .meet-bg-img  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
  .meet-wave-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
  .meet-photos { height: 380px; }
  .meet-photo-anna { width: 180px; min-width: 180px; height: 240px; }
  .meet-photo-eva  { width: 180px; min-width: 180px; height: 238px; }
  .meet-photo-anna-wrap { right: 0; }
  .meet-photo-eva-wrap  { top: 160px; right: 100px; }
  .duck-meet { width: 290px; left: 0; bottom: 320px; }
  .mission-img { width: 53.9vw; left: 180px; bottom: -60px; }

  /* Map */
  .map-section { padding: 80px 20px 120px; }
  .map-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .map-sub { font-size: 0.88rem; }
  .map-container { height: 300px; }
  .duck-map-img { width: 180px; right: -60px; }

  /* Activities */
  .activity-card { width: 260px; }
  .activity-photo { width: 260px; height: 176px; }
  .activity-text h3 { font-size: 28px; }
  .activity-text p { font-size: 11px; }
  .activity-blob { width: 260px; margin-top: -60px; }

  /* Trust */
  .trust { padding: 40px 20px; }
  .trust-inner { flex-direction: column; align-items: center; }
  .duck-trust { width: 200px; margin-left: 0; margin-top: 0; margin-bottom: -16px; }
  .trust-content { margin-left: 0; width: 100%; }
  .trust-header { margin-bottom: 24px; }
  .trust-row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 12px; }
  .trust-bubble { max-width: 46%; width: 46%; }
  .trust-bubble-wide { max-width: 46%; width: 46%; }

  /* FAQ */
  .faq { padding: 20px 20px 60px; }
  .faq-inner { max-width: 100%; }

  /* Footer */
  .footer { padding: 40px 20px 20px; }
  .footer-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-brand { width: 100%; height: 120px; }
  .footer-duck { width: 100px; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .footer-actions { margin-left: 0; }
  .footer-bottom { justify-content: center; }
}

/* ===== SMALL PHONES (max 480px) ===== */
@media (max-width: 480px) {

  /* Navbar -- logo + both buttons, no links */
  .btn-nav-signin { display: inline-block; font-size: 0.65rem; padding: 5px 8px; }
  .btn-nav-cta { display: inline-block; font-size: 0.65rem; padding: 5px 8px; }
  .nav-links { display: none; }

  /* Hero */
  .hero-content { max-width: 65%; }
  .hero-heading { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-duck { width: 975px; bottom: 60px; top: auto; right: -140px; transform: scaleX(-1); }

  /* Discover */
  .discover-centre { position: static; width: 90%; order: -1; }
  .discover-photo { position: static; flex-shrink: 0; width: 150px; aspect-ratio: 340 / 455; transform: none !important; }
  .discover-wave-bg { top: -120px; }
  .discover-wave-bottom { bottom: 20px; }
  .duck-map-img { display: block; width: 160px; right: -40px; }

  /* Meet */
  .meet-inner { padding: 100px 16px 200px; }
  .meet-photos { height: 320px; }
  .meet-photo-anna { width: 150px; min-width: 150px; height: 200px; }
  .meet-photo-eva  { width: 150px; min-width: 150px; height: 198px; }
  .meet-photo-eva-wrap { top: 130px; right: 80px; }
  .duck-meet { width: 218px; bottom: 280px; }
  .mission-img { width: 55vw; left: 140px; bottom: -60px; }

  /* Activities */
  .activity-card { width: 220px; }
  .activity-photo { width: 220px; height: 149px; }
  .activity-text h3 { font-size: 22px; }
  .activity-text p { font-size: 10px; }
  .activity-blob { width: 220px; }

  /* Trust */
  .duck-trust { width: 160px; }
  .trust-bubble { max-width: 48%; width: 48%; }
  .trust-bubble-wide { max-width: 48%; width: 48%; }

  /* Map */
  .map-container { height: 240px; }

  /* Footer */
  .footer-links { flex-direction: column; }
}
