/* Headings: Franklin Gothic Medium (chosen headline style A). Declared across the weight range so the
   real Medium face is used as-is at any heading weight; visitors without it get Libre Franklin. */
@font-face { font-family: "FREEZ Display"; src: local("Franklin Gothic Medium"), local("FranklinGothic-Medium"), local("Franklin Gothic URW Medium"); font-weight: 400 900; font-display: swap; }

/* FREEZ Construction: design system
   Brand guide: FREEZ Blue #1188a3 · FREEZ Orange #f16c20 · FREEZ Gray #808080 */
:root {
  --brand: #1188a3;        /* FREEZ Blue, the one teal */
  --brand-ink: #0c6a80;    /* same hue, darker: text on white */
  --brand-soft: rgba(17,136,163,.12);
  --orange: #f16c20;       /* FREEZ Orange */
  --gray: #808080;         /* FREEZ Gray */
  --ice: var(--brand);     /* legacy alias */
  --ink: #071118;          /* near-black navy */
  --ink-2: #0c1a24;
  --ink-3: #12293a;
  --snow: #ffffff;
  --paper: #f5f8fa;
  --line: rgba(255,255,255,.10);
  --line-dark: #e2e9ee;
  --text: #0b1820;
  --muted: #5b6b77;
  --good: #19a974; --warn: #f0a92b; --bad: #e5484d;
  --radius: 14px; --radius-lg: 24px;
  --shadow: 0 12px 32px rgba(7,17,24,.08);
  --shadow-lg: 0 40px 80px rgba(7,17,24,.28);
  --max: 1240px;
  /* Brand font: Franklin Gothic (brand marketing guide). Uses the installed / Adobe Fonts Franklin Gothic
     where available, and Libre Franklin (open-source Franklin Gothic revival, Google Fonts) everywhere else. */
  --font: "Franklin Gothic Book", "franklin-gothic-urw", "ITC Franklin Gothic", "Libre Franklin", "Arial Narrow", Arial, sans-serif;
  --display: "FREEZ Display", "franklin-gothic-urw", "Libre Franklin", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--snow); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--brand); color: #fff; }
h1,h2,h3,h4 { font-family: var(--display); line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .container { padding: 0 16px; } }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--orange)); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.accent { color: var(--orange); }
.teal { color: var(--brand); }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 1em 1.7em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; font-family: var(--font); transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px rgba(17,136,163,.35); }
.btn-primary:hover { background: #0f7891; box-shadow: 0 14px 40px rgba(17,136,163,.45); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 30px rgba(241,108,32,.3); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--line-dark); color: var(--text); background: var(--snow); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header.scrolled, .site-header.solid { background: rgba(7,17,24,.82); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; color: #fff; }
.logo { display: flex; align-items: center; gap: .6em; text-decoration: none; color: #fff; }
.logo img { height: 42px; width: auto; }
header .logo img { height: 64px; }
@media (max-width: 760px) { header .logo img { height: 52px; } }
.logo small { display: block; font-size: .55rem; letter-spacing: .3em; color: var(--brand); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase; opacity: .82; position: relative; padding: 6px 0; }
.nav-links a.btn { text-transform: uppercase; letter-spacing: .07em; font-size: .86rem; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--brand); transition: right .3s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ink); padding: 10px 20px 24px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; }
  .nav-links .btn { margin-top: 14px; }
}

/* Hero with video */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; padding: 140px 0 56px; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7,17,24,.55) 0%, rgba(7,17,24,.15) 30%, rgba(7,17,24,.55) 65%, rgba(7,17,24,.96) 100%),
  linear-gradient(90deg, rgba(7,17,24,.88) 0%, rgba(7,17,24,.55) 45%, rgba(7,17,24,.1) 80%); }
.hero .eyebrow { color: rgba(255,255,255,.88); }
.hero h1 { max-width: 16ch; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.hero h1 { line-height: 1.02; max-width: none; }
@media (min-width: 760px) { .hero h1 em { white-space: nowrap; } }
.hero h1 em { font-style: normal; color: var(--brand); text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.hero h1 .dot { color: #fff; }
.hero .lede { color: rgba(255,255,255,.86); max-width: 54ch; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; }
.hero h1 .h1-top { opacity: .72; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-cta .btn { text-transform: uppercase; letter-spacing: .07em; }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.video-toggle { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.scroll-cue { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--brand), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Stats band */
.stats-band { background: var(--ink); color: #fff; border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat b sup { font-size: .45em; color: var(--brand); margin-left: 2px; }
.stat span { display: block; margin-top: 10px; font-size: .88rem; color: rgba(255,255,255,.6); max-width: 22ch; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 26px 18px; border-left: 0; border-top: 1px solid var(--line); } .stat:first-child { padding-left: 18px; } }

/* Marquee */
.marquee { overflow: hidden; padding: 30px 0; border-bottom: 1px solid var(--line-dark); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: #9aa8b2; white-space: nowrap; letter-spacing: -.01em; }
.marquee span::before { content: "◆"; color: var(--brand); font-size: .6em; margin-right: 64px; vertical-align: middle; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { padding: clamp(72px, 10vw, 140px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lede { color: rgba(255,255,255,.7); }
.section-frost { background: var(--paper); }
.section-head { max-width: 800px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin: 0 auto; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Service cards */
.card { background: var(--snow); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 32px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 22px; transition: background .3s, color .3s; }
.card:hover .icon { background: var(--brand); color: #fff; }
.card p { color: var(--muted); margin: 0; }
.card a.more { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.card a.more::after { content: "→"; transition: transform .25s var(--ease); }
.card:hover a.more::after { transform: translateX(4px); }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover::after { transform: scaleX(1); }

/* Core values: The FREEZ Way */
.values-section { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.values-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 85% 0%, rgba(17,136,163,.28), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(241,108,32,.14), transparent 60%); }
.values-section .big-word { position: absolute; right: -2vw; bottom: -4vw; font-family: var(--display); font-weight: 700; font-size: clamp(8rem, 22vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); z-index: -1; letter-spacing: -.05em; user-select: none; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: v; }
@media (max-width: 1080px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }
.value { position: relative; padding: 34px 28px 32px; border-radius: var(--radius-lg); min-height: 360px; display: flex; flex-direction: column;
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)) border-box;
  border: 1px solid transparent; transition: transform .45s var(--ease), background .45s; overflow: hidden; }
.value:hover { transform: translateY(-8px);
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, linear-gradient(160deg, var(--brand), var(--orange)) border-box; }
.value .num { font-family: var(--display); font-weight: 700; font-size: 5.5rem; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(17,136,163,.9); transition: color .45s, -webkit-text-stroke-color .45s; }
.value:hover .num { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.value .tag { margin-top: auto; padding-top: 34px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.value h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); margin: 8px 0 12px; line-height: 1.05; }
.value p { color: rgba(255,255,255,.68); margin: 0; font-size: .97rem; }
.value .glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -90px; top: -90px; background: radial-gradient(circle, rgba(17,136,163,.45), transparent 65%); opacity: .35; transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.value:hover .glow { opacity: 1; transform: scale(1.2); }
.purpose { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.purpose .niche { border-left: 2px solid var(--brand); padding-left: 22px; color: rgba(255,255,255,.75); }
.purpose .niche b { display: block; color: #fff; font-family: var(--display); font-size: 1.25rem; margin-bottom: 6px; }
@media (max-width: 860px) { .purpose { grid-template-columns: 1fr; } }

/* Split / feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.check { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.check li { padding-left: 34px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel-visual { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--ink-3); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.panel-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel-visual:hover img { transform: scale(1.04); }
.panel-visual .tag { position: absolute; left: 22px; bottom: 22px; background: rgba(7,17,24,.78); backdrop-filter: blur(10px); color: #fff; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); font-size: .9rem; }
.panel-visual .tag b { color: #fff; font-family: var(--display); font-size: 1.7rem; display: block; }
.panel-visual .tag b::after { content: "."; color: var(--orange); }

/* Logos strip (inner pages) */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; color: #8f9ca6; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }

/* Projects: Proof, not promises */
.project { border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); color: #fff; display: flex; flex-direction: column; position: relative; transition: transform .45s var(--ease), box-shadow .45s; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project .ph { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.project .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .ph img { transform: scale(1.06); }
.project .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12,26,36,.9)); }
.project .ph .temp { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--brand); color: #fff; font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: .85rem; }
.project .body { padding: 6px 28px 30px; position: relative; z-index: 2; margin-top: -40px; }
.project .meta { font-size: .85rem; color: rgba(255,255,255,.6); }
.project h3 { font-size: 1.5rem; }
.project-feature { grid-column: span 2; }
.project-feature .ph { aspect-ratio: 16/9; }
@media (max-width: 980px) { .project-feature { grid-column: auto; } .project-feature .ph { aspect-ratio: 4/3; } }

/* Process */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0; margin: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--orange)); opacity: .35; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; gap: 28px; } .process::before { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process li { list-style: none; counter-increment: step; padding: 0 22px 0 0; position: relative; }
.process li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--snow); border: 2px solid var(--brand); color: var(--brand); font-family: var(--display); font-weight: 700; margin-bottom: 20px; position: relative; transition: background .3s, color .3s; }
.process li:hover::before { background: var(--brand); color: #fff; }
.process b { display: block; font-family: var(--display); font-size: 1.2rem; margin-bottom: 6px; }
.process span { color: var(--muted); font-size: .94rem; }

/* Testimonials */
blockquote.quote { margin: 0; padding: 40px; border-radius: var(--radius-lg); background: var(--snow); border: 1px solid var(--line-dark); position: relative; display: flex; flex-direction: column; }
blockquote.quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--orange); height: 36px; }
blockquote.quote p { font-size: 1.15rem; line-height: 1.6; margin: 10px 0 24px; color: var(--text); }
blockquote.quote footer { margin-top: auto; font-weight: 600; color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: 12px; }
blockquote.quote footer::before { content: ""; width: 24px; height: 2px; background: var(--brand); }

/* The Squad */
.squad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .squad { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .squad { grid-template-columns: 1fr; } }
.member { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand); color: #fff; aspect-ratio: 4/5; isolation: isolate; cursor: default; }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; z-index: -2; transition: transform 1s var(--ease), filter .6s; }
.member::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,17,24,0) 40%, rgba(7,17,24,.92) 100%); transition: background .5s; }
.member .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.member h3 { font-size: 1.6rem; margin: 0 0 4px; }
.member .role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: .75; font-weight: 600; }
.member .tags { font-size: .85rem; color: rgba(255,255,255,.85); margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.member .tags span { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px 10px; }
.member .quip { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s, margin .5s; font-family: var(--display); font-size: 1.1rem; line-height: 1.3; }
.member:hover img, .member:focus-within img { transform: scale(1.06); }
.member:hover::before, .member:focus-within::before { background: linear-gradient(180deg, rgba(17,136,163,.15) 0%, rgba(7,17,24,.95) 85%); }
.member:hover .quip, .member:focus-within .quip { max-height: 120px; opacity: 1; margin-top: 14px; }
.member .quip::before { content: "“"; color: var(--orange); }
.member .quip::after { content: "”"; color: var(--orange); }
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line-dark); }
.bio img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.bio .role { color: var(--brand-ink); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.bio .quip { font-family: var(--display); font-size: 1.25rem; margin: 12px 0 18px; }
.bio .quip::before { content: "“"; color: var(--orange); } .bio .quip::after { content: "”"; color: var(--orange); }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; gap: 20px; } .bio img { max-width: 320px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line-dark); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 100%, rgba(241,108,32,.55), transparent 60%), radial-gradient(500px 300px at 0% 0%, rgba(255,255,255,.15), transparent 60%); }
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status.err { color: #b3261e; }
.form-done h3 { margin: 0 0 8px; color: var(--brand); }
.form-done p { margin: 0; color: var(--muted); }
label { font-size: .85rem; font-weight: 600; display: grid; gap: 6px; }
input, select, textarea { font: inherit; padding: .85em 1em; border-radius: 10px; border: 1px solid var(--line-dark); background: var(--snow); color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }

/* Footer */
.site-footer { background: #050c11; color: rgba(255,255,255,.65); padding: 88px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-tag { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.04em; color: #fff; line-height: 1; margin: 0 0 56px; }
.footer-tag span { color: var(--brand); }
.footer-tag i { font-style: normal; color: var(--orange); }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 180px 0 96px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 420px at 90% 0%, rgba(17,136,163,.35), transparent 60%), radial-gradient(600px 300px at 0% 120%, rgba(241,108,32,.15), transparent 60%); }
.page-hero .lede { color: rgba(255,255,255,.75); }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }

/* What we build: tinted backdrop, lifted cards */
.build-section { position: relative; background: linear-gradient(180deg, #eaf3f6 0%, #f5f8fa 100%); overflow: hidden; }
.build-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(17,136,163,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(17,136,163,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%); pointer-events: none; }
.build-section .container { position: relative; }
.build-grid .card { border: 0; box-shadow: 0 1px 0 rgba(7,17,24,.04), 0 18px 40px -18px rgba(12,106,128,.35); padding: 36px 32px 34px; }
.build-grid .card::before { content: ""; position: absolute; left: 32px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--brand); transition: width .45s var(--ease); }
.build-grid .card:hover::before { width: calc(100% - 64px); }
.build-grid .card:hover { box-shadow: 0 30px 60px -20px rgba(12,106,128,.45); }
.markets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -24px 0 40px; }
.markets span { background: #fff; border: 1px solid #d6e6ec; color: var(--text); font-weight: 600; font-size: .86rem; padding: 7px 14px; border-radius: 999px; }
.markets .markets-label { background: none; border: 0; padding: 0 6px 0 0; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; }
.markets .new { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Proven process: numbered steps on a gradient rail */
.process-section { background: var(--snow); }
.steps5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: none; }
.steps5::before { content: ""; position: absolute; left: 4%; right: 4%; top: 58px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--orange)); opacity: .5; }
.step { position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: 26px 24px 30px; border: 1px solid var(--line-dark); transition: transform .45s var(--ease), background .45s, box-shadow .45s, border-color .45s; }
.step .n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--snow); border: 2px solid var(--brand); font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--brand); margin-bottom: 26px; position: relative; z-index: 1; transition: background .45s, color .45s, transform .45s var(--ease); }
.step b { display: block; font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 8px; }
.step .d { color: var(--muted); font-size: .94rem; }
.step:hover { transform: translateY(-8px); background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.step:hover b { color: #fff; } .step:hover .d { color: rgba(255,255,255,.7); }
.step:hover .n { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.step:last-child .n { border-color: var(--orange); color: var(--orange); }
.step:last-child:hover .n { background: var(--orange); color: #fff; }
@media (max-width: 1080px) { .steps5 { grid-template-columns: 1fr 1fr; } .steps5::before { display: none; } }
@media (max-width: 560px) { .steps5 { grid-template-columns: 1fr; } }

/* Proof, not promises: dark bento */
.proof-section { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.proof-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 0% 0%, rgba(17,136,163,.25), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(241,108,32,.12), transparent 60%); }
.proof-section .big-word { position: absolute; left: -2vw; bottom: -4vw; font-family: var(--display); font-weight: 700; font-size: clamp(8rem, 22vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); z-index: -1; letter-spacing: -.05em; user-select: none; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 18px; }
.pcase { position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; border: 1px solid transparent;
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.03)) border-box; transition: transform .45s var(--ease), background .45s; }
.pcase-xl { grid-column: span 2; grid-row: span 2; }
.pcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.9); }
.pcase::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,17,24,.35) 0%, rgba(7,17,24,.05) 35%, rgba(7,17,24,.92) 100%); transition: background .5s; }
.pcase:hover { transform: translateY(-6px); background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, linear-gradient(160deg, var(--brand), var(--orange)) border-box; }
.pcase:hover img { transform: scale(1.07); filter: saturate(1.05); }
.pcase:hover::after { background: linear-gradient(180deg, rgba(7,17,24,.3) 0%, rgba(17,136,163,.15) 40%, rgba(7,17,24,.95) 100%); }
.pc-top { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: flex-start; }
.pc-top .chip { background: rgba(7,17,24,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pc-top .big { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -.04em; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.pc-top .big small { font-size: .42em; color: var(--brand); margin-left: 4px; letter-spacing: .05em; }
.pcase-xl .pc-top .big { font-size: clamp(3rem, 6vw, 5.5rem); }
.pc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; }
.pc-body .meta { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0 0 6px; letter-spacing: .02em; }
.pc-body h3 { margin: 0; font-size: 1.45rem; }
.pcase-xl .pc-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pc-body .more { max-height: 0; opacity: 0; overflow: hidden; margin: 0; color: rgba(255,255,255,.8); transition: max-height .5s var(--ease), opacity .5s, margin .5s; }
.pcase:hover .more, .pcase:focus-within .more, .pcase-xl .more { max-height: 120px; opacity: 1; margin-top: 10px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .pcase-xl { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 320px; } .pcase-xl { grid-column: auto; } .pcase .more { max-height: 120px; opacity: 1; margin-top: 10px; } }
@media (hover: none) { .pcase .more { max-height: 120px; opacity: 1; margin-top: 10px; } }

/* Where we've built: US map with FC icons */
.map-section { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.map-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 50% 60%, rgba(17,136,163,.22), transparent 65%); }
.fp-counters { display: flex; gap: 34px; }
.fp-counters div { text-align: left; }
.fp-counters b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fp-counters span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.fp-wrap { position: relative; margin: 10px auto 0; max-width: 1100px; }
#fp-map { width: 100%; height: auto; display: block; overflow: visible; }
.fp-state { fill: #0f1f2b; stroke: none; transition: fill .8s var(--ease); }
.fp-state.lit { fill: #123447; }
.fp-borders { fill: none; stroke: rgba(17,136,163,.35); stroke-width: .7; stroke-linejoin: round; }
.fp-pin { cursor: pointer; opacity: 0; transform-box: fill-box; transition: opacity .4s; outline: none; }
.fp-pin.on { opacity: 1; }
.fp-pin image { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 4px rgba(17,136,163,.9)); transition: transform .3s var(--ease); }
.fp-pin.new image { animation: fp-pop .7s var(--ease) both; }
.fp-pin:hover image, .fp-pin:focus image { transform: scale(1.5); }
.fp-pulse { fill: rgba(17,136,163,.35); transform-box: fill-box; transform-origin: center; animation: fp-pulse 2.6s ease-out infinite; }
.fp-pin:nth-child(3n) .fp-pulse { animation-delay: .9s; } .fp-pin:nth-child(3n+1) .fp-pulse { animation-delay: 1.7s; }
@keyframes fp-pop { 0% { transform: scale(0) rotate(-90deg); } 70% { transform: scale(1.35) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes fp-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }
.fp-tip { position: absolute; transform: translate(-50%, calc(-100% - 18px)); background: rgba(7,17,24,.92); border: 1px solid rgba(17,136,163,.6); backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity .2s; white-space: nowrap; font-size: .85rem; }
.fp-tip.on { opacity: 1; }
.fp-tip b { display: block; font-family: var(--display); font-size: 1rem; }
.fp-tip span { color: rgba(255,255,255,.7); }
.fp-years { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.fp-years button { font: inherit; font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.65); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: all .25s; }
.fp-years button:hover { color: #fff; border-color: var(--brand); }
.fp-years button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.fp-years .fp-play { color: var(--orange); }
@media (max-width: 700px) { .fp-counters { gap: 22px; } .fp-years button { padding: 6px 10px; font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .fp-pulse, .fp-pin.new image { animation: none; } }

/* Swag shop: nav link + banner */
.swag-band-wrap { padding: 0 0 clamp(56px, 7vw, 96px); }
.swag-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; text-decoration: none; color: #fff; padding: 28px 34px; border-radius: 28px; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(120deg, var(--orange), var(--brand)) border-box; border: 2px solid transparent; transition: transform .35s var(--ease), box-shadow .35s; }
.swag-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 220px at 100% 50%, rgba(241,108,32,.28), transparent 70%), radial-gradient(400px 200px at 0% 50%, rgba(17,136,163,.25), transparent 70%); }
.swag-band:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -20px rgba(241,108,32,.45); }
.swag-band h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 4px; }
.swag-band p { margin: 0; color: rgba(255,255,255,.75); }
.swag-icon { width: 64px; height: 64px; transition: transform .6s var(--ease); }
.swag-band:hover .swag-icon { transform: rotate(-12deg) scale(1.08); }
@media (max-width: 640px) { .swag-band { grid-template-columns: 1fr; text-align: left; padding: 24px; } .swag-icon { width: 48px; height: 48px; } }

/* Brand saying: A Few Degrees Better... */
.dots { color: var(--orange); letter-spacing: .02em; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-cue::after { animation: none; }
}

/* VaporGuard band (roofing page) */
.vg-band { padding: 48px 0 0; }
.vg-card { background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(15,40,55,.10); padding: 30px 28px 26px; text-align: center; }
.vg-card img { width: 100%; max-width: 880px; height: auto; display: block; margin: 0 auto; }
.vg-card p { max-width: 62ch; margin: 16px auto 0; color: var(--muted); }
