/* ==========================================================================
   Hercules Mat Company — site styles
   Palette pulled from the logo: navy, brand red, and cream.
   ========================================================================== */

:root {
  --navy-950: #08141e;
  --navy-900: #0b1c29;
  --navy-800: #12273a;
  --navy-700: #1c3850;
  --red-600: #ab2328;
  --red-700: #8f1c21;
  --cream-300: #efdbb2;
  --cream-100: #f6efe0;
  --cream-50: #fbf8f1;
  --ink: #16202a;
  --body: #3b4550;
  --muted: #5f6975;
  --line: #e5ddcc;
  --white: #fff;

  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --header-h: 80px;
  --shadow-sm: 0 2px 8px rgba(11, 28, 41, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 28, 41, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 28, 41, 0.16);
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 72px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.04;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.75rem, 6.2vw, 5rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: 1.6rem; letter-spacing: 0.01em; }
p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { left: 12px; }

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

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-600);
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: currentColor; }
.eyebrow--light { color: var(--cream-300); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }

.btn-primary { background: var(--red-600); color: #fff; }
.btn-primary:hover { background: var(--red-700); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-950); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--cream-100); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red-600);
}
.text-link .icon { transition: transform 0.2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(239, 219, 178, 0.82);
  font-size: 0.875rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar p { margin: 0; letter-spacing: 0.02em; }
.topbar ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; }
.topbar a:hover { color: #fff; }
@media (max-width: 860px) {
  .topbar__tag { display: none; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 420px) {
  .topbar ul { gap: 1rem; font-size: 0.8rem; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(11, 28, 41, 0.08); }
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}
.brand img { height: 58px; width: auto; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy-800);
}
.brand__name strong { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.03em; }
.brand__name span { margin-top: 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3em; color: var(--red-600); }

.site-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-800);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.1rem;
  height: 3px;
  background: var(--red-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-mobile-only { display: none; }
.site-nav a.btn { display: flex; padding: 0.95rem 1.5rem; color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--navy-800);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11, 28, 41, 0.12);
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .site-nav a:not(.btn) { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--red-600); }
  .site-nav .nav-mobile-only { display: block; margin-top: 1rem; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand img { height: 48px; }
  .brand__name strong { font-size: 1.45rem; }
  .brand__name span { font-size: 0.7rem; letter-spacing: 0.24em; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(86vh, 800px);
  padding: clamp(96px, 12vw, 150px) 0 clamp(140px, 15vw, 190px);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { object-position: 72% 55%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 20, 30, 0.94) 0%, rgba(8, 20, 30, 0.8) 38%, rgba(8, 20, 30, 0.28) 72%, rgba(8, 20, 30, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 20, 30, 0.6) 0%, rgba(8, 20, 30, 0) 45%);
}
.hero__content { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--cream-300); }
.hero__lead {
  max-width: 580px;
  margin-bottom: 2rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-300);
}
.hero__points li { display: flex; align-items: center; gap: 0.55rem; }
.check-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-600);
  color: #fff;
}
.check-dot .icon { width: 13px; height: 13px; stroke-width: 3; }

@media (max-width: 720px) {
  .hero { align-items: flex-end; min-height: 640px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(8, 20, 30, 0.45) 0%, rgba(8, 20, 30, 0.82) 50%, rgba(8, 20, 30, 0.95) 100%);
  }
  .hero__media img { object-position: 78% 50%; }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 2; margin-top: -88px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 4px solid var(--red-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { display: flex; align-items: center; gap: 1.25rem; padding: 2rem 2.25rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: var(--navy-800);
}
.stat__num { margin: 0; }
.stat__num span { color: var(--red-600); }
.stat__label { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--muted); }
.stat__label strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .stats { margin-top: -64px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { padding: 1.4rem 1.5rem; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat__num { min-width: 92px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--cream { background: var(--cream-100); }
.section--paper { background: var(--cream-50); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, 0.82); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}
.section-head--split > div { max-width: 700px; }
.section-head--split > .btn { flex: none; }
.section--navy .section-head p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.75rem; }
.card__body h3 { margin-bottom: 0.55rem; }
.card__body p { font-size: 1rem; color: var(--muted); }
.card__body .text-link { margin-top: auto; }
a.card:hover .text-link .icon { transform: translateX(4px); }

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  border-radius: 3px;
  background: var(--red-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge--inline { position: static; display: inline-block; margin-bottom: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.chip {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--cream-50);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--navy-800);
}

.card--feature {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: rgba(255, 255, 255, 0.8);
  isolation: isolate;
}
.card--feature::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(239, 219, 178, 0.07) 0 14px, transparent 14px 28px);
  transform: rotate(-12deg);
}
.card--feature h3 { color: #fff; }
.card--feature p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; }
.card--feature .text-link { color: var(--cream-300); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: var(--red-600);
  color: #fff;
}
.feature-icon .icon { width: 28px; height: 28px; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__body > :last-child { margin-bottom: 0; }

.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: 24px -20px -20px 24px;
  border: 3px solid var(--red-600);
  border-radius: var(--radius);
}
.framed img {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split--reverse .framed::before { inset: 24px 24px -20px -20px; }

.duo { position: relative; padding-bottom: 18%; }
.duo img { border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; }
.duo__a { width: 82%; aspect-ratio: 4 / 3; }
.duo__b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  aspect-ratio: 4 / 3;
  border: 6px solid #fff;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .framed::before, .split--reverse .framed::before { inset: 16px -10px -10px 16px; }
}

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; margin: 2.25rem 0 2.5rem; }
.value { display: flex; gap: 1rem; }
.value__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(171, 35, 40, 0.09);
  color: var(--red-600);
}
.value__icon .icon { width: 24px; height: 24px; }
.value h3 { margin-bottom: 0.25rem; font-size: 1.3rem; }
.value p { margin: 0; font-size: 0.98rem; color: var(--muted); }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.value-card {
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.value-card .value__icon { margin-bottom: 1.25rem; }
.value-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.value-card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 0.7rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; }
.checklist .icon { margin-top: 0.22em; color: var(--red-600); stroke-width: 2.6; }

/* ---------- Photo tiles, mosaic & gallery ---------- */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-800);
}
a.tile[data-gallery] { cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s, opacity 0.3s; }
.tile:hover img { transform: scale(1.05); opacity: 0.92; }
.tile__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.75rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(8, 20, 30, 0.88));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}
.tile__caption .icon { opacity: 0.75; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 19vw, 250px);
  gap: 12px;
}
.mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 820px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(130px, 30vw, 200px); }
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .tile { aspect-ratio: 4 / 3; }
@media (max-width: 820px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > :last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--red-600);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 0 14px, transparent 14px 28px);
}
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(52px, 7vw, 84px);
}
.cta-band h2 { margin-bottom: 0.4rem; color: #fff; }
.cta-band p { max-width: 580px; margin: 0; font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(239, 219, 178, 0.72); font-size: 0.98rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr;
  gap: 2.5rem;
  padding-block: clamp(56px, 7vw, 84px);
}
.footer-brand img { width: auto; height: 104px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 330px; margin: 0; }
.site-footer h3 {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.footer-links { display: grid; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.65rem; overflow-wrap: anywhere; }
.footer-contact .icon { margin-top: 0.2em; color: var(--cream-300); }
.footer-contact small { display: block; color: rgba(239, 219, 178, 0.55); font-size: 0.85rem; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.4rem;
  font-size: 0.875rem;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(239, 219, 178, 0.12);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 12vw, 150px) 0 clamp(60px, 7vw, 92px);
  background: var(--navy-900);
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 20, 30, 0.92) 0%, rgba(8, 20, 30, 0.72) 50%, rgba(8, 20, 30, 0.4) 100%),
    linear-gradient(0deg, rgba(8, 20, 30, 0.5), rgba(8, 20, 30, 0) 50%);
}
.page-hero h1 { margin-bottom: 0.75rem; font-size: clamp(2.6rem, 5.6vw, 4.4rem); color: #fff; }
.page-hero p { max-width: 640px; margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, 0.88); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-300);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumb a { text-decoration: none; opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Sticky sub-navigation ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subnav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  padding: 1rem 0.9rem 0.85rem;
  border-bottom: 3px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
}
.subnav a:hover, .subnav a.is-active { color: var(--navy-800); border-bottom-color: var(--red-600); }

/* ---------- Product detail ---------- */
.product-section { padding: clamp(64px, 8vw, 104px) 0; }
.product-section:nth-of-type(even) { background: var(--cream-50); }
.product {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.product--flip .product__gallery { order: 2; }
.product__main { display: block; aspect-ratio: 3 / 2; }
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.product__thumbs .tile { aspect-ratio: 1; }
.product__info h2 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
.product__info .lead { margin-bottom: 1.5rem; }
.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0 0 2rem;
  border-top: 1px solid var(--line);
}
.specs dt, .specs dd { margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.specs dt {
  padding-right: 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.specs dd { font-weight: 600; color: var(--ink); }
.product__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product--flip .product__gallery { order: 0; }
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.1rem;
  line-height: 1;
  color: var(--red-600);
}
.step h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.brand-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 3rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-100);
}
.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(171, 35, 40, 0.06) 0 18px, transparent 18px 36px);
}
.brand-panel img { width: min(300px, 78%); filter: drop-shadow(0 18px 30px rgba(11, 28, 41, 0.25)); }

.mission { max-width: 920px; margin-inline: auto; text-align: center; }
.mission .eyebrow { justify-content: center; }
.mission blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
}
.mission blockquote p { margin: 0; }
.mission blockquote::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.4rem;
  font-size: 5.5rem;
  line-height: 0.6;
  color: var(--red-600);
}

.team-card {
  padding: 2.25rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red-600);
  border-radius: var(--radius);
  text-align: center;
}
.monogram {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--navy-800);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--cream-300);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--cream-300);
}
.team-card h3 { margin-bottom: 0.75rem; font-size: 1.55rem; }
.team-grid { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--navy-800);
}
.phone-link .icon { color: var(--red-600); }
.phone-link:hover { color: var(--red-600); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.info-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
}
.info-card h2 { font-size: clamp(1.9rem, 3vw, 2.3rem); color: #fff; }
.info-card > p { margin-bottom: 1.5rem; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.info-row__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(171, 35, 40, 0.9);
  color: #fff;
}
.info-row__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-300);
}
.info-row a {
  font-weight: 600;
  font-size: 1.12rem;
  text-decoration: none;
  color: #fff;
  overflow-wrap: anywhere;
}
.info-row a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; margin-top: 1.75rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cdc4b1;
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(18, 39, 58, 0.18);
}
.form-submit { margin-top: 1.5rem; }
.form-note { margin: 1rem 0 0; font-size: 0.92rem; color: var(--muted); }
.form-note a, .message-page .lead a { color: var(--red-600); font-weight: 600; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Simple message pages (thanks / 404) ---------- */
.message-page { padding: clamp(80px, 12vw, 150px) 0; background: var(--cream-50); text-align: center; }
.message-page .container { max-width: 720px; }
.message-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  background: var(--red-600);
  color: #fff;
}
.message-icon .icon { width: 40px; height: 40px; stroke-width: 2.5; }
.message-page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.message-page .hero__actions { justify-content: center; margin-top: 2rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 14, 21, 0.96);
  color: #fff;
  overflow: hidden;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(6, 14, 21, 0.6); }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(1400px, 86vw);
  margin: 0;
}
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-300);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next { display: none; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox__figure { max-width: 94vw; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__img { max-height: calc(100dvh - 190px); }
}

/* ---------- Scroll reveal (only when JS enables it) ---------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
