/* ===================================
   Deep Cove Ocean Products — Stylesheet
   =================================== */

:root {
  --navy: #1B2A4A;
  --teal: #2E6B8A;
  --sand: #D4C5A9;
  --cream: #F5F3EF;
  --white: #FFFFFF;
  --dark: #111D32;
  --text: #333340;
  --text-light: #6B7280;
  --red: #B52D2D;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================================
   Accessibility
   =================================== */

/* Skip link — visible only when focused via keyboard */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 0 0 4px 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

/* Global keyboard focus ring */
:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Main landmark receives programmatic focus from the skip link;
   suppress its outline since a section boundary is enough. */
main:focus {
  outline: none;
}

/* Buttons/anchors that already have a contrasting background get a
   slightly darker ring so it remains visible. */
.btn:focus-visible,
.audio-toggle:focus-visible,
.nav__links a:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

/* ===================================
   Navigation
   =================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: linear-gradient(to bottom, var(--navy) 0%, rgba(27, 42, 74, 0.6) 50%, transparent 100%);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: var(--navy);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav__logo-img {
  width: 188px;
  height: 188px;
  object-fit: contain;
  flex-shrink: 0;
  transition: width 0.3s ease, height 0.3s ease;
}

.nav--scrolled .nav__logo-img {
  width: 113px;
  height: 113px;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-selector__link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.lang-selector__link:hover {
  color: var(--white);
}

.lang-selector__link--active {
  color: var(--white);
  font-weight: 600;
}

.lang-selector__divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin-left: auto;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
  left: 0;
}

/* ===================================
   Hero
   =================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -20% 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowDrift 30s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 29, 50, 0.3) 0%,
    rgba(17, 29, 50, 0.15) 40%,
    rgba(17, 29, 50, 0.55) 70%,
    rgba(17, 29, 50, 0.85) 100%
  );
}

/* Atmospheric haze layer */
.hero__haze {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at 50% 80%,
    rgba(212, 197, 169, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--sand);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Slow drift / subtle zoom on background imagery */
@keyframes slowDrift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.06) translate(-0.5%, -0.5%);
  }
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: #8B1E1E;
  border-color: #8B1E1E;
  box-shadow: 0 4px 16px rgba(181, 45, 45, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.btn--full {
  width: 100%;
}

/* ===================================
   Sections
   =================================== */

.section {
  padding: 6rem 0;
  position: relative;
}

.section--white {
  background: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--lobster {
  position: relative;
  overflow: hidden;
}

.section--lobster__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section--lobster__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.section--lobster > .container {
  position: relative;
  z-index: 1;
}

.section__label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section__headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.75rem;
}

.section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section__intro {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===================================
   Section Transitions — Soft Fades
   =================================== */

.section-fade {
  height: 80px;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.section-fade--white-to-cream {
  background: linear-gradient(to bottom, var(--white), var(--cream));
}

.section-fade--cream-to-white {
  background: linear-gradient(to bottom, var(--cream), var(--white));
}

.section-fade--white-to-navy {
  background: linear-gradient(to bottom, var(--white), var(--navy));
}

/* ===================================
   Two-Column Layout
   =================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__text p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.two-col__text p:last-child {
  margin-bottom: 0;
}

.two-col__image {
  border-radius: 6px;
  overflow: hidden;
}

/* Image placeholders */
.image-placeholder {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.image-placeholder:hover img {
  transform: scale(1.03);
}

/* ===================================
   Lobster Diagram — Annotated Product
   =================================== */

.lobster-diagram {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1rem;
  min-height: 420px;
}

.lobster-diagram__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.lobster-diagram__image img {
  width: 110%;
  max-width: 680px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.18));
}

.lobster-diagram__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.lobster-diagram__col--left {
  padding-right: 0;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.lobster-diagram__col--right {
  padding-left: 0;
  justify-content: flex-start;
  padding-top: 2.5rem;
}

.annotation {
  display: flex;
  align-items: center;
  gap: 0;
}

.annotation__body {
  flex-shrink: 0;
  max-width: 220px;
}

.annotation--right .annotation__body {
  text-align: right;
}

.annotation--left .annotation__body {
  text-align: left;
}

.annotation__icon {
  color: var(--red);
  margin-bottom: 0.5rem;
}

.annotation--right .annotation__icon {
  display: flex;
  justify-content: flex-end;
}

.annotation h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.annotation p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.annotation__line {
  flex: 1;
  height: 1px;
  background: var(--sand);
  position: relative;
  min-width: 24px;
}

.annotation__dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
  top: 50%;
  transform: translateY(-50%);
}

.annotation--right .annotation__dot {
  right: -3px;
}

.annotation--left .annotation__dot {
  left: -3px;
}

/* ===================================
   Feature Cards
   =================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2.5rem 2.25rem;
  border-radius: 6px;
  border-top: 2px solid var(--teal);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.06);
}

.card__icon {
  color: var(--red);
  margin-bottom: 1.5rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================
   Stats
   =================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.stat {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  border-top: 2px solid var(--sand);
}

.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ===================================
   Provenance
   =================================== */

.provenance {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: var(--dark);
}

.provenance__bg {
  position: absolute;
  inset: -40% 0;
  background: var(--dark);
}

.provenance__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowDrift 40s ease-in-out infinite alternate;
}

.provenance__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 29, 50, 0.75) 0%,
    rgba(17, 29, 50, 0.6) 50%,
    rgba(17, 29, 50, 0.8) 100%
  );
}

/* Cool atmospheric haze */
.provenance__haze {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at 30% 70%,
    rgba(46, 107, 138, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.provenance__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.provenance__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.provenance__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.provenance__map-link {
  display: inline-flex;
}

/* ===================================
   Trust / Credentials Bar
   =================================== */

.trust {
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}

.trust__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.trust__badge span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.trust__badge {
  transition: transform 0.3s ease;
}

.trust__badge:hover {
  transform: translateY(-2px);
}

.trust__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* ===================================
   Contact
   =================================== */

.contact {
  background: var(--navy);
  padding: 6rem 0;
  position: relative;
}

/* ===================================
   Careers
   =================================== */

.careers {
  background: var(--white);
  padding: 5rem 0;
}

.careers__inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.careers__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.careers__text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.careers__roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.careers__role {
  background: var(--cream);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--teal);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.careers__role:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.careers__role svg {
  color: var(--teal);
  margin-bottom: 1rem;
}

.careers__role h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.careers__role p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.careers__cta {
  font-size: 1.05rem;
  color: var(--text);
}

.careers__cta a {
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid rgba(181, 45, 45, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.careers__cta a:hover,
.careers__cta a:focus-visible {
  color: var(--navy);
  border-color: var(--navy);
}

@media (max-width: 768px) {
  .careers__roles {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================================
   Contact
   =================================== */

.contact .two-col {
  gap: 4rem;
}

.section__label--teal {
  color: var(--teal);
}

.contact .section__label--teal {
  color: #5BA3C4;
}

.contact__headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.contact__text {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact__details svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--sand);
}

.contact__details a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
}

.contact__details a:hover {
  color: var(--white);
  border-bottom-color: var(--sand);
}

/* Contact Form */
.contact__form {
  background: rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--teal);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--teal);
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(46, 107, 138, 0.15);
}

.form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__group select option {
  background: var(--navy);
  color: var(--white);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__form .btn {
  margin-top: 0.5rem;
}

.form__status {
  margin-top: 0.75rem;
  min-height: 1.25em;
  font-size: 0.9rem;
  color: var(--sand);
  text-align: center;
}

.form__status:empty {
  display: none;
}

/* ===================================
   Ambient Audio Toggle
   =================================== */

.audio-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, border-color 0.3s ease,
    background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.audio-toggle:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.audio-toggle.active {
  color: var(--sand);
  border-color: var(--sand);
}

.audio-toggle__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.audio-toggle__icon--play {
  opacity: 1;
}

.audio-toggle__icon--pause {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}

.audio-toggle.active .audio-toggle__icon--play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}

.audio-toggle.active .audio-toggle__icon--pause {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.audio-toggle__ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--sand);
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
}

.audio-toggle.active .audio-toggle__ripple {
  animation: audioRipple 2.4s ease-out infinite;
}

.audio-toggle.active .audio-toggle__ripple:nth-of-type(2) {
  animation-delay: 1.2s;
}

@keyframes audioRipple {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  80% {
    opacity: 0;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .audio-toggle.active .audio-toggle__ripple {
    animation: none;
  }
  .audio-toggle,
  .audio-toggle__icon {
    transition: none;
  }
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: var(--dark);
  padding: 3.5rem 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo-img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 0.6rem;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer__contact a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__bar {
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bar p {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===================================
   Reveal Animations
   =================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for cards */
.card.reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.card.reveal:nth-child(3) {
  transition-delay: 0.3s;
}

/* Staggered reveal for stats */
.stat.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stat.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.stat.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* Parallax-driven elements (set by JS) */
.parallax-bg {
  will-change: transform;
}

/* ===================================
   Reduce motion for accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__bg img,
  .provenance__bg img {
    animation: none;
  }

  .image-placeholder:hover img {
    transform: none;
  }

  .card.reveal,
  .stat.reveal {
    transition-delay: 0s;
  }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1024px) {
  .two-col {
    gap: 3rem;
  }

  .lobster-diagram {
    grid-template-columns: 1fr 1.8fr 1fr;
  }

  .lobster-diagram__image img {
    width: 105%;
    max-width: 560px;
  }

  .annotation__body {
    max-width: 180px;
  }

  .annotation h3 {
    font-size: 0.95rem;
  }

  .annotation p {
    font-size: 0.8rem;
  }

  .cards {
    gap: 1.5rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav__container {
    gap: 1rem;
  }

  .nav__logo-img {
    width: 150px;
    height: 150px;
  }

  .nav--scrolled .nav__logo-img {
    width: 90px;
    height: 90px;
  }

  .nav__right {
    margin-left: auto;
    gap: 1rem;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    align-items: flex-end;
  }

  .hero__content {
    padding: 0 1.5rem 3.5rem;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    margin-left: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__links li:last-child {
    border-bottom: none;
  }

  .nav__links a {
    display: block;
    padding: 0.85rem 0;
  }

  .section {
    padding: 4rem 0;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .two-col--reverse {
    direction: ltr;
  }

  .two-col--reverse .two-col__image {
    order: -1;
  }

  .lobster-diagram {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .lobster-diagram__image {
    order: -1;
    margin-bottom: 2.5rem;
  }

  .lobster-diagram__image img {
    max-width: 360px;
    width: 80%;
  }

  .lobster-diagram__col {
    gap: 2rem;
  }

  .lobster-diagram__col--left,
  .lobster-diagram__col--right {
    padding: 0;
  }

  .lobster-diagram__col--left .annotation:first-child,
  .lobster-diagram__col--left .annotation:last-child {
    align-self: auto;
    margin: 0;
  }

  .annotation {
    flex-direction: column;
    text-align: center;
  }

  .annotation--right .annotation__body,
  .annotation--left .annotation__body {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .annotation--right .annotation__icon {
    justify-content: center;
  }

  .annotation__line {
    display: none;
  }

  .lobster-diagram__col--right {
    margin-top: 2rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat {
    padding: 1.5rem 1rem;
  }

  .stat__number {
    font-size: 1.4rem;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact .two-col {
    gap: 3rem;
  }

  .contact__form {
    padding: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .provenance {
    padding: 5rem 0;
  }

  .hero__headline br {
    display: inline;
  }

  .section-fade {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .nav__container {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .nav__logo-img {
    width: 120px;
    height: 120px;
  }

  .nav--scrolled .nav__logo-img {
    width: 72px;
    height: 72px;
  }

  .nav__right {
    gap: 0.75rem;
  }

  .lang-selector__link {
    font-size: 0.75rem;
  }

  .hero__content {
    padding: 0 1.25rem 3rem;
  }

  .hero__label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .trust__grid {
    grid-template-columns: 1fr 1fr;
  }
}
