/* ============================================================
   AJ Shirk Roofing — spec preview by Woodcrest Marketing
   Brand: deep blue + gold, storm / industrial editorial
   ============================================================ */

:root {
  /* color */
  --ink:       #0a0f16;
  --ink-2:     #101826;
  --blue-950:  #081b30;
  --blue-900:  #0b2440;
  --blue-800:  #103258;
  --blue-700:  #134a86;
  --blue-600:  #1763b0;
  --blue-500:  #2f80cf;
  --blue-300:  #7fb2e6;
  --gold:      #f6b21b;
  --gold-400:  #ffc94a;
  --gold-600:  #e09a07;
  --slate:     #54637a;
  --slate-2:   #8593a4;
  --cloud:     #eef2f7;
  --cloud-2:   #e2e8f1;
  --paper:     #ffffff;
  --line:      #d9e1ec;

  /* type — serif display (editorial headlines) paired against a heavy sans (labels/data) */
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;

  /* fluid type scale */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.28vw, 1.12rem);
  --fs-lead:    clamp(1.14rem, 1.02rem + 0.62vw, 1.42rem);
  --fs-h3:      clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h2:      clamp(1.92rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h1:      clamp(2.35rem, 1.45rem + 4.4vw, 5.1rem);

  /* space */
  --shell: 1240px;
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 3rem);
  --section-y: clamp(4.5rem, 2.8rem + 6.5vw, 8.5rem);

  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --shadow-card: 0 26px 48px -28px rgba(8,27,48,.45);
  --shadow-pop:  0 36px 70px -32px rgba(8,27,48,.6);
  --shadow-gold: 0 16px 34px -14px rgba(246,178,27,.55);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: .7rem 1.1rem; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- shared type ---------- */
.section-eyebrow {
  font-family: var(--display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
.section-eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--gold);
}
.section-eyebrow.light { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--blue-900);
  text-wrap: balance;
}
.section-title.light { color: var(--paper); }

p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .9rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .015em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn-lg { --pad-y: 1.08rem; --pad-x: 2rem; font-size: 1.04rem; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold));
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: linear-gradient(180deg, var(--gold), var(--gold-600)); transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(246,178,27,.7); }

.btn-ghost {
  background: rgba(255,255,255,.05);
  color: var(--paper);
  border-color: rgba(255,255,255,.32);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--paper); transform: translateY(-3px); }

.btn-ghost-dark {
  background: transparent;
  color: var(--blue-900);
  border-color: var(--blue-900);
}
.btn-ghost-dark:hover { background: var(--blue-900); color: var(--paper); transform: translateY(-3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 700;
  color: var(--blue-600);
  letter-spacing: .02em;
  margin-top: 1.7rem;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }
.link-arrow:hover { color: var(--gold-600); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 86px;
}
.brand-logo {
  height: 54px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 34px -18px rgba(11,36,64,.45);
  border-bottom-color: var(--line);
}
.site-header.scrolled .brand-logo { filter: none; }

.nav {
  margin-left: auto;
  display: flex; gap: clamp(1rem, 2vw, 2.1rem);
}
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  color: rgba(255,255,255,.9);
  position: relative;
  padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  transition: width .28s var(--ease);
}
.nav a:hover::after { width: 100%; }
.site-header.scrolled .nav a { color: var(--blue-900); }

.btn-call {
  background: linear-gradient(180deg, var(--gold-400), var(--gold)); color: var(--ink);
  flex-direction: column; gap: 0; line-height: 1.05;
  padding: .55rem 1.2rem;
  box-shadow: 0 10px 26px -12px rgba(246,178,27,.8);
}
.btn-call:hover { background: linear-gradient(180deg, var(--gold), var(--gold-600)); transform: translateY(-2px); }
.btn-call-label { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.btn-call-num { font-size: 1.02rem; font-weight: 800; letter-spacing: .01em; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.nav-toggle span {
  width: 26px; height: 2.5px; background: var(--paper); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--blue-900); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.6rem;
  box-shadow: 0 22px 34px -18px rgba(11,36,64,.45);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-family: var(--display); font-weight: 600; font-size: 1.1rem;
  color: var(--blue-900);
  padding: .85rem 0;
  border-bottom: 1px solid var(--cloud-2);
}
.mobile-nav .mobile-call { margin-top: 1rem; border: 0; color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(8.5rem, 6rem + 8vw, 12rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  min-height: clamp(640px, 94vh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 52% at 78% 32%, rgba(246,178,27,.15), transparent 60%),
    radial-gradient(120% 85% at 86% -16%, rgba(31,116,200,.72), transparent 60%),
    radial-gradient(80% 70% at 4% 110%, rgba(8,24,44,.96), transparent 66%),
    linear-gradient(158deg, #090e15 0%, #0c1c32 50%, #0b2c50 100%);
}
/* faint film-grain / atmosphere */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
}
.hero-grid {
  position: absolute; inset: 0;
  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: 66px 66px;
  mask-image: radial-gradient(120% 95% at 72% 0%, #000 26%, transparent 78%);
}
/* layered roofline / Colorado horizon */
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(150px, 24vw, 280px);
}
.hero-skyline .roof-back  { fill: rgba(23,99,176,.22); }
.hero-skyline .roof-mid   { fill: rgba(11,36,64,.62); }
.hero-skyline .roof-front { fill: #0a1626; }
.hero-skyline .ridge      { fill: none; stroke: var(--gold); stroke-width: 2; opacity: .5;
  stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.is-loaded .hero-skyline .ridge { animation: draw-ridge 2.2s var(--ease) .4s forwards; }
@keyframes draw-ridge { to { stroke-dashoffset: 0; } }
/* layered concentric-diamond motif (logo echo) anchors the right of the hero */
.hero-beam {
  position: absolute; top: 42%; right: clamp(-12rem, -5vw, -3rem);
  width: clamp(380px, 44vw, 680px); aspect-ratio: 1;
  transform: translateY(-50%) rotate(45deg);
  border-radius: clamp(34px, 5vw, 56px);
  border: 1.5px solid rgba(127,178,230,.34);
  background: linear-gradient(140deg, rgba(31,116,200,.28), transparent 58%);
  box-shadow: 0 0 120px -10px rgba(31,116,200,.35) inset;
  opacity: .95;
  pointer-events: none;
}
.is-loaded .hero-beam { animation: beam-float 13s var(--ease) infinite alternate; }
@keyframes beam-float { from { transform: translateY(-50%) rotate(45deg); } to { transform: translateY(-54%) rotate(48deg); } }
.hero-beam::before {
  content: ""; position: absolute; inset: 16%;
  border-radius: clamp(26px, 4vw, 44px);
  border: 1.5px solid rgba(246,178,27,.34);
}
.hero-beam::after {
  content: ""; position: absolute; inset: 33%;
  border-radius: clamp(16px, 2.4vw, 28px);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(246,178,27,.42), rgba(246,178,27,.08) 55%, transparent 72%);
  box-shadow: 0 0 70px -6px rgba(246,178,27,.5);
}

.hero-inner { position: relative; max-width: 1000px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  padding: .5rem .95rem .5rem .8rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  margin-bottom: 1.6rem;
}
.hero-eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(246,178,27,.22);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin-bottom: 1.7rem;
}
.hero-lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255,255,255,.84);
  max-width: 58ch;
  margin-bottom: 2.3rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero-creds {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: .9rem 1.7rem;
  font-size: .95rem; color: rgba(255,255,255,.74);
}
.hero-creds li { position: relative; padding-left: 1.6rem; }
.hero-creds li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px; background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(246,178,27,.16);
}
.hero-creds strong { color: var(--paper); font-weight: 700; }

.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.4rem, 1.6rem + 3vw, 3.8rem);
  padding-block: clamp(1rem, .8rem + .7vw, 1.35rem);
  padding-inline: clamp(1.1rem, .8rem + 1vw, 1.6rem);
  background: linear-gradient(110deg, rgba(8,17,30,.92), rgba(9,20,36,.82));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 30px 54px -30px rgba(0,0,0,.85);
  display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.4rem;
  font-family: var(--display); font-size: .85rem; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.66);
}
.hero-foot-label { color: var(--gold); font-weight: 700; }
.hero-foot-sep { width: 36px; height: 1px; background: rgba(255,255,255,.3); }
.hero-foot-phone { margin-left: auto; color: rgba(255,255,255,.9); font-weight: 700; letter-spacing: .02em; }
.hero-foot-phone:hover { color: var(--gold); }

/* ============================================================
   CREDENTIALS STRIP
   ============================================================ */
.creds-strip {
  background: linear-gradient(180deg, var(--blue-950), var(--blue-900));
  color: var(--paper);
  border-top: 3px solid var(--gold);
}
.creds-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.cred {
  padding: clamp(1.7rem, 1.2rem + 1.8vw, 2.8rem) clamp(1rem,.5rem + 1.5vw,1.9rem);
  display: flex; flex-direction: column; gap: .45rem;
  position: relative;
}
.cred + .cred::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: rgba(255,255,255,.13);
}
.cred-k {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.45rem, 1rem + 1.7vw, 2.3rem);
  letter-spacing: -0.015em;
  color: var(--gold);
  line-height: 1;
}
.cred-v { font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.4; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: var(--section-y); background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 1rem + 6vw, 6rem);
  align-items: center;
}

/* crafted credential card (replaces empty placeholder panel) */
.about-visual { position: relative; }
.about-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, var(--blue-800), var(--blue-950) 78%);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
  display: flex; flex-direction: column;
  min-height: 460px;
  isolation: isolate;
}
.about-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 24px);
}
.about-card::after {
  content: "";
  position: absolute; right: -18%; top: -22%; z-index: 0;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,178,27,.28), transparent 68%);
}
.about-card > * { position: relative; z-index: 1; }
.about-card-top {
  display: flex; align-items: center; justify-content: space-between;
  color: rgba(255,255,255,.7);
  font-family: var(--display); font-weight: 700;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
}
.about-card-marks { display: none; }
.about-card-marks span {
  width: 13px; height: 13px; transform: rotate(45deg);
  border: 2px solid rgba(246,178,27,.6);
}
.about-card-marks span:first-child { background: var(--gold); border-color: var(--gold); }
.about-roofline { width: 100%; height: auto; margin: auto 0; display: block; }
.about-roofline .rf-back  { fill: rgba(127,178,230,.22); }
.about-roofline .rf-front { fill: rgba(127,178,230,.42); }
.about-roofline .rf-ridge { fill: none; stroke: var(--gold); stroke-width: 3; }
.about-card-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; overflow: hidden;
}
.about-card-stats div {
  background: rgba(8,27,48,.35);
  padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.about-card-stats b {
  font-family: var(--display); font-weight: 800; font-size: 1.18rem;
  color: var(--gold); letter-spacing: -.01em;
}
.about-card-stats span { font-size: .82rem; color: rgba(255,255,255,.78); line-height: 1.4; }

.about-badge {
  position: absolute;
  right: clamp(-.6rem, -1rem + 1.5vw, -1.8rem);
  top: clamp(-1.1rem, -1.4rem + 1vw, 1rem);
  background: linear-gradient(180deg, var(--gold-400), var(--gold));
  color: var(--ink);
  padding: 1.1rem 1.45rem;
  border-radius: 14px;
  box-shadow: 0 26px 44px -18px rgba(246,178,27,.7);
  z-index: 2;
}
.about-badge-top {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: .8; margin-bottom: .3rem;
}
.about-badge-main {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem); line-height: 1.05;
}

.about-copy p { color: var(--slate); margin-top: 1.15rem; max-width: 56ch; }
.about-copy p:first-of-type { margin-top: 0; }
.about-points {
  list-style: none; padding: 0;
  margin-top: 2rem;
  display: grid; gap: .9rem;
}
.about-points li {
  position: relative; padding-left: 2rem;
  font-weight: 600; color: var(--blue-900);
}
.about-points li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 18px; height: 18px;
  background: var(--blue-600);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding-block: var(--section-y);
  background: var(--cloud);
  background-image: radial-gradient(circle at 100% 0%, rgba(23,99,176,.07), transparent 42%);
}
.services-head { max-width: 740px; margin-bottom: clamp(2.6rem, 1.5rem + 3vw, 4.2rem); }
.services-sub { color: var(--slate); margin-top: 1.3rem; font-size: var(--fs-lead); line-height: 1.5; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.9rem, .5rem + 1vw, 1.35rem);
}
.svc {
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.1rem + 1vw, 2.1rem);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.svc:hover::before { width: 100%; }

.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.svc-ico {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cloud);
  color: var(--blue-700);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-ico { background: var(--blue-900); color: var(--gold); transform: rotate(-4deg); }
.svc-num {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: 1.35rem; letter-spacing: .01em;
  color: var(--blue-300);
  opacity: .85;
}
.svc h3 {
  font-family: var(--display); font-weight: 800;
  font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -.01em;
  color: var(--blue-900);
  margin-bottom: .65rem;
}
.svc p { color: var(--slate); font-size: .96rem; line-height: 1.55; }

/* feature tile spans 2x2 area */
.svc-feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(155deg, var(--blue-800), var(--blue-950) 78%);
  border-color: transparent;
  color: var(--paper);
  justify-content: flex-end;
  isolation: isolate;
}
.svc-feature::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 22px);
  mask-image: radial-gradient(120% 90% at 100% 0%, #000, transparent 70%);
}
.svc-feature > * { position: relative; z-index: 1; }
.svc-feature .svc-top { margin-bottom: auto; }
.svc-feature .svc-ico { width: 58px; height: 58px; background: rgba(255,255,255,.1); color: var(--gold); }
.svc-feature:hover .svc-ico { background: var(--gold); color: var(--blue-900); }
.svc-feature .svc-num { color: rgba(255,255,255,.6); }
.svc-feature h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; color: var(--paper); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); margin-top: 1.6rem; }
.svc-feature p { color: rgba(255,255,255,.82); font-size: 1.04rem; max-width: 42ch; }
.svc-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.svc-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; color: var(--gold);
  margin-top: 1.5rem;
}
.svc-link span { transition: transform .25s var(--ease); }
.svc-link:hover span { transform: translateX(6px); }

/* ============================================================
   MATERIALS
   ============================================================ */
.materials { padding-block: var(--section-y); background: var(--paper); }
.materials-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.materials-copy p { color: var(--slate); margin-top: 1.15rem; max-width: 52ch; }
.materials-tags {
  list-style: none; padding: 0; margin-top: 1.9rem;
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.materials-tags li {
  font-family: var(--display); font-weight: 600; font-size: .88rem;
  padding: .52rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--blue-800);
  background: var(--cloud);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.materials-tags li:hover { background: var(--blue-900); color: var(--paper); border-color: var(--blue-900); }

.materials-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mat-logo {
  background: var(--paper);
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  padding: 1.4rem;
  transition: background .3s var(--ease);
}
.mat-logo img {
  max-height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .66;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.mat-logo:hover { background: var(--cloud); }
.mat-logo:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.mat-logo-text span {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(.95rem, .8rem + .6vw, 1.25rem);
  letter-spacing: -.01em;
  color: var(--slate-2);
  transition: color .3s var(--ease);
  text-align: center;
}
.mat-logo-text:hover span { color: var(--blue-800); }

/* ============================================================
   AREAS
   ============================================================ */
.areas {
  position: relative;
  padding-block: clamp(4.5rem, 2.8rem + 5vw, 7.5rem);
  background: linear-gradient(150deg, var(--blue-900), var(--ink) 92%);
  color: var(--paper);
  overflow: hidden;
}
.areas::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 70%);
}
.areas::after {
  content: "";
  position: absolute; left: -6%; bottom: -40%; z-index: 0;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,178,27,.16), transparent 66%);
}
.areas-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.areas-body p { color: rgba(255,255,255,.82); max-width: 46ch; }
.areas-body .btn { margin-top: 1.9rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-block: var(--section-y); background: var(--paper); }
.contact-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.contact-copy p { color: var(--slate); margin-top: 1.15rem; max-width: 48ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }

.contact-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.7rem, 1.2rem + 1.5vw, 2.7rem);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 130px; height: 130px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: .95;
}
.contact-list { display: grid; gap: 1.45rem; position: relative; }
.contact-list > div { display: grid; gap: .25rem; }
.contact-list dt {
  font-family: var(--display); font-weight: 700;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-600);
}
.contact-list dd {
  font-size: 1.05rem; color: var(--blue-900); font-weight: 500; line-height: 1.5;
}
.contact-list dd a { transition: color .2s var(--ease); }
.contact-list dd a:hover { color: var(--gold-600); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(3rem,2rem+3vw,4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(1.8rem, 1rem + 3vw, 4rem);
  padding-bottom: 2.6rem;
}
.footer-logo { height: 50px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34ch; font-size: .95rem; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: .7rem; }
.footer-nav a {
  font-family: var(--display); font-weight: 600;
  color: rgba(255,255,255,.8); width: fit-content;
  transition: color .2s var(--ease);
}
.footer-nav a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; font-size: .96rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.5rem;
  font-size: .85rem; color: rgba(255,255,255,.5);
}

/* ---------- spec footer (mandatory) ---------- */
.spec-footer {
  background: #06090d;
  color: rgba(255,255,255,.5);
  text-align: center;
  font-size: .82rem;
  line-height: 1.6;
  padding: 1.3rem var(--gutter);
}
.spec-footer a { color: var(--gold); text-decoration: underline; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.no-js .reveal { opacity: 1; transform: none; }
.no-js .hero-skyline .ridge { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .svc, .mat-logo img { transition: none !important; }
  .hero-skyline .ridge { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero-beam { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav { display: none; }
  .btn-call { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 72px; }

  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-visual { max-width: 460px; }
  .materials-grid { grid-template-columns: 1fr; }
  .areas-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-feature { grid-column: span 2; grid-row: auto; }
  .svc-feature .svc-top { margin-bottom: 1.2rem; }
}

@media (max-width: 620px) {
  .creds-row { grid-template-columns: repeat(2, 1fr); }
  .cred + .cred::before { display: none; }
  .cred:nth-child(odd)::after {
    content: ""; position: absolute; right: 0; top: 22%; bottom: 22%;
    width: 1px; background: rgba(255,255,255,.13);
  }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-feature { grid-column: auto; }
  .about-card-stats { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-foot-phone { margin-left: 0; flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .creds-row { grid-template-columns: 1fr; }
  .cred:nth-child(odd)::after { display: none; }
}
