/* ==========================================================================
   Red Beach Powder Coating — Design System
   Built for Cloudflare Pages. No frameworks, no build step.
   --------------------------------------------------------------------------
   0. Fonts
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Typography
   5. Buttons & links
   6. Header & navigation
   7. Footer
   8. Home — hero
   9. Home — services
   10. Home — featured finishes
   11. Home — add-ons
   12. Home — CTA band
   13. Page hero (inner pages)
   14. Contact page
   15. Form
   16. FAQ page
   17. Motion & utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts (self-hosted — no third-party requests)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --yellow: #ffc72c;
  --yellow-soft: #ffd75e;
  --red: #e8262b;
  --red-soft: #ff5a5e;

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: clamp(0.975rem, 0.93rem + 0.2vw, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-xl: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.3125rem, 1.16rem + 0.75vw, 1.6875rem);
  --fs-h2: clamp(1.75rem, 1.44rem + 1.4vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.62rem + 2.9vw, 4.25rem);
  --fs-display: clamp(2.6rem, 1.5rem + 5vw, 6rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2rem + 7vw, 7.5rem);

  /* Structure */
  --shell: 1240px;
  --shell-narrow: 860px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark surface (home page) */
[data-theme='dark'] {
  --bg: #09090a;
  --bg-soft: #101013;
  --surface: #16161a;
  --surface-2: #1e1e23;
  --text: #ffffff;
  --text-soft: #c2c5cb;
  --text-mute: #8d929b;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: var(--yellow);
  --accent-contrast: #09090a;
  --accent-2: var(--red);
  --field-bg: rgba(255, 255, 255, 0.04);
  --field-bg-focus: rgba(255, 255, 255, 0.07);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
}

/* Light surface (inner pages) */
[data-theme='light'] {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #f2f2ef;
  --text: #0b0b0d;
  --text-soft: #3d434b;
  --text-mute: #656d77;
  --line: rgba(11, 11, 13, 0.12);
  --line-strong: rgba(11, 11, 13, 0.24);
  --accent: var(--yellow);
  --accent-contrast: #0b0b0d;
  /* Darkened red so it clears 4.5:1 against white */
  --accent-2: #d61f24;
  --field-bg: #ffffff;
  --field-bg-focus: #ffffff;
  --shadow: 0 18px 48px -28px rgba(11, 11, 13, 0.35);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: var(--shell-narrow);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.section--alt {
  background: var(--bg-soft);
}

.rule {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent-2);
}

.stack > * + * {
  margin-top: var(--sp-4);
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h4 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 var(--sp-4);
  color: var(--text-soft);
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text);
  font-weight: 650;
}

em {
  font-style: italic;
}

a {
  transition: color 0.2s var(--ease);
}

.text-link {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--accent-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.section-head .rule {
  margin-bottom: var(--sp-4);
}

.section-head p {
  font-size: var(--fs-lg);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .rule {
  margin-inline: auto;
}

.section-head--center p {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-contrast);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.7em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent-2);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}

.btn:hover::after {
  transform: translateY(0);
}

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 1.05em 2.2em;
  font-size: var(--fs-base);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost::after {
  background: var(--accent-2);
}

.btn--ghost:hover {
  color: var(--accent-contrast);
}

.btn--red {
  --btn-bg: var(--accent-2);
  --btn-fg: #fff;
}

.btn--red::after {
  background: var(--accent);
}

.btn--red:hover {
  color: var(--accent-contrast);
}

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -30px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  margin-right: auto;
}

/* Brand logo — logo.png is the white lockup, for dark surfaces.
   On light surfaces it is inverted so the black lockup shows. */
.brand-logo {
  display: block;
  width: clamp(132px, 17vw, 186px);
  height: auto;
}

[data-theme='light'] .brand-logo {
  filter: invert(1);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-desktop a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-block: 0.4rem;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current='page'] {
  color: var(--text);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current='page']::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0s linear 0s, box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
}

/* Home page: the hero has its own button, so the nav button hides until
   the hero button has scrolled out of sight. */
.header-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0s linear 0.35s, box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bars {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: var(--sp-4) var(--gutter) var(--sp-6);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.9rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: var(--sp-4);
  border-bottom: 0;
  text-align: center;
}

@media (max-width: 899px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 1.6rem + 3.5vw, 4.5rem);
}

[data-theme='dark'] .site-footer {
  background: #060607;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
}

.footer-col h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

.footer-col p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-mute);
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: var(--text-mute);
}

.footer-col a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-brand h2 {
  color: var(--text);
}

.footer-logo {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: var(--sp-4);
}

[data-theme='dark'] .footer-logo {
  filter: none;
}

[data-theme='light'] .footer-logo {
  filter: invert(1);
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col h4 {
    margin-top: var(--sp-2);
  }
}

/* --------------------------------------------------------------------------
   8. Home — hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(560px, 92svh, 940px);
  padding-block: clamp(4rem, 3rem + 8vw, 8rem);
  overflow: hidden;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) saturate(1.08) contrast(1.04);
  transform: scale(1.02);
}

/* Slight opacity overlay, kept from the original design */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(6, 6, 8, 0.82) 0%,
      rgba(6, 6, 8, 0.34) 32%,
      rgba(6, 6, 8, 0.42) 62%,
      rgba(6, 6, 8, 0.92) 100%
    ),
    radial-gradient(
      120% 78% at 50% 44%,
      rgba(6, 6, 8, 0.06) 0%,
      rgba(6, 6, 8, 0.62) 100%
    );
  opacity: 0.82;
}

.hero-inner {
  max-width: 940px;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: var(--sp-5);
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-lede {
  font-size: var(--fs-xl);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  max-width: 30ch;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

.hero-rule {
  width: 72px;
  height: 4px;
  margin: 0 auto var(--sp-5);
  border-radius: var(--radius-pill);
  background: var(--accent-2);
}

.hero-sub {
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--fs-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Home — services
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-2) 30%, transparent);
}

.service-icon img {
  width: 30px;
  height: 30px;
  filter: invert(1);
  opacity: 0.92;
}

[data-theme='light'] .service-icon img {
  filter: none;
}

.service-card h3 {
  margin-bottom: 0;
}

.service-card p {
  margin-bottom: 0;
  font-size: var(--fs-base);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
}

@media (max-width: 899px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. Home — featured finishes
   -------------------------------------------------------------------------- */
.splits {
  display: grid;
  gap: clamp(3rem, 2rem + 5vw, 6rem);
}

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

.split--reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.split:hover .split-media img {
  transform: scale(1.045);
}

.split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--line);
  pointer-events: none;
}

.split-body h2 {
  font-size: var(--fs-h2);
}

.split-body h2::before {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-pill);
  background: var(--accent-2);
}

.split-body p {
  font-size: var(--fs-lg);
}

.split-tag {
  display: inline-block;
  margin-bottom: var(--sp-4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--accent-2) 45%, transparent);
  background: color-mix(in srgb, var(--accent-2) 12%, transparent);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 899px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split-media {
    order: 0;
  }
  .split-media img {
    max-height: 460px;
  }
}

/* --------------------------------------------------------------------------
   11. Home — add-ons
   -------------------------------------------------------------------------- */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.addon {
  position: relative;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  background: var(--bg);
  transition: background-color 0.3s var(--ease);
}

.addon:hover {
  background: var(--surface);
}

.addon h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-3);
}

.addon h3::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent-2);
  transform: translateY(-2px);
  transition: background-color 0.3s var(--ease);
}

.addon:hover h3::before {
  background: var(--accent-2);
}

.addon p {
  margin-bottom: 0;
  font-size: var(--fs-base);
}

@media (max-width: 899px) {
  .addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .addon-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   12. Home — CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 6vw, 7rem);
  text-align: center;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000 url('../powder-coating.webp') center / cover no-repeat;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.8);
}

.cta-band h2 {
  font-size: var(--fs-h1);
  color: #fff;
  margin-bottom: var(--sp-4);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-lg);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

.cta-band .btn {
  min-width: 200px;
}

/* --------------------------------------------------------------------------
   13. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(2rem, 1.4rem + 3vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}

.page-hero h1 {
  margin-bottom: var(--sp-4);
  max-width: 18ch;
}

.page-hero p {
  font-size: var(--fs-lg);
  max-width: 62ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.breadcrumb a:hover {
  color: var(--accent-2);
}

/* --------------------------------------------------------------------------
   14. Contact page
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}

.info-block + .info-block {
  margin-top: var(--sp-7);
}

.info-block h2 {
  font-size: var(--fs-h3);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--sp-4);
}

.info-block h2::before {
  content: '';
  width: 8px;
  height: 22px;
  border-radius: 2px;
  background: var(--accent-2);
}

.info-block p {
  font-size: var(--fs-base);
}

.info-block a {
  color: var(--text);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 4px;
  word-break: break-word;
}

.info-block a:hover {
  color: var(--accent-2);
}

.map-frame {
  position: relative;
  margin-top: var(--sp-5);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.map-frame iframe {
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(0.35) contrast(1.04);
}

/* Address panel sitting over the map */
.map-card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(11, 11, 13, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -14px rgba(11, 11, 13, 0.5);
}

.map-card__icon {
  flex: none;
  color: var(--accent-2);
}

.map-card__icon svg {
  width: 20px;
  height: 20px;
}

.map-card__text {
  flex: 1 1 150px;
  min-width: 0;
  display: grid;
}

.map-card__text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0b0b0d;
  line-height: 1.25;
}

.map-card__text span {
  font-size: 0.8rem;
  color: #6b7178;
  line-height: 1.4;
}

.map-card__link {
  flex: none;
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-card__link:hover {
  color: #0b0b0d;
}

@media (max-width: 899px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   15. Form
   -------------------------------------------------------------------------- */
.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.form-fieldset {
  grid-column: 1 / -1;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form-fieldset legend {
  padding: 0;
  margin-bottom: 0.45rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field .label,
.form-fieldset legend,
.label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.field label .req,
.field .label .req,
.label .req {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.field .hint {
  font-size: var(--fs-xs);
  color: var(--text-mute);
  line-height: 1.5;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field input[type='date'],
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field-bg);
  color: var(--text);
  font-size: var(--fs-base);
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  appearance: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath fill='%23e8262b' d='M.44 1.5 1.56.5 9 8.87 16.44.5l1.12 1L9 11.13z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-mute);
  opacity: 0.7;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--text-mute);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: var(--field-bg-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 26%, transparent);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

/* Date picker indicator tinted for the dark surfaces */
[data-theme='dark'] .field input[type='date']::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
  cursor: pointer;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent-2);
  cursor: pointer;
}


/* Honeypot — visually hidden, bots only */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hp-field input,
input.hp-field {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
}


.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.form-actions .btn {
  min-width: 180px;
}

.form-note {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-mute);
}

/* --------------------------------------------------------------------------
   16. FAQ page
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: var(--sp-3);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
  transition: background-color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--surface-2);
}

.faq-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
}

.faq-q {
  flex: 1;
}

.faq-chevron {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-2);
}

.faq-answer {
  padding: 0 clamp(1rem, 0.8rem + 0.8vw, 1.5rem) clamp(1.25rem, 1rem + 0.8vw, 1.75rem)
    calc(1rem + 3.4rem);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.faq-answer p {
  font-size: var(--fs-base);
}

.cta-strip {
  text-align: center;
}

/* --------------------------------------------------------------------------
   16b. FAQ page — quick facts + contact card
   -------------------------------------------------------------------------- */
.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
}

.fact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease);
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--accent-2);
  margin-bottom: var(--sp-3);
}

.fact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.fact-card p {
  margin-bottom: 0;
  font-size: var(--fs-sm);
}

.faq-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.faq-cta h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-3);
}

.faq-cta p {
  margin-bottom: var(--sp-5);
}

.faq-cta > * {
  min-width: 0;
}

.faq-cta__details {
  display: grid;
  gap: var(--sp-3);
  min-width: 0;
}

.faq-cta__details a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 650;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.faq-cta__details a:hover {
  color: var(--accent-2);
}

.faq-cta__details svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent-2);
}

@media (max-width: 899px) {
  .quick-facts {
    grid-template-columns: 1fr;
  }
  .faq-cta {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   17. Motion & utilities
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-media,
  .cta-band__bg,
  .nav-toggle {
    display: none !important;
  }
}
