@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --panel: #111111;
  --panel-2: #171717;
  --gold: #d1a039;
  --gold-light: #f0d178;
  --gold-dark: #7b4e0e;
  --ivory: #f1eadc;
  --muted: #b9b1a2;
  --line: rgba(209,160,57,.32);
  --blue: #80b8c9;
  --green: #527348;
  --danger: #b64a4a;
  --heading: "Cinzel", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --container: min(1180px, calc(100% - 36px));
  --radius: 26px;
  --shadow: 0 26px 80px rgba(0,0,0,.42);
  --ease-smooth: cubic-bezier(.16,1,.3,1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.custom-cursor-enabled {
  cursor: none;
}

body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled input,
body.custom-cursor-enabled textarea,
body.custom-cursor-enabled select {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 42px;
  height: 42px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: transform .12s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease;
  filter: drop-shadow(0 0 8px rgba(209,160,57,.4));
}

.custom-cursor::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.custom-cursor::after {
  content: "";
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, rgba(209,160,57,.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.custom-cursor.visible { 
  opacity: 1;
}

.custom-cursor.visible::before {
  opacity: .6;
  animation: pulseScale 1.5s ease-in-out infinite;
}

.custom-cursor.visible::after {
  opacity: .4;
  animation: pulseScale 2s ease-in-out infinite .3s;
}

.custom-cursor.is-active { 
  transform: translate(-50%, -50%) scale(0.75);
  filter: drop-shadow(0 0 15px rgba(209,160,57,.6));
}

.custom-cursor.is-active::before {
  animation: none;
  opacity: 1;
  inset: -12px;
}

.custom-cursor svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.32));
}

.custom-cursor img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(209,160,57,.3));
}

body.menu-open,
body.age-locked { overflow: hidden; }

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

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

button,
input,
textarea,
select { font: inherit; }

button { cursor: pointer; }

.container { width: var(--container); margin-inline: auto; }

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--heading);
  line-height: 1.04;
  letter-spacing: .02em;
  transition: all .4s ease;
  /* safety net: a single long word must never widen its container */
  overflow-wrap: break-word;
}

h1 { 
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  animation: fadeInUp .9s ease-out;
}

h1:hover {
  animation: textGlow 2s ease-in-out infinite;
}

h2 { 
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  animation: fadeInUp .9s ease-out .1s backwards;
}

h3 { 
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  animation: fadeInUp .8s ease-out .15s backwards;
}

h4 { font-size: 1.08rem; }

p { 
  margin-top: 0;
  transition: all .3s ease;
  animation: fadeInUp .8s ease-out backwards;
}

p:nth-of-type(1) { animation-delay: .1s; }
p:nth-of-type(2) { animation-delay: .2s; }
p:nth-of-type(3) { animation-delay: .3s; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: slideInLeft .7s ease-out .1s backwards;
  position: relative;
}

.eyebrow::before {
  content: "█";
  display: inline-block;
  margin-right: 12px;
  opacity: 0;
  animation: fadeInUp .6s ease-out .2s forwards;
}

.lead {
  max-width: 710px;
  color: #d9d1c3;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.muted { color: var(--muted); }

.gold { color: var(--gold-light); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 20px 50px rgba(209,160,57,.35),
              0 0 30px rgba(209,160,57,.2),
              inset 0 0 20px rgba(255,255,255,.15);
  animation: buttonHoverPulse .6s ease-out;
}

.button:hover::before {
  transform: translateX(100%);
}

.button--solid {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  border-color: var(--gold-light);
  box-shadow: 0 10px 30px rgba(209,160,57,.15);
}

.button--solid:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 25px 60px rgba(209,160,57,.4),
              0 0 40px rgba(240,209,120,.25);
  transform: translateY(-4px) scale(1.02);
}

.button--dark {
  background: var(--black);
  color: var(--gold-light);
  border-color: var(--gold);
}

.button--dark:hover {
  background: linear-gradient(135deg, rgba(209,160,57,.15), rgba(209,160,57,.05));
  color: var(--gold);
  box-shadow: 0 15px 40px rgba(209,160,57,.25), inset 0 0 30px rgba(209,160,57,.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-weight: 600;
  position: relative;
  transition: all .3s ease;
}

.text-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--blue));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s ease;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link span { 
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-block;
}

.text-link:hover span { 
  transform: translateX(8px) scale(1.1);
  animation: glowPulse .6s ease-out;
}

.announcement {
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 6px 16px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  color: var(--black);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
  animation: slideInLeft .8s ease-out;
  box-shadow: 0 5px 20px rgba(209,160,57,.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5,5,5,.92);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 30px rgba(209,160,57,.1);
  animation: slideInDown .6s ease-out;
  transition: all .3s ease;
}

.site-header:hover {
  box-shadow: 0 0 50px rgba(209,160,57,.2);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading);
  font-size: .95rem;
  letter-spacing: .12em;
  transition: all .3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.brand img { 
  width: 48px;
  height: 48px;
  transition: all .3s ease;
  filter: drop-shadow(0 0 10px rgba(209,160,57,.2));
}

.brand:hover img {
  animation: floatAnimation 3s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(209,160,57,.5));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .78rem;
}

.nav-links a {
  position: relative;
  color: #d8d0c2;
  transition: all .35s ease;
  font-weight: 500;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
  transition: width .4s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(209,160,57,.4);
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a.active { 
  color: var(--gold-light);
  animation: textGlow 2s ease-in-out infinite;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--blue), var(--gold-light));
  box-shadow: 0 0 15px rgba(209,160,57,.5);
  animation: shimmer 2s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  position: relative;
  transition: all .3s ease;
}

.menu-toggle:hover {
  box-shadow: 0 0 20px rgba(209,160,57,.4), inset 0 0 20px rgba(209,160,57,.1);
  transform: scale(1.1);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: var(--gold-light);
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  border-radius: 1px;
}

.menu-toggle:hover span:not(.sr-only) {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(128,184,201,.5);
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(14px);
  transition: opacity .3s ease, visibility .3s ease;
}

.age-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-card {
  width: min(520px, 100%);
  padding: 42px;
  border: 2px solid var(--gold-light);
  border-radius: var(--radius);
  background: linear-gradient(145deg,#101010,#050505);
  box-shadow: 0 0 60px rgba(209,160,57,.3), inset 0 0 40px rgba(209,160,57,.1);
  text-align: center;
  animation: zoomIn .8s ease-out;
}

.age-card img { 
  width: 118px;
  margin: 0 auto 18px;
  animation: floatAnimation 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(209,160,57,.4));
}

.age-card h2 { 
  font-size: clamp(2rem,7vw,3.8rem);
  animation: textGlow 2s ease-in-out infinite;
}

.age-actions { 
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 16px;
  animation: fadeInUp .9s ease-out .3s backwards;
}

.age-card small { 
  color: var(--muted);
  animation: fadeInUp .8s ease-out .4s backwards;
}

.hero {
  position: relative;
  min-height: calc(100vh - 108px);
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 18%, rgba(240,209,120,.20) 0%, rgba(240,209,120,0) 42%),
    radial-gradient(circle at 15% 80%, rgba(66,129,156,.18) 0%, rgba(66,129,156,0) 45%),
    linear-gradient(100deg, rgba(0,0,0,.94) 8%, rgba(0,0,0,.72) 46%, rgba(0,0,0,.36) 74%, rgba(0,0,0,.62) 100%),
    url("assets/media/humboldt-coast.jpg") center / cover no-repeat,
    url("assets/hero-art.svg") center right / cover no-repeat;
  animation: heroAmbient 28s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at calc(50% + var(--pointer-x, 0px)) calc(50% + var(--pointer-y, 0px)), rgba(209,160,57,.22), transparent 30%),
    radial-gradient(circle at 15% 20%, rgba(128,184,201,.22), transparent 34%);
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
  animation: auraPulse 11s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.4) 90%, var(--black) 100%);
  pointer-events: none;
  animation: fadeInUp 1.2s ease-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-block: 110px 145px;
}

.hero-content > * {
  animation: heroContentIn .95s var(--ease-smooth) both;
}

.hero-content .eyebrow { 
  animation-delay: .05s;
  animation: slideInLeft .8s var(--ease-smooth) .05s backwards;
}

.hero-content h1 { 
  animation-delay: .15s;
  animation: zoomIn .9s var(--ease-smooth) .15s backwards;
}

.hero-content .hero-copy { 
  animation-delay: .25s;
  animation: slideInLeft .85s var(--ease-smooth) .25s backwards;
}

.hero-content .hero-actions { 
  animation-delay: .35s;
  animation: fadeInUp .9s var(--ease-smooth) .35s backwards;
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 34px;
  color: #d6cec1;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-seal {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 8%;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--heading);
  font-size: .62rem;
  letter-spacing: .17em;
  text-align: center;
  transform: rotate(8deg);
  background: rgba(0,0,0,.58);
  animation: sealFloat 6s ease-in-out infinite;
}

.hero-content img[src*="trinity-seal"],
.origin-mark img[src*="trinity-seal"],
.process-visual img[src*="trinity-trident"] {
  animation: tridentFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(209,160,57,.16));
}

.hero-content img[src*="trinity-seal"] {
  animation: heroSealIn .95s var(--ease-smooth) both;
}

.hero-content img[src*="trinity-seal"] {
  animation-delay: 0s;
}

@keyframes heroSealIn {
  from {
    opacity: 0;
    transform: scale(.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.section { padding: 110px 0; }

.section--pattern {
  background:
    linear-gradient(rgba(5,5,5,.88),rgba(5,5,5,.92)),
    url("assets/pattern.svg") center / 420px;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); }

.divider {
  width: 100%;
  height: 2px;
  margin: 35px 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 15px rgba(209,160,57,.3);
  animation: shimmer 3s ease-in-out infinite;
}

.trinity-grid,
.catalog-grid,
.story-grid,
.location-grid,
.contact-grid,
.process-grid {
  display: grid;
  gap: 24px;
}

.trinity-grid,
.catalog-grid { grid-template-columns: repeat(3, 1fr); }

.trinity-card,
.catalog-card,
.content-card,
.location-card,
.form-card,
.value-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #151515, #080808);
  box-shadow: 0 15px 45px rgba(0,0,0,.18);
  transition: all .45s var(--ease-smooth);
  animation: cardEnter .8s var(--ease-smooth) backwards;
}

.trinity-card:nth-child(1) { animation-delay: .1s; }
.trinity-card:nth-child(2) { animation-delay: .2s; }
.trinity-card:nth-child(3) { animation-delay: .3s; }

.catalog-card:nth-child(1) { animation-delay: .1s; }
.catalog-card:nth-child(2) { animation-delay: .2s; }
.catalog-card:nth-child(3) { animation-delay: .3s; }
.catalog-card:nth-child(4) { animation-delay: .4s; }
.catalog-card:nth-child(5) { animation-delay: .5s; }
.catalog-card:nth-child(6) { animation-delay: .6s; }

.content-card { animation: cardEnter .8s var(--ease-smooth) .15s backwards; }
.content-card:nth-child(2) { animation-delay: .25s; }

.location-card { animation: cardEnter .8s var(--ease-smooth) .15s backwards; }
.location-card:nth-child(2) { animation-delay: .25s; }

.value-card { animation: cardEnter .8s var(--ease-smooth) .1s backwards; }
.value-card:nth-child(1) { animation-delay: .1s; }
.value-card:nth-child(2) { animation-delay: .2s; }
.value-card:nth-child(3) { animation-delay: .3s; }

.trinity-card::before,
.catalog-card::before,
.content-card::before,
.location-card::before,
.form-card::before,
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.08) 45%, transparent 70%);
  transform: translateX(-120%) skewX(-14deg);
  transition: transform .75s var(--ease-smooth);
  pointer-events: none;
  z-index: 0;
}

.trinity-card:hover,
.catalog-card:hover,
.content-card:hover,
.location-card:hover,
.form-card:hover,
.value-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 35px 100px rgba(209,160,57,.25),
              0 0 60px rgba(209,160,57,.2),
              inset 0 0 50px rgba(209,160,57,.08);
  animation: magneticHover .6s ease-in-out infinite;
}

.trinity-card:hover::before,
.catalog-card:hover::before,
.content-card:hover::before,
.location-card:hover::before,
.form-card:hover::before,
.value-card:hover::before {
  transform: translateX(120%) skewX(-14deg);
}

.trinity-card {
  transition: transform .45s var(--ease-smooth), border-color .35s ease, box-shadow .45s var(--ease-smooth);
}

.trinity-card img { aspect-ratio: 6 / 5; object-fit: cover; }

.trinity-card--edibles img {
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f8f5ef 100%);
  border-bottom: 1px solid rgba(209,160,57,.24);
}

.card-body { padding: 28px; }
.card-body h3 { margin-bottom: 14px; }
.card-body p { color: var(--muted); }

.origin-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg,#090909,#171109,#090909);
}

.origin-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}

.origin-mark {
  min-height: 450px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background: radial-gradient(circle,#14252f 0,#090909 58%,#030303 100%);
  transition: all .5s ease;
  animation: slideInRight .9s ease-out;
  box-shadow: 0 0 50px rgba(209,160,57,.15), inset 0 0 50px rgba(209,160,57,.08);
}

.origin-mark:hover {
  box-shadow: 0 0 80px rgba(209,160,57,.25), inset 0 0 80px rgba(209,160,57,.12);
  transform: scale(1.01);
}

.origin-mark img { 
  width: min(300px,75%);
  animation: floatAnimation 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(209,160,57,.3));
  transition: all .3s ease;
}

.origin-mark--prometheus {
  background: radial-gradient(circle at 50% 25%, #2a1b10 0%, #0f0d0a 55%, #060505 100%);
}

.origin-mark--prometheus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: none;
  filter: saturate(1.02) contrast(1.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-block: 2px solid var(--gold);
}

.stat {
  padding: 28px;
  text-align: center;
  border-right: 2px solid var(--line);
  transition: all .4s ease;
  animation: fadeInUp .8s ease-out backwards;
}

.stat:nth-child(1) { animation-delay: .1s; }
.stat:nth-child(2) { animation-delay: .2s; }
.stat:nth-child(3) { animation-delay: .3s; }

.stat:last-child { border-right: 0; }

.stat:hover {
  background: radial-gradient(circle, rgba(209,160,57,.1) 0%, transparent 70%);
  transform: scale(1.05);
}

.stat strong { 
  display: block;
  color: var(--gold-light);
  font-family: var(--heading);
  font-size: 2rem;
  transition: all .3s ease;
  animation: textGlow 2.5s ease-in-out infinite;
}

.stat:hover strong {
  text-shadow: 0 0 30px rgba(209,160,57,.6);
  transform: scale(1.1);
}

.stat span { 
  color: var(--muted);
  font-size: .76rem;
  transition: color .3s ease;
}

.stat:hover span {
  color: var(--gold-light);
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
  isolation: isolate;
  background:
    linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.54)),
    url("assets/pattern.svg") center / 420px;
  animation: pageAmbient 22s ease-in-out infinite alternate;
  box-shadow: inset 0 0 60px rgba(209,160,57,.1);
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: calc(5% + 30px);
  top: 18%;
  transform: translateY(-50%);
  background: url("assets/trinity-seal.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(0,0,0,.6));
  animation: floatAnimation 6s ease-in-out infinite;
}

/* Floating seal DOM replacement (for JS parallax + animations) */
/* floating-seal class removed (now using CSS pseudo-element only) */

/* Hero text shimmer */
.page-hero h1 {
  position: relative;
  overflow: hidden;
}
.page-hero h1::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-18deg);
  animation: shimmer 5s linear infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -40%; }
  100% { left: 140%; }
}

/* Floating hero content subtle motion */
@keyframes floatAnimation {
  0% { transform: translateY(-50%) translateY(0px); }
  50% { transform: translateY(-50%) translateY(-8px); }
  100% { transform: translateY(-50%) translateY(0px); }
}

/* Buttons: luxe glow */
.button.button--solid {
  transition: box-shadow .25s ease, transform .12s ease;
}
.button.button--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(209,160,57,.18), inset 0 -4px 18px rgba(0,0,0,.15);
}

/* Link underline animation */
.text-link {
  position: relative;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .28s ease;
}
.text-link:hover::after { width: 100%; }

/* Subtle page particles for luxury sparkle */
.site-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,230,180,.95), rgba(209,160,57,.9));
  box-shadow: 0 0 8px rgba(209,160,57,.8);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(0,0,0) scale(.6);
  transition: opacity .6s ease, transform 1.6s cubic-bezier(.2,.9,.3,1);
}

/* Yellow circular outline removed per request */



/* Ensure main content stacks above the seal background */
main, header, .page-hero, .site-header, .nav, .container {
  position: relative;
  z-index: 1;
}

/* The rule above matches .site-header and .nav (which also carries .container),
   so it overrode the header's own position:sticky/z-index:90 defined earlier and
   pinned the whole header to stacking level 1. `main` sits at the same level and
   comes later in the DOM, so it painted over the open mobile dropdown. Restore
   the header, and leave .nav at z-index:auto so it forms no stacking context —
   otherwise the fixed .nav-links would stay trapped at the nav's level. */
.site-header {
  position: sticky;
  z-index: 90;
}

.site-header .nav {
  z-index: auto;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding-block: 120px 85px;
}

.page-hero-content > * {
  animation: heroContentIn .9s var(--ease-smooth) both;
}

.page-hero-content .eyebrow { animation-delay: .05s; }
.page-hero-content h1 { animation-delay: .1s; }
.page-hero-content .lead { animation-delay: .18s; }
.page-hero-content p + p { animation-delay: .24s; }

.page-hero h1 { font-size: clamp(3.4rem,7vw,6.8rem); }
.page-hero .lead { margin: 24px 0 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-button {
  padding: 10px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-weight: 500;
}

.filter-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transform: translateX(-100%);
  transition: transform .5s ease;
}

.filter-button:hover {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(209,160,57,.25);
}

.filter-button:hover::before {
  transform: translateX(100%);
}

.filter-button.active {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  box-shadow: 0 0 30px rgba(209,160,57,.4), inset 0 0 20px rgba(255,255,255,.1);
  animation: buttonHoverPulse .6s ease-out;
}

.catalog-card { display: flex; flex-direction: column; }

.product-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 44%,#272117,#080808 66%);
  border-bottom: 1px solid var(--line);
}

.product-visual img { width: 78%; max-height: 230px; object-fit: contain; }

.product-visual video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.product-visual--photo img {
  width: 100%;
  max-height: none;
  height: 260px;
  object-fit: cover;
}

.product-visual--packshot {
  background: linear-gradient(165deg, #ffffff 0%, #f8f5ef 100%);
}

.product-visual--packshot img {
  width: 100%;
  max-height: none;
  height: 260px;
  object-fit: contain;
  padding: 18px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.media-card {
  display: grid;
  background: linear-gradient(145deg, #0f0d0a, #080706);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}

.media-card img,
.media-card video {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.media-card video {
  background: #080808;
}

.media-card .media-copy {
  padding: 24px;
}

.media-card .media-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.media-card .media-copy p {
  margin: 0;
  color: var(--muted);
}

.media-card--tall img {
  max-height: 460px;
  object-fit: contain;
  background: #000;
}

.media-card--packshot {
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  align-items: center;
}

.media-card--packshot img {
  max-height: none;
  height: 100%;
  object-fit: contain;
  background: radial-gradient(circle at 50% 40%, rgba(209,160,57,.18), rgba(8,8,8,.96) 72%);
  padding: 28px;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.flavor-chip {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24,18,10,.9), rgba(8,8,8,.94));
  color: #d8d0c2;
  font-size: .88rem;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 980px) {
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-card--packshot {
    grid-template-columns: 1fr;
  }

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

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-card h3 { margin: 15px 0 10px; }
.catalog-card p { color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.tag {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfc6b8;
  font-size: .68rem;
}

.notice {
  margin-top: 36px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(209,160,57,.07);
  color: #d9d0c3;
}

.story-grid,
.process-grid,
.location-grid,
.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }

.content-card { padding: 34px; }
.content-card h3 { margin-bottom: 16px; }
.content-card p { color: var(--muted); }

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 2px solid var(--line);
  transition: all .4s ease;
  animation: slideInLeft .8s ease-out backwards;
}

.timeline-step:nth-child(1) { animation-delay: .1s; }
.timeline-step:nth-child(2) { animation-delay: .2s; }
.timeline-step:nth-child(3) { animation-delay: .3s; }
.timeline-step:nth-child(4) { animation-delay: .4s; }
.timeline-step:nth-child(5) { animation-delay: .5s; }
.timeline-step:nth-child(6) { animation-delay: .6s; }
.timeline-step:nth-child(7) { animation-delay: .7s; }
.timeline-step:nth-child(8) { animation-delay: .8s; }

.timeline-step:hover {
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.timeline-step:last-child { border-bottom: 0; }

.timeline-number {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--heading);
  transition: all .35s ease;
  background: radial-gradient(circle, rgba(209,160,57,.05) 0%, transparent 70%);
}

.timeline-step:hover .timeline-number {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(209,160,57,.4);
  animation: pulseScale .8s ease-out;
}

.timeline-step h3 { 
  margin-bottom: 8px;
  transition: color .3s ease;
}

.timeline-step:hover h3 {
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(209,160,57,.3);
}

.timeline-step p { 
  margin: 0; 
  color: var(--muted);
  transition: color .3s ease;
}

.process-visual,
.location-visual {
  position: sticky;
  top: 118px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.location-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 35px;
}

.value-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0a0a0a;
}

.value-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: var(--heading);
}

.location-card { padding: 30px; }
.location-card h3 { margin-bottom: 12px; }
.location-card p { color: var(--muted); }

.market-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.market-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.market-row span:last-child { color: var(--gold-light); }

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg,#141414,#080808);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(6, 6, 6, 0.8);
  color: var(--ivory);
  padding: 14px 15px;
  transition: all .35s ease;
  position: relative;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(209,160,57,.3);
  transition: color .3s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus { 
  border-color: var(--gold);
  background: rgba(6, 6, 6, 1);
  box-shadow: 0 0 30px rgba(209,160,57,.2), inset 0 0 20px rgba(209,160,57,.05);
}

.field input:focus::placeholder,
.field textarea:focus::placeholder {
  color: rgba(209,160,57,.6);
}

.field textarea { 
  min-height: 150px;
  resize: vertical;
  transition: all .35s ease;
}

.field textarea:focus {
  transform: scale(1.01);
}

.form-message { min-height: 24px; margin: 14px 0 0; color: var(--gold-light); }
.form-message--success { color: #7fd08a; }
.form-message--error { color: #e8836f; }

.cta-band {
  border-block: 2px solid var(--gold);
  background: linear-gradient(135deg,#21170a,#080808 60%);
  box-shadow: inset 0 0 50px rgba(209,160,57,.08);
  transition: all .6s ease;
}

.cta-band:hover {
  box-shadow: inset 0 0 80px rgba(209,160,57,.15), 0 0 40px rgba(209,160,57,.1);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  animation: slideInLeft .9s ease-out;
}

.cta-inner h2 { 
  max-width: 760px;
  animation: textGlow 3s ease-in-out infinite;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.copy-block,
.panel-copy {
  max-width: 960px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.85;
}

.copy-block p,
.panel-copy p {
  margin: 0 0 22px;
}

.panel-copy p:last-child {
  margin-bottom: 0;
}

.value-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-family: var(--heading);
}

.promise-band {
  position: relative;
  overflow: hidden;
  border-block: 2px solid var(--gold);
  background: linear-gradient(135deg,#120f08,#050504 65%);
  box-shadow: inset 0 0 55px rgba(209,160,57,.08);
}

.promise-band::before {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,209,120,.35), transparent);
  transform: translateX(-50%);
}

.promise-band::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -35%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(240,209,120,.12) 0%, transparent 65%);
  filter: blur(12px);
  animation: glowPulse 9s ease-in-out infinite alternate;
}

.promise-band .cta-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.promise-band h2 {
  max-width: 780px;
  margin: 0 0 18px 0;
  position: relative;
  animation: textGlow 6s ease-in-out infinite;
}

.promise-band h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(209,160,57,.35));
  box-shadow: 0 0 18px rgba(209,160,57,.12);
  animation: pulseScale 6s ease-in-out infinite;
}

.promise-band .lead {
  max-width: 720px;
  color: #d9cfa3;
}

@media (max-width: 980px) {
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading > p {
    max-width: 100%;
  }

  .values-grid,
  .product-highlights,
  .catalog-grid,
  .trinity-grid,
  .story-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .promise-band .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

.site-footer {
  padding: 75px 0 28px;
  background: linear-gradient(135deg, #020202 0%, #0a0803 100%);
  border-top: 2px solid var(--gold);
  box-shadow: inset 0 0 30px rgba(209,160,57,.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3,1fr);
  gap: 45px;
}

.footer-brand p { max-width: 330px; color: var(--muted); }

.footer-title {
  color: var(--gold-light);
  font-family: var(--heading);
  font-size: .9rem;
}

.footer-links a {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  transition: all .3s ease;
  position: relative;
  padding-left: 12px;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all .3s ease;
  transform: translateX(-8px);
}

.footer-links a:hover { 
  color: var(--gold-light);
  padding-left: 20px;
  text-shadow: 0 0 15px rgba(209,160,57,.3);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #817a6f;
  font-size: .68rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.92) rotateX(10deg);
  filter: blur(12px);
  transition: opacity 1s var(--ease-smooth) 0s,
              transform 1s var(--ease-smooth) 0s,
              filter 1s var(--ease-smooth) 0s;
  perspective: 1000px;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
  filter: blur(0);
}

.reveal:nth-child(2).visible {
  transition-delay: .1s;
}

.reveal:nth-child(3).visible {
  transition-delay: .2s;
}

.reveal:nth-child(4).visible {
  transition-delay: .3s;
}

.reveal:nth-child(5).visible {
  transition-delay: .4s;
}

.reveal:nth-child(6).visible {
  transition-delay: .5s;
}

/* Enhanced Animations */
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(.95);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes sealFloat {
  0%, 100% { 
    transform: rotate(8deg) translateY(0) scale(1);
    filter: drop-shadow(0 10px 25px rgba(209,160,57,.2));
  }
  50% { 
    transform: rotate(12deg) translateY(-15px) scale(1.03);
    filter: drop-shadow(0 25px 50px rgba(209,160,57,.35));
  }
}

@keyframes haloPulse {
  0%, 100% { 
    transform: translateY(-50%) scale(1);
    opacity: .18;
    box-shadow: 0 0 30px rgba(209,160,57,.15);
  }
  50% { 
    transform: translateY(-52%) scale(1.08);
    opacity: .35;
    box-shadow: 0 0 60px rgba(209,160,57,.3);
  }
}

@keyframes tridentFloat {
  0%, 100% { 
    transform: translateY(0) rotateX(0deg);
    filter: drop-shadow(0 10px 30px rgba(209,160,57,.2));
  }
  25% { transform: translateY(-12px) rotateX(5deg); }
  50% { 
    transform: translateY(-16px) rotateX(0deg);
    filter: drop-shadow(0 20px 50px rgba(209,160,57,.35));
  }
  75% { transform: translateY(-12px) rotateX(-5deg); }
  100% { transform: translateY(0) rotateX(0deg); }
}

@keyframes auraPulse {
  0%, 100% { 
    opacity: .6;
    transform: scale(1);
    filter: blur(25px);
  }
  50% { 
    opacity: .95;
    transform: scale(1.1);
    filter: blur(35px) brightness(1.2);
  }
}

@keyframes heroAmbient {
  0% { background-position: center right; }
  100% { background-position: center left; }
}

@keyframes pageAmbient {
  0% { background-position: center; }
  100% { background-position: calc(50% + 12px) calc(50% - 10px); }
}

/* New Spectacular Animations */
@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg) scale(.85);
    filter: blur(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
    filter: blur(0);
  }
}

@keyframes cardHoverGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(209,160,57,.15), inset 0 0 30px rgba(209,160,57,.05);
  }
  50% {
    box-shadow: 0 0 60px rgba(209,160,57,.35), inset 0 0 50px rgba(209,160,57,.15);
  }
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow: inset 0 0 20px rgba(209,160,57,.1), 0 0 20px rgba(209,160,57,.1);
  }
  50% {
    box-shadow: inset 0 0 40px rgba(209,160,57,.25), 0 0 40px rgba(209,160,57,.2);
  }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(240,209,120,.3), 0 0 20px rgba(209,160,57,0);
    color: var(--ivory);
  }
  50% {
    text-shadow: 0 0 20px rgba(240,209,120,.6), 0 0 40px rgba(209,160,57,.3);
    color: var(--gold-light);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.7);
    filter: blur(20px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateBorder {
  0% { border-color: var(--gold); }
  25% { border-color: var(--blue); }
  50% { border-color: var(--gold); }
  75% { border-color: var(--blue); }
  100% { border-color: var(--gold); }
}

@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: .8;
  }
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(-15px) translateX(-8px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(209,160,57,.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(209,160,57,.7)) drop-shadow(0 0 40px rgba(240,209,120,.4));
  }
}

@keyframes buttonHoverPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(209,160,57,.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(209,160,57,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(209,160,57,0);
  }
}

@keyframes magneticHover {
  0%, 100% {
    transform: translateY(-8px) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .nav .button { display: none; }
  .trinity-grid, .catalog-grid { grid-template-columns: 1fr 1fr; }
  .origin-grid, .story-grid, .process-grid, .location-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .process-visual, .location-visual { position: static; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 26px, 1180px); }
  /* The base clamp() minimums (3.6rem h1 / 2.5rem h2) never shrink on phones,
     so single long words overflowed the container. Scale them for small screens. */
  h1 { font-size: clamp(2.15rem, 9.5vw, 3.6rem); }
  h2 { font-size: clamp(1.7rem, 7vw, 2.5rem); }
  h3 { font-size: clamp(1.25rem, 5vw, 1.55rem); }
  .page-hero h1 { font-size: clamp(2.15rem, 9.5vw, 3.4rem); }
  /* footer links were 26px tall — below the ~44px comfortable tap target */
  .footer-links a { margin: 0; padding-block: 9px; }
  /* standalone "View … details →" CTAs were 24px tall */
  .text-link { padding-block: 10px; }
  .section { padding: 78px 0; }
  .menu-toggle { display: block; z-index: 92; }
  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(5,5,5,.98);
    transform: translateY(-145%);
    transition: transform .28s ease;
    z-index: 91; /* under .menu-toggle (92), above the rest of the header */
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; }
  .nav-links a.active::after { display: none; }
  .brand span { display: none; }
  .hero {
    min-height: 770px;
    /* Overriding the `background` shorthand drops every desktop layer, so the
       coast photo and brand gradients have to be restated here. Only the scrim
       changes: 180deg instead of 100deg, since phone text sits over the middle. */
    background:
      radial-gradient(circle at 80% 18%, rgba(240,209,120,.20) 0%, rgba(240,209,120,0) 42%),
      radial-gradient(circle at 15% 80%, rgba(66,129,156,.18) 0%, rgba(66,129,156,0) 45%),
      linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,.55)),
      url("assets/media/humboldt-coast.jpg") center / cover no-repeat,
      url("assets/hero-art.svg") center / cover no-repeat;
  }
  .hero-content { padding-block: 85px 215px; }
  .hero-seal { width: 108px; height: 108px; right: 18px; bottom: 42px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .trinity-grid, .catalog-grid, .values-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .page-hero { min-height: 500px; }
  .page-hero::after { right: -25px; opacity: .38; }
  .page-hero-content { padding-block: 100px 65px; }
  .timeline-step { grid-template-columns: 58px 1fr; gap: 15px; }
  .timeline-number { width: 46px; height: 46px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .age-card { padding: 30px 20px; }
  .age-actions { flex-direction: column; }
}
