/* ==========================================================
   Fully Promoted Vero Beach - Site stylesheet (dark theme)
   Fonts: Anton (display) / Space Grotesk (body) / Dancing Script (script)
   Palette from FP_LOGO2026.svg + approved dark concept:
     bg #04070E, panel #070F22, sky #18B4E9, bright #6FD4F5,
     blue #0068B1, navy #00338B
   Shape system: pill buttons, 14px cards (8px on contact page), 10px inputs
   Theme lock: dark, all pages
   ========================================================== */

:root {
  --bg: #04070E;
  --bg-deep: #030509;
  --panel: #070F22;
  --panel-2: #0A1428;
  --hairline: rgba(94, 140, 220, 0.14);
  --hairline-strong: rgba(94, 140, 220, 0.28);
  --sky: #18B4E9;
  --sky-bright: #6FD4F5;
  --blue: #0068B1;
  --navy: #00338B;
  --white: #F4F8FF;
  --body-text: #B9C8E2;
  --label: #8CA2C4;
  --radius-card: 14px;
  --radius-input: 10px;
  --error: #FF8A80;
  --nav-h: 96px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--body-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(24, 180, 233, 0.4); color: var(--white); }

/* ---------- Utilities ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  background: var(--sky);
  color: #04121D;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  transform: translateY(-300%);
}
.skip-link:focus-visible { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.pb-lg { padding-bottom: 120px; }
.pb-md { padding-bottom: 110px; }
.pt-band { padding-top: 100px; }
.band-pad { padding: 90px 0; }
.media-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* ---------- Type ---------- */
.display {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.98;
  letter-spacing: 0.015em;
}
h1.display { font-size: clamp(2.9rem, 6.4vw, 5rem); }
h2.display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.display--sm { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { color: var(--white); font-weight: 700; }

.script {
  font-family: "Dancing Script", cursive;
  text-transform: none;
  color: var(--sky-bright);
  font-size: 1.18em;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
  display: inline-block;
  padding: 0 0.12em 0.16em 0.05em; /* descender room */
  text-shadow: 0 0 26px rgba(24, 180, 233, 0.35);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.1rem;
}

.lede { font-size: 1.06rem; max-width: 58ch; }

a { color: var(--sky); text-decoration: none; }

.wrap { width: min(1300px, 94vw); margin: 0 auto; }
.wrap--narrow { width: min(880px, 94vw); margin: 0 auto; }

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78em 1.7em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--primary {
  background: var(--sky);
  color: #04121D;
  box-shadow: 0 6px 24px rgba(24, 180, 233, 0.35);
}
.btn--primary:hover { background: var(--sky-bright); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(244, 248, 255, 0.45);
}
.btn--ghost:hover { border-color: var(--sky); color: var(--sky-bright); }
.btn--lg { padding: 0.95em 2.2em; font-size: 1.02rem; }
.btn--full { width: 100%; justify-content: center; }

.link-arrow {
  font-weight: 700;
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.link-arrow img {
  width: 18px; height: 18px;
  filter: brightness(0) saturate(100%) invert(66%) sepia(60%) saturate(2400%) hue-rotate(165deg);
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover img { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 60;
  background: rgba(4, 7, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled {
  background: rgba(4, 7, 14, 0.9);
  border-bottom-color: var(--hairline);
}
.nav__inner {
  width: min(1300px, 94vw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 80px;
  width: 163px;
  filter: drop-shadow(0 0 14px rgba(24, 180, 233, 0.3)) brightness(1.12);
}
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a {
  color: var(--body-text);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__links a.is-active { color: var(--sky-bright); }
.nav__links a.nav__cta { color: #04121D; letter-spacing: 0.08em; }
.nav__links a.nav__cta:hover { color: #04121D; }
.nav__socials { display: flex; align-items: center; gap: 1rem; }
.nav__icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.2s;
  display: block;
}
.nav__icon:hover img { opacity: 1; }
.nav__toggle { display: none; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 84px) 0 64px;
  background:
    radial-gradient(820px 420px at 78% 10%, rgba(0, 51, 139, 0.45), rgba(4, 7, 14, 0) 70%),
    var(--bg);
  border-bottom: 1px solid var(--hairline);
}
/* Page titles are the headings that actually wrap, and Anton's comma hangs low
   enough that 0.98 lets it land on the caps below ("95,000+ ..." over "LOGO.").
   A little extra leading here only; headings elsewhere stay tight. */
.page-hero .display { line-height: 1.08; }
.page-hero .lede { margin-top: 1.2rem; }
.page-hero--photo {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 120px) 0 100px;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 14, 0.72), rgba(4, 7, 14, 0.28) 45%, rgba(4, 7, 14, 0.92));
}
.page-hero--photo .wrap { position: relative; }
.page-hero--short { padding: calc(var(--nav-h) + 70px) 0 90px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 14, 0.88) 18%, rgba(4, 7, 14, 0.35) 55%, rgba(4, 7, 14, 0.05) 100%),
    linear-gradient(180deg, rgba(4, 7, 14, 0.55), rgba(4, 7, 14, 0) 30%, rgba(4, 7, 14, 0) 70%, rgba(4, 7, 14, 0.9));
}
.hero__inner {
  position: relative;
  width: min(1300px, 94vw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 0 110px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 2rem;
}
.hero__title { margin-top: 0.2rem; }
.hero__title .script { font-size: clamp(3.2rem, 7vw, 6rem); }
.hero__sub {
  margin: 1.6rem 0 2.2rem;
  max-width: 46ch;
  font-size: 1.05rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
/* Centred by the grid, and left in normal flow on purpose. An absolutely
   positioned version with `height: fit-content` sized correctly in Chrome but
   blew up in iOS Safari, and because it was out of flow it landed on top of the
   headline and buttons. `height: auto` keeps the intrinsic ratio everywhere,
   and in-flow means a sizing mistake can never overlap the copy again. */
.hero__hat {
  width: min(46vw, 600px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 55px rgba(0, 0, 0, 0.7));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(7, 15, 34, 0.5);
  padding: 0.95rem 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 2.4rem;
  padding-right: 2.4rem;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: "Anton", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--sky);
  text-transform: uppercase;
}
.marquee i {
  color: var(--sky-bright);
  font-style: normal;
  font-size: 0.8rem;
  align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections spacing ---------- */
.section-pad { padding: 120px 0 100px; }
/* The reading measure belongs to the paragraph, not the whole block. On the
   container it also squeezed the much larger display heading, breaking it
   mid-phrase ("EVERYTHING YOUR BRAND / NEEDS."). Headings here set their own
   line breaks in the markup. */
.section-head { margin-bottom: 3rem; }
.section-head .lede { max-width: 62ch; margin-top: 1.2rem; }

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: 1.1rem;
}
.cell {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--hairline);
  background: var(--panel);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.cell:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}
.cell > img.cell__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.cell:hover > img.cell__photo { transform: scale(1.05); }
.cell--photo::after {
  content: "";
  position: absolute;
  inset: 30% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 9, 0.92));
}
.cell__label { position: relative; z-index: 2; padding: 1.15rem 1.3rem; width: 100%; }
.cell__label h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
  text-transform: uppercase;
}
.cell__label p { font-size: 0.85rem; color: var(--body-text); margin-top: 0.2rem; }
.cell__icon {
  position: absolute;
  top: 20px;
  left: 22px;
}
.cell__icon img { width: 32px; height: 32px; filter: brightness(0) invert(1); opacity: 0.9; }
.cell--wide2 { grid-column: span 2; grid-row: span 2; }
.cell--tall { grid-row: span 2; }
.cell--tint { background: linear-gradient(150deg, var(--navy), var(--blue)); border-color: rgba(24, 180, 233, 0.3); }
.cell--tint::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 22, 62, 0.72));
}

/* ---------- Stats (prototype style: gradient text) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #FFFFFF 30%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}

/* ---------- Steps (how it works) ---------- */
.steps-band {
  background: linear-gradient(180deg, rgba(7, 15, 34, 0.65), rgba(4, 7, 14, 0));
  border-top: 1px solid var(--hairline);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 4.4rem 1.5rem 1.7rem;
  background: rgba(4, 7, 14, 0.55);
  overflow: hidden;
}
.step__num {
  position: absolute;
  top: 0.7rem;
  left: 1.2rem;
  font-family: "Anton", sans-serif;
  font-size: 3rem;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #FFFFFF 20%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; }

/* ---------- Showcase band ---------- */
.showcase {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(620px 480px at 62% 42%, rgba(0, 104, 177, 0.45), rgba(4, 7, 14, 0) 68%),
    radial-gradient(900px 520px at 86% 70%, rgba(0, 51, 139, 0.5), rgba(4, 7, 14, 0) 72%);
}
.showcase__inner {
  width: min(1300px, 94vw);
  margin: 0 auto;
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.showcase__copy p { max-width: 42ch; margin-bottom: 1.6rem; }
.showcase__stage { position: relative; min-height: 430px; }
.showcase__tee {
  position: absolute;
  left: 4%;
  top: 0;
  height: 420px;
  filter: brightness(1.15) drop-shadow(0 0 30px rgba(24, 180, 233, 0.22)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.65));
}
.showcase__cap {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: min(34vw, 250px);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.6));
  animation: float 9s ease-in-out infinite;
}
.wm {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.06;
  filter: brightness(0) invert(1);
}
.wm--showcase {
  width: min(56vw, 760px);
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  rotate: -8deg;
}

/* ---------- Quote ---------- */
section.quote { padding: 120px 0; text-align: center; }
.quote blockquote p {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
}
/* The testimonial is excerpted, so its paragraphs are not consecutive in the
   original letter. The gap carries that break instead of an ellipsis. */
.quote blockquote p + p { margin-top: 1.5rem; }
.quote .quote__mark {
  font-family: "Anton", sans-serif;
  font-size: 3.4rem;
  color: var(--sky);
  display: block;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--label);
}
.quote cite .note { text-transform: none; letter-spacing: 0.02em; font-weight: 400; color: var(--label); }

/* ---------- Visit band (photo backdrop) ---------- */
.visit-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.visit-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}
.visit-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 7, 14, 0.88) 28%, rgba(4, 7, 14, 0.2) 100%);
}
.visit-band__inner {
  position: relative;
  width: min(1300px, 94vw);
  margin: 0 auto;
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* ---------- Fluid gradient band ---------- */
.band--fluid {
  background:
    linear-gradient(180deg, rgba(4, 7, 14, 0.78), rgba(4, 7, 14, 0.86)),
    url("../assets/fluid-bg.jpg") center / cover no-repeat;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* ---------- Contact panel (corporate, crisp) ---------- */
.contact-panel {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  background: #08101F;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.info-card { padding: 2rem 2.2rem; }
.info-card h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.info-card .visit-list { margin: 0; }
/* Wide viewports: the info column is ~700px, far more than a single stack of
   short lines needs. Pair the contact methods into two columns so the block
   reads as dense as the hours table beside it. Address spans, it leads. */
@media (min-width: 1200px) {
  .info-card .visit-list {
    /* auto, not 1fr: the second column holds the long email address, so it
       takes the remainder rather than an even half that forces a mid-word break. */
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 2rem;
    row-gap: 0.85rem;
  }
  .info-card .visit-list > :first-child { grid-column: 1 / -1; }
}
.info-card > p {
  font-size: 0.9rem;
  color: var(--label);
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--hairline);
}
.contact-panel .hours-card {
  border: 0;
  border-left: 1px solid var(--hairline);
  border-radius: 0;
  background: rgba(7, 15, 34, 0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Contact page: crisper, corporate surfaces */
.page-contact .form-card {
  background: #08101F;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.page-contact .field input,
.page-contact .field select,
.page-contact .field textarea { border-radius: 6px; }
.page-contact .choice-row label { border-radius: 6px; }
.page-contact .map-frame { border-radius: 8px; border-color: var(--hairline-strong); }

/* ---------- Visit / hours ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.visit-list { display: grid; gap: 0.9rem; margin: 1.8rem 0 2rem; }
.visit-list a, .visit-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.visit-list img { width: 19px; height: 19px; filter: brightness(0) invert(1); opacity: 0.7; }
.visit-list a:hover { color: var(--sky-bright); }

.hours-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--panel), rgba(7, 15, 34, 0.35));
  overflow: hidden;
}
.hours-card table { width: 100%; border-collapse: collapse; }
.hours-card th, .hours-card td {
  text-align: left;
  padding: 1.05rem 1.4rem;
  font-size: 0.95rem;
}
.hours-card th { color: var(--white); font-weight: 700; white-space: nowrap; }
.hours-card td { color: var(--body-text); }
.hours-card tr + tr th, .hours-card tr + tr td { border-top: 1px solid var(--hairline); }
.hours-card tr.is-walkin { background: rgba(24, 180, 233, 0.08); }
/* ---------- Glass surfaces ---------- */
.glass {
  background: rgba(7, 15, 34, 0.55);
  border: 1px solid rgba(94, 140, 220, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-card);
}

.pill {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22em 0.85em;
  margin-left: 0.6rem;
  vertical-align: middle;
}
.pill--walkin { background: var(--sky); color: #04121D; }
.pill--appt { background: rgba(94, 140, 220, 0.22); color: var(--body-text); }
.pill--today { background: var(--sky-bright); color: #04121D; }

/* ---------- Forms ---------- */
.form-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--panel), rgba(7, 15, 34, 0.4));
  padding: 2.1rem;
}
.form-card h3 { font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; font-size: 1.3rem; margin-bottom: 1.4rem; }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 1.15rem; }
.form-card legend {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.4rem;
  padding: 0;
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.field__hint { font-weight: 400; color: var(--label); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--hairline-strong);
  border-radius: var(--radius-input);
  background: var(--panel-2);
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sky) 50%), linear-gradient(135deg, var(--sky) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(24, 180, 233, 0.22);
}
.field input::placeholder, .field textarea::placeholder { color: var(--label); }
.choice-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.choice-row input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.choice-row label {
  display: inline-block;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-text);
  cursor: pointer;
  margin-bottom: 0;
  transition: all 0.2s;
}
.choice-row input[type="radio"]:checked + label {
  background: var(--sky);
  border-color: var(--sky);
  color: #04121D;
}
.choice-row input[type="radio"]:focus-visible + label { box-shadow: 0 0 0 3px rgba(24, 180, 233, 0.35); }
.form-note { text-align: center; font-size: 0.85rem; color: var(--label); margin-top: 1rem; }
.form-note.is-error { color: var(--error); }

/* ---------- Gallery ---------- */
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.gallery-head .handle { font-weight: 700; color: var(--sky); letter-spacing: 0.06em; }
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}
.gallery figure {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 1;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- CTA band (subpages) ---------- */
.cta-band {
  margin: 40px 0 0;
  border-top: 1px solid var(--hairline);
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(0, 104, 177, 0.35), rgba(4, 7, 14, 0) 70%);
  text-align: center;
  padding: 110px 0 120px;
}
.cta-band .script { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.cta-band .btn { margin-top: 2rem; }

/* ---------- Meet the team (diagonal cut) ---------- */
.team-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  clip-path: polygon(0 0, 100% 3.5rem, 100% calc(100% - 3.5rem), 0 100%);
  padding: 150px 0 160px;
  margin: 60px 0;
}
.team-band .eyebrow { color: #E2F4FD; }
.team-band .display { color: var(--white); }
.team-band .lede { color: #E2F4FD; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}
.team-card {
  background: rgba(4, 7, 14, 0.35);
  border: 1px solid rgba(226, 244, 253, 0.22);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  backdrop-filter: blur(6px);
}
.team-card .avatar {
  aspect-ratio: 1;
  border-radius: calc(var(--radius-card) - 2px) calc(var(--radius-card) - 2px) 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  background:
    repeating-linear-gradient(-45deg, rgba(226, 244, 253, 0.08) 0 14px, rgba(226, 244, 253, 0.02) 14px 28px),
    rgba(4, 7, 14, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.team-card .avatar span {
  font-family: "Anton", sans-serif;
  font-size: 2.2rem;
  color: rgba(226, 244, 253, 0.5);
  letter-spacing: 0.06em;
}
.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Link variant, used by the 404 page's "where were you headed" cards */
/* No transition here on purpose: these cards also carry .reveal, and any
   transition declared at this higher specificity replaces .reveal's
   opacity/transform transition, which kills the scroll-in animation. */
a.team-card {
  display: block;
  text-decoration: none;
}
a.team-card:hover, a.team-card:focus-visible {
  border-color: var(--hairline-strong);
  background: rgba(10, 20, 40, 0.55);
}
.team-card h3 { color: var(--white); font-size: 1rem; }
.team-card p { color: #CBE8F8; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 0.2rem; }

/* ---------- Service index rows (services page) ---------- */
.svc-index { border-top: 1px solid var(--hairline); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1.2fr 0.8fr 240px 40px;
  gap: 1.8rem;
  align-items: center;
  padding: 1.9rem 0.6rem;
  border-bottom: 1px solid var(--hairline);
  color: inherit;
  transition: background 0.3s var(--ease);
}
.svc-row:hover { background: rgba(24, 180, 233, 0.05); }
.svc-row__num {
  font-family: "Anton", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, #FFFFFF 20%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.75;
}
.svc-row__main h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  transition: color 0.25s;
}
.svc-row:hover .svc-row__main h3 { color: var(--sky-bright); }
.svc-row__main p { font-size: 0.92rem; margin-top: 0.3rem; max-width: 44ch; }
.svc-row__meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--label);
}
.svc-row__thumb {
  width: 240px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-input);
  border: 1px solid var(--hairline-strong);
}
.svc-row__arrow img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(66%) sepia(60%) saturate(2400%) hue-rotate(165deg);
  opacity: 0.25;
  transition: opacity 0.3s;
}
.svc-row:hover .svc-row__arrow img { opacity: 1; }

/* ---------- Media stack (photo) ---------- */
.media-stack { position: relative; }
.media-stack .media-card { position: relative; }

/* ---------- Category grid (products page) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.cat {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--panel);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.cat:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}
.cat__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat::after {
  content: "";
  position: absolute;
  inset: 32% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 9, 0.94));
}
.cat__label { position: relative; z-index: 1; padding: 1.15rem 1.25rem; }
.cat h3 { font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; font-size: 1rem; }
.cat p { font-size: 0.84rem; margin-top: 0.2rem; color: var(--body-text); }

/* ---------- Catalog band (link out to the ESP catalog site) ---------- */
.catalog-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(7, 15, 34, 0.7), rgba(4, 7, 14, 0));
  padding: 70px 0;
}
.catalog-cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.6rem;
  align-items: center;
}
.catalog-cta__copy h2 { margin-top: 0.5rem; }
.catalog-cta__copy p {
  margin-top: 1.1rem;
  max-width: 52ch;
  font-size: 0.98rem;
}
.catalog-cta__panel {
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  background: #08101F;
  padding: 1.8rem 1.9rem;
}
.catalog-cta__panel .btn { width: 100%; justify-content: center; }
.catalog-steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.catalog-steps li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--body-text);
}
.catalog-steps b {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--sky);
}
.catalog-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--label);
}

/* External-link marker */
.ext-arrow {
  width: 17px;
  height: 17px;
  flex: none;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.btn--primary .ext-arrow { filter: none; opacity: 0.75; }
.nav__links a.nav__ext::after {
  content: "\2197";
  font-size: 0.82em;
  margin-left: 0.18em;
  opacity: 0.65;
}

/* ---------- Map ---------- */
.map-frame {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--panel);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline);
}
.wm--footer {
  width: 520px;
  right: -110px;
  bottom: -130px;
  transform: rotate(-8deg);
  opacity: 0.045;
}
.footer__inner {
  position: relative;
  width: min(1300px, 94vw);
  margin: 0 auto;
  padding: 4.2rem 0 2.6rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 2.5rem;
  font-size: 0.92rem;
}
.footer__brand img {
  width: 190px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0 22px rgba(24, 180, 233, 0.28)) brightness(1.12);
}
.footer__brand p { max-width: 32ch; }
.footer h3 {
  color: var(--white);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer a { color: var(--body-text); font-weight: 500; }
.footer a:hover { color: var(--sky-bright); }
.footer p { margin-bottom: 0.55rem; }
.footer__areas {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding: 1.3rem 1rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--label);
}
.footer__areas p + p { margin-top: 0.3rem; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2), .steps .reveal:nth-child(2), .stats .reveal:nth-child(2),
.cat-grid .reveal:nth-child(2), .team-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.bento .reveal:nth-child(3), .steps .reveal:nth-child(3), .stats .reveal:nth-child(3),
.cat-grid .reveal:nth-child(3), .team-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.bento .reveal:nth-child(4), .steps .reveal:nth-child(4), .stats .reveal:nth-child(4),
.cat-grid .reveal:nth-child(4), .team-grid .reveal:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__hat, .showcase__cap { animation: none; }
  .marquee__track { animation: none; }
  .cell, .cell > img, .btn, .cat, .gallery img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .cell--wide2 { grid-column: span 2; }
  .stats, .steps, .cat-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase__cap { width: min(30vw, 200px); }
  .svc-row { grid-template-columns: 48px 1.2fr 0.7fr 160px 32px; gap: 1.2rem; }
  .svc-row__thumb { width: 160px; height: 104px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { min-height: 0; padding-top: 1.5rem; }
  .hero__hat { width: min(68vw, 360px); }
  .showcase__inner, .visit-grid,
  .visit-band__inner, .contact-panel, .catalog-cta { grid-template-columns: 1fr; }
  .contact-panel { margin-top: -40px; }
  .contact-panel .hours-card { border-left: 0; border-top: 1px solid var(--hairline); }
  .visit-band__inner { padding: 80px 0; }
  .showcase__stage { min-height: 360px; }
  .showcase__tee { height: 340px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:nth-child(n+7) { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses to the menu button across the whole tablet range: six links
   plus the socials and the CTA pill need ~930px and stop fitting below ~1020px. */
@media (max-width: 1020px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    /* Fully opaque: a translucent panel gets re-sampled by the nav's
       backdrop-filter and the page shows straight through it. */
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 5vw 1.6rem;
    gap: 1.2rem;
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s 0.35s;
  }
  .nav__links.open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav__toggle {
    display: grid;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0.55rem;
    cursor: pointer;
  }
  .nav__toggle span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; }
}

@media (max-width: 640px) {
  .section-pad { padding: 80px 0 70px; }
  section.quote { padding: 80px 0; }
  .pb-lg { padding-bottom: 80px; }
  .pb-md { padding-bottom: 70px; }
  .pt-band { padding-top: 70px; }
  .band-pad { padding: 70px 0; }
  .bento, .steps, .cat-grid, .team-grid { grid-template-columns: 1fr; }
  .catalog-band { padding: 55px 0; }
  .catalog-cta__panel { padding: 1.4rem 1.3rem; }
  .hours-card table { table-layout: fixed; width: 100%; }
  .hours-card th { white-space: normal; }
  .hours-card th, .hours-card td { padding: 0.9rem 1rem; }
  .hours-card .pill { margin-left: 0; margin-top: 0.35rem; display: inline-block; }
  .svc-row { grid-template-columns: 44px 1fr 96px; gap: 1rem; padding: 1.3rem 0.4rem; }
  .svc-row__meta, .svc-row__arrow { display: none; }
  .svc-row__thumb { width: 96px; height: 72px; }
  .stats { grid-template-columns: 1fr; gap: 1.6rem; }
  .bento { grid-auto-rows: 200px; }
  .cell--wide2 { grid-column: span 1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(n+5) { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .team-band { clip-path: polygon(0 0, 100% 1.6rem, 100% calc(100% - 1.6rem), 0 100%); padding: 100px 0 110px; }
}
