/* The Forge Sauna — theforgesauna.ca
 * Typography: Raleway (primary / body), Montserrat (secondary / display)
 */
:root {
  --void: #f5f5f5;
  --ink: #0a0a0a;
  --graphite: #111111;
  --steel: #1a1a1a;
  --fog: #f0f0f0;
  --ash: rgba(0, 0, 0, 0.55);
  --bg: #f5f5f5;
  /* Slightly brighter than --bg for banded sections */
  --surface-1: #ffffff;
  /* Dark / accent bands (homepage footer, etc.) */
  --surface-dark: #d23f1b;
  --text: #0a0a0a;
  --text-muted: rgba(0, 0, 0, 0.58);
  --text-inverse: #ffffff;
  --link: #0a0a0a;
  --link-hover: rgba(10, 10, 10, 0.65);
  --surface: #eeeeee;
  --surface-muted: rgba(0, 0, 0, 0.04);
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.2);
  --font-primary: "Raleway", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --font-body: var(--font-primary);
  --font-display: var(--font-secondary);
  --max: 720px;
  --wide: 1100px;
  --radius: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-pill: 999px;
  --radius-img: 12px;
  --shadow: none;
  --shadow-glow: none;
  /* Nav overline */
  --nav-link-fg: rgba(10, 10, 10, 0.72);
  --nav-link-fg-strong: #0a0a0a;
  --nav-line-idle: rgba(0, 0, 0, 0.16);
  --nav-line-active: #0a0a0a;
  --nav-line-h: 2px;
  --nav-line-h-hover: 4px;
  /* Legacy token aliases */
  --charcoal: #050505;
  --wood: #f2f2f2;
  --fire: #0a0a0a;
  --ember: #0a0a0a;
  --mist: #d0d0d0;
  /* Fixed site header — must match body padding-top / scroll-padding */
  --site-header-height: 4.85rem;
  /* Top bar — overridden at runtime from SITE_CONFIG (navBarBg / navBarText) when set */
  --nav-bar-bg: #d39f3f;
  --nav-bar-text: #630c0c;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-height, 5rem);
}

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

  .card:hover {
    transform: none;
  }
}

body {
  margin: 0;
  padding-top: var(--site-header-height, 5rem);
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  color: var(--text);
  background-color: var(--bg);
  background-image: none;
  background-attachment: scroll;
}

strong,
b {
  font-weight: 600;
}

/* Subtle grain on light field */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, var(--max));
}

/* Typography — stark hierarchy, page titles often uppercase */
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text);
}

h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
  text-shadow: none;
  letter-spacing: 0.04em;
}

h1::after {
  content: "";
  display: block;
  width: min(12rem, 40vw);
  height: 2px;
  margin-top: 0.85rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.14);
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: 0.06em;
}

h2.section-title {
  position: relative;
  padding-bottom: 0.65rem;
}

h2.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.14);
  opacity: 1;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.display {
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p.lede,
.lede {
  font-size: 1.15rem;
  color: var(--text);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover);
}

/* Header — title | hamburger | Book / Rent */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  margin: 0;
  border-radius: 0;
  background: var(--nav-bar-bg);
  color: var(--nav-bar-text);
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.65rem;
  padding: 0.75rem 0;
  row-gap: 0;
}

.site-header__title {
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--nav-bar-text);
  text-decoration: none;
}

.site-header__title:hover {
  color: color-mix(in srgb, var(--nav-bar-text) 88%, #000);
}

.site-header__ctas {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  min-width: 0;
}

/* Footer / legacy — logo row with mark + two-line title */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-decoration: none;
  text-transform: none;
  max-width: min(100%, 22rem);
}

.logo__mark {
  height: min(3.15rem, 16vw);
  width: auto;
  max-width: min(12rem, 52vw);
  display: block;
  flex-shrink: 0;
  aspect-ratio: 3508 / 2481;
  object-fit: contain;
}

.logo__text {
  display: inline;
  color: rgba(255, 255, 255, 0.95);
  min-width: 0;
}

.logo:hover {
  color: #ffffff;
}

.logo:hover .logo__text {
  color: #ffffff;
}

.logo__sep {
  opacity: 0.85;
}

.nav-toggle {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  background: color-mix(in srgb, var(--nav-bar-text) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--nav-bar-text) 38%, transparent);
  color: var(--nav-bar-text);
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  background: color-mix(in srgb, var(--nav-bar-text) 20%, transparent);
  border-color: color-mix(in srgb, var(--nav-bar-text) 55%, transparent);
}

.nav-toggle__icon {
  display: block;
  flex-shrink: 0;
}

.nav-toggle__icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
  display: block;
}

/* Mobile menu — floating panel + backdrop (not inline under header bar) */
.nav-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--site-header-height);
  z-index: 10048;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(12, 12, 14, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav {
  position: fixed;
  z-index: 10052;
  top: calc(var(--site-header-height) + 0.4rem);
  display: none;
  flex-direction: column;
  align-items: stretch;
  width: min(17.5rem, calc(100vw - 1.5rem));
  max-height: min(70vh, 28rem);
  min-width: 0;
  margin: 0;
  padding: 0.45rem 0.15rem 0.35rem;
  gap: 0.1rem;
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--nav-bar-text) 22%, transparent);
  background: var(--nav-bar-bg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  -webkit-overflow-scrolling: touch;
}

.nav.is-open {
  display: flex;
}

body.nav-menu-open {
  overflow: hidden;
}

/* Overline links — panel under bar */
.site-header .nav a.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  justify-content: flex-start;
  color: color-mix(in srgb, var(--nav-bar-text) 88%, transparent);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 0.15rem 0.5rem;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: color 0.2s ease;
}

.site-header .nav a.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-line-h);
  border-radius: 1px;
  background: color-mix(in srgb, var(--nav-bar-text) 32%, transparent);
  transition: height 0.18s ease, background 0.2s ease;
}

.site-header .nav a.nav-link:hover {
  color: var(--nav-bar-text);
}

.site-header .nav a.nav-link:hover::before {
  height: var(--nav-line-h-hover);
  background: var(--nav-bar-text);
}

.site-header .nav a.nav-link[aria-current="page"] {
  color: var(--nav-bar-text);
}

.site-header .nav a.nav-link[aria-current="page"]::before {
  height: var(--nav-line-h-hover);
  background: var(--nav-bar-text);
}

.site-header .nav a.nav-link .nav-link__icon {
  display: none;
}

.nav-link__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.site-header__ctas .btn--header-cta .nav-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

/* Book / Rent — top bar */
.site-header__ctas .btn--header-cta {
  padding: 0.45rem 0.8rem;
  font-size: clamp(0.65rem, 1.8vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 0.35rem;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-header__ctas .btn--header-cta--primary {
  border: 1px solid var(--nav-bar-text);
  background: var(--nav-bar-text);
  color: #fff;
}

.site-header__ctas .btn--header-cta--primary:hover {
  transform: none;
  background: color-mix(in srgb, var(--nav-bar-text) 88%, #000);
  border-color: color-mix(in srgb, var(--nav-bar-text) 88%, #000);
  color: #fff;
}

.site-header__ctas .btn--header-cta--secondary {
  border: 1px solid color-mix(in srgb, var(--nav-bar-text) 55%, transparent);
  background: transparent;
  color: var(--nav-bar-text);
}

.site-header__ctas .btn--header-cta--secondary:hover {
  background: color-mix(in srgb, var(--nav-bar-text) 12%, transparent);
  border-color: var(--nav-bar-text);
  color: var(--nav-bar-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: none;
  box-shadow: none;
}

.btn--primary {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.btn--primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.28);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
  border-color: rgba(0, 0, 0, 0.45);
}

/* Landing hero CTA — white rule, no fill (ref. comps) */
.btn--hero-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.9rem 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.btn--hero-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: #fff;
}

/* Dark photo heroes */
.hero h1 {
  color: var(--text-inverse);
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.65);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.88);
}

.hero .btn--ghost {
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero .btn--primary {
  box-shadow: none;
}

/* Hero — full-bleed photography + dark scrim */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 0 4.5rem;
  margin: 0;
  border-radius: 0;
  background: #000 center / cover no-repeat;
  overflow: hidden;
  box-shadow: none;
}

.hero--home {
  min-height: min(88vh, 820px);
}

.hero--feature {
  min-height: min(56vh, 560px);
  padding-top: 3.5rem;
}

.hero--home:not(.hero--landing),
.hero--feature {
  padding-bottom: calc(3.5rem + clamp(48px, 7vw, 80px));
}

.hero--landing {
  min-height: min(92vh, 900px);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6.5rem 1rem 4rem;
}

/* Homepage hero — full-bleed image with warmth + solid fallback when asset is missing */
.hero.hero--landing.hero-section {
  background-color: #0a0a0a;
  background-image:
    url("images/20250821_103552.jpg"),
    radial-gradient(
      ellipse 100% 75% at 50% 100%,
      rgba(70, 52, 40, 0.42) 0%,
      transparent 55%
    );
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

.hero--landing__inner {
  max-width: 46rem;
}

.hero--landing .hero__headline {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero--landing .hero__headline::after {
  display: none;
}

.hero--landing .hero__lede {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  text-transform: uppercase;
  font-weight: 500;
  max-width: 36rem;
  margin-inline: auto;
}

.hero-brand {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #fff;
}

.hero-brand__main {
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-brand__sub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  opacity: 0.92;
}

.hero-actions--center {
  justify-content: center;
}

.hero--compact {
  min-height: min(40vh, 400px);
  justify-content: center;
  padding: 2.75rem 0 3.25rem;
  box-shadow: none;
  background-color: #000 !important;
}

.hero--compact h1 {
  color: var(--text-inverse);
}

.hero--compact .lede {
  color: rgba(255, 255, 255, 0.85);
}

.hero--compact h1::after {
  width: min(8rem, 50vw);
  height: 2px;
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.35);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
  z-index: 0;
}

.hero--landing::after {
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero--compact::after {
  background: rgba(0, 0, 0, 0.25);
}

/* SVG wave: subpages only */
.hero .wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(52px, 8vw, 88px);
  z-index: 2;
  color: var(--bg);
  pointer-events: none;
}

.hero .wave-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero .wrap {
  position: relative;
  z-index: 3;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.65rem;
}

.hook {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  padding: 0.35rem 0 0.35rem 1.1rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-left: 3px solid var(--border);
  box-shadow: none;
}

.hero .hook {
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: none;
  border-left: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Sections — curved bands */
section {
  padding: 3.5rem 0;
  position: relative;
}

section.alt {
  margin: 0;
  padding: 3.5rem 1.5rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.03);
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

section.section-1 {
  background-color: var(--surface-1);
}

.section-title {
  margin-bottom: 1.5rem;
}

/* Rounded image frames */
.figure-curve {
  margin: 2rem auto;
  padding: 0 clamp(0.75rem, 3vw, 2rem);
  max-width: calc(var(--wide) + 4rem);
}

.figure-curve .media-strip {
  margin: 0;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-img);
  border: 1px solid var(--border);
  filter: grayscale(0.35) contrast(1.08) saturate(0.95);
  box-shadow: none;
}

.figure-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding: 0.65rem 1rem 0;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.figure-curve::before {
  display: none;
}

/* Content grid — flat blocks (no card chrome) */
.card-grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0 0 1.5rem;
  margin: 0;
  box-shadow: none;
  overflow: visible;
  transition: background 0.2s ease;
  color: var(--text);
}

@media (min-width: 720px) {
  .card {
    border-bottom: none;
    padding: 0;
  }
}

.card:last-child {
  border-bottom: none;
}

.card::before {
  display: none;
}

.card:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
}

.card h3 {
  color: var(--text);
}

/* Two columns */
.two-col {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

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

.pillar {
  border-radius: 0;
  padding: 0.25rem 0 0.25rem 1.15rem;
  background: transparent;
  border: none;
  border-left: 4px solid var(--fire);
  box-shadow: none;
}

.pillar--ice {
  border-left-color: var(--ember);
}

.pillar ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.pillar li {
  margin-bottom: 0.5rem;
}

/* Block quote — flat rule */
.block-quote {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.15rem;
  border-radius: 0;
  border: none;
  border-left: 3px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  box-shadow: none;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 2rem;
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--surface-muted);
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: none;
}

td strong {
  color: var(--text);
}

/* Services TOC */
.toc {
  position: sticky;
  top: calc(var(--site-header-height, 5rem) + 0.35rem);
  z-index: 50;
  background: var(--bg);
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0 0 1rem;
  margin-bottom: 2rem;
  box-shadow: none;
}

.toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.toc a {
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0;
  margin-right: 1.2rem;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--link);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.toc a:hover {
  background: transparent;
  border-bottom-color: #0a0a0a;
  color: #0a0a0a;
}

.service-block {
  margin-bottom: 0;
  scroll-margin-top: calc(var(--site-header-height, 5rem) + 2rem);
  padding: 2.5rem 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.service-block ~ .service-block {
  border-top: 1px solid var(--border);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  margin: 0.5rem 0 1rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.catch {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Services page — flat sections */
.page-services .services-band {
  margin: 0;
  padding: 2.5rem 0 3rem;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.services-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.services-band__lede {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.service-showcase {
  display: grid;
  gap: 2rem 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.svc-card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: none;
  padding: 0;
  margin: 0;
}

.svc-card:hover {
  transform: none;
  box-shadow: none;
}

.svc-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-img);
}

.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: filter 0.25s ease;
}

.svc-card:hover .svc-card__media img {
  transform: none;
  filter: grayscale(0.2) contrast(1.06);
}

.svc-card__body {
  padding: 1rem 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.svc-card__body p {
  flex: 1;
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.svc-card__body > a:last-child {
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  padding: 0.35rem 0;
}

.svc-card__body > a:last-child:hover {
  text-decoration: underline;
}

/* Full-bleed visual between service blocks (theme: breathing room + imagery) */
.services-visual {
  margin: 2.5rem calc(-1 * clamp(0.5rem, 2vw, 1rem));
  padding: 0 clamp(0.25rem, 1.5vw, 1rem);
}

@media (min-width: 900px) {
  .services-visual {
    margin-inline: 0;
  }
}

.figure-curve.figure-curve--services {
  margin-top: 2.75rem;
  margin-bottom: 2.75rem;
}

.figure-curve--services .figure-caption {
  text-align: left;
  margin-inline: 0;
  padding-left: 0.25rem;
}

.service-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
  max-width: 42rem;
}

.service-extra-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-img);
  border: 1px solid var(--border);
  box-shadow: none;
  filter: grayscale(0.2) contrast(1.05);
}

@media (max-width: 520px) {
  .service-extra-grid {
    grid-template-columns: 1fr;
    max-width: 16rem;
  }
}

/* Footer — same field as page */
.site-footer {
  padding: 2.75rem 0 3rem;
  margin: 2rem 0 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  box-shadow: none;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.footer-brand__mark {
  height: min(2.85rem, 14vw);
  width: auto;
  max-width: min(11rem, 48vw);
  flex-shrink: 0;
  aspect-ratio: 3508 / 2481;
  object-fit: contain;
}

.footer-brand__name {
  min-width: 0;
}

.footer-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer .footer-note {
  color: var(--text-muted);
}

.site-footer a {
  color: var(--link);
}

.site-footer a:hover {
  color: var(--link-hover);
}

#contact:target {
  scroll-margin-top: calc(var(--site-header-height, 5rem) + 1rem);
}

/* --------------------------------------------------------------------------
   Homepage (page-home) — bands, curved separators, forms, split footer
   -------------------------------------------------------------------------- */
body.page-home {
  background-color: #ffffff;
}

body.page-home::before {
  opacity: 0.02;
}

.home-main {
  display: block;
}

.home-band {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  position: relative;
}

.home-band--light {
  background-color: #ffffff;
  color: var(--text);
}

.home-band--muted {
  background-color: #f5f5f5;
  color: var(--text);
}

/* The Forge Way — same golden tone as the nav bar */
.home-band--gold {
  background-color: var(--nav-bar-bg);
  color: var(--nav-bar-text);
}

.home-band--gold .home-section-title {
  color: var(--nav-bar-text);
}

.home-band--gold .home-spotlight__text p {
  color: color-mix(in srgb, var(--nav-bar-text) 84%, transparent);
}

.home-band--gold .home-spotlight__tag {
  color: #ffffff;
}

.home-band--gold .home-rentals__copy p {
  color: color-mix(in srgb, var(--nav-bar-text) 84%, transparent);
}

.home-band--gold .home-rentals__img {
  border-color: color-mix(in srgb, var(--nav-bar-text) 22%, transparent);
}

.home-band--gold.home-contact .home-form__label {
  color: color-mix(in srgb, var(--nav-bar-text) 82%, transparent);
}

.home-band--brand {
  background-color: var(--surface-dark);
  color: rgba(255, 255, 255, 0.92);
}

.home-band--brand .home-section-title {
  color: #ffffff;
}

.home-band--brand p {
  color: rgba(255, 255, 255, 0.88);
}

.home-band--brand .home-img {
  border-color: rgba(255, 255, 255, 0.28);
}

.home-band p {
  color: var(--text-muted);
}

/* Curved separators between bands */
.wave-sep {
  display: block;
  line-height: 0;
  margin-top: -clamp(52px, 9vw, 88px);
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.wave-sep svg {
  display: block;
  width: 100%;
  height: clamp(52px, 9vw, 88px);
}

/* Taller, more visible waves next to brand (Manifest / Rentals) sections */
.wave-sep--near-brand svg {
  height: clamp(72px, 12vw, 120px);
}

.wave-sep--to-brand path,
.wave-sep--to-dark path {
  fill: var(--surface-dark);
}

.wave-sep--to-light path {
  fill: #ffffff;
}

.wave-sep--to-muted path {
  fill: #f5f5f5;
}

.wave-sep--to-gold path {
  fill: var(--nav-bar-bg);
}


.home-hero {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.home-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.home-hero__text {
  text-align: left;
  max-width: 40rem;
}

.home-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 0;
  color: var(--text);
}

.home-hero__title::after {
  display: none;
}

.home-hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.home-hero__figure {
  width: 100%;
}

/* Homepage images — object-fit: cover; intrinsic sizes from width/height on <img> */
.home-img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-img);
  object-fit: cover;
  object-position: center;
}

.home-img--hero {
  aspect-ratio: 4000 / 1848;
}

.home-img--split {
  aspect-ratio: 3954 / 2965;
}

.home-img--card {
  aspect-ratio: 4000 / 1848;
  margin-bottom: 1rem;
}

.home-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.home-section-title--center {
  text-align: center;
  margin-bottom: 2rem;
}

.home-section-title::after {
  display: none;
}

.home-split {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .home-split {
    grid-template-columns: 1fr 1fr;
  }
}

.home-split__text p:last-of-type {
  margin-bottom: 0;
}

/* 1.5 — compact split promo (image | copy) */
.home-claim {
  padding: clamp(1.25rem, 3.5vw, 2.25rem) 0;
}

.home-claim-box {
  display: grid;
  max-width: min(56rem, 100%);
  margin: 0 auto;
  border: none;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--nav-bar-bg);
  box-shadow: var(--shadow);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .home-claim-box {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
  }
}

.home-claim-box__media {
  min-height: 11rem;
  position: relative;
}

.home-img--claim {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

@media (min-width: 720px) {
  .home-img--claim {
    min-height: 100%;
    aspect-ratio: auto;
    position: absolute;
    inset: 0;
  }
}

.home-claim-box__body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.home-claim-box__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  color: var(--nav-bar-text);
  line-height: 1.2;
}

.home-claim-box__subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--nav-bar-text) 82%, transparent);
}

.home-claim-box__cta {
  margin: 0.35rem 0 0;
}

.home-claim-box__cta .btn {
  width: fit-content;
  max-width: 100%;
}

/* 1.6 — open split (no box): copy | image + caption tag + CTA */
.home-spotlight__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .home-spotlight__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.home-spotlight__text p {
  margin: 0 0 clamp(0.9rem, 2vw, 1.2rem);
  font-size: clamp(0.98rem, 1.4vw, 1.0625rem);
  line-height: 1.62;
  color: var(--text-muted);
}

.home-spotlight__text p:last-child {
  margin-bottom: 0;
}

.home-spotlight__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.home-spotlight__figure {
  align-self: center;
  margin: 0;
  width: 100%;
  max-width: min(22rem, 88%);
  text-align: center;
}

.home-img--spotlight {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.home-spotlight__tag {
  margin: 0.75rem 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.55vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.45;
}

.home-spotlight__cta {
  margin: 1.15rem 0 0;
  text-align: right;
}

.home-spotlight__cta .btn {
  width: fit-content;
  max-width: 100%;
  font-size: clamp(0.84rem, 1.25vw, 0.95rem);
  padding: 0.85rem 1.75rem;
}

.home-locations-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .home-locations-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.home-location-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.home-location-card__desc {
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.home-rentals__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .home-rentals__grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.home-rentals__mosaic {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 34vw, 360px);
}

.home-rentals__img {
  position: absolute;
  border-radius: var(--radius-img);
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: center;
  height: auto;
}

.home-rentals__img--a {
  width: 62%;
  aspect-ratio: 4000 / 1848;
  top: 0;
  left: 0;
  z-index: 1;
}

.home-rentals__img--b {
  width: 56%;
  aspect-ratio: 4000 / 1848;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.home-rentals__soon {
  margin: 1.1rem 0 0;
}

.home-coming-soon {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nav-bar-text);
  padding: 0.45rem 1rem;
  border: 1px solid color-mix(in srgb, var(--nav-bar-text) 32%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--nav-bar-text) 10%, transparent);
}

/* Section CTAs: inverse to band — dark button on light/muted bands */
.btn--section {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--section-on-light,
.btn--section-on-muted {
  background: #d23f1b;
  color: #ffffff;
  border-color: #d23f1b;
}

.btn--section-on-light:hover,
.btn--section-on-muted:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: #ffffff;
}

.btn--section-on-dark {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.btn--section-on-dark:hover {
  background: #f2f2f2;
  border-color: #f2f2f2;
  color: var(--ink);
}

/* Forms */
.home-form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
  margin-top: 0.5rem;
}

.home-form--compact {
  max-width: none;
  margin-top: 0.75rem;
}

@media (min-width: 560px) {
  .home-form:not(.home-form--compact) {
    grid-template-columns: 1fr 1fr;
  }

  .home-form__field--full {
    grid-column: 1 / -1;
  }
}

.home-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-form__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-form__input,
.home-form__textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
}

.home-form__textarea {
  resize: vertical;
  min-height: 8rem;
}

.home-form .btn--section {
  justify-self: flex-start;
}

@media (min-width: 560px) {
  .home-form .btn--section {
    grid-column: 1 / -1;
  }
}

/* Footer — homepage two-column (white band) */
.site-footer--home {
  margin-top: 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.site-footer-home {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .site-footer-home {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.site-footer-home__logo-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.site-footer-home__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.site-footer-home__tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 22rem;
}

.site-footer-home__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.site-footer-home__nav a {
  color: var(--link);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer-home__nav a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.site-footer .footer-social {
  margin-top: 0.35rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.footer-social__link:hover {
  opacity: 0.9;
}

.footer-social__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.footer-social__icon {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
  flex-shrink: 0;
}

.site-footer .footer-social__link {
  color: var(--link);
}

.site-footer .footer-social__link:hover {
  color: var(--link-hover);
  opacity: 1;
}

.site-footer-home .footer-social__link {
  color: var(--link);
}

.site-footer-home .footer-social__link:hover {
  color: var(--link-hover);
  opacity: 1;
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.site-footer-home__subscribe-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.site-footer-home .home-form__label {
  color: var(--text-muted);
}

.site-footer-home .home-form__input {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
}

.site-footer-home .home-form__input::placeholder {
  color: color-mix(in srgb, var(--text-muted) 85%, transparent);
}

.site-footer-home__copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* About page (manifesto) */
.about-page__kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.about-page__prose p {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 1.15rem;
}

.about-page__prose p:last-child {
  margin-bottom: 0;
}

.about-page__cta-wrap {
  text-align: center;
}

.benefits-page__phase {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.75rem 0 0.65rem;
  color: var(--text);
}

.benefits-page__list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.benefits-page__list li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.benefits-page__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.45;
}

.benefits-page__list strong {
  color: var(--text);
}

.protocol-page__rule-heading {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
  color: var(--text);
  line-height: 1.25;
}

.protocol-page__rule-heading:first-of-type {
  margin-top: 0;
}

.protocol-page__kit-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.protocol-page__kit-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0 0 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.protocol-page__kit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.4;
}

.protocol-page__kit-list strong {
  color: var(--text);
}

.home-band--muted .protocol-page__rule-heading {
  color: var(--text);
}
