/* ============================================
   Rock-Hard Garage — Industrial Warm
   Light primary · Dark hero/footer · Copper accent
   ============================================ */

:root {
  /* Light primary surfaces */
  --bg: #F5F2EC;
  --bg-soft: #EDEAE3;
  --surface: #FFFFFF;
  --surface-2: #FAF7F2;

  /* Dark surfaces (hero, footer, CTA) */
  --dark-1: #161413;
  --dark-2: #1F1C1A;
  --dark-3: #2A2624;

  /* Lines */
  --line: rgba(28, 22, 18, 0.10);
  --line-strong: rgba(28, 22, 18, 0.18);
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-dark-strong: rgba(255, 255, 255, 0.20);

  /* Text */
  --text: #1A1614;
  --text-dim: #5A4F46;
  --text-mute: #8B7E73;
  --text-on-dark: #F0EBE3;
  --text-dim-dark: #B5ABA0;

  /* Accent — copper / burnt orange */
  --accent: #B8633A;
  --accent-hover: #9C4F2C;
  --accent-soft: #E8D5C7;

  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1320px;
  --space-section: clamp(80px, 10vw, 130px);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-soft: 0 12px 32px -12px rgba(28, 22, 18, 0.18), 0 4px 12px -4px rgba(28, 22, 18, 0.08);
  --shadow-deep: 0 24px 60px -20px rgba(28, 22, 18, 0.28), 0 8px 16px -8px rgba(28, 22, 18, 0.12);
}

/* ============================================
   Reset / Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease, border-color .2s ease; }
a:hover { color: var(--accent); }

p { margin: 0 0 1.1em; color: var(--text-dim); }
ul { padding-left: 1.2em; color: var(--text-dim); }
ul li { margin-bottom: .5em; }
strong { color: var(--text); font-weight: 600; }

::selection { background: var(--accent); color: #fff; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--text);
  margin: 0 0 .6em;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 300;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.012em;
}

h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-mono);
  color: var(--text);
  margin-bottom: 1.2em;
}

.caps {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}
.section--alt { background: var(--bg-soft); }
.section--bg {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  isolation: isolate;
  color: var(--text-on-dark);
}
.section--bg::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,20,19,0.78), rgba(22,20,19,0.92));
  z-index: -1;
}
.section--bg p, .section--bg li { color: var(--text-dim-dark); }
.section--bg h2, .section--bg h3, .section--bg strong { color: #fff; }
.section--bg .section-heading::before { background: var(--accent); }

/* ============================================
   Section heading
   ============================================ */
.section-heading {
  margin-bottom: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 2px;
  background: var(--accent);
}
.section-heading__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px -4px rgba(184, 99, 58, 0.4);
}
.btn::after {
  content: "→";
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform .2s ease;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(184, 99, 58, 0.5);
}
.btn:hover::after { transform: translateX(4px); }

.btn--sm {
  padding: 11px 20px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--outline:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  box-shadow: none;
}

/* On dark sections */
.hero .btn,
.section--bg .btn,
.cta-strip .btn {
  background: var(--accent);
}

/* ============================================
   Mini header
   ============================================ */
.mini-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.mini-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  min-height: 72px;
}
@media (max-width: 720px) {
  .mini-header__inner { padding: 12px 20px; min-height: 60px; }
}
.mini-header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}
.mini-header__logo:hover { color: var(--text); }
.mini-header__logo img {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  object-fit: cover;
}
.mini-header__logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}
.mini-header__logo-text span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  margin-top: 4px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--dark-1);
  color: var(--text-on-dark);
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,20,19,0.40) 0%, rgba(22,20,19,0.55) 50%, rgba(22,20,19,0.96) 100%),
    linear-gradient(90deg, rgba(22,20,19,0.70), rgba(22,20,19,0.20) 60%);
  z-index: -1;
}
.hero__content {
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fff;
  padding: 9px 16px;
  margin-bottom: 28px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  box-shadow: 0 4px 16px -4px rgba(184, 99, 58, 0.5);
}
.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}
.hero h1 {
  max-width: 16ch;
  margin-bottom: 28px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.hero__lede {
  max-width: 58ch;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  color: #F0EBE3;
  margin-bottom: 36px;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CTA strip
   ============================================ */
.cta-strip {
  background: var(--dark-1);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 36px 0;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: -0.012em;
}
.cta-strip__title span {
  color: var(--accent-soft);
  font-weight: 500;
}

/* ============================================
   Looks & Lasts (homepage signature block)
   ============================================ */
.looks-lasts {
  padding: var(--space-section) 0;
}
.looks-lasts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .looks-lasts__grid { grid-template-columns: 1fr; gap: 56px; }
}
.looks-lasts__head {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
  line-height: 1.05;
}
.looks-lasts__head sup {
  font-size: 0.32em;
  font-family: var(--font-mono);
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--accent);
}
.warranty-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 32px;
  background: rgba(184, 99, 58, 0.06);
}
.materials-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.materials-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  margin-bottom: 0;
}

/* ============================================
   Reviews card
   ============================================ */
.reviews-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.reviews-card__stars {
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 12px;
}
.reviews-card__count {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--text);
  margin: 0 0 28px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 14px;
  line-height: 1;
}
.reviews-card__count small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}
.reviews-slider { position: relative; }
.reviews-slider__viewport {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 4px;
}
.reviews-track {
  display: flex;
  transition: transform .5s ease;
  gap: 0;
}
.review {
  flex: 0 0 100%;
  min-width: 0;
}
.review p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-weight: 400;
}
.review__author {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
}
.review__date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-left: 12px;
}
.reviews-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.reviews-nav__btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.reviews-nav__btn svg { width: 18px; height: 18px; }
.reviews-nav__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================
   Content block (long-form)
   ============================================ */
.content-block {
  max-width: 760px;
}
.content-block p { font-size: 15px; line-height: 1.75; }
.content-block ul { font-size: 15px; }
.content-block h3 {
  margin-top: 2em;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  text-transform: none;
}
.content-block__cta { margin-top: 36px; }

/* Owner block */
.owner {
  padding: var(--space-section) 0;
  background: var(--bg-soft);
}
.owner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) {
  .owner__grid { grid-template-columns: 1fr; gap: 44px; }
}
.owner__portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.owner__portrait img {
  width: 100%;
  display: block;
}
.owner__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}
.owner__title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 24px;
}
.owner__heading {
  margin-top: 8px;
  margin-bottom: 24px;
}

/* ============================================
   Features grid (Why Epoxy)
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.section--bg .features { gap: 16px; }
.feature {
  background: var(--surface);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  transition: all .25s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 24px;
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
}
.section--bg .feature {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-dark-strong);
  backdrop-filter: blur(8px);
}
.section--bg .feature h3 { color: #fff; }
.section--bg .feature p { color: var(--text-dim-dark); }
.feature h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  padding-top: 4px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 14px; margin: 0; line-height: 1.65; }

/* ============================================
   Gallery
   ============================================ */
.gallery {
  padding: var(--space-section) 0;
  background: var(--dark-1);
  color: var(--text-on-dark);
}
.gallery .section-heading { border-top-color: var(--line-dark); }
.gallery .section-heading::before { background: var(--accent); }
.gallery .section-heading__eyebrow { color: var(--accent-soft); }
.gallery h2 { color: #fff !important; }

.gallery__main {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  margin-bottom: 16px;
  box-shadow: var(--shadow-deep);
}
.gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
@media (max-width: 720px) {
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}
.gallery__thumb {
  background: transparent;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  transition: all .2s ease;
  position: relative;
}
.gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity .25s ease;
}
.gallery__thumb:hover img,
.gallery__thumb.is-active img { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--accent); }

/* ============================================
   Process steps
   ============================================ */
.process-steps {
  padding: var(--space-section) 0;
  background: var(--bg-soft);
}
.steps-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .steps-nav { grid-template-columns: 1fr; }
}
.steps-nav button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all .2s ease;
  display: flex;
  align-items: center;
  gap: 18px;
}
.steps-nav button .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}
.steps-nav button:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.steps-nav button.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.steps-nav button.is-active .num { color: var(--accent-soft); }

.step-panel { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.step-panel.is-active { display: grid; }
@media (max-width: 760px) {
  .step-panel.is-active { grid-template-columns: 1fr; gap: 32px; }
}
.step-panel__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.step-panel__image img { width: 100%; }

/* ============================================
   Finishes
   ============================================ */
.finishes {
  padding: var(--space-section) 0;
}
.finishes__tabs {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  padding: 4px;
  background: var(--surface);
}
.finishes__tabs button {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 24px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  transition: all .2s ease;
}
.finishes__tabs button:hover { color: var(--text); }
.finishes__tabs button.is-active {
  color: #fff;
  background: var(--accent);
}

.finish-panel { display: none; }
.finish-panel.is-active { display: block; }
.finish-panel__intro {
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.finishes__slider { position: relative; }
.finishes__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.finishes__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 20px;
}
.finishes__track--center {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .finishes__track { grid-template-columns: repeat(3, 1fr); }
  .finishes__track--center { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .finishes__track { grid-template-columns: repeat(2, 1fr); }
  .finishes__track--center { grid-template-columns: repeat(2, 1fr); }
}
.finish-swatch {
  margin: 0;
  border-radius: var(--radius);
  background: var(--surface);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.finish-swatch:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
}
.finish-swatch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.finish-swatch__label {
  display: block;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.finishes__nav {
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  border: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: var(--shadow-soft);
  transition: all .2s ease;
}
.finishes__nav svg { width: 18px; height: 18px; }
.finishes__nav:hover { background: var(--accent-hover); transform: translateY(-50%) scale(1.05); }

/* ============================================
   Stats
   ============================================ */
.stats {
  padding: var(--space-section) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  position: relative;
  transition: all .25s ease;
}
.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 24px;
  width: 28px; height: 2px;
  background: var(--accent);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}

.section--bg .stat {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-dark-strong);
}
.section--bg .stat:hover { border-color: var(--accent); }
.section--bg .stat__num { color: #fff; }
.section--bg .stat__label { color: var(--text-dim-dark); }

/* ============================================
   Prefooter
   ============================================ */
.prefooter {
  padding: var(--space-section) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.prefooter__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 760px) {
  .prefooter__inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
}
.prefooter__portrait img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-soft);
}
.prefooter__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}
.prefooter__role {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 16px;
}
.prefooter__title {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: clamp(26px, 2.8vw, 36px);
}
.prefooter p[style*="color"] { color: var(--text-dim) !important; }
.prefooter__phone {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.prefooter__phone:hover { color: var(--accent-hover); }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark-1);
  color: var(--text-on-dark);
  padding: 72px 0 28px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 44px;
  margin-bottom: 56px;
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim-dark);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--text-dim-dark);
}
.footer ul li a { color: var(--text-dim-dark); }
.footer ul li a:hover { color: #fff; }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}

/* ============================================
   Cookie banner / modal
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 16px; bottom: 16px;
  max-width: 480px;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  box-shadow: var(--shadow-deep);
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    max-width: none;
    padding: 16px 18px;
  }
}
.cookie-banner > p { flex: 1 1 100%; min-width: 0; margin: 0 !important; }
.cookie-banner a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.cookie-banner a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.cookie-banner__actions button {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 11px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  flex: 1 1 auto;
}
.cookie-banner__actions button:hover { background: var(--text); color: #fff; border-color: var(--text); }
.cookie-banner__actions button[data-consent="accept"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cookie-banner__actions button[data-consent="accept"]:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.cookie-modal {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(22, 20, 19, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal__dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-deep);
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cookie-modal__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cookie-modal__row:last-of-type { border-bottom: 0; }
.cookie-modal__row h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 4px;
}
.cookie-modal__row p {
  font-size: 12px;
  margin: 0;
  color: var(--text-mute);
  line-height: 1.55;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px; height: 22px;
  flex-shrink: 0;
  margin-top: 4px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.switch span {
  position: absolute;
  inset: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  cursor: pointer;
  transition: background .2s ease;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--text-mute);
  transition: transform .2s ease, background .2s ease;
}
.switch input:checked + span { background: var(--accent); border-color: var(--accent); }
.switch input:checked + span::after {
  transform: translateX(18px);
  background: #fff;
}
.switch input:disabled + span { opacity: 0.6; cursor: not-allowed; }

/* ============================================
   Contact page
   ============================================ */
.contact-lead {
  text-align: left;
  max-width: 720px;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.contact-lead h2 { margin-bottom: 14px; }
.contact-lead p {
  font-size: 16px;
  margin-bottom: 28px;
}
.contact-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.025em;
  margin: 20px 0 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-phone:hover { color: var(--accent-hover); }
.contact-hours {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.contact-hours strong { color: var(--text); font-weight: 600; }
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.contact-info article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all .2s ease;
}
.contact-info article:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.contact-info article::before {
  content: "";
  position: absolute;
  top: 0; left: 22px;
  width: 28px; height: 2px;
  background: var(--accent);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  padding-top: 4px;
  text-transform: none;
  letter-spacing: -0.005em;
}
.contact-info p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.contact-info a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.contact-info a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }

/* ============================================
   Legal pages
   ============================================ */
.legal {
  padding: 72px 0 var(--space-section);
}
.legal article {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(38px, 5vw, 56px);
  margin-bottom: 14px;
}
.legal h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.012em;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 1.8em;
  letter-spacing: -0.005em;
}
.legal p, .legal li { font-size: 14px; line-height: 1.75; }
.legal__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  padding: 12px 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 12px;
  font-family: var(--font-mono);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.legal table th, .legal table td {
  padding: 12px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal table th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
}
.legal table td { color: var(--text-dim); }
.legal table tr:last-child td { border-bottom: 0; }
.legal a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.legal a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
.legal code {
  font-family: var(--font-mono);
  background: var(--bg-soft);
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 3px;
  color: var(--accent-hover);
  border: 1px solid var(--line);
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
