/* Phoenix Roofing Industries — refined single-page build */

:root {
  --bg: #f6f1ea;
  --bg-2: #eee5d9;
  --surface: #fffdfa;
  --surface-2: #f1e9df;
  --ink: #1a1612;
  --muted: #6a6258;
  --subtle: #8a8278;
  --ember: #d94715;
  --ember-deep: #b9370f;
  --ember-soft: #f3d8ca;
  --on-ink: #fffbf7;
  --on-ink-muted: #c9c0b5;
  --ink-line: #342d27;
  --border: #e2d7ca;
  --ring: #d94715;
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-height: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font-sans);
}

body.menu-open { overflow: hidden; }

/* Keeps the home links at the exact document start, not the hero's content box. */
.top-anchor { position: absolute; top: 0; left: 0; }
section[id] { scroll-margin-top: var(--header-height); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--ember); color: #fff; }

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

.skip-link {
  position: fixed;
  left: .75rem;
  top: .75rem;
  z-index: 200;
  padding: .65rem .9rem;
  border-radius: .5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.035em;
}

.eyebrow {
  color: var(--ember);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-deep); }
.btn-outline { background: var(--surface); border-color: var(--border); }
.btn-outline:hover { background: var(--surface-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); }
.btn-lg { min-height: 3.15rem; padding-inline: 1.35rem; font-size: .95rem; }
.btn-block { width: 100%; }

.group-nudge .nudge { transition: transform .25s var(--ease); }
.group-nudge:hover .nudge { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  width: min(72rem, calc(100% - 2rem));
  height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; min-width: 0; align-items: center; }
.brand-logo { width: auto; height: 3.2rem; max-width: 13rem; object-fit: contain; }

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  position: relative;
  padding: .25rem 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -.15rem;
  height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.menu-btn, .drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: .55rem;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.menu-btn { width: 2.8rem; height: 2.8rem; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(26,22,18,.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 111;
  width: min(25rem, 88vw);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background-color: #fffdfa;
  background-image: linear-gradient(160deg, #fffdfa 0%, #f6f1ea 100%);
  box-shadow: -1.5rem 0 4rem rgba(26,22,18,.28);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
body.menu-open .drawer { transform: translateX(0); }
body.menu-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-title { font: 600 1.55rem/1 var(--font-display); }
.drawer-close { width: 2.65rem; height: 2.65rem; }
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: 2rem;
}
.drawer-nav a {
  padding: .85rem .65rem;
  border-radius: .55rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.drawer-nav a:hover { background: var(--surface-2); }
.drawer-actions {
  display: grid;
  gap: .65rem;
  margin-top: auto;
}

/* Hero + Stats Banner (single viewport height) */
.hero-stats-banner {
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding-top: 1.5rem;
}

/* Hero */
.hero {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0;
  min-height: 0;
}
.hero-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
.hero-copy { max-width: 38rem; }
.hero h1 {
  max-width: 34rem;
  margin-top: .9rem;
  font-size: clamp(2.8rem, 9vw, 4.4rem);
  line-height: .99;
}
.hero-body {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.hero-established {
  margin-top: .75rem;
  color: var(--ember);
  font-size: 1rem!important;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.hero-trust span {
  padding: .4rem .65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: .75rem;
  font-weight: 600;
}
.hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg-2);
  box-shadow: 0 1.5rem 4rem rgba(45,34,25,.10);
}
.hero-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  max-height: 40vh;
}
.hero-caption {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  padding: .45rem .7rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: .45rem;
  background: rgba(255,253,250,.86);
  backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 600;
}
.group-zoom img { transition: transform .9s var(--ease); }
.group-zoom:hover img { transform: scale(1.035); }

/* Small, reusable reveal used as sections enter the viewport. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.hero-in { animation: rise-in .8s var(--ease) both; }
.hero h1.hero-in { animation-delay: 80ms; }
.hero-body.hero-in { animation-delay: 160ms; }
.hero-established.hero-in { animation-delay: 200ms; }
.hero-actions.hero-in { animation-delay: 240ms; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Stats */
.stats {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.stats-grid {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat-card {
  padding: 1.2rem 1rem;
  background: var(--surface);
  transition: background-color .25s ease, transform .3s var(--ease);
}
.stat-card:hover { background: #fff; transform: translateY(-2px); }
.stat-value {
  font: 500 1.6rem/1 var(--font-display);
  letter-spacing: -.025em;
}
.stat-label { margin-top: .25rem; color: var(--muted); font-size: .75rem; }

/* Generic section */
.section { padding: 5.5rem 0; }
.section-head { max-width: 43rem; }
.section-title {
  margin-top: .7rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.03;
}
.section-muted { max-width: 39rem; margin-top: 1rem; line-height: 1.7; }

/* Materials */
.materials-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 3.25rem;
}
.material {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.material-figure {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg-2);
  box-shadow: 0 0 0 rgba(45,34,25,0);
  transition: box-shadow .35s var(--ease);
}
.material:hover .material-figure { box-shadow: 0 1rem 2.5rem rgba(45,34,25,.12); }
.material-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.kicker {
  color: var(--subtle);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}
.material-title { margin-top: .65rem; font-size: clamp(1.8rem, 4vw, 2.35rem); }
.material-body { margin-top: .9rem; color: var(--muted); line-height: 1.7; }
.points {
  display: grid;
  gap: .65rem;
  margin-top: 1.25rem;
}
.points li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .87rem;
}
.points li::before {
  content: "";
  width: .5rem;
  height: .5rem;
  flex: 0 0 .5rem;
  margin-top: .42rem;
  border-radius: 50%;
  background: var(--ember);
}
.material-more {
  margin-top: 4.5rem;
  padding: 1.75rem 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background:
    linear-gradient(165deg, #fffdfa 0%, #f8f3ec 100%);
  box-shadow: 0 0.6rem 1.75rem rgba(45, 34, 25, 0.05);
}
.material-more-top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}
.material-more-title {
  margin-top: 0.4rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  line-height: 1.15;
}
.material-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  color: var(--ember);
  font-size: 0.84rem;
  font-weight: 700;
}
.material-more-link span {
  transition: transform 0.25s var(--ease);
}
.material-more-link:hover span {
  transform: translateX(3px);
}

.also-groups {
  display: grid;
  gap: 1.35rem;
}
.also-group-label {
  margin-bottom: 0.55rem;
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.also-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.also-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.78rem;
  border: 1px solid color-mix(in srgb, var(--border) 88%, #c4b8a8);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 1px 0 rgba(45, 34, 25, 0.03);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease);
}
.also-chip:hover {
  border-color: #d5c6b7;
  background: var(--surface);
  transform: translateY(-1px);
}

.text-link { color: var(--ember); font-size: .88rem; font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* Approach */
.approach {
  padding: 5.5rem 0;
  background: var(--ink);
  color: var(--on-ink);
}
.approach .section-title { color: var(--on-ink); }
.approach-intro { margin-top: .9rem; color: var(--on-ink-muted); }
.approach-grid {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: 1rem;
  background: var(--ink-line);
}
.approach-card {
  position: relative;
  min-height: 15rem;
  padding: 1.65rem;
  background: var(--ink);
  transition: background-color .25s ease, transform .35s var(--ease);
}
.approach-card:hover { background: #211c18; transform: translateY(-3px); }
.step {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #746b62;
  font: 500 .8rem var(--font-display);
}
.approach-icon { width: 2rem; height: 2rem; color: var(--ember); }
.approach-title { margin-top: 1.3rem; font-size: 1.1rem; }
.approach-body { max-width: 22rem; margin-top: .55rem; color: var(--on-ink-muted); font-size: .87rem; line-height: 1.65; }

/* Solutions — intentionally no real project photos */
.solutions { background: var(--bg); }
.work-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}
.work-sub { max-width: 26rem; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.solution-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}
.solution-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.solution-card:hover {
  border-color: #d5c6b7;
  box-shadow: 0 1.1rem 2.5rem rgba(45,34,25,.11);
  transform: translateY(-5px);
}
.solution-visual {
  position: relative;
  height: 14rem;
  overflow: hidden;
  background: linear-gradient(135deg, #ded7ce, #f7f2eb);
}
.solution-visual > span { transition: transform .55s var(--ease); }
.solution-card:hover .roof-shape,
.solution-card:hover .shed-roof { transform: translateY(-5px); }
.solution-card:hover .building-shape,
.solution-card:hover .shed-wall { transform: translateY(-2px); }
.solution-content { padding: 1.35rem; }
.solution-number {
  color: var(--ember);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.solution-content h3 { margin-top: .45rem; font-size: 1.7rem; }
.solution-content p { margin-top: .6rem; color: var(--muted); font-size: .87rem; line-height: 1.65; }

/* CSS illustrations */
.solution-villa .roof-shape {
  position: absolute;
  width: 75%;
  height: 58%;
  left: 12%;
  top: 13%;
  background: #34302b;
  clip-path: polygon(50% 0, 100% 58%, 100% 72%, 0 72%, 0 58%);
  box-shadow: inset 0 -12px 0 rgba(217,71,21,.75);
}
.solution-villa .building-shape {
  position: absolute;
  width: 62%;
  height: 45%;
  left: 19%;
  bottom: 0;
  background: #e9e1d6;
  border: 2px solid #b8aea2;
}
.window-shape {
  position: absolute;
  width: 13%;
  height: 18%;
  left: 32%;
  bottom: 10%;
  background: #9da8ad;
  border: 3px solid #f7f2eb;
}
.window-two { left: 55%; }

.solution-commercial .grid-roof {
  position: absolute;
  inset: 20% 8% auto;
  height: 42%;
  background: repeating-linear-gradient(90deg, #55504a 0 7px, #aaa39a 7px 10px);
  transform: perspective(300px) rotateX(52deg) rotateZ(-2deg);
  box-shadow: 0 1rem 1.5rem rgba(25,20,16,.18);
}
.column {
  position: absolute;
  bottom: -5%;
  width: 7%;
  height: 70%;
  background: #d2c8bc;
  border-inline: 2px solid #a9a096;
}
.column-one { left: 18%; }
.column-two { left: 47%; }
.column-three { right: 18%; }

.solution-industrial .shed-roof {
  position: absolute;
  width: 78%;
  height: 54%;
  left: 11%;
  top: 17%;
  background: repeating-linear-gradient(90deg, #9a938b 0 8px, #d0c9c0 8px 12px);
  clip-path: polygon(0 32%, 78% 0, 100% 16%, 100% 100%, 0 100%);
}
.solution-industrial .shed-wall {
  position: absolute;
  width: 78%;
  height: 38%;
  left: 11%;
  bottom: 0;
  background: #c8beb2;
  border-top: 4px solid var(--ember);
}
.shed-door {
  position: absolute;
  width: 17%;
  height: 31%;
  left: 52%;
  bottom: 0;
  background: #756c64;
}
.shed-line {
  position: absolute;
  left: 20%;
  width: 58%;
  height: 1px;
  background: rgba(255,255,255,.7);
}
.line-one { top: 56%; }
.line-two { top: 63%; }
.line-three { top: 70%; }

/* Project reels */
.reels {
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.reels-head {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  justify-content: space-between;
}
.reels-profile {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .45rem;
  color: var(--ember);
  font-size: .88rem;
  font-weight: 700;
}
.reels-profile span, .reel-copy a span { transition: transform .25s var(--ease); }
.reels-profile:hover span, .reel-copy a:hover span { transform: translate(2px, -2px); }
.reels-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.reel-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg);
  transition: transform .4s var(--ease), border-color .4s ease, box-shadow .4s var(--ease);
}
.reel-card:hover {
  border-color: #d5c6b7;
  box-shadow: 0 1.2rem 2.8rem rgba(45,34,25,.12);
  transform: translateY(-4px);
}
.reel-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  background: var(--ink);
}
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.reel-card:hover .reel-video { transform: scale(1.025); }
.reel-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  padding: .32rem .52rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(26,22,18,.62);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.reel-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
}
.reel-copy p { color: var(--muted); font-size: .8rem; }
.reel-copy a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ember); font-size: .78rem; font-weight: 700; white-space: nowrap; }

/* Clients */
.clients {
  padding: 5.5rem 0 0;
  border-block: 1px solid var(--border);
  background: #fff;
}
.clients-head { text-align: center; }
.clients-head .section-muted { margin-inline: auto; }
.marquee-mask {
  overflow: hidden;
  margin-top: 2.5rem;
  padding-bottom: 4rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 9%, black 91%, transparent);
  mask-image: linear-gradient(to right, transparent, black 9%, black 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-group img { margin-inline: 1.5rem; }
.clients-logo {
  width: auto;
  height: 3rem;
  opacity: .58;
  filter: grayscale(100%) contrast(1.04);
  mix-blend-mode: multiply;
  transition: opacity .3s ease, filter .3s ease, transform .3s var(--ease);
}
.marquee-mask:hover .clients-logo { opacity: 1; filter: none; }
.clients-logo:hover { transform: scale(1.06); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Visit */
.visit {
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.visit-grid { display: grid; gap: 2.5rem; }
.visit-copy > .muted { max-width: 34rem; margin-top: 1rem; line-height: 1.7; }
.visit-details { display: grid; gap: 1.4rem; margin-top: 2.25rem; }
.detail { display: flex; gap: .75rem; }
.detail-icon { width: 1.25rem; height: 1.25rem; flex: 0 0 1.25rem; margin-top: .1rem; color: var(--ember); }
.detail-label { font-size: .83rem; font-weight: 700; }
.detail-text { max-width: 30rem; margin-top: .25rem; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.25rem; }
.footnote { margin-top: .85rem; color: var(--subtle); font-size: .72rem; }
.visit-map {
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.visit-map:hover { box-shadow: 0 1rem 2.5rem rgba(45,34,25,.12); transform: translateY(-3px); }
.map-frame {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
  filter: grayscale(1) contrast(.96);
}

/* Contact */
.contact {
  padding: 5.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.contact-banner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--ink);
  color: var(--on-ink);
}
.contact-banner h2 { margin-top: .5rem; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.contact-banner p:last-child { max-width: 35rem; margin-top: .75rem; color: var(--on-ink-muted); line-height: 1.65; }
.contact-banner-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.contact-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s var(--ease);
}
.contact-card:hover {
  border-color: #d5c6b7;
  box-shadow: 0 .9rem 2rem rgba(45,34,25,.08);
  transform: translateY(-3px);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--ember-soft);
  color: var(--ember);
  transition: transform .35s var(--ease), background-color .35s ease;
}
.contact-card:hover .contact-icon { background: #f0c8b6; transform: rotate(-6deg) scale(1.06); }
.card-label {
  margin-top: 1.1rem;
  color: var(--subtle);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-list { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .7rem; }
.contact-link { font-weight: 600; }
.contact-link:hover, .contact-email:hover { color: var(--ember); }
.contact-email { display: inline-block; margin-top: .7rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-address { display: flex; gap: .7rem; margin-top: 1.4rem; }
.address-icon { flex: 0 0 1.15rem; margin-top: .1rem; color: var(--ember); }
.address-label { font-size: .78rem; font-weight: 700; }
.address-text { margin-top: .2rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--ink);
  color: var(--on-ink);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 0%, rgba(217,71,21,.16), transparent 32rem);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 1.25rem;
}

.footer-main {
  display: grid;
  gap: 2.75rem;
}

.footer-brand { max-width: 25rem; }
.footer-brand-link { display: inline-flex; align-items: center; }
.footer-logo {
  width: auto;
  height: 4rem;
  margin-left: -3px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  max-width: 24rem;
  margin-top: 1rem;
  color: var(--on-ink-muted);
  font-size: .88rem;
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.35rem;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
}

.footer-cta span {
  color: var(--ember);
  transition: transform .2s var(--ease);
}

.footer-cta:hover span { transform: translate(2px, -2px); }

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-heading {
  margin-bottom: .9rem;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: .55rem;
  font-size: .84rem;
}

.footer-link {
  color: var(--on-ink-muted);
  transition: color .2s ease, transform .2s var(--ease);
}

.footer-link:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-hours {
  margin-top: .5rem;
  color: #8f877e;
  font-size: .75rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 3.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-line);
}

.footer-copy {
  color: #8f877e;
  font-size: .72rem;
}

.footer-bottom-links {
  font-size: .72rem;
  font-weight: 600;
}

.footer-bottom-links a { color: var(--on-ink-muted); }
.footer-bottom-links a:hover { color: #fff; }

/* Responsive */
@media (min-width: 640px) {
  .container, .hero, .header-inner { width: min(72rem, calc(100% - 3rem)); }
  .hero-stats-banner { padding-top: 2rem; }
  .hero { padding: 0; }
  .hero-img { max-height: 35vh; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-card { padding: 1.4rem 1.2rem; }
  .stat-value { font-size: 1.8rem; }
  .section, .approach, .visit, .contact { padding-block: 7rem; }
  .materials-list { gap: 6rem; }
  .material-more { padding: 1.9rem 1.6rem 1.65rem; }
  .material-more-top {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
  }
  .also-groups {
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem 2rem;
  }
  .also-group:last-child {
    grid-column: 2;
  }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
  .reels-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-visual { height: 15rem; }
  .clients { padding-top: 5rem; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.5fr .7fr .9fr; gap: 3rem; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn, .drawer, .drawer-backdrop { display: none; }
  .btn-hide-sm { display: inline-flex; }

  /* Header + hero + stats occupy one desktop viewport without clipping. */
  .hero-stats-banner {
    height: calc(100svh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: 0;
    padding-top: clamp(1rem, 2.5vh, 2rem);
  }
  .hero { display: grid; padding: 0; }
  .hero-img { max-height: none; }
  .hero-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 3rem;
    min-height: 0;
  }
  .hero h1 { font-size: clamp(2.75rem, 4.2vw, 3.5rem); }
  .stat-card { padding: clamp(.85rem, 1.5vh, 1.4rem) 1.2rem; }
  .stat-value { font-size: 1.8rem; }

  .material {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
  .material-reverse .material-figure { order: 2; }

  .material-more {
    padding: 2.1rem 2rem 1.85rem;
  }
  .also-groups {
    grid-template-columns: 1.5fr 1fr 0.85fr;
    gap: 1.75rem 2.25rem;
  }
  .also-group:last-child {
    grid-column: auto;
  }

  .work-head { flex-direction: row; align-items: end; }
  .reels-head { flex-direction: row; align-items: end; }
  .solution-grid { gap: 1.25rem; }

  .visit-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 4.5rem;
    align-items: center;
  }
  .map-frame { height: 28rem; }
  .visit-map { min-height: 28rem; }

  .contact-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
  }
  .contact-banner-actions { flex-shrink: 0; }
}

/* Short laptop windows favour content visibility over forcing a cramped fold. */
@media (min-width: 1024px) and (max-height: 659px) {
  .hero-stats-banner {
    height: auto;
    min-height: calc(100dvh - var(--header-height));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee-track { animation: none !important; }
  .group-zoom:hover img { transform: none; }
}

@media (max-width: 380px) {
  .hero-actions .btn, .contact-banner-actions .btn { width: 100%; }
}