:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1.2rem + 3.6vw, 4.5rem);

  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --ink: #231f20;
  --paper: #fcfbfa;
  --bone: #f3f1ee;
  --muted: #5c5759;
  --line: rgba(35, 31, 32, 0.14);
  --red: #c8102e;
  --red-hover: #a50d26;
  --gold: #ffc230;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.76);

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; font-family: var(--font-display); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { width: min(100% - 2 * var(--space-6), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--ink); color: #fff; padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--gold) 0 18px, var(--ink) 18px 36px) top / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 18px, var(--gold) 18px 36px) bottom / 100% 3px no-repeat;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 78px; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand-mark { height: 54px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-word { height: 23px; width: auto; }
.brand-sub { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--red); line-height: 1; }
.nav { display: flex; gap: var(--space-8); font-size: var(--text-sm); }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  font-weight: 600; font-size: var(--text-sm); text-decoration: none;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f0b21c; }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.phone { min-height: 44px; padding: var(--space-2) var(--space-4); }

/* Landing split */
.landing-intro { padding: clamp(var(--space-10), 5vw, var(--space-16)) 0 var(--space-8); text-align: center; }
.kicker { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: var(--space-4); }
.landing-intro h1 { font-weight: 800; font-size: var(--text-2xl); letter-spacing: -0.02em; }
.landing-intro p { margin: var(--space-4) auto 0; max-width: 56ch; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); padding-bottom: clamp(var(--space-12), 6vw, var(--space-20)); }
.door {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(380px, 50vh, 540px); padding: clamp(var(--space-6), 3vw, var(--space-10));
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; background: var(--ink);
  isolation: isolate;
}
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.door::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(24,21,22,0.94) 0%, rgba(24,21,22,0.72) 40%, rgba(24,21,22,0.15) 75%); }
.door:hover img { transform: scale(1.04); }
.door-tag { align-self: flex-start; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); margin-bottom: var(--space-4); }
.door-tag.red { background: var(--red); color: #fff; }
.door h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; }
.door p { margin-top: var(--space-3); color: var(--on-dark-muted); max-width: 44ch; }
.door-list { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-5); font-size: var(--text-sm); font-weight: 500; }
.door-list li { position: relative; padding-left: 16px; }
.door-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.door-cta { margin-top: var(--space-6); display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; }
.door-cta span { transition: transform .3s var(--ease); }
.door:hover .door-cta span { transform: translateX(4px); }

/* Page hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,21,22,0.93) 0%, rgba(24,21,22,0.78) 45%, rgba(24,21,22,0.3) 100%); }
.hero-inner { position: relative; padding-block: clamp(var(--space-16), 9vw, 8rem); max-width: 680px; }
.hero .kicker { color: var(--gold); }
.hero h1 { font-weight: 800; font-size: var(--text-hero); letter-spacing: -0.025em; line-height: 1.02; }
.hero .lede { margin-top: var(--space-6); color: var(--on-dark-muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

/* Sections */
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.section.alt { background: var(--bone); }
.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin-top: var(--space-4); color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.service img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.service h3 { font-size: var(--text-lg); font-weight: 800; }
.service p { color: var(--muted); font-size: var(--text-sm); }

.roof-band { margin-top: var(--space-8); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-6) var(--space-8); border-radius: var(--radius-lg); background: var(--ink); color: #fff; border-top: 4px solid var(--red); }
.roof-band h3 { font-size: var(--text-lg); font-weight: 800; }
.roof-band p { color: var(--on-dark-muted); font-size: var(--text-sm); margin-top: 4px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: var(--space-5); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); color: var(--red); margin-bottom: var(--space-3); }
.step h3 { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-2); }
.step p { color: var(--muted); font-size: var(--text-sm); }

.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-12); }
.why li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); }
.why li::before { content: ''; width: 16px; height: 9px; margin-top: 0.5em; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.why strong { display: block; font-weight: 600; }
.why span { color: var(--muted); font-size: var(--text-sm); }

.cta { background: var(--gold); color: var(--ink); padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.cta h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; max-width: 18ch; }
.cta p { margin-top: var(--space-3); max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta .btn-outline:hover { background: var(--ink); color: var(--gold); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: var(--space-12); font-size: var(--text-sm); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-8); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.footer-badge { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.footer-badge img { height: 40px; width: auto; }
.footer-brand .brand-word { height: 20px; }
.footer-brand .brand-sub { color: var(--gold); }
.footer-links { display: grid; gap: var(--space-2); }
.footer-links a { text-decoration: none; color: #fff; }
.footer-links a:hover { color: var(--gold); }
.footer-note { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.12); }

@media (max-width: 960px) {
  .nav { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .door { min-height: 380px; }
  .services, .steps, .why { grid-template-columns: 1fr; }
  .brand-mark { height: 44px; }
  .brand-word { height: 18px; }
  .brand-sub { font-size: 0.7rem; }
  .phone .phone-num { display: none; }
  .roof-band { padding: var(--space-6); }
}
