/* No Fog Nation, "The Descent". One stylesheet for every page.
   Brand: Deep Navy #002F4B base, Ocean Blue #00AEEF to #0077C8 shallow sections and accents,
   Seafoam #5EEAD4 depth gauge and small highlights, Sunset Coral #FF6B6B shop and signup buttons only,
   Steel Gray #6C757D secondary (lightened where it sits on navy so text stays readable).            */

:root {
  --navy: #002F4B;
  --navy-deep: #021F33;
  --abyss: #03080E;
  --ocean-1: #00AEEF;
  --ocean-2: #0077C8;
  --seafoam: #5EEAD4;
  --coral: #FF6B6B;
  --steel: #6C757D;
  --steel-light: #B3BEC8;
  --white: #FFFFFF;
  --text: #FFFFFF;
  --text-2: #D5DEE6;
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: 20px;
  --container: 1200px;
  --radius: 6px;
  --header-h: 68px;
  --gauge-w: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background-color: #002F4B; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--navy);
  /* No-script fallback for the descent. site.js replaces this with stops that line up with the sections. */
  background-image: linear-gradient(to bottom, #00AEEF 0%, #0077C8 12%, #005B9F 22%, #00406F 32%, #002F4B 42%,
                                    #021F33 52%, #02131F 62%, #03080E 72%, #002F4B 84%, #0077C8 96%, #0077C8 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
body.page-dark { background-image: none; background-color: var(--navy-deep); }
body.page-navy { background-image: none; background-color: var(--navy); }

img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.05; margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 36em; }
.muted { color: var(--steel-light); }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--seafoam); outline-offset: 3px; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--seafoam); color: var(--navy);
  padding: 10px 16px; font-family: var(--font-head); font-weight: 700; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons. Coral is for Shop and signup only. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: var(--navy); border-color: var(--coral); }
.btn-coral:hover { background: #ff8080; border-color: #ff8080; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--seafoam); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { text-decoration: underline; transform: none; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.85rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 var(--gutter); transition: background-color .25s ease; }
.site-header.scrolled { background: rgba(0, 31, 51, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .logo img { height: 34px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; }
.site-header nav a { color: var(--white); text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--seafoam); }
.site-header nav .nav-shop { color: var(--coral); }
@media (max-width: 480px) {
  .site-header .logo img { height: 28px; }
  .site-header nav { font-size: 0.8rem; }
}
@media (max-width: 420px) { .site-header nav { gap: 9px; font-size: 0.74rem; } }   /* four links fit beside the logo on small phones */

/* Depth gauge: vertical on the right edge, a thin bar along the bottom on phones. */
.depth-gauge { position: fixed; z-index: 55; pointer-events: none; font-family: var(--font-mono); color: var(--seafoam); }
.depth-gauge .track { position: absolute; background: rgba(94, 234, 212, .35); }
.depth-gauge .fill { position: absolute; background: var(--seafoam); }
.depth-gauge .tick { position: absolute; background: rgba(94, 234, 212, .6); }
.depth-gauge .tick-label { position: absolute; font-size: 9px; letter-spacing: .08em; color: rgba(94, 234, 212, .7); }
.depth-gauge .needle { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--seafoam);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, .25); }
.depth-gauge .readout { position: absolute; font-size: 12px; letter-spacing: .14em; white-space: nowrap; background: rgba(0, 31, 51, .8);
  padding: 4px 8px; border-radius: 3px; color: var(--seafoam); }
@media (min-width: 768px) {
  .depth-gauge { right: 18px; top: 50%; transform: translateY(-50%); height: min(62vh, 440px); width: var(--gauge-w); }
  .depth-gauge .track { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
  .depth-gauge .fill { left: 50%; top: 0; width: 2px; margin-left: -1px; height: 0; }
  .depth-gauge .tick { left: 50%; width: 10px; height: 1px; margin-left: -5px; }
  .depth-gauge .tick-label { left: 50%; transform: translate(10px, -50%); }
  .depth-gauge .needle { left: 50%; margin-left: -5px; top: 0; margin-top: -5px; }
  .depth-gauge .readout { right: 100%; margin-right: 12px; transform: translateY(-50%); top: 0; }
}
@media (max-width: 767px) {
  .depth-gauge { left: 0; right: 0; bottom: 0; height: 3px; }
  .depth-gauge .track { left: 0; right: 0; top: 0; height: 3px; }
  .depth-gauge .fill { left: 0; top: 0; height: 3px; width: 0; }
  .depth-gauge .tick { top: 0; width: 1px; height: 3px; }
  .depth-gauge .tick-label { display: none; }
  .depth-gauge .needle { top: 50%; margin-top: -5px; margin-left: -5px; width: 10px; height: 10px; }
  .depth-gauge .readout { right: 10px; bottom: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .depth-gauge .needle, .depth-gauge .fill, .depth-gauge .readout { transition: top .12s linear, left .12s linear, height .12s linear, width .12s linear; }
}

/* Sections of the descent */
.dive { position: relative; padding: clamp(72px, 11vh, 140px) 0; }
.depth-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--seafoam);
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.depth-label::before { content: ""; width: 28px; height: 1px; background: var(--seafoam); }
.section-title { margin-bottom: 0.25em; }
.product-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--seafoam); margin: 0 0 0.9em; }

/* Photos with dive log captions */
figure { margin: 0; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-deep); }
.photo picture, .footer-band picture, .shop-strip picture { position: absolute; inset: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--landscape { aspect-ratio: 3 / 2; }
.photo--square { aspect-ratio: 1 / 1; }
.divelog { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; margin: 0;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; line-height: 1.4; color: rgba(255,255,255,.92);
  background: linear-gradient(to top, rgba(2, 12, 20, .78), rgba(2, 12, 20, 0)); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.divelog--static { position: static; padding: 10px 2px 0; background: none; text-shadow: none; color: var(--steel-light); }

/* Product sections */
.product { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1fr 1fr; }
  .product--flip .product-photo { order: 2; }
}
.product-copy .copy { max-width: 34em; color: var(--text-2); font-size: 1.05rem; }
.buy { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin-top: 28px; max-width: 520px; }
.buy .buy-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 420px) { .buy { grid-template-columns: 1fr; } .buy .product-media { max-width: 220px; } }

/* Product image placeholder: dark navy panel, product name, "Product photo coming". Swapped for a real photo from js/config.js. */
.product-media { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-ph { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding: 14px; text-align: center; border: 1px solid rgba(94, 234, 212, .28); border-radius: var(--radius);
  background: linear-gradient(160deg, #04243A, #011521); }
.product-ph strong { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; line-height: 1.2; color: var(--white); }
.product-ph small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--seafoam); }

/* Hero: the fog clears */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0b2a3d; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 58% 42%; }
.fog { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 25, 42, .82) 0%, rgba(0, 25, 42, .25) 40%, rgba(0,0,0,0) 70%); }
.hero-content { position: relative; z-index: 3; width: 100%; padding: 0 0 clamp(64px, 12vh, 120px); opacity: 0; transform: translateY(14px);
  transition: opacity .9s ease .1s, transform .9s ease .1s; }
.hero.is-clear .hero-content { opacity: 1; transform: none; }
.hero .depth-label { color: var(--seafoam); }
.brand-line { max-width: 11em; margin-bottom: 0.5em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.8); text-decoration: none; opacity: 0; transition: opacity .8s ease 1.2s; }
.hero.is-clear .scroll-hint { opacity: 1; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 28px; margin: 8px auto 0; background: rgba(255,255,255,.6); }
@media (max-width: 767px) { .scroll-hint { display: none; } .hero .divelog { padding-right: 96px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-content, .scroll-hint { transition: none; }
}

/* Before the giant stride: the flagship. One black block: photo 22 (queen angelfish on black) with its
   edges faded into the section's black, headline in large white Montserrat ExtraBold, product panel on the same black. */
.balm { background: #000; padding: clamp(56px, 9vh, 110px) 0 clamp(64px, 10vh, 120px); }
.balm-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.balm-photo { aspect-ratio: 4 / 3; background: #000; border-radius: 0; }
.balm-photo picture { -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, rgba(0,0,0,0) 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, rgba(0,0,0,0) 100%); }
.balm-photo .divelog { background: none; }
.balm-head { margin-bottom: 26px; }
.balm-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: 1; color: #fff; margin: 0 0 0.35em; letter-spacing: -0.02em; }
.balm-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 26em; margin: 0; }
.balm-panel { background: #000; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: clamp(22px, 3vw, 34px); }
.balm-panel .product-name { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.5em; }
.balm-panel .copy { color: var(--text-2); }
.balm-panel .buy { margin-top: 20px; }
.balm-panel .steps li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.balm-panel .claims-title { margin-top: 28px; }
.balm .product-ph { background: linear-gradient(160deg, #0b1620, #02070c); }
@media (min-width: 900px) {
  .balm-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); }
}

.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding: 18px 16px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(0, 20, 34, .35); font-size: 0.98rem; color: var(--text-2); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--seafoam); margin-bottom: 8px; }
.claims { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px 24px; }
@media (min-width: 640px) { .claims { grid-template-columns: 1fr 1fr; } }
.claims li { position: relative; padding-left: 26px; font-size: 0.98rem; color: var(--text-2); }
.claims li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--seafoam); border-bottom: 2px solid var(--seafoam); transform: rotate(-45deg); }
.claims-title { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--seafoam); margin: 36px 0 0; }

/* Full width break */
.break { position: relative; min-height: 72vh; display: grid; place-items: center; padding: 0; overflow: hidden; }
.break .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.break .photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 20, 36, .35); }
.break .divelog { z-index: 2; }
.break .break-line { position: relative; z-index: 1; text-align: center; padding: 120px var(--gutter); max-width: 14em; font-size: clamp(1.9rem, 5.2vw, 4rem); text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.break .depth-label { position: absolute; z-index: 2; top: 28px; left: var(--gutter); margin: 0; }
/* Photo bands with a call to action (the DEMA band on the home page, the dive shop band on Shop): the break treatment with a darker gradient */
.break-cta { min-height: 62vh; }
.break-cta .photo::after { background: linear-gradient(to bottom, rgba(0, 20, 36, .45), rgba(0, 20, 36, .78)); }
.break-cta-inner { position: relative; z-index: 1; text-align: center; padding: 96px var(--gutter); max-width: 42em; }
.break-cta h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.break-cta h2 span { display: block; font-size: clamp(1.25rem, 3vw, 2.1rem); margin-top: 0.35em; }
.break-cta .eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--seafoam); margin: 0 0 16px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.break-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
/* DEMA exhibiting banner: one clickable image, centered, 720 px at most, full width on phones, thin seafoam border, slight lift on hover */
.dema-banner { padding: 36px 0 44px; text-align: center; }
.banner-link { display: block; width: 100%; max-width: 720px; margin-inline: auto; border: 1px solid var(--seafoam); border-radius: var(--radius); overflow: hidden;
  background: var(--navy-deep); transition: transform .15s ease, box-shadow .15s ease; }
.banner-link img { width: 100%; height: auto; display: block; }
.banner-link:hover, .banner-link:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.banner-note { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-light); margin: 12px 0 0; }
.dema .banner-link { margin-bottom: 26px; }

/* Miss nothing: the strip */
.strip-head { display: grid; gap: 8px 40px; align-items: end; margin-bottom: 30px; }
@media (min-width: 900px) { .strip-head { grid-template-columns: auto 1fr; } .strip-head .lede { margin: 0 0 0.6em; } }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; margin: 0; list-style: none;
  -webkit-overflow-scrolling: touch; scrollbar-color: var(--seafoam) rgba(255,255,255,.08); scrollbar-width: thin; }
.strip li { flex: 0 0 min(76vw, 330px); scroll-snap-align: start; }
.strip .photo { aspect-ratio: 3 / 4; }
@media (min-width: 1100px) { .strip li { flex-basis: calc((100% - 56px) / 5); } }
.strip-hint { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel-light); margin: 4px 0 0; }
@media (min-width: 1100px) { .strip-hint { display: none; } }

/* The Nation */
.nation { text-align: center; }
.nation .inner { max-width: 44em; margin-inline: auto; }
.nation h2 { font-size: clamp(2rem, 5.2vw, 4rem); }
.nation .lines { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--text-2); margin: 28px auto; max-width: 30em; }
.nation .motto { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--seafoam); margin-top: 40px; }

/* Join: surfacing */
.join { position: relative; overflow: hidden; }
.join .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.join .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 47, 75, .82), rgba(0, 47, 75, .4)); }
.join .divelog { z-index: 2; }
.join-grid { position: relative; z-index: 1; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .join-grid { grid-template-columns: 1fr 1fr; } }
.join-copy .lede { color: var(--white); }
.form-card { background: rgba(2, 20, 34, .82); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.form-embed { min-height: 560px; }
.form-embed iframe { width: 100%; height: 720px; border: 0; border-radius: 6px; background: #fff; display: block; }
.form-note { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-light); margin: 12px 0 0; }

/* Footer */
.site-footer { position: relative; margin-top: 40px; background: rgba(0, 24, 40, .6); }
.footer-band { position: relative; height: clamp(170px, 26vw, 360px); overflow: hidden; }
.footer-band img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.footer-grid { display: grid; gap: 36px; padding: 48px 0 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 200px; height: auto; }
.footer-brand .brand-line-sm { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin: 18px 0 6px; }
.footer-brand .credit { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--seafoam); }
.footer-brand .credit-sub { font-size: 0.62rem; letter-spacing: 0.12em; color: var(--steel-light); margin-top: -0.6em; }
.footer-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel-light); margin: 0 0 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-contact a { color: var(--white); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }
.contact-placeholder { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--steel-light); border: 1px dashed rgba(255,255,255,.3); padding: 6px 10px; border-radius: 3px; display: inline-block; }
.social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.social svg { width: 20px; height: 20px; }
.social svg:not([fill="none"]) { fill: currentColor; }
.copyright { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-light); padding: 14px 0 60px; margin: 0; border-top: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .copyright { padding-bottom: 28px; } }

/* Inner pages */
.page { padding-top: calc(var(--header-h) + 40px); }
.page-hero { position: relative; min-height: 66vh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 56px; }
.page-hero .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.page-hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 31, 51, .88) 0%, rgba(0, 31, 51, .35) 45%, rgba(0, 31, 51, .1) 100%); }
.page-hero .photo img { object-position: 50% 30%; }
.page-hero .divelog { z-index: 2; }
.page-hero .container { position: relative; z-index: 1; }

/* Shop grid */
.shop-strip { position: relative; height: clamp(160px, 26vw, 260px); overflow: hidden; margin-top: var(--header-h); }
.shop-strip img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.shop-grid { display: grid; gap: 22px; margin-top: 36px; }
@media (min-width: 640px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.03); }
.card .product-media { aspect-ratio: 4 / 3; }
.card .card-step { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--seafoam); }
.card h2 { font-size: 1.3rem; margin: 0; }
.card p { color: var(--text-2); margin: 0; flex: 1; }
.card p.card-step { flex: 0 0 auto; }
.card .card-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.card--featured { border-color: rgba(94, 234, 212, .4); }
.card h3 { font-size: 1.3rem; margin: 0; }
.bundles { padding: 0 0 80px; scroll-margin-top: calc(var(--header-h) + 16px); }
.bundles-title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 10px; }
@media (min-width: 1000px) { .bundles-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .card--featured { grid-column: span 2; flex-direction: row; } .card--featured .product-media { flex: 0 0 46%; aspect-ratio: 1 / 1; } .card--featured .card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; } }

/* Our Story */
.story-grid { display: grid; gap: 32px 64px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.4fr; } }
.story-copy p { font-size: 1.1rem; color: var(--text-2); }
.story-copy--single { max-width: 40em; }
.story-copy--single p { font-size: 1.15rem; line-height: 1.7; }
.page-hero h1 { max-width: 14em; }
.beliefs { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 800px) { .beliefs { grid-template-columns: repeat(3, 1fr); } }
.beliefs li { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; padding: 26px 22px; border-top: 2px solid var(--seafoam); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(5, 1fr); } }
.values li { padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.values strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; color: var(--seafoam); }
.values span { color: var(--text-2); font-size: 0.95rem; }

/* DEMA landing: phone first */
.dema { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.dema .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.dema .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 31, 51, .55), rgba(0, 31, 51, .92) 70%); }
.dema .divelog { z-index: 2; }
.dema-inner { position: relative; z-index: 1; max-width: 560px; margin-inline: auto; padding: calc(var(--header-h) + 28px) var(--gutter) 60px; }
.dema .eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--seafoam); margin: 0 0 10px; }
.dema h1 { font-size: clamp(2.4rem, 11vw, 4.2rem); }
.dema .booth { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 7vw, 2.4rem); color: var(--coral); margin: 0 0 6px; }
.dema .where { color: var(--text-2); margin: 0 0 22px; }
.dema .dema-product { max-width: 240px; margin: 0 0 24px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.dema .offer { margin: 26px 0 8px; }
.dema .offer-line { margin: 12px 0 0; color: var(--text-2); font-weight: 600; }

/* Thank-you, 404 */
.simple { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; position: relative; overflow: hidden; }
.simple .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.simple .photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 31, 51, .78); }
.simple .divelog { z-index: 2; text-align: left; }
.simple .inner { position: relative; z-index: 1; max-width: 36em; }
.simple .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Keep the fixed gauge clear of the content between tablet and wide desktop */
@media (min-width: 768px) and (max-width: 1363px) {
  .has-gauge .container { width: calc(100% - var(--gutter) - var(--gauge-w) - 18px); max-width: var(--container); margin-left: var(--gutter); margin-right: auto; }
}

/* Wholesale: the Join grid without the photo, copy on the left and the dealer card on the right */
.wholesale { display: flex; align-items: center; min-height: 78vh; }
.wholesale .copy { color: var(--text-2); max-width: 36em; }
.dealer-card { width: 100%; max-width: 500px; justify-self: center; padding: 28px 24px; text-align: center;
  background: rgba(2, 20, 34, .82); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.dealer-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dealer-actions .btn { flex: 1 1 auto; white-space: nowrap; }
/* Contact lines: site.js fills every [data-contact] from config.js (phone as tel:, then email) */
.contact-lines a { display: block; width: fit-content; }
/* Private label: the Wholesale layout with the GoHighLevel quote form in the right column */
.form-embed-tall { min-height: 1692px; }
.form-embed-tall iframe { height: 1692px; }
.private-label .join-grid { align-items: start; }
@media (min-width: 900px) { .private-label .join-copy { position: sticky; top: calc(var(--header-h) + 32px); } }
.wholesale .contact-lines { margin: -4px 0 1.2em; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.wholesale .contact-lines a { color: var(--seafoam); text-decoration: none; }
.wholesale .contact-lines a:hover { text-decoration: underline; }
