/* =========================================================
   RS Real Estate Solutions — Dark Architectural Editorial
   Shared styles for the home page and directory service pages.
   ========================================================= */

:root {
  --ink: #05080b;
  --ink-soft: #090e13;
  --graphite: #0e151c;
  --graphite-2: #131d26;
  --panel: #111922;
  --panel-light: #18232d;
  --steel: #91a6b8;
  --steel-bright: #c6d2dc;
  --ice: #e3e9ee;
  --ivory: #f0eee8;
  --white: #f8fafb;
  --muted: rgba(226, 233, 239, .60);
  --muted-dark: #8c9aa6;
  --line: rgba(226, 235, 242, .10);
  --line-bright: rgba(226, 235, 242, .22);
  --glow: rgba(112, 145, 174, .18);
  --shadow-deep: 0 42px 120px rgba(0, 0, 0, .54);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, .30);
  --radius: 6px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 6%, rgba(101, 132, 159, .12), transparent 30rem),
    radial-gradient(circle at 12% 34%, rgba(54, 79, 101, .10), transparent 34rem),
    var(--ink);
  line-height: 1.65;
  letter-spacing: -.012em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.82'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--steel-bright);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 132px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 10000;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(4, 7, 10, .96), rgba(4, 7, 10, .75));
  backdrop-filter: blur(20px) saturate(125%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 12px 42px rgba(0, 0, 0, .16);
}

.nav-wrap {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  width: 144px;
  flex: 0 0 auto;
}

.brand img,
.footer-logo {
  width: 100%;
  height: auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, .66);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -11px;
  height: 1px;
  background: var(--steel-bright);
  transition: right .25s ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::after {
  right: 0;
}

.header-actions,
.social-links {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 18px;
}

.social-links {
  gap: 8px;
}

.social-links a {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 3px;
  color: rgba(255, 255, 255, .78);
  font-size: .61rem;
  font-weight: 800;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* ---------- Buttons ---------- */

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: linear-gradient(135deg, #7d92a6, #506578);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .20),
    0 16px 42px rgba(35, 54, 72, .30);
  font-weight: 800;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #91a5b8, #61778c);
  box-shadow: 0 22px 54px rgba(35, 54, 72, .38);
}

.button-small {
  min-height: 43px;
  padding-inline: 18px;
  font-size: .78rem;
}

.button-ghost {
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(248, 250, 251, .96);
  color: var(--ink);
}

.dark-button {
  background: linear-gradient(135deg, #293846, #101820);
}

.light-button {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

/* ---------- Shared editorial details ---------- */

.eyebrow {
  margin: 0 0 18px;
  color: #aebdca;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .25em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--steel);
}

.section-index {
  position: absolute;
  top: 78px;
  left: max(32px, calc((100vw - var(--container)) / 2 - 68px));
  color: rgba(200, 213, 224, .28);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.architectural-linework {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}

.architectural-linework path {
  fill: none;
  stroke: rgba(174, 194, 210, .12);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 64px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.hvac-feature-copy h2,
.nebula h2,
.final-cta h2,
.contact h2 {
  margin: 0 0 22px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.section-heading h2 em,
.hvac-feature-copy h2 em,
.hero h1 em {
  color: var(--steel-bright);
  font-weight: 600;
}

.section-heading > p,
.about-copy > p,
.hvac-feature-copy > p,
.nebula p,
.contact-copy > p {
  color: var(--muted);
}

.editorial-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  align-items: end;
  gap: 84px;
}

.editorial-heading > p {
  margin: 0 0 10px;
  padding-left: 26px;
  border-left: 1px solid rgba(194, 210, 222, .25);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 980px;
  padding: 205px 0 112px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    url("assets/hero.png") 68% center / cover no-repeat,
    linear-gradient(135deg, #263441, #0a0e12);
  filter: saturate(.70) contrast(1.08) brightness(.78);
  transform: scale(1.015);
}

.hvac-page-hero .hero-media {
  background:
    url("../assets/hvac.png") 72% center / cover no-repeat,
    linear-gradient(135deg, #243748, #081018);
  filter: saturate(.62) contrast(1.12) brightness(.62);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 72% 25%, rgba(143, 169, 191, .22), transparent 27rem),
    linear-gradient(90deg, rgba(4, 6, 8, .99) 0%, rgba(5, 8, 11, .93) 36%, rgba(5, 8, 11, .52) 70%, rgba(5, 8, 11, .65) 100%),
    linear-gradient(180deg, transparent 55%, var(--ink) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 245px;
  z-index: -2;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}

.hero-outline-word {
  position: absolute;
  z-index: -1;
  top: 21%;
  left: 48%;
  color: transparent;
  font-family: "Manrope", sans-serif;
  font-size: clamp(7rem, 15vw, 15rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.08em;
  -webkit-text-stroke: 1px rgba(210, 223, 233, .10);
  transform: translateX(-15%);
  white-space: nowrap;
  user-select: none;
}

.hero-linework {
  z-index: -1;
  right: -85px;
  bottom: 35px;
  width: min(58vw, 860px);
  opacity: .78;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(330px, .55fr);
  align-items: center;
  gap: 94px;
}

.hero-copy {
  max-width: 850px;
}

.hero h1 {
  max-width: 970px;
  margin: 0 0 26px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.7rem, 6.5vw, 6.7rem);
  line-height: .98;
  letter-spacing: -.068em;
  text-wrap: balance;
  text-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.hero-lead {
  max-width: 675px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.03rem, 1.45vw, 1.24rem);
}

.hero-sub {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .54);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 28px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .58);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-trust span::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--steel-bright);
  box-shadow: 0 0 12px rgba(180, 203, 221, .48);
}

.hero-card {
  position: relative;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(26, 35, 44, .84), rgba(7, 11, 15, .70));
  backdrop-filter: blur(30px) saturate(125%);
  box-shadow: var(--shadow-deep);
  margin-bottom: 160px;
}

.hero-card-offset {
  transform: translateY(74px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .70), transparent);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -90px;
  bottom: -105px;
  border: 1px solid rgba(190, 208, 221, .12);
  transform: rotate(45deg);
}

.hero-card-index {
  margin-bottom: 34px;
  color: rgba(206, 219, 229, .33);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero-card .card-kicker {
  margin: 0;
  color: #aebdcb;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 9px 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 2.8vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.hero-card p,
.hero-card li {
  color: rgba(255, 255, 255, .59);
  font-size: .90rem;
}

.hero-card ul {
  margin: 22px 0 0;
  padding-left: 19px;
}

.hero-card a {
  display: inline-flex;
  gap: 10px;
  margin-top: 20px;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Intro strip ---------- */

.intro-strip {
  padding: 38px 0 64px;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.intro-grid p {
  max-width: 930px;
  margin: 0;
  color: rgba(255, 255, 255, .53);
}

.intro-grid a {
  flex: 0 0 auto;
  color: var(--ice);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* ---------- Services / asymmetrical layout ---------- */

.services {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 20%),
    var(--ink);
}

.services-linework {
  top: 55px;
  right: -240px;
  width: 720px;
  opacity: .48;
}

.service-grid-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(150px, auto));
  gap: 20px;
}

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(25, 34, 42, .97), rgba(9, 14, 19, .99));
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(181, 202, 218, .28);
  box-shadow: 0 42px 96px rgba(0, 0, 0, .46);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, .09), transparent 28%, transparent 76%, rgba(139, 169, 193, .08)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.service-card-remodeling {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  grid-template-columns: 1.18fr .82fr;
  min-height: 500px;
}

.service-card-construction {
  grid-column: 8 / span 5;
  grid-row: 1;
  grid-template-columns: .72fr 1.28fr;
  min-height: 235px;
}

.service-card-realestate {
  grid-column: 8 / span 5;
  grid-row: 2;
  grid-template-columns: 1.15fr .85fr;
  min-height: 245px;
}

.service-card-hvac {
  grid-column: 1 / span 12;
  grid-row: 3 / span 2;
  grid-template-columns: 1.35fr .65fr;
  min-height: 440px;
}

.service-image {
  min-height: 100%;
  position: relative;
  background-position: center;
  background-size: cover;
  filter: saturate(.66) contrast(1.08) brightness(.75);
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 42%, rgba(6, 9, 12, .72) 100%),
    linear-gradient(180deg, transparent 56%, rgba(6, 9, 12, .55));
}

.service-image.remodeling {
  background-image: url("assets/remodeling.png"), linear-gradient(135deg, #293743, #111820);
}

.service-image.construction {
  background-image: url("assets/construction.png"), linear-gradient(135deg, #293743, #111820);
}

.service-image.realestate {
  background-image: url("assets/real_estate.png"), linear-gradient(135deg, #293743, #111820);
}

.service-image.hvac {
  background-image: url("assets/hvac.png"), linear-gradient(135deg, #293743, #111820);
  background-position: center 35%;
}

.service-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 42px;
}

.service-card-construction .service-content,
.service-card-realestate .service-content {
  padding: 28px 30px;
}

.service-number {
  color: #aab9c6;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.service-content h3 {
  margin: 12px 0 12px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.service-card-construction h3,
.service-card-realestate h3 {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
}

.service-content p {
  margin: 0;
  color: rgba(229, 235, 240, .55);
  font-size: .91rem;
}

.service-content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  color: #c6d2dc;
  font-size: .70rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.featured-service {
  border-color: rgba(150, 179, 202, .32);
  background:
    radial-gradient(circle at 85% 20%, rgba(112, 151, 181, .13), transparent 22rem),
    linear-gradient(150deg, #17232d, #091017);
}

/* ---------- About ---------- */

.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 24%, rgba(87, 119, 146, .13), transparent 30rem),
    linear-gradient(180deg, #10171d, #080c10);
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 112px;
}

.about-visual {
  position: relative;
  min-height: 670px;
}

.about-outline-word {
  position: absolute;
  z-index: 0;
  left: -52px;
  bottom: 20px;
  color: transparent;
  font-size: clamp(7rem, 12vw, 11rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.07em;
  -webkit-text-stroke: 1px rgba(203, 217, 227, .08);
}

.about-main-image {
  position: absolute;
  z-index: 2;
  inset: 0 58px 64px 0;
  background:
    url("assets/remodeling.png") center / cover no-repeat,
    linear-gradient(135deg, #253541, #111820);
  border-radius: var(--radius);
  filter: saturate(.72) contrast(1.06) brightness(.88);
  box-shadow: var(--shadow-deep);
}

.about-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 11, .55));
}

.about-image-frame {
  position: absolute;
  z-index: 1;
  inset: 35px 20px 27px 38px;
  border: 1px solid rgba(179, 199, 214, .18);
  transform: translate(36px, 32px);
}

.about-image-caption {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 78px;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.about-badge {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 216px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 4px;
  background: linear-gradient(145deg, #dfe5e9, #adb9c3);
  color: var(--ink);
  box-shadow: 0 30px 74px rgba(0, 0, 0, .42);
}

.about-badge strong {
  display: block;
  font-size: 3.2rem;
  line-height: 1;
}

.about-badge span {
  color: #44515d;
  font-size: .80rem;
}

.about-copy > p {
  color: rgba(255, 255, 255, .56);
}

.benefit-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.benefit-list div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.benefit-list span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 193, 214, .20);
  border-radius: 50%;
  background: rgba(132, 157, 179, .12);
  color: #d0dbe3;
}

.benefit-list p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  color: var(--ice);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- HVAC feature ---------- */

.hvac-feature {
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 35%, rgba(106, 143, 174, .17), transparent 30rem),
    linear-gradient(145deg, #0d141b, #070b0f);
  border-bottom: 1px solid var(--line);
}

.hvac-outline-word {
  position: absolute;
  top: 22%;
  right: -1.4vw;
  color: transparent;
  font-size: clamp(10rem, 25vw, 24rem);
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.10em;
  -webkit-text-stroke: 1px rgba(194, 213, 228, .07);
  user-select: none;
}

.hvac-feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 102px;
}

.hvac-feature-copy h2 {
  font-size: clamp(3.15rem, 5.2vw, 5.5rem);
}

.hvac-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .08);
}

.hvac-points span {
  padding: 17px 18px;
  background: rgba(10, 15, 20, .96);
  color: rgba(255, 255, 255, .68);
  font-size: .77rem;
}

.hvac-feature-visual {
  position: relative;
  min-height: 650px;
}

.hvac-feature-image {
  position: absolute;
  z-index: 2;
  inset: 0 54px 70px 0;
  background:
    url("assets/hvac.png") center / cover no-repeat,
    linear-gradient(135deg, #233543, #0d151c);
  border-radius: var(--radius);
  filter: saturate(.62) contrast(1.10) brightness(.74);
  box-shadow: var(--shadow-deep);
}

.hvac-page-hero ~ .services .hvac-feature-image,
.hvac-page-hero ~ .about .hvac-feature-image {
  background-image: url("../assets/hvac.png"), linear-gradient(135deg, #233543, #0d151c);
}

.hvac-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(5, 9, 12, .08), transparent 55%),
    linear-gradient(180deg, transparent 56%, rgba(4, 7, 9, .58));
}

.hvac-image-frame {
  position: absolute;
  z-index: 1;
  inset: 44px 0 28px 50px;
  border: 1px solid rgba(173, 198, 216, .20);
}

.hvac-vertical-label {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 46px;
  color: rgba(214, 225, 233, .48);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ---------- Process ---------- */

.process {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .015), transparent),
    #070a0d;
}

.process-linework {
  left: 50%;
  top: 10px;
  width: min(70vw, 920px);
  transform: translateX(-50%);
  opacity: .45;
}

.section-heading.light > p {
  color: rgba(255, 255, 255, .58);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .075);
  background: rgba(255, 255, 255, .075);
}

.process-grid article {
  min-height: 270px;
  padding: 39px;
  background: #0d1318;
}

.process-grid span {
  color: #aebdcb;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.process-grid h3 {
  margin: 42px 0 14px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.62rem;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-size: .90rem;
}

/* HVAC page uses the process grid as service cards. */
.hvac-service-grid {
  margin-top: 56px;
}

.hvac-service-grid article {
  background:
    radial-gradient(circle at 85% 15%, rgba(126, 158, 183, .10), transparent 12rem),
    #0d1318;
}

/* ---------- Nebula ---------- */

.nebula {
  background:
    radial-gradient(circle at 20% 18%, rgba(104, 136, 163, .13), transparent 27rem),
    linear-gradient(145deg, #111820, #090d11);
  border-block: 1px solid var(--line);
}

.nebula-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  align-items: center;
  gap: 90px;
}

.nebula-panel {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #1a242d, #0b1015);
  box-shadow: var(--shadow-soft);
}

.nebula-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -150px;
  bottom: -135px;
  border: 1px solid rgba(190, 208, 221, .12);
  transform: rotate(45deg);
}

.nebula-panel > span {
  color: #aebdcb;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .35em;
}

.nebula-panel h3 {
  margin: 22px 0;
  font-family: "Playfair Display", serif;
  font-size: 2.15rem;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.nebula-panel li {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .64);
}

.small-note {
  padding-left: 15px;
  border-left: 2px solid var(--steel);
  font-size: .78rem;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 82px 0;
  background:
    radial-gradient(circle at 82% 25%, rgba(192, 207, 219, .18), transparent 24rem),
    linear-gradient(120deg, #17232d, #344658 58%, #16212b);
  border-block: 1px solid rgba(255, 255, 255, .13);
}

.final-cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
}

.final-cta h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
}

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(circle at 8% 18%, rgba(75, 103, 127, .12), transparent 25rem),
    linear-gradient(180deg, #0c1217, #06090c);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 90px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 34px 0;
}

.contact-details a,
.contact-details p {
  display: grid;
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.contact-details span {
  color: #9fb0bf;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-socials a {
  color: #aebdca;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.contact-form {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 33, 41, .97), rgba(9, 14, 19, .99));
  box-shadow: var(--shadow-deep);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 17px;
  color: rgba(255, 255, 255, .77);
  font-size: .78rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 3px;
  outline: none;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select option {
  color: #111;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--steel);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 3px rgba(108, 137, 162, .13);
}

.form-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .39);
  font-size: .71rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 74px 0 26px;
  background: #040608;
  border-top: 1px solid rgba(255, 255, 255, .075);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 52px;
}

.footer-logo {
  width: 210px;
}

.footer-grid h3 {
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, .54);
  font-size: .83rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 48px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .40);
  font-size: .73rem;
}

.footer-bottom a {
  margin-left: 20px;
}

/* ---------- HVAC page specifics ---------- */

.hvac-page-hero {
  min-height: 900px;
}

.hvac-page-hero .hero-outline-word {
  left: 43%;
  top: 25%;
  font-size: clamp(7rem, 14vw, 14rem);
}

.hvac-page-hero + .services {
  background:
    radial-gradient(circle at 50% 5%, rgba(91, 126, 154, .11), transparent 28rem),
    var(--ink);
}

.hvac-page-hero + .services .section-heading {
  max-width: 900px;
}

.hvac-page-hero + .services .section-heading > p {
  color: rgba(224, 233, 240, .58);
}

.hvac-page-hero ~ .about .about-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.hvac-page-hero ~ .about .hvac-feature-visual {
  min-height: 590px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1160px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle-label {
    position: relative;
    width: 38px;
    height: 30px;
    display: block;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-toggle-label::before,
  .nav-toggle-label::after,
  .nav-toggle-label span {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #fff;
  }

  .nav-toggle-label::before { top: 5px; }
  .nav-toggle-label span { top: 15px; }
  .nav-toggle-label::after { top: 25px; }

  .nav-toggle:checked ~ .main-nav {
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px 34px;
    background: rgb(5, 8, 11);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .40);
  }

  .hero-grid,
  .about-grid,
  .hvac-feature-grid,
  .nebula-grid,
  .contact-grid,
  .hvac-page-hero ~ .about .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 120px;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-card {
    max-width: 620px;
  }

  .hero-card-offset {
    transform: translateY(0);
  }

  .hero-outline-word {
    left: 35%;
  }

  .editorial-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-heading > p {
    max-width: 650px;
  }

  .service-card-remodeling {
    grid-column: 1 / span 12;
  }

  .service-card-construction {
    grid-column: 1 / span 6;
    grid-row: 3;
  }

  .service-card-realestate {
    grid-column: 7 / span 6;
    grid-row: 3;
  }

  .service-card-hvac {
    grid-row: 4 / span 2;
  }

  .about-visual,
  .hvac-feature-visual {
    width: min(100%, 760px);
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .container {
    width: min(var(--container), calc(100% - 34px));
  }

  .section {
    padding: 102px 0;
  }

  .section-index,
  .services-linework,
  .process-linework {
    display: none;
  }

  .hero {
    padding: 158px 0 94px;
    align-items: flex-start;
  }

  .hero-media,
  .hvac-page-hero .hero-media {
    background-position: 64% center;
    filter: saturate(.62) contrast(1.10) brightness(.58);
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 68% 20%, rgba(143, 169, 191, .13), transparent 20rem),
      linear-gradient(180deg, rgba(4, 7, 10, .80) 0%, rgba(4, 7, 10, .92) 44%, rgba(4, 7, 10, .98) 100%);
  }

  .hero-outline-word {
    top: 18%;
    left: 6%;
    font-size: clamp(4.8rem, 22vw, 9rem);
    -webkit-text-stroke-color: rgba(210, 223, 233, .075);
    transform: none;
  }

  .hero-linework {
    right: -42%;
    bottom: 10px;
    width: 130vw;
    opacity: .42;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(3.15rem, 12.7vw, 5.7rem);
  }

  .hero-card {
    padding: 32px;
  }

  .hero-card-index {
    margin-bottom: 24px;
  }

  .service-grid-editorial {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .service-card-remodeling,
  .service-card-construction,
  .service-card-realestate,
  .service-card-hvac {
    grid-column: 1;
    grid-row: auto;
    min-height: 440px;
    grid-template-columns: 1fr;
  }

  .service-card-construction,
  .service-card-realestate {
    min-height: 430px;
  }

  .service-image {
    min-height: 230px;
  }

  .service-content,
  .service-card-construction .service-content,
  .service-card-realestate .service-content {
    min-height: 220px;
    padding: 30px;
  }

  .about-visual,
  .hvac-feature-visual {
    min-height: 540px;
  }

  .about-main-image,
  .hvac-feature-image {
    inset: 0 30px 62px 0;
  }

  .about-image-frame,
  .hvac-image-frame {
    inset: 34px 0 28px 34px;
    transform: none;
  }

  .about-image-caption,
  .hvac-vertical-label {
    display: none;
  }

  .hvac-outline-word {
    top: 18%;
    right: -2rem;
    font-size: 36vw;
  }

  .hvac-points {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: 230px;
  }

  .final-cta-grid,
  .intro-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 26px));
  }

  .nav-wrap {
    min-height: 82px;
  }

  .brand {
    width: 130px;
  }

  .nav-toggle:checked ~ .main-nav {
    top: 120px;
    padding-inline: 20px;
  }

  .section {
    padding: 82px 0;
  }

  .hero,
  .hvac-page-hero {
    padding: 132px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 1.01;
  }

  .hero-lead {
    font-size: .99rem;
  }

  .hero-sub {
    font-size: .90rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 12px;
  }

  .hero-card {
    padding: 26px;
  }

  .hero-outline-word {
    top: 14%;
  }

  .section-heading h2,
  .about-copy h2,
  .hvac-feature-copy h2,
  .nebula h2,
  .contact h2 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .service-card-remodeling,
  .service-card-construction,
  .service-card-realestate,
  .service-card-hvac {
    min-height: 0;
  }

  .about-visual,
  .hvac-feature-visual {
    min-height: 430px;
  }

  .about-main-image,
  .hvac-feature-image {
    inset: 0 20px 52px 0;
  }

  .about-badge {
    width: 172px;
    padding: 22px;
  }

  .about-badge strong {
    font-size: 2.65rem;
  }

  .final-cta {
    padding: 66px 0;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Premium motion system
   Restrained load, scroll, hover, line-draw, and parallax motion.
   ========================================================= */

/* Header compression and page progress */
.site-header,
.nav-wrap,
.brand {
  transition:
    min-height .45s cubic-bezier(.22, 1, .36, 1),
    width .45s cubic-bezier(.22, 1, .36, 1),
    background .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 7, 10, .94);
  border-bottom-color: rgba(208, 222, 232, .12);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .30);
}

.site-header.is-scrolled .nav-wrap {
  min-height: 76px;
}

.site-header.is-scrolled .brand {
  width: 126px;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, var(--steel-bright) 16%, #fff 50%, var(--steel-bright) 84%, transparent 100%);
  box-shadow: 0 0 14px rgba(180, 207, 228, .42);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Button light sweep */
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35% auto -35% -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg) translateX(-220%);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.button:hover::after {
  transform: skewX(-18deg) translateX(620%);
}

/* Hero load choreography and subtle pointer light */
.hero-media {
  --hero-parallax-y: 0px;
  --hero-intro-scale: 1.015;
  opacity: 1;
  transform: translate3d(0, var(--hero-parallax-y), 0) scale(var(--hero-intro-scale));
  transition:
    opacity 1.2s ease,
    transform 1.75s cubic-bezier(.16, 1, .3, 1),
    filter .8s ease;
  will-change: transform;
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .50;
  background: radial-gradient(
    420px circle at var(--hero-pointer-x, 76%) var(--hero-pointer-y, 27%),
    rgba(165, 193, 215, .15),
    transparent 70%
  );
  transition: opacity .55s ease;
}

.hero-outline-word {
  --outline-base-x: -15%;
  --outline-parallax-y: 0px;
  transform: translate3d(var(--outline-base-x), var(--outline-parallax-y), 0);
  transition:
    opacity 1.4s ease,
    letter-spacing 1.6s cubic-bezier(.16, 1, .3, 1),
    transform .08s linear;
  will-change: transform;
}

.hero-linework {
  --linework-parallax-y: 0px;
  transform: translate3d(0, var(--linework-parallax-y), 0);
  will-change: transform;
}

.js:not(.is-loaded) .hero-media {
  --hero-intro-scale: 1.095;
  opacity: .12;
}

.js:not(.is-loaded) .hero-outline-word {
  opacity: 0;
  letter-spacing: .04em;
}

.js:not(.is-loaded) .hero-copy > * {
  opacity: 0;
  translate: 0 28px;
  filter: blur(7px);
}

.js.is-loaded .hero-copy > * {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
  transition:
    opacity .85s ease,
    translate 1s cubic-bezier(.16, 1, .3, 1),
    filter .9s ease;
}

.js.is-loaded .hero-copy > :nth-child(1) { transition-delay: 120ms; }
.js.is-loaded .hero-copy > :nth-child(2) { transition-delay: 210ms; }
.js.is-loaded .hero-copy > :nth-child(3) { transition-delay: 340ms; }
.js.is-loaded .hero-copy > :nth-child(4) { transition-delay: 430ms; }
.js.is-loaded .hero-copy > :nth-child(5) { transition-delay: 520ms; }
.js.is-loaded .hero-copy > :nth-child(6) { transition-delay: 620ms; }

.js:not(.is-loaded) .hero-card {
  opacity: 0;
  translate: 36px 42px;
  filter: blur(10px);
}

.js.is-loaded .hero-card {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
  transition:
    opacity .9s .48s ease,
    translate 1.15s .48s cubic-bezier(.16, 1, .3, 1),
    filter .95s .48s ease;
}

/* Architectural line drawing */
.linework-animated path {
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  transition: stroke-dashoffset 2.2s cubic-bezier(.16, 1, .3, 1);
}

.linework-animated.is-drawn path {
  stroke-dashoffset: 0;
}

.linework-animated.is-drawn path:nth-child(2) { transition-delay: 160ms; }
.linework-animated.is-drawn path:nth-child(3) { transition-delay: 300ms; }

/* Scroll reveals */
.js .reveal-item {
  opacity: 0;
  filter: blur(7px);
  translate: 0 34px;
  transition:
    opacity .5s var(--reveal-delay, 0ms) ease,
    translate .5s var(--reveal-delay, 0ms) cubic-bezier(.16, 1, .3, 1),
    filter .5s var(--reveal-delay, 0ms) ease,
    clip-path 1.0s var(--reveal-delay, 0ms) cubic-bezier(.16, 1, .3, 1),
    scale 1.0s var(--reveal-delay, 0ms) cubic-bezier(.16, 1, .3, 1);
}

.js .reveal-left {
  translate: -44px 0;
}

.js .reveal-right {
  translate: 44px 0;
}

.js .reveal-clip {
  translate: 0 24px;
  scale: .985;
  clip-path: inset(0 0 18% 0);
}

.js .reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  translate: 0 0;
  scale: 1;
  clip-path: inset(0 0 0 0);
}

/* Fine hover movement and image depth */
.service-image,
.about-main-image,
.hvac-feature-image {
  transition:
    transform 1.05s cubic-bezier(.16, 1, .3, 1),
    filter .65s ease;
  will-change: transform;
}

.service-card:hover .service-image {
  transform: scale(1.045);
  filter: saturate(.78) contrast(1.08) brightness(.83);
}

.about-visual:hover .about-main-image,
.hvac-feature-visual:hover .hvac-feature-image {
  transform: scale(1.025);
  filter: saturate(.72) contrast(1.08) brightness(.80);
}

.service-content a span,
.text-link span,
.intro-grid a span,
.hero-card a span {
  display: inline-block;
  transition: translate .3s cubic-bezier(.22, 1, .36, 1);
}

.service-content a:hover span,
.text-link:hover span,
.intro-grid a:hover span,
.hero-card a:hover span {
  translate: 6px 0;
}

.process-grid article {
  position: relative;
  overflow: hidden;
  transition:
    background .35s ease,
    box-shadow .35s ease,
    translate .35s cubic-bezier(.22, 1, .36, 1);
}

.process-grid article:hover {
  z-index: 2;
  translate: 0 -5px;
  background: #121a21;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

/* Pointer-following highlight on selected dark surfaces */
.interactive-surface {
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}

.interactive-surface::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--spot-x) var(--spot-y),
    rgba(168, 195, 216, .105),
    transparent 58%
  );
  transition: opacity .35s ease;
}

.interactive-surface:hover::before {
  opacity: 1;
}

.interactive-surface > * {
  position: relative;
  z-index: 1;
}

/* Preserve the decorative top line on the hero card. */
.hero-card.interactive-surface::before {
  display: none;
}

/* Mobile menu motion */
.nav-toggle-label::before,
.nav-toggle-label::after,
.nav-toggle-label span {
  transition:
    top .3s cubic-bezier(.22, 1, .36, 1),
    transform .3s cubic-bezier(.22, 1, .36, 1),
    opacity .2s ease;
}

.nav-toggle:checked + .nav-toggle-label::before {
  top: 15px;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span {
  opacity: 0;
  transform: scaleX(.4);
}

.nav-toggle:checked + .nav-toggle-label::after {
  top: 15px;
  transform: rotate(-45deg);
}

.nav-toggle:checked ~ .main-nav {
  animation: mobileMenuIn .42s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1160px) {
  .site-header.is-scrolled .nav-toggle:checked ~ .main-nav {
    top: 76px;
  }
}

@media (max-width: 800px) {
  .hero-outline-word {
    --outline-base-x: 0%;
  }

  .hero-media {
    --hero-parallax-y: 0px !important;
  }

  .hero-overlay::after,
  .interactive-surface::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header.is-scrolled .nav-wrap {
    min-height: 72px;
  }

  .site-header.is-scrolled .brand {
    width: 118px;
  }

  .site-header.is-scrolled .nav-toggle:checked ~ .main-nav {
    top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-outline-word,
  .hero-linework,
  .reveal-item,
  .linework-animated path {
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
    stroke-dashoffset: 0 !important;
  }

  .button::after,
  .hero-overlay::after,
  .interactive-surface::before,
  .scroll-progress {
    display: none !important;
  }
}