/* =========================================================
   Fidel Remodeling — Global Styles
   Brand: Black / Red / White · Accents: Gray / Yellow
   Type: Big Shoulders Display (display), Archivo (body), IBM Plex Mono (labels)
   ========================================================= */

:root {
  /* Brand */
  --black: #0B0B0C;
  --ink: #141416;
  --charcoal: #1D1E21;
  --steel: #2A2B2F;
  --red: #D7182A;          /* 5.2:1 on white */
  --red-dark: #B0111F;
  --red-bright: #F0384A;   /* for text on black */
  --white: #FFFFFF;
  --paper: #F4F3F0;
  --yellow: #FFC21A;

  /* Grays */
  --gray-100: #ECEBE8;
  --gray-200: #D8D7D3;
  --gray-400: #9C9DA1;
  --gray-600: #55565B;     /* body text on light, 7:1 */
  --gray-on-dark: #B4B5B9; /* body text on black */

  /* Type */
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t-med: 280ms;

  /* Z scale */
  --z-header: 50;
  --z-callbar: 40;
  --z-skip: 100;
}

/* ---------- Reset ---------- */
*, *::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;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { flex-shrink: 0; }

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

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--yellow); color: var(--black); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.red { color: var(--red); }
.red-bright { color: var(--red-bright); }
.break { word-break: break-all; }

/* ---------- Shared icon stroke ---------- */
.utility svg, .btn svg, .hero__proof svg, .serve-card__link svg, .link-arrow svg, .svc__icon,
.slider__knob svg, .why-item svg, .contact-line svg, .callbar svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: var(--white); --btn-bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-family: var(--f-body); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  cursor: pointer; position: relative; isolation: isolate; overflow: hidden;
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--red::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black);
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease);
}
.btn--red:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--red:hover { border-color: var(--black); }
.hero .btn--red:hover, .why .btn--red:hover, .footer .btn--red:hover { border-color: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35); }
.btn--outline:hover { --btn-bd: var(--white); background: rgba(255,255,255,.06); }
.btn--outline:hover svg { transform: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.25); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  border-bottom: 2px solid var(--red); padding-bottom: 4px; cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Eyebrow / Headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-on-dark); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red-bright); }
.eyebrow__num { color: var(--yellow); }
.eyebrow--dark { color: var(--gray-600); }
.eyebrow--dark::before { background: var(--red); }
.eyebrow--dark .eyebrow__num { color: var(--red); }
.eyebrow--onred { color: rgba(255,255,255,.85); }
.eyebrow--onred::before { background: var(--white); }
.eyebrow--onred .eyebrow__num { color: var(--yellow); }

.h2 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 6.4vw, 92px); line-height: .9; letter-spacing: -.01em;
}
.h2--light { color: var(--white); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { display: grid; gap: 28px; align-items: end; }
.section-head__text { color: var(--gray-600); max-width: 52ch; font-size: 18px; }
.section-head__side { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}

/* ---------- Utility bar ---------- */
.utility { background: var(--black); color: var(--gray-on-dark); font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.utility__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.utility__tag { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.utility .dot { width: 7px; height: 7px; background: var(--yellow); display: inline-block; }
.utility__links { display: flex; gap: 22px; }
.utility__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); transition: color var(--t-fast); min-height: 40px; }
.utility__links a:hover { color: var(--yellow); }
.utility svg { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .utility__tag { display: none; }
  .utility__inner { justify-content: center; }
  .hide-sm { display: none !important; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(11,11,12,.92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--t-med) var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--red); }
.logo__mark { width: 42px; height: 42px; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-display); font-weight: 900; font-size: 30px; text-transform: uppercase; color: var(--white); letter-spacing: .02em; }
.logo__sub { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gray-on-dark); margin-top: 3px; }

.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  font-weight: 600; font-size: 15px; color: rgba(255,255,255,.82); cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--red-bright);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header__phone-label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-on-dark); }
.header__phone-num { font-weight: 700; font-size: 16px; transition: color var(--t-fast); }
.header__phone:hover .header__phone-num { color: var(--yellow); }

.burger {
  display: none; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) { .header__phone { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav__list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 12px var(--gutter) 28px; border-bottom: 3px solid var(--red);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .nav__list.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__link {
    font-family: var(--f-display); font-weight: 800; font-size: 34px; text-transform: uppercase;
    padding: 10px 0; min-height: 56px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav__link::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--black); color: var(--white); overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 120px);
}
.hero__grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.02fr 1fr; gap: 48px; } }

.hero__title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 8.6vw, 136px); line-height: .84; letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero__title .line { display: block; }
.hero__title .line:nth-child(2) { margin-bottom: .06em; }
.hero__title em {
  font-style: normal; color: var(--red-bright);
  -webkit-text-stroke: 0; position: relative;
}
.hero__title em::after {
  content: ""; position: absolute; left: .04em; right: -.06em; bottom: .06em; height: .09em; background: var(--yellow);
  transform-origin: left; animation: underline 700ms var(--ease) 900ms both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--gray-on-dark); max-width: 50ch; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--white); }
.hero__proof svg { width: 18px; height: 18px; color: var(--yellow); stroke-width: 2.6; }

.hero__visual { position: relative; padding: 28px 0 0 28px; }
.hero__frame { position: relative; }
.hero__frame img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 82% 100%, 0 100%);
}
.hero__frame::before { /* red offset block */
  content: ""; position: absolute; left: -28px; top: -28px; width: 46%; height: 56%; background: var(--red); z-index: -1;
}
.hero__visual { isolation: isolate; }

/* dimension lines */
.dim { position: absolute; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--yellow); }
.dim span { background: var(--black); padding: 0 8px; position: relative; }
.dim--top { left: 0; right: 0; top: -18px; height: 1px; background: rgba(255,194,26,.6); display: flex; justify-content: center; align-items: center; margin-left: 28%; }
.dim--top::before, .dim--top::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--yellow); }
.dim--top::before { left: 0; } .dim--top::after { right: 0; }
.dim--side { top: 0; bottom: 14%; right: -18px; width: 1px; background: rgba(255,194,26,.6); display: flex; align-items: center; justify-content: center; }
.dim--side span { transform: rotate(90deg); white-space: nowrap; }
.dim--side::before, .dim--side::after { content: ""; position: absolute; left: -5px; height: 1px; width: 11px; background: var(--yellow); }
.dim--side::before { top: 0; } .dim--side::after { bottom: 0; }

.hero__card {
  position: absolute; left: -4px; bottom: -36px; margin: 0; width: min(270px, 56%);
  display: grid; grid-template-columns: 92px 1fr; background: var(--white); color: var(--black);
  box-shadow: 0 24px 60px rgba(0,0,0,.45); border-left: 5px solid var(--red);
}
.hero__card img { width: 92px; height: 100%; min-height: 112px; object-fit: cover; object-position: center 15%; }
.hero__card figcaption { padding: 14px 16px; font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: .95; text-transform: uppercase; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.hero__card .mono { font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; color: var(--red); }

@media (max-width: 1023px) {
  .hero__visual { max-width: 640px; }
  .hero__frame img { aspect-ratio: 4 / 3.2; }
}
@media (max-width: 560px) {
  .hero__visual { padding: 20px 0 0 14px; }
  .hero__frame::before { left: -14px; top: -20px; }
  .dim--side { display: none; }
  .hero__card { width: 78%; grid-template-columns: 76px 1fr; bottom: -40px; }
  .hero__card img { width: 76px; min-height: 96px; }
  .hero__card figcaption { font-size: 20px; }
  .hero__ctas .btn { width: 100%; }
}

/* Load-in animation */
.load-in { opacity: 0; transform: translateY(24px); animation: rise 800ms var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Hazard + Marquee ---------- */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--black) 14px 28px);
}
.marquee__band { background: var(--red); color: var(--white); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  display: flex; align-items: center; gap: 34px; padding-right: 34px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
}
.marquee__list li::after { content: ""; width: 12px; height: 12px; background: var(--black); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Who we serve ---------- */
.serve { padding: var(--section-y) 0; background: var(--white); }
.serve__grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .serve__grid { grid-template-columns: 1fr 1fr; } }

.serve-card {
  position: relative; display: block; min-height: 560px; overflow: hidden; color: var(--white); background: var(--black);
  cursor: pointer;
}
.serve-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease), opacity var(--t-med);
  opacity: .78;
}
.serve-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,11,12,.05) 0%, rgba(11,11,12,.35) 40%, rgba(11,11,12,.94) 100%);
}
.serve-card::after { /* red bar wipe */
  content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: var(--red); z-index: 2;
  transform: scaleX(.18); transform-origin: left; transition: transform 600ms var(--ease);
}
.serve-card:hover img { transform: scale(1.04); opacity: .9; }
.serve-card:hover::after, .serve-card:focus-visible::after { transform: scaleX(1); }
.serve-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(24px, 3.4vw, 44px); }
.serve-card__tag {
  display: inline-block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--red); color: var(--white); padding: 6px 10px; margin-bottom: 16px;
}
.serve-card__tag--yellow { background: var(--yellow); color: var(--black); }
.serve-card__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5vw, 72px); line-height: .9; margin-bottom: 22px; }
.serve-card__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 26px; }
.serve-card__list li { position: relative; padding-left: 16px; font-size: 15px; color: rgba(255,255,255,.88); }
.serve-card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--red-bright); }
.serve-card__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 2px solid rgba(255,255,255,.5); padding-bottom: 4px; transition: border-color var(--t-fast); }
.serve-card__link svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.serve-card:hover .serve-card__link { border-color: var(--white); }
.serve-card:hover .serve-card__link svg { transform: translateX(4px); }
@media (max-width: 560px) {
  .serve-card { min-height: 520px; }
  .serve-card__list { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services { padding: var(--section-y) 0; background: var(--paper); position: relative; }
.svc-grid {
  display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200);
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative; padding: 36px 32px 40px; background: var(--white);
  border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease);
}
.svc:hover::before { transform: scaleX(1); }
.svc__num { position: absolute; top: 30px; right: 28px; font-family: var(--f-mono); font-size: 13px; color: var(--gray-400); }
.svc__icon { width: 44px; height: 44px; color: var(--red); stroke-width: 1.6; margin-bottom: 30px; }
.svc__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: .95; margin-bottom: 12px; }
.svc__text { color: var(--gray-600); font-size: 16px; }
.svc--dark { background: var(--black); color: var(--white); }
.svc--dark .svc__text { color: var(--gray-on-dark); }
.svc--dark .svc__icon { color: var(--yellow); }
.svc--dark .svc__num { color: var(--gray-on-dark); }

/* ---------- Plan → Finish slider ---------- */
.compare { padding: var(--section-y) 0; background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.compare__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .compare__inner { grid-template-columns: .8fr 1.4fr; gap: 64px; } }
.compare__text { color: var(--gray-on-dark); margin: 26px 0 30px; max-width: 46ch; }
.compare__specs { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.compare__specs li { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.compare__specs .mono { color: var(--yellow); min-width: 64px; }

.slider {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--charcoal);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
}
.slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slider__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #17181B; }
.slider__img--plan { filter: grayscale(1) invert(1) contrast(1.9) brightness(.62); mix-blend-mode: screen; opacity: .9; }
.slider__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.slider__notes .note {
  position: absolute; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--yellow); border: 1px solid var(--yellow); background: rgba(11,11,12,.75); padding: 5px 8px; white-space: nowrap;
}
.note--1 { left: 58%; top: 14%; }
.note--2 { left: 6%; top: 30%; }
.note--3 { left: 30%; top: 6%; }
.slider__label {
  position: absolute; bottom: 18px; z-index: 3; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 12px; pointer-events: none;
}
.slider__label--l { left: 18px; background: var(--black); color: var(--yellow); border: 1px solid rgba(255,194,26,.5); }
.slider__label--r { right: 18px; background: var(--red); color: var(--white); }
.slider__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); z-index: 4; pointer-events: none;
}
.slider__knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%);
  display: grid; place-items: center; background: var(--red); color: var(--white); border: 3px solid var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform var(--t-fast) var(--ease);
}
.slider__knob svg { width: 24px; height: 24px; stroke-width: 2.4; }
.slider__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5;
  -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.slider__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; cursor: ew-resize; }
.slider__range::-moz-range-thumb { width: 56px; height: 100vh; cursor: ew-resize; border: 0; }
.slider:has(.slider__range:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 4px; }
.slider.is-dragging .slider__knob, .slider:hover .slider__knob { transform: translate(-50%, -50%) scale(1.06); }
@media (max-width: 560px) {
  .slider { aspect-ratio: 4 / 3.6; }
  .note--1 { left: auto; right: 6%; top: 10%; }
  .note--3 { display: none; }
  .slider__knob { width: 48px; height: 48px; }
}

/* ---------- Process ---------- */
.process { padding: var(--section-y) 0; background: var(--white); overflow: hidden; }
.tape { position: relative; height: 56px; margin-bottom: 8px; display: flex; align-items: center; }
.tape__body {
  flex: 1; height: 34px; background-color: var(--yellow); border: 2px solid var(--black); border-right: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--black) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(90deg, var(--black) 0 1px, transparent 1px 100%);
  background-size: 80px 16px, 10px 8px;
  background-repeat: repeat-x;
  background-position: 0 0, 0 0;
  transform-origin: right; transform: scaleX(0); transition: transform 1400ms var(--ease);
}
.tape.is-visible .tape__body { transform: scaleX(1); }
.tape__case {
  width: 72px; height: 56px; background: var(--red); border: 2px solid var(--black); display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 900; color: var(--white); font-size: 16px; letter-spacing: .08em;
  box-shadow: 4px 4px 0 var(--black);
}
.steps { display: grid; gap: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 30px 28px 10px 0; position: relative; }
@media (min-width: 1100px) { .step { padding-right: 36px; } .step + .step { padding-left: 28px; border-left: 1px dashed var(--gray-200); } }
.step__mark {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px;
  background: var(--black); color: var(--white); font-family: var(--f-mono); font-size: 15px; font-weight: 500;
}
.step:first-child .step__mark { background: var(--red); }
.step__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: .95; margin-bottom: 12px; }
.step__text { color: var(--gray-600); font-size: 16px; max-width: 34ch; }

/* ---------- Why Fidel ---------- */
.why { padding: var(--section-y) 0; background: var(--ink); color: var(--white); position: relative; }
.why::before { content: ""; position: absolute; top: 0; right: 0; width: 34%; height: 8px; background: var(--red); }
.why__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .why__inner { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% center; filter: grayscale(.25) contrast(1.05); }
@media (max-width: 1023px) { .why__media img { aspect-ratio: 16 / 10; } }
.why__stamp {
  position: absolute; right: -10px; bottom: 28px; transform: rotate(-6deg);
  border: 3px solid var(--red-bright); color: var(--red-bright); padding: 10px 18px; background: rgba(20,20,22,.88);
  display: grid; text-align: center;
}
.why__stamp span:first-child { font-family: var(--f-display); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; letter-spacing: .06em; }
.why__stamp .mono { font-size: 10px; color: var(--gray-on-dark); margin-top: 4px; }
.why__grid { display: grid; gap: 1px; background: rgba(255,255,255,.1); margin-top: 44px; border: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .why__grid { grid-template-columns: 1fr 1fr; } }
.why-item { background: var(--ink); padding: 28px 26px; transition: background-color var(--t-med) var(--ease); }
.why-item:hover { background: var(--charcoal); }
.why-item svg { width: 30px; height: 30px; color: var(--yellow); stroke-width: 1.7; margin-bottom: 18px; }
.why-item h3 { font-family: var(--f-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.why-item p { color: var(--gray-on-dark); font-size: 15.5px; }

/* ---------- CTA band (end of every page) ---------- */
.cta-band { position: relative; background: var(--red); color: var(--white); padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.cta-band::before { /* black diagonal slab */
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 42%; background: var(--black);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 1023px) { .cta-band::before { display: none; } }
.cta-band__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.cta-band__text { font-size: 18px; color: rgba(255,255,255,.92); max-width: 46ch; margin-top: 22px; }
.cta-band__actions { display: grid; gap: 14px; }
@media (min-width: 1024px) { .cta-band__actions { padding-left: 12%; } }

.btn--white { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }
.btn--white:hover { background: var(--yellow); border-color: var(--yellow); }
.btn--white-outline { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.7); }
.btn--white-outline:hover { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--white-outline:hover svg { transform: none; }

.contact-line {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.22); cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast);
}
.contact-line:hover { background: var(--black); border-color: var(--black); }
.contact-line__icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--white); color: var(--red); flex-shrink: 0; }
.contact-line__icon svg { width: 22px; height: 22px; }
.contact-line > span:last-child { display: grid; min-width: 0; }
.contact-line .mono { font-size: 11px; color: rgba(255,255,255,.8); }
.contact-line strong { font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; overflow-wrap: anywhere; }

.form {
  background: var(--white); color: var(--black); padding: clamp(24px, 3.5vw, 44px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35); border-top: 6px solid var(--yellow); display: grid; gap: 18px;
}
.form__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.form__head h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 36px; line-height: 1; }
.form__head .mono { color: var(--gray-600); font-size: 11px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; letter-spacing: .01em; }
.optional { color: var(--gray-600); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px;
  background: var(--paper); border: 1.5px solid var(--gray-200); border-radius: 0;
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--black); background: var(--white); box-shadow: 0 0 0 3px rgba(215,24,42,.18);
}
.field input[aria-invalid="true"] { border-color: var(--red); background: #FFF5F6; }
.field__error { color: var(--red-dark); font-size: 13.5px; font-weight: 600; margin-top: 6px; min-height: 0; }
.field__error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(45deg); pointer-events: none;
}
.form__type { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 50px; font-weight: 700;
  border: 1.5px solid var(--gray-200); background: var(--paper); transition: all var(--t-fast) var(--ease);
}
.chip:hover span { border-color: var(--gray-400); }
.chip input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.form .btn { margin-top: 6px; }
.form__status { font-weight: 600; font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-success { color: #11703A; background: #E9F7EF; padding: 12px 14px; border-left: 4px solid #11703A; }
.form__status.is-error { color: var(--red-dark); background: #FFF0F1; padding: 12px 14px; border-left: 4px solid var(--red); }
.form__status a { text-decoration: underline; }


/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--gray-on-dark); position: relative; overflow: hidden; }
.footer__inner { display: grid; gap: 40px; padding-top: 80px; padding-bottom: 40px; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__brand { display: grid; gap: 22px; justify-items: start; max-width: 36ch; }
.footer h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 4px; }
.footer__col a { display: inline-flex; min-height: 36px; align-items: center; color: var(--white); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--red-bright); }
.footer__word {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .78;
  font-size: clamp(120px, 30vw, 440px); letter-spacing: -.02em; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14);
  margin-bottom: -.12em; user-select: none; pointer-events: none;
}
.footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px;
}
.footer__bottom .mono { font-size: 11px; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
    display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 24px rgba(0,0,0,.25);
    padding-bottom: env(safe-area-inset-bottom); background: var(--black);
    transform: translateY(110%); transition: transform var(--t-med) var(--ease);
  }
  .callbar.is-visible { transform: none; }
  .callbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-weight: 700; font-size: 16px; }
  .callbar__btn svg { width: 18px; height: 18px; }
  .callbar__btn--call { background: var(--black); color: var(--white); }
  .callbar__btn--quote { background: var(--red); color: var(--white); }
  .footer__bottom { padding-bottom: 90px; }
}

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- Nav: Services dropdown ---------- */
.nav__item { position: relative; }
.nav__link.is-section { color: var(--white); }
.nav__link.is-section::after { transform: scaleX(1); }
.nav__chev { width: 12px; height: 12px; margin-left: 6px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform var(--t-med) var(--ease); }
.subnav {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 280px; padding: 8px;
  background: var(--black); border-top: 3px solid var(--red); box-shadow: 0 24px 50px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav__item:hover .subnav, .nav__item:focus-within .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }
.subnav a { display: grid; gap: 2px; padding: 12px 14px; min-height: 44px; transition: background-color var(--t-fast); border-left: 3px solid transparent; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--charcoal); border-left-color: var(--red-bright); }
.subnav strong { font-size: 15px; color: var(--white); }
.subnav span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-on-dark); }
@media (max-width: 900px) {
  .nav__chev { display: none; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0;
    min-width: 0; padding: 4px 0 12px; background: transparent; transition: none;
  }
  .subnav::before { display: none; }
  .subnav a { padding: 10px 0 10px 18px; }
  .subnav a:hover, .subnav a[aria-current="page"] { background: transparent; }
  .subnav strong { font-size: 17px; }
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; background: var(--black); color: var(--white); overflow: hidden;
  padding: clamp(44px, 6vw, 84px) 0 clamp(64px, 8vw, 112px);
}
.page-hero__inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .page-hero--media .page-hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-on-dark); margin-bottom: 28px; }
.crumbs a { color: var(--white); transition: color var(--t-fast); }
.crumbs a:hover { color: var(--yellow); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--red-bright); }
.page-hero__title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 6.8vw, 104px); line-height: .88; letter-spacing: -.01em; margin-bottom: 26px;
}
.page-hero__title .red-bright { display: block; }
.page-hero__lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--gray-on-dark); max-width: 54ch; margin-bottom: 32px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero__media { position: relative; isolation: isolate; padding: 24px 0 0 24px; }
.page-hero__media::before { content: ""; position: absolute; left: 0; top: 0; width: 44%; height: 54%; background: var(--red); z-index: -1; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 84%, 84% 100%, 0 100%); }
.page-hero__badge {
  position: absolute; right: 0; bottom: 0; background: var(--yellow); color: var(--black);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px;
}
.page-hero + .hazard { margin-top: 0; }
@media (max-width: 560px) { .page-hero__ctas .btn { width: 100%; } }

/* ---------- Generic section helpers ---------- */
.section { padding: var(--section-y) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .section-head__text { color: var(--gray-on-dark); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }

.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' fill='%23D7182A'/%3E%3Cpath d='M18 7.5 10 15.5 6 11.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist--2 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.section--dark .checklist li::before, .spotlight .checklist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' fill='%23FFC21A'/%3E%3Cpath d='M18 7.5 10 15.5 6 11.5' fill='none' stroke='%230B0B0C' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E");
}

/* ---------- Feature rows (services) ---------- */
.features { display: grid; gap: clamp(72px, 9vw, 128px); }
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature--flip .feature__media { order: 2; }
}
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.feature__media::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 38%; height: 10px; background: var(--red); }
.feature--flip .feature__media::after { left: auto; right: 0; }
.feature__badge {
  position: absolute; top: 18px; left: 18px; background: var(--black); color: var(--white);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px;
}
.feature__badge::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--yellow); margin-right: 8px; vertical-align: 1px; }
.feature__num { font-family: var(--f-mono); font-size: 13px; color: var(--red); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.feature__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(42px, 5vw, 72px); line-height: .9; margin-bottom: 20px; }
.feature__text { color: var(--gray-600); font-size: 17.5px; margin-bottom: 26px; max-width: 54ch; }
.feature .checklist { margin-bottom: 30px; }

/* ---------- Tile spotlight ---------- */
.spotlight { position: relative; background: var(--black); color: var(--white); padding: var(--section-y) 0; overflow: hidden; }
.spotlight::before { /* ceramic grid pattern */
  content: ""; position: absolute; inset: 0 0 0 auto; width: 50%; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.07) 2px, transparent 2px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.spotlight__inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .spotlight__inner { grid-template-columns: 1fr 1fr; gap: 72px; } }
.spotlight__text { color: var(--gray-on-dark); font-size: 18px; margin: 24px 0 30px; max-width: 52ch; }
.spotlight__media { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__media img:first-child { aspect-ratio: 3 / 4; }
.spotlight__media img:last-child { aspect-ratio: 3 / 4; margin-top: 48px; }
.spotlight__seal {
  display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 26px;
  border: 2px solid var(--yellow); color: var(--yellow); padding: 8px 14px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}

.spotlight__seal svg { width: 20px; height: 20px; }

/* ---------- Secondary service cards (4-up) ---------- */
@media (min-width: 1024px) { .svc-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.svc-grid--4 .svc__title { font-size: 28px; }

/* ---------- Floor types ---------- */
.floors { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .floors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .floors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .floors { grid-template-columns: repeat(5, 1fr); } }
.floor { background: var(--white); border: 1px solid var(--gray-200); transition: border-color var(--t-med), box-shadow var(--t-med); }
.floor:hover { border-color: var(--black); box-shadow: 6px 6px 0 var(--black); }
.floor__swatch { height: 150px; border-bottom: 4px solid var(--black); }
@media (max-width: 559px) { .floor { display: grid; grid-template-columns: 110px 1fr; } .floor__swatch { height: auto; min-height: 100%; border-bottom: 0; border-right: 4px solid var(--black); } .floor__body { padding: 16px 18px; } .floor__name { font-size: 26px; } }
.floor__body { padding: 20px 20px 24px; }
.floor__name { font-family: var(--f-display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.floor__body p { color: var(--gray-600); font-size: 15px; }
.floor__tag { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

.swatch--laminate {
  background-color: #C9A27A;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.16) 2px, transparent 2px),
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(0,0,0,.2) 36px 38px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 3px, transparent 3px 11px);
  background-size: 120px 76px, auto, auto;
  background-position: 0 0, 0 0, 0 0;
}
.swatch--lvp {
  background-color: #9A9690;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.2) 2px, transparent 2px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(0,0,0,.24) 46px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 9px);
  background-size: 180px 96px, auto, auto;
}
.swatch--vinyl {
  background-color: #D9D6CF;
  background-image:
    radial-gradient(rgba(0,0,0,.14) 1px, transparent 1.5px),
    radial-gradient(rgba(255,255,255,.6) 1px, transparent 1.5px);
  background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px;
}
.swatch--wood {
  background-color: #7A4E2D;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.28) 2px, transparent 2px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(0,0,0,.3) 28px 30px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 7px, rgba(0,0,0,.06) 7px 9px);
  background-size: 96px 60px, auto, auto; background-position: 0 0, 0 0, 0 0;
}
.swatch--ceramic {
  background-color: #F2F1EE;
  background-image:
    linear-gradient(#A9A8A4 2px, transparent 2px),
    linear-gradient(90deg, #A9A8A4 2px, transparent 2px);
  background-size: 50px 50px;
}

/* ---------- Choice cards (services overview) ---------- */
.choice-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice-grid .serve-card { min-height: 640px; }
.serve-card .btn { margin-top: 4px; }
.serve-card__desc { color: rgba(255,255,255,.86); margin-bottom: 20px; max-width: 46ch; }

.sector-table { display: grid; gap: 0; border: 1px solid var(--gray-200); background: var(--white); }
@media (min-width: 900px) { .sector-table { grid-template-columns: 1fr 1fr; } }
.sector-col { padding: clamp(24px, 3vw, 40px); }
.sector-col + .sector-col { border-top: 1px solid var(--gray-200); }
@media (min-width: 900px) { .sector-col + .sector-col { border-top: 0; border-left: 1px solid var(--gray-200); } }
.sector-col h3 { font-family: var(--f-display); font-weight: 900; font-size: 40px; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
.sector-col > .mono { color: var(--red); display: block; margin-bottom: 22px; }
.sector-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); font-weight: 600; }
.sector-list li:last-child { border-bottom: 0; }
.sector-list .pill { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--yellow); color: var(--black); padding: 3px 8px; align-self: center; white-space: nowrap; }
.sector-col .link-arrow { margin-top: 22px; }

/* ---------- About ---------- */
.story { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1024px) { .story { grid-template-columns: .95fr 1.05fr; gap: 80px; } }
.story__media { position: relative; }
@media (min-width: 1024px) { .story__media { position: sticky; top: calc(var(--header-h) + 32px); } }
.photo-slot {
  position: relative; aspect-ratio: 4 / 4.6; background: var(--charcoal); color: var(--gray-on-dark);
  display: grid; place-items: center; text-align: center; overflow: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.photo-slot--filled .photo-slot__corner { z-index: 1; }
.photo-slot__inner { display: grid; gap: 14px; justify-items: center; padding: 24px; }
.photo-slot__inner svg { width: 48px; height: 48px; fill: none; stroke: var(--yellow); stroke-width: 1.5; }
.photo-slot__inner strong { font-family: var(--f-display); font-weight: 800; font-size: 34px; text-transform: uppercase; color: var(--white); line-height: 1; }
.photo-slot__corner { position: absolute; width: 28px; height: 28px; border: 3px solid var(--red-bright); }
.photo-slot__corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.photo-slot__corner--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.story__caption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 2px solid var(--black); font-weight: 700; }
.story__caption .mono { color: var(--gray-600); }
.story__years {
  position: absolute; right: -14px; bottom: 76px; background: var(--red); color: var(--white); padding: 16px 20px 14px;
  display: grid; text-align: center; box-shadow: 8px 8px 0 var(--black);
}
.story__years b { font-family: var(--f-display); font-weight: 900; font-size: 68px; line-height: .85; }
.story__years span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 560px) { .story__years { right: 8px; } .story__years b { font-size: 54px; } }
.story__body { display: grid; gap: 22px; }
.story__body p { color: var(--gray-600); font-size: 18px; max-width: 60ch; }
.story__body p.lead { color: var(--black); font-weight: 500; }
.story__body h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.4vw, 46px); text-transform: uppercase; line-height: .95; margin-top: 18px; }

.pullquote { position: relative; padding: clamp(28px, 4vw, 44px) 0 0 clamp(0px, 3vw, 40px); margin: 12px 0; border-top: 2px solid var(--black); }
.pullquote::before { content: "\201C"; position: absolute; left: -6px; top: 4px; font-family: var(--f-display); font-weight: 900; font-size: 120px; line-height: 1; color: var(--red); }
.pullquote p { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 50px); text-transform: uppercase; line-height: .98; color: var(--black) !important; max-width: none !important; padding-left: clamp(40px, 4vw, 56px); }

.team { display: grid; gap: 24px; }
@media (min-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
.person { display: grid; grid-template-columns: 112px 1fr; background: var(--white); border: 1px solid var(--gray-200); }
.person__mono {
  display: grid; place-items: center; background: var(--black); color: var(--white);
  font-family: var(--f-display); font-weight: 900; font-size: 72px; line-height: 1; position: relative;
}
.person__mono::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--red); }
.person--alt .person__mono::after { background: var(--yellow); }
.person__body { padding: 24px 26px; }
.person__role { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.person__name { font-family: var(--f-display); font-weight: 900; font-size: 40px; text-transform: uppercase; line-height: 1; margin: 6px 0 12px; }
.person__body p { color: var(--gray-600); font-size: 16px; }

.area { display: grid; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) { .area { grid-template-columns: repeat(3, 1fr); } }
.area__item { background: var(--ink); padding: 32px 28px 30px; position: relative; overflow: hidden; transition: background-color var(--t-med); }
.area__item:hover { background: var(--charcoal); }
.area__abbr {
  display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(96px, 11vw, 160px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); margin-bottom: 18px; transition: -webkit-text-stroke-color var(--t-med);
}
.area__item:hover .area__abbr { -webkit-text-stroke-color: var(--red-bright); }
.area__name { font-family: var(--f-display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.area__item p { color: var(--gray-on-dark); font-size: 15px; margin-top: 8px; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: .82fr 1.18fr; gap: 56px; } }
.contact-aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.callcard { background: var(--black); color: var(--white); padding: clamp(26px, 3vw, 38px); border-top: 6px solid var(--red); }
.callcard__label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.callcard__phone {
  display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(46px, 5vw, 64px); line-height: .95;
  margin: 10px 0 22px; transition: color var(--t-fast);
}
.callcard__phone:hover { color: var(--red-bright); }
.callcard__actions { display: grid; gap: 12px; }
.callcard__email { display: grid; gap: 4px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.callcard__email a { font-weight: 700; font-size: 18px; overflow-wrap: anywhere; transition: color var(--t-fast); }
.callcard__email a:hover { color: var(--yellow); }
.infocard { background: var(--white); border: 1px solid var(--gray-200); padding: 26px 28px; }
.infocard h3 { font-family: var(--f-display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; margin-bottom: 16px; }
.next-steps { display: grid; gap: 14px; counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: var(--gray-600); font-size: 15.5px; }
.next-steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; background: var(--black); color: var(--white);
  font-family: var(--f-mono); font-size: 12px;
}
.next-steps li:first-child::before { background: var(--red); }
.next-steps strong { color: var(--black); display: block; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tags li { font-weight: 700; font-size: 14px; border: 1.5px solid var(--black); padding: 6px 12px; }

.form--page { box-shadow: 0 20px 60px rgba(0,0,0,.08); border: 1px solid var(--gray-200); border-top: 6px solid var(--yellow); }
.form__section { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); padding-top: 10px; border-top: 1px solid var(--gray-100); margin-top: 4px; }
@media (min-width: 560px) { .form__row--addr { grid-template-columns: 2fr 1fr 1fr; } }
.field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); background: #FFF5F6; }
.form__fine { font-size: 13.5px; color: var(--gray-600); text-align: center; }
.form__fine a { color: var(--black); font-weight: 700; text-decoration: underline; }


/* ---------- Generic inline icon ---------- */
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.i, .utility svg.i { width: 18px; height: 18px; }
.utility svg.i { width: 15px; height: 15px; }
.hero__proof svg.i { width: 18px; height: 18px; color: var(--yellow); stroke-width: 2.6; }

.footer__area { margin-top: 14px; font-size: 14px; }
.form__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 36px; line-height: 1; }

/* ---------- Cross-link strip ---------- */
.crosslink { background: var(--black); color: var(--white); border-top: 4px solid var(--red); }
.crosslink__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 34px; padding-bottom: 34px; }
.crosslink p { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; line-height: 1; }
.link-arrow--light { color: var(--white); border-bottom-color: var(--yellow); }
.link-arrow--light:hover { color: var(--yellow); }

@media (max-width: 480px) {
  .person { grid-template-columns: 84px 1fr; }
  .person__mono { font-size: 56px; }
  .person__body { padding: 20px; }
}


/* ---------- Contact top (form first, no hero) ---------- */
.contact-top {
  position: relative; padding: 20px 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(var(--black) 0 260px, var(--paper) 260px);
}
.contact-top .crumbs { margin-bottom: 18px; }
.contact-top__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) {
  .contact-top__grid { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 28px; }
  .contact-top__aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
.form--hero { border: 0; border-top: 6px solid var(--yellow); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.form__title--page { font-size: clamp(36px, 4vw, 52px); }
.form__intro { color: var(--gray-600); font-size: 16px; margin-top: -6px; }
.form__intro a { color: var(--red-dark); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.callcard__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 3vw, 42px); line-height: .95; margin-bottom: 22px; }
.callcard__title .red-bright { display: block; }
.contact-top .callcard__phone { font-size: clamp(34px, 3.1vw, 46px); white-space: nowrap; }
.callcard__email > span:last-child { font-weight: 600; }
@media (max-width: 899px) { .contact-top { background: linear-gradient(var(--black) 0 140px, var(--paper) 140px); } }

/* ---------- Contact map ---------- */
.contact-map { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 1024px) { .contact-map { grid-template-columns: 1.5fr 1fr; } }
.contact-map__side { display: grid; gap: 20px; align-content: start; }
.map-frame { position: relative; min-height: 440px; background: var(--charcoal); border: 1px solid var(--gray-200); border-bottom: 6px solid var(--red); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map-frame__tag {
  position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; pointer-events: none;
  background: var(--black); color: var(--white); padding: 8px 12px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
}
.map-frame__tag svg { width: 16px; height: 16px; color: var(--yellow); }
@media (max-width: 560px) { .map-frame { min-height: 340px; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .load-in, .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .tape__body { transform: none; }
}
