/* ============================================================
   Tico's Roofing — spec preview
   Design system
   ============================================================ */
:root {
  /* brand */
  --slate:      #1b2530;   /* primary  */
  --slate-deep: #131b24;
  --slate-soft: #2a3744;
  --cream:      #f5f1ea;   /* secondary */
  --cream-deep: #ece5d9;
  --copper:     #c2602e;   /* accent */
  --copper-lt:  #d6783f;
  --ink:        #1a1f25;
  --muted:      #5b6470;
  --muted-dark: #aab4c0;
  --line:       #e2dac9;
  --white:      #ffffff;

  /* type */
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Hoefler Text", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* fluid type scale */
  --fs-eyebrow: 0.78rem;
  --fs-body:    clamp(1rem, 0.96rem + 0.3vw, 1.125rem);
  --fs-lede:    clamp(1.12rem, 1rem + 0.7vw, 1.4rem);
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --fs-h1:      clamp(2.6rem, 1.8rem + 4.4vw, 5.6rem);
  --fs-stat:    clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);

  /* spacing */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --shell: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(19,27,36,.08);
  --shadow-md: 0 18px 50px -22px rgba(19,27,36,.5);
  --shadow-lg: 0 40px 90px -40px rgba(19,27,36,.7);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.012em; overflow-wrap: break-word; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.shell { width: min(100% - 2.6rem, var(--shell)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--slate); color: var(--cream); padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--copper); display: inline-block;
}
.eyebrow.on-dark { color: var(--copper-lt); }

.section-title { font-size: var(--fs-h2); max-width: 16ch; }
.section-title.light { color: var(--cream); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--slate);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  text-decoration: none; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 999px;
  background: var(--bg); color: var(--cream);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(-1px); }
.btn-accent { --bg: var(--copper); color: #fff; box-shadow: 0 12px 30px -14px rgba(194,96,46,.9); }
.btn-accent:hover { --bg: var(--copper-lt); }
.btn-ghost {
  background: transparent; color: var(--cream); border-color: rgba(245,241,234,.5);
}
.btn-ghost:hover { background: rgba(245,241,234,.1); border-color: var(--cream); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,241,234,.0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160%; z-index: -1;
  background: linear-gradient(180deg, rgba(15,21,28,.6) 0%, rgba(15,21,28,0) 100%);
  pointer-events: none; transition: opacity .35s var(--ease); opacity: 1;
}
.site-header.is-stuck::before { opacity: 0; }
.site-header.is-stuck {
  background: rgba(245,241,234,.92);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--cream); transition: color .35s var(--ease); }
.site-header.is-stuck .brand { color: var(--slate); }
.brand-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--copper); color: #fff; flex: none;
  box-shadow: var(--shadow-sm);
}
.brand-type { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .72; font-weight: 600; }

.site-nav { margin-left: auto; display: flex; gap: 1.9rem; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: .96rem;
  color: var(--cream); opacity: .9; position: relative; padding: .3rem 0;
  transition: color .35s var(--ease), opacity .2s var(--ease);
}
.site-header.is-stuck .site-nav a { color: var(--slate); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); }

.btn-phone {
  display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1;
  text-decoration: none; padding: .55rem 1.2rem; border-radius: 999px;
  background: var(--copper); color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-phone:hover { transform: translateY(-2px); background: var(--copper-lt); box-shadow: var(--shadow-md); }
.btn-phone-label { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.btn-phone-num { font-weight: 700; font-size: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: var(--cream); isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.06); transform-origin: 60% 40%;
  animation: heroDrift 26s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1.0); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* warm sky kept top-right */
    radial-gradient(125% 95% at 84% 2%, rgba(214,120,63,.30) 0%, rgba(214,120,63,0) 44%),
    /* deliberate dark column poured behind the copy (left third holds solid) */
    linear-gradient(93deg, rgba(10,15,21,.96) 0%, rgba(13,19,26,.86) 26%, rgba(15,21,28,.42) 54%, rgba(15,21,28,.06) 80%, rgba(15,21,28,0) 100%),
    /* top-to-bottom seat so the headline and ticker both anchor */
    linear-gradient(180deg, rgba(13,19,26,.64) 0%, rgba(13,19,26,.30) 32%, rgba(13,19,26,.70) 74%, rgba(11,16,22,.98) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* rotated editorial label filling the empty upper-right sky */
.hero-flag {
  position: absolute; z-index: 1; top: clamp(7rem, 16vh, 12rem); right: clamp(1.7rem, 3.2vw, 3rem);
  writing-mode: vertical-rl;
  font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(245,241,234,.74);
  padding-block: 1.3rem;
  border-top: 2px solid var(--copper-lt);
  border-bottom: 1px solid rgba(245,241,234,.3);
}

.hero-grid {
  position: relative;
  padding-top: clamp(4rem, 7vw, 8rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
  min-height: min(88svh, 860px);
  grid-template-columns: 1fr;
}
.hero-copy { max-width: 40rem; }
.hero .eyebrow { color: var(--copper-lt); text-shadow: 0 1px 14px rgba(11,16,22,.6); }
.hero-title {
  font-size: var(--fs-h1); margin: 0 0 1.4rem; text-wrap: balance;
  text-shadow: 0 2px 38px rgba(11,16,22,.55), 0 1px 2px rgba(11,16,22,.35);
}
.hero-title::after {
  content: ""; display: block; width: clamp(56px, 7vw, 96px); height: 3px; margin-top: 1.4rem;
  background: linear-gradient(90deg, var(--copper), var(--copper-lt));
  border-radius: 3px;
}
.hero-lede { font-size: var(--fs-lede); max-width: 38ch; color: #f3eee5; margin: 0 0 2rem; text-shadow: 0 1px 16px rgba(11,16,22,.45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 1.7rem clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27,37,48,.62), rgba(15,21,28,.62));
  border: 1px solid rgba(245,241,234,.16);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: 0 30px 60px -38px rgba(0,0,0,.85);
}
.hero-stats li { display: flex; flex-direction: column; gap: .35rem; position: relative; }
.hero-stats li + li { padding-left: clamp(1rem, 2.5vw, 2rem); }
.hero-stats li + li::before {
  content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 1px;
  background: rgba(245,241,234,.16);
}
.stat-num { font-family: var(--display); font-size: var(--fs-stat); font-weight: 600; line-height: 1; color: var(--cream); }
.stat-num::after { content: ""; display: block; width: 22px; height: 2px; background: var(--copper); margin-top: .5rem; }
.stat-label { font-size: .8rem; line-height: 1.35; letter-spacing: .03em; color: var(--muted-dark); max-width: 18ch; }

.hero-ticker {
  position: relative; z-index: 1;
  background: var(--copper);
  color: #fff; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.15);
}
.ticker-track {
  display: flex; align-items: center; gap: 1.4rem; white-space: nowrap;
  padding: .85rem 0; width: max-content;
  font-weight: 600; font-size: .92rem; letter-spacing: .05em; text-transform: uppercase;
  animation: ticker 32s linear infinite;
}
.ticker-track .dot { opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; white-space: normal; width: auto; padding: .8rem 1.3rem; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: var(--space-section); background: var(--cream); }
.about-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.about-figure { position: relative; }
.about-figure::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(194,96,46,.06), rgba(27,37,48,.04));
}
.about-photo {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--slate-deep);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: grayscale(.28) contrast(1.12) saturate(1.06) brightness(1.02);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
/* warm low-grayscale grade + soft-light kiss: a clean, intentional detail crop, not a murky reuse of the hero */
.about-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(155deg, rgba(13,19,26,.5) 0%, rgba(13,19,26,0) 44%, rgba(194,96,46,.4) 100%);
  mix-blend-mode: soft-light;
}
.about-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(13,18,24,0) 48%, rgba(13,18,24,.62) 100%);
  pointer-events: none;
}
.about-figure:hover .about-photo img { transform: scale(1.07); }
.about-badge {
  position: absolute; right: -14px; bottom: -24px; z-index: 3;
  background: var(--slate); color: var(--cream);
  padding: 1.05rem 1.35rem 1.15rem; border-radius: 16px;
  display: flex; flex-direction: column; gap: .4rem; line-height: 1.1;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-soft);
  max-width: 13.5rem;
}
.about-badge::before {
  content: ""; width: 24px; height: 2px; background: var(--copper-lt); border-radius: 2px;
}
.badge-text { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; opacity: .82; font-weight: 600; }
.badge-year { font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--copper-lt); }

.about-copy .section-title { margin-bottom: 1.4rem; max-width: 18ch; }
.about-copy p { color: var(--muted); max-width: 52ch; }
.value-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.value-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.value-k { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--copper); }
.value-b { color: var(--muted); font-size: .98rem; }
.value-b strong { color: var(--ink); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding-block: var(--space-section); background: var(--slate); color: var(--cream); position: relative; overflow: hidden; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(70% 55% at 88% -5%, rgba(194,96,46,.18) 0%, rgba(194,96,46,0) 60%),
    radial-gradient(60% 50% at -5% 105%, rgba(42,55,68,.6) 0%, rgba(42,55,68,0) 60%);
}
.services .shell { position: relative; z-index: 1; }
.services-head { max-width: 60rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services-intro { color: var(--muted-dark); max-width: 56ch; font-size: var(--fs-lede); margin-top: 1.2rem; }

.services-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
  counter-reset: svc;
}
.svc {
  position: relative;
  background: linear-gradient(165deg, rgba(42,55,68,.9) 0%, rgba(27,37,48,.92) 100%);
  border: 1px solid rgba(245,241,234,.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-lt));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
  z-index: 3;
}
.svc:hover {
  transform: translateY(-6px);
  border-color: rgba(214,120,63,.45);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.8);
}
.svc:hover::before { transform: scaleX(1); }
.svc-body { padding: 1.7rem 1.6rem 1.9rem; }
.svc-body h3 { font-size: var(--fs-h3); margin-bottom: .55rem; }
.svc:not(.svc-lg) { counter-increment: svc; }
.svc:not(.svc-lg) .svc-body::before {
  content: counter(svc, decimal-leading-zero);
  display: block; font-family: var(--display); font-size: .92rem; font-weight: 600;
  letter-spacing: .14em; color: var(--copper-lt); opacity: .9; margin-bottom: 1rem;
}
.svc p { color: var(--muted-dark); margin: 0; font-size: .98rem; }

.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 16%;
  filter: grayscale(.62) saturate(.78) contrast(1.14) brightness(.78);
  transition: transform 1s var(--ease);
}
.svc-lg:hover .svc-media img { transform: scale(1.06); }
.svc-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,27,36,0) 30%, rgba(19,27,36,.7) 100%),
    linear-gradient(110deg, rgba(194,96,46,.18) 0%, rgba(194,96,46,0) 55%);
}
.svc-lg .svc-body { padding-top: 1.4rem; }
.svc-lg .svc-body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

.svc-list ul { display: grid; gap: .55rem; margin-top: .3rem; }
.svc-list li {
  position: relative; padding-left: 1.5rem; color: var(--muted-dark); font-size: .96rem;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  background: var(--copper); transform: rotate(45deg);
}

/* ============================================================
   WORK / CTA BAND
   ============================================================ */
.work { position: relative; color: var(--cream); isolation: isolate; }
.work-media { position: absolute; inset: 0; z-index: -2; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; filter: grayscale(.7) saturate(.5) contrast(1.18) brightness(.74); }
.work-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 120% at 12% 18%, rgba(194,96,46,.22) 0%, rgba(194,96,46,0) 50%),
    linear-gradient(100deg, rgba(15,21,28,.96) 0%, rgba(19,27,36,.8) 46%, rgba(27,37,48,.42) 100%);
}
.work-inner { padding-block: clamp(5rem, 9vw, 9rem); }
.work-copy { max-width: 38rem; }
.work-copy .section-title { margin-bottom: 1.2rem; max-width: 20ch; }
.work-copy p { color: #ece5d9; font-size: var(--fs-lede); margin-bottom: 2rem; max-width: 46ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-block: var(--space-section); background: var(--cream); }
.contact-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
.contact-copy .section-title { margin-bottom: 1.3rem; max-width: 18ch; }
.contact-copy > p { color: var(--muted); max-width: 50ch; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin: 1.8rem 0 1.4rem; }
.contact-line {
  display: flex; flex-direction: column; text-decoration: none; line-height: 1.15;
  padding-right: 1.4rem; border-right: 1px solid var(--line);
}
.cl-k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .25rem; }
.cl-v { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 600; color: var(--slate); transition: color .25s var(--ease); }
.contact-line:hover .cl-v { color: var(--copper); }
.contact-meta { font-size: .86rem; color: var(--muted); letter-spacing: .02em; }

.contact-card {
  position: relative; overflow: hidden;
  background: var(--slate); color: var(--cream);
  border-radius: var(--radius-lg); padding: 2.2rem 2rem;
  box-shadow: var(--shadow-md);
}
.card-watermark { position: absolute; right: -30px; top: -30px; width: 180px; opacity: .06; pointer-events: none; }
.card-watermark img { width: 100%; filter: brightness(2); }
.contact-card h3 { font-size: var(--fs-h3); margin-bottom: 1.2rem; }
.contact-card ul { display: grid; gap: .85rem; }
.contact-card li {
  position: relative; padding-left: 1.8rem; color: var(--muted-dark); font-size: .98rem;
}
.contact-card li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.05rem; height: 1.05rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6783f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--slate-deep); color: var(--cream); padding-block: 2.8rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer-brand { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand .brand-sub { opacity: .7; margin-top: .2rem; }
.footer-phone { margin-left: auto; font-family: var(--display); font-size: 1.5rem; font-weight: 600; text-decoration: none; color: var(--cream); transition: color .25s var(--ease); }
.footer-phone:hover { color: var(--copper-lt); }
.footer-fine { width: 100%; margin: .4rem 0 0; font-size: .82rem; opacity: .6; }

/* spec footer (required verbatim) */
.spec-footer {
  background: #0e141b; color: #aab4c0;
  font-family: var(--sans); font-size: .82rem; line-height: 1.6;
  text-align: center; padding: 1.2rem 1.4rem;
}
.spec-footer a { color: var(--copper-lt); }

/* ============================================================
   REVEAL ANIMATION (visible by default; JS adds .reveal-ready)
   ============================================================ */
.reveal-ready [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }
.reveal-ready [data-reveal].stagger { transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.4fr .8fr; align-items: end; }
  .hero-stats { align-self: end; }
  .about-grid { grid-template-columns: .92fr 1.08fr; }
  .contact-grid { grid-template-columns: 1.2fr .8fr; }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
  }
  .svc-lg { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .svc-lg .svc-media { flex: 1; aspect-ratio: auto; min-height: 240px; }
}

@media (max-width: 879px) {
  .site-nav { display: none; }
  .hero-flag { display: none; }
}
@media (max-width: 540px) {
  .header-inner { gap: .8rem; min-height: 66px; }
  .brand-sub { display: none; }
  .btn-phone-num { font-size: .92rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; padding: 1.4rem; }
  .hero-stats li:last-child { grid-column: span 2; }
  .hero-stats li + li { padding-left: 0; }
  .hero-stats li + li::before { display: none; }
  .hero-stats li:nth-child(2) { padding-left: clamp(1rem, 5vw, 2rem); border-left: 1px solid rgba(245,241,234,.16); }
  .about-badge { right: 0; }
  .about-figure::before { inset: 10px -8px -10px 8px; }
  .contact-line { border-right: none; padding-right: 0; }
  .contact-actions { gap: 1rem; }
}
