/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: #0b1621;
  color: #e0e0e0;
  line-height: 1.7;
  overflow-x: hidden;
}
.site-content {
  position: relative;
}
.site-pattern-fixed {
  position: absolute;
  top: 0;
  right: 0;
  position: fixed;
  width: clamp(160px, 18vw, 340px);
  height: 100vh;
  background-image: url('../images/Design.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  opacity: 0;
  filter: contrast(1.15) brightness(1.15);
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.25s ease;
}
body.show-site-pattern .site-pattern-fixed {
  opacity: 0.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== COLOUR TOKENS ===== */
:root {
  --teal: #54a3a7;
  --teal-dark: #3d8589;
  --dark-1: #0b1621;
  --dark-2: #111f2e;
  --dark-3: #162637;
  --white: #ffffff;
  --grey-light: #c8d6e5;
  --grey-mid: #8899a6;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(11, 22, 33, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(84, 163, 167, 0.1);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(11, 22, 33, 0.97); }
.nav-logo { height: 44px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* Video background (add your video src when ready) */
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11,22,33,0.7) 0%,
    rgba(11,22,33,0.5) 40%,
    rgba(11,22,33,0.85) 100%);
  z-index: 1;
}
/* Animated ocean-like gradient fallback when no video */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b1621 0%, #0f2132 30%, #133040 55%, #0d2436 80%, #0b1621 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(84,163,167,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(84,163,167,0.05) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem;
}
.hero-logo {
  width: min(500px, 80vw);
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 4px 30px rgba(84,163,167,0.2));
}
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.hero-tagline-te-reo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--teal);
  margin-bottom: 2rem;
}
.hero-blurb {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--grey-light);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: pulse-down 2s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes pulse-down {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.6; }
}

/* ===== SECTION UTILITIES ===== */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-dark { background: var(--dark-2); }
.section-full {
  padding: 6rem 2rem;
  width: 100%;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--grey-mid);
  max-width: 600px;
  margin: 0 auto;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--teal);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
#about {
  position: relative;
  overflow: hidden;
  --about-fish-base-top: 48%;
  --about-fish-x: 120%;
  --about-fish-y: 12%;
  --about-fish-rotate: 12deg;
  padding-top: 2.5rem;
}
#about > * {
  position: relative;
  z-index: 1;
}
.about-fish {
  position: absolute;
  top: var(--about-fish-base-top);
  left: 0;
  width: clamp(280px, 42vw, 560px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  transform: translate(var(--about-fish-x), var(--about-fish-y)) rotate(var(--about-fish-rotate));
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-fish img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.35));
}

.about-whakatauki {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 2.5rem;
  border-left: 3px solid var(--teal);
  border-right: 3px solid var(--teal);
  background: rgba(84,163,167,0.04);
  border-radius: 4px;
}
.whakatauki-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.whakatauki-maori {
  text-align: right;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--teal);
  font-size: 1.1rem;
}
.whakatauki-english {
  text-align: left;
  color: var(--grey-mid);
  font-size: 0.95rem;
}
.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--grey-light);
  line-height: 1.9;
}
.about-text p { margin-bottom: 1.5rem; }
.about-highlight {
  color: var(--teal);
  font-weight: 600;
}

/* ===== FOUNDERS SECTION ===== */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.founder-card {
  background: var(--dark-3);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(84,163,167,0.08);
  cursor: pointer;
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.founder-card::after {
  content: 'See more';
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(11,22,33,0.78);
  border: 1px solid rgba(84,163,167,0.35);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.founder-card:hover::after,
.founder-card:focus-visible::after,
.founder-card:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}
.founder-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.founder-card:hover .founder-photo,
.founder-card:focus-visible .founder-photo,
.founder-card:focus-within .founder-photo {
  transform: scale(1.04);
  filter: brightness(0.82);
}
.founder-photo--caleb {
  object-position: center 16%;
}
.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--dark-2), rgba(84,163,167,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo-placeholder svg {
  width: 64px; height: 64px;
  opacity: 0.2;
}
.founder-info {
  padding: 1.8rem;
}
.founder-card .founder-info {
  padding: 1.25rem 1.25rem 1.4rem;
}
.founder-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.founder-iwi {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.founder-bio {
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.7;
}
.founder-card .founder-bio {
  display: none;
}

.founder-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.founder-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.founder-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 22, 0.78);
  backdrop-filter: blur(4px);
}
.founder-modal-card {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  background: var(--dark-2);
  border: 1px solid rgba(84,163,167,0.2);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.founder-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(84,163,167,0.25);
  border-radius: 999px;
  background: rgba(11,22,33,0.9);
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.founder-modal-close:hover {
  background: rgba(84,163,167,0.16);
}
.founder-modal-photo {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 22%;
}
.founder-modal-info {
  padding-top: 1.4rem;
}
.founder-modal-info .founder-bio {
  display: block;
}
body.modal-open {
  overflow: hidden;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  max-width: 900px;
  margin: 0 auto;
}
.testimonials-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.testimonials-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.testimonials-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 100%;
}
.testimonial-card {
  background: rgba(84, 163, 167, 0.08);
  border: 1px solid rgba(84, 163, 167, 0.22);
  border-radius: 12px;
  padding: 2.2rem;
}
.testimonial-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(84, 163, 167, 0.28);
  background: rgba(11, 22, 33, 0.85);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.testimonial-nav:hover {
  background: rgba(84, 163, 167, 0.14);
  color: var(--white);
  border-color: rgba(84, 163, 167, 0.45);
}
.testimonial-nav span {
  font-size: 1.25rem;
  line-height: 1;
}
.testimonial-quote {
  color: var(--grey-light);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-top: 0.8rem;
}
.testimonial-role {
  color: var(--teal);
  font-size: 0.95rem;
  line-height: 1.6;
}
.testimonial-source {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.45rem;
  border: 1px solid rgba(84, 163, 167, 0.2);
}
.testimonials-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  border: 2px dashed rgba(84,163,167,0.2);
  border-radius: 10px;
  color: var(--grey-mid);
  font-style: italic;
}

/* ===== PARTNERS SECTION ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
}
.partner-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1rem 0.5rem;
  text-align: center;
  width: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: none;
}
.partner-card:hover {
  background: transparent;
  border-color: transparent;
}
.partner-logo,
.partner-logo-placeholder {
  width: min(140px, 100%);
  height: 60px;
  margin-bottom: 0;
  display: block;
}
.partner-logo {
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.3s;
}
.partner-logo--tapuwaeroa { transform: scale(1.24); }
.partner-logo--ara-moana { transform: scale(1.32); }
.partner-logo-placeholder {
  opacity: 0;
  pointer-events: none;
}
.partner-card:hover .partner-logo { opacity: 1; }
.partner-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-light);
  letter-spacing: 0.02em;
}

/* ===== CONTACT / EOI SECTION ===== */
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.contact-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--grey-light);
  font-size: 1rem;
  line-height: 1.8;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea, .form-select {
  background: var(--dark-3);
  border: 1px solid rgba(84,163,167,0.15);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--teal);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--grey-mid);
  opacity: 0.6;
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select option { background: var(--dark-2); color: var(--white); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
  margin-top: 0.5rem;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-primary:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}
.form-status {
  min-height: 1.25rem;
  color: var(--grey-mid);
  font-size: 0.9rem;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(84,163,167,0.08);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo { height: 36px; margin: 0 auto 1.5rem; }
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(84,163,167,0.1);
  color: var(--teal);
  transition: background 0.3s, color 0.3s;
}
.footer-socials a:hover {
  background: var(--teal);
  color: var(--white);
}
.footer-socials svg { width: 18px; height: 18px; }
.footer-text {
  font-size: 0.8rem;
  color: var(--grey-mid);
}
.footer-email {
  color: var(--teal);
  font-weight: 500;
}

/* ===== PARALLAX IMAGE STRIPS ===== */
.parallax-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.parallax-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}
.parallax-strip-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.parallax-cell {
  position: relative;
  overflow: hidden;
  height: 340px;
}
.parallax-cell img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  position: absolute;
  top: -15%;
  left: 0;
  transition: transform 0.1s linear;
  will-change: transform;
}
.parallax-cell .parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,22,33,0.3) 0%, rgba(11,22,33,0.15) 50%, rgba(11,22,33,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Single full-width parallax */
.parallax-full {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
}
.parallax-full img {
  width: 100%;
  height: 210%;
  object-fit: cover;
  object-position: 43% 34%;
  position: absolute;
  top: -48%;
  left: 0;
  filter: contrast(1.12) saturate(1.08) brightness(0.98);
  will-change: transform;
}
.parallax-full .parallax-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 43% 58%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 24%),
    linear-gradient(180deg, rgba(11,22,33,0.36) 0%, rgba(11,22,33,0.06) 40%, rgba(11,22,33,0.4) 100%);
  z-index: 1;
}
.parallax-full-quote {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.parallax-full-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  color: var(--white);
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  line-height: 1.6;
}
.parallax-full-quote .quote-attr {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--teal);
  margin-top: 1rem;
  letter-spacing: 0.05em;
  text-shadow: none;
}

/* ===== HOW WE WORK SECTION ===== */
.how-section {
  padding: 6rem 2rem;
  width: 100%;
  background: var(--dark-1);
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.how-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.how-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.how-text p {
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.how-infographic {
  display: flex;
  justify-content: center;
}
.how-bubbles {
  width: min(100%, 520px);
  position: relative;
  aspect-ratio: 52 / 42;
}
.how-bubble {
  position: absolute;
  width: 40%;
  min-height: 24%;
  padding: 1.2rem 1.4rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  color: #242833;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: none;
  opacity: 0.86;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: scale(0.97);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease, background 0.55s ease, opacity 0.55s ease;
}
.how-cycle-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--teal-dark);
  opacity: 0.38;
  pointer-events: none;
  overflow: visible;
  shape-rendering: geometricPrecision;
  transform: scale(1.2);
  transform-origin: center;
}
.how-cycle-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  marker-mid: url(#howArrow);
  marker-end: url(#howArrow);
}
.how-bubble-authorities {
  left: 1%;
  top: 33%;
}
.how-bubble-waita {
  right: 1%;
  top: 3%;
}
.how-bubble-kairuku {
  right: 6%;
  bottom: 1%;
}
.how-bubble.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.86);
}

/* ===== PHOTO MOSAIC (4 images) ===== */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  overflow: hidden;
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.7) saturate(0.9);
}
.photo-mosaic .mosaic-item:nth-child(1) img {
  filter: brightness(0.8) saturate(0.95);
  object-position: 50% 28%;
}
.photo-mosaic .mosaic-item:nth-child(2) img { filter: brightness(0.79) contrast(1.08) saturate(0.95); }
.photo-mosaic .mosaic-item:nth-child(3) img {
  filter: brightness(0.82) saturate(1);
  object-position: 72% 34%;
}
.photo-mosaic .mosaic-item:nth-child(4) img {
  filter: brightness(0.9) saturate(1);
  object-position: 78% 36%;
}
.mosaic-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.9) saturate(1.1);
}
.mosaic-item .mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,22,33,0.1) 0%, rgba(11,22,33,0.5) 100%);
  pointer-events: none;
}

/* ===== SCROLL ANIMATIONS (enhanced) ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.75s; }
/* Delay utilities */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ===== SUCCESS MODAL ===== */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.success-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 22, 0.78);
  backdrop-filter: blur(4px);
}
.success-modal-card {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  background: var(--dark-2);
  border: 1px solid rgba(84,163,167,0.2);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  text-align: center;
  padding: 3rem 2rem;
}
.success-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(84,163,167,0.25);
  border-radius: 999px;
  background: rgba(11,22,33,0.9);
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.success-modal-close:hover {
  background: rgba(84,163,167,0.16);
}
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(84,163,167,0.1);
  color: var(--teal);
  border-radius: 50%;
  border: 1px solid rgba(84,163,167,0.25);
}
.success-icon svg {
  width: 32px;
  height: 32px;
}
.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.success-text {
  font-size: 1rem;
  color: var(--grey-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .founders-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .how-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .how-infographic { justify-content: center; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic-item { height: 220px; }
  .photo-mosaic .mosaic-item:nth-child(1) img { object-position: 50% 24%; }
  .photo-mosaic .mosaic-item:nth-child(3) img { object-position: 68% 32%; }
  .photo-mosaic .mosaic-item:nth-child(4) img { object-position: 72% 30%; }
  .parallax-strip-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-pattern-fixed {
    right: -10px;
    width: clamp(180px, 42vw, 280px);
    height: 100dvh;
    background-size: contain;
    background-position: center center;
  }
  body.show-site-pattern .site-pattern-fixed {
    opacity: 0.28;
  }
  .navbar {
    padding: 0.75rem 1rem;
    position: fixed;
  }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 320px;
    height: 100vh;
    background: var(--dark-2);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(84,163,167,0.1);
  }
  .nav-links.open { right: 0; }
  .hamburger {
    display: inline-flex !important;
    z-index: 1001;
    margin-left: auto;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(84,163,167,0.22);
    border-radius: 6px;
    background: rgba(11,22,33,0.7);
  }
  .hamburger span {
    display: none;
  }
  .hamburger::before {
    content: '☰';
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 700;
  }
  .nav-links.open + .hamburger::before {
    content: '✕';
  }
  .section { padding: 4rem 1.5rem; }
  .section-full { padding: 4rem 1.5rem; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-quote { font-size: 0.98rem; }
  .testimonial-author { font-size: 1.15rem; }
  .testimonials-carousel {
    grid-template-columns: 1fr auto auto;
    gap: 0.8rem;
  }
  .testimonials-viewport {
    grid-column: 1 / -1;
  }
  .testimonial-nav-prev {
    grid-column: 2;
    justify-self: end;
  }
  .testimonial-nav-next {
    grid-column: 3;
    justify-self: start;
  }
  .testimonial-source {
    align-items: flex-start;
    gap: 0.8rem;
  }
  .testimonial-logo {
    width: 72px;
    height: 72px;
  }
  .how-bubbles { width: min(100%, 420px); }
  .how-bubble {
    border-radius: 28px;
    font-size: clamp(1rem, 3.8vw, 1.35rem);
    padding: 1rem;
  }
  .form-grid { grid-template-columns: 1fr; }
  .whakatauki-line {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    text-align: center;
  }
  .whakatauki-maori { text-align: center; }
  .whakatauki-english { text-align: center; }
  .about-fish {
    width: clamp(180px, 45vw, 300px);
    opacity: 0.12;
  }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .parallax-cell { height: 220px; }
  .parallax-full { height: 500px; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic-item { height: 220px; }
  .photo-mosaic .mosaic-item:nth-child(3) img { object-position: 50% 30%; }
  .photo-mosaic .mosaic-item:nth-child(4) img { object-position: 50% 28%; }
  .founder-modal {
    padding: 0.8rem;
  }
  .founder-modal-card {
    max-height: 92vh;
  }
  .founder-modal-photo {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 480px) {
  .partners-grid { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: 1fr; }
  .mosaic-item { height: clamp(250px, 38vh, 320px); }
  .photo-mosaic .mosaic-item:nth-child(1) img { object-position: 50% 22%; }
  .photo-mosaic .mosaic-item:nth-child(3) img { object-position: 50% 24%; }
  .photo-mosaic .mosaic-item:nth-child(4) img { object-position: 50% 22%; }
  .parallax-strip-grid { grid-template-columns: 1fr; }
  .parallax-strip-grid.cols-4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .how-bubble,
  .how-bubble.is-active,
  .how-bubble:hover {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  .how-cycle-arrows path {
    animation: none !important;
  }
}

/* ===== MERCH PAGE ===== */
.merch-page {
  background:
    radial-gradient(circle at top left, rgba(84, 163, 167, 0.14), transparent 32%),
    linear-gradient(180deg, #08131e 0%, #0b1621 28%, #0f2030 100%);
}
.merch-hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 7.5rem 2rem 4rem;
  align-items: stretch;
  justify-content: center;
}
.merch-hero-bg {
  background:
    linear-gradient(115deg, rgba(6, 15, 24, 0.8) 0%, rgba(6, 15, 24, 0.52) 42%, rgba(6, 15, 24, 0.86) 100%),
    url('../images/image3.png') 68% 18% / cover no-repeat;
  filter: saturate(0.9) contrast(1.02);
}
.merch-hero-overlay {
  background: linear-gradient(180deg, rgba(11,22,33,0.45) 0%, rgba(11,22,33,0.18) 38%, rgba(11,22,33,0.88) 100%);
}
.merch-hero-content {
  max-width: 760px;
  margin-right: auto;
  text-align: left;
  padding-left: min(4vw, 1rem);
  background: linear-gradient(90deg, rgba(7, 18, 28, 0.74) 0%, rgba(7, 18, 28, 0.48) 62%, rgba(7, 18, 28, 0) 100%);
  border-radius: 26px;
  padding: 2.5rem;
}
.merch-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 12ch;
}
.merch-hero-subtitle {
  max-width: 36rem;
}
.merch-hero-copy {
  max-width: 42rem;
  margin-left: 0;
}
.merch-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.merch-primary-link {
  animation: none;
}
.merch-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal) 0%, #72c1c5 100%);
  color: #06131d;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(84, 163, 167, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.merch-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(84, 163, 167, 0.28);
}
.merch-hero-credit {
  margin-top: 1rem;
  color: rgba(224, 224, 224, 0.72);
  font-size: 0.78rem;
  line-height: 1.6;
}
.merch-hero-credit a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.merch-intro-band {
  position: relative;
  overflow: hidden;
}
.merch-intro-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(84, 163, 167, 0.08), transparent 46%);
  pointer-events: none;
}
.merch-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.merch-summary-card {
  padding: 1.6rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(84,163,167,0.04));
  border: 1px solid rgba(84,163,167,0.14);
  backdrop-filter: blur(10px);
}
.merch-summary-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.merch-summary-label {
  color: var(--grey-light);
  font-size: 0.92rem;
}
.merch-gallery-section {
  display: grid;
  gap: 2rem;
}
.merch-slider {
  padding: 2rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(17,31,46,0.98) 0%, rgba(10,22,34,0.92) 100%);
  border: 1px solid rgba(84,163,167,0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}
.merch-slider-topline {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.merch-product-kicker {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.merch-product-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  color: var(--white);
  margin-bottom: 0.55rem;
}
.merch-product-copy {
  max-width: 42rem;
  color: var(--grey-light);
}
.merch-slider-actions {
  display: flex;
  gap: 0.75rem;
}
.merch-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(84,163,167,0.24);
  background: rgba(255,255,255,0.03);
  color: var(--teal);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.merch-arrow:hover {
  background: rgba(84,163,167,0.14);
  color: var(--white);
  transform: translateY(-1px);
}
.merch-slider-viewport {
  overflow: hidden;
  contain: layout paint;
}
.merch-slider-track {
  display: flex;
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.merch-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 1.5rem;
  align-items: center;
  backface-visibility: hidden;
}
.merch-slide-copy {
  padding: 1rem 0;
}
.merch-slide-label {
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  margin-bottom: 0.8rem;
}
.merch-slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: 0.8rem;
}
.merch-slide-text {
  color: var(--grey-light);
  line-height: 1.8;
}
.merch-image-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.merch-shot-card,
.merch-hat-card {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(84,163,167,0.14);
}
.merch-shot-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: rgba(255,255,255,0.02);
}
.merch-hat-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 60%;
  background: rgba(255,255,255,0.02);
}
.merch-shot-card figcaption,
.merch-hat-card figcaption {
  padding: 0.9rem 1rem 1rem;
  color: var(--grey-light);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.merch-colour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}
.merch-colour-tab {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(84,163,167,0.18);
  background: transparent;
  color: var(--grey-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.merch-colour-tab:hover,
.merch-colour-tab.is-active {
  background: rgba(84,163,167,0.14);
  border-color: rgba(84,163,167,0.38);
  color: var(--white);
}
.merch-slider-count {
  margin-top: 1rem;
  color: var(--grey-mid);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.merch-hat-band {
  background: linear-gradient(180deg, rgba(13,28,41,0.8), rgba(8,19,30,0.9));
}
.merch-hat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.merch-hat-card img {
  aspect-ratio: 3 / 4;
  object-position: center 60%;
}
.merch-hat-grid .merch-hat-card:nth-child(1) img,
.merch-hat-grid .merch-hat-card:nth-child(2) img,
.merch-hat-grid .merch-hat-card:nth-child(3) img {
  object-position: center 60%;
}
.merch-cta-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.merch-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(84,163,167,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(84,163,167,0.18);
}
.merch-cta-title {
  margin-bottom: 0.8rem;
}
.merch-cta-copy {
  color: var(--grey-light);
  max-width: 42rem;
}
.merch-cta-button-large {
  min-width: 180px;
}

@media (max-width: 1200px) {
  .merch-hero-content {
    max-width: 680px;
  }
  .merch-slide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .merch-summary-grid,
  .merch-hat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .merch-hero {
    min-height: 82vh;
  }
}

@media (max-width: 768px) {
  .merch-gallery-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .merch-hero {
    min-height: auto;
    padding: 5.5rem 1rem 3rem;
  }
  .merch-hero-bg {
    background:
      linear-gradient(170deg, rgba(6, 15, 24, 0.78) 0%, rgba(6, 15, 24, 0.46) 38%, rgba(6, 15, 24, 0.88) 100%),
      url('../images/image3.png') 50% 20% / cover no-repeat;
  }
  .merch-hero-content {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(7, 18, 28, 0.82) 0%, rgba(7, 18, 28, 0.72) 100%);
  }
  .merch-hero-credit {
    font-size: 0.72rem;
  }
  .merch-hero-title {
    max-width: 100%;
  }
  .merch-slider {
    padding: 1.2rem;
    border-radius: 22px;
  }
  .merch-slider-topline,
  .merch-cta-panel {
    grid-template-columns: 1fr;
    display: grid;
  }
  .merch-slide {
    gap: 1rem;
    align-items: start;
  }
  .merch-slide-copy {
    padding: 0.25rem 0;
  }
  .merch-shot-card,
  .merch-hat-card {
    border-radius: 18px;
  }
  .merch-shot-card img {
    aspect-ratio: 3 / 4;
    object-position: center 22%;
  }
  .merch-shot-card figcaption,
  .merch-hat-card figcaption {
    padding: 0.75rem 0.9rem 0.85rem;
  }
  .merch-slider-actions {
    justify-content: flex-start;
  }
  .merch-image-pair,
  .merch-summary-grid,
  .merch-hat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .merch-gallery-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .merch-slider {
    padding: 1rem;
  }
  .merch-hero {
    padding: 5rem 0.75rem 2.5rem;
  }
  .merch-hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .merch-product-copy,
  .merch-slide-text {
    line-height: 1.65;
  }
  .merch-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .merch-slider-actions {
    gap: 0.55rem;
  }
  .merch-arrow {
    width: 42px;
    height: 42px;
  }
  .merch-colour-tabs {
    gap: 0.5rem;
  }
  .merch-colour-tab {
    padding: 0.62rem 0.84rem;
    font-size: 0.78rem;
  }
  .merch-cta-button {
    width: 100%;
    justify-content: center;
  }
}
