:root {
  --display: "Bricolage Grotesque", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
  --bg: #f7f6f2;
  --bg-elev: #eeece6;
  --surface: #ffffff;
  --surface-strong: #f3f1ea;
  --line: #d7d1c6;
  --text: #1c232b;
  --muted: #5f6a75;
  --primary: #d70000;
  --primary-strong: #ac0e1c;
  --accent: #22272d;
  --radius: 18px;
  --container: 1140px;
  --shadow: 0 20px 34px -28px rgba(27, 35, 43, 0.22);
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  font-family: var(--body);
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size-adjust: from-font;
  color: var(--text);
  line-height: 1.68;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M119 0V120M0 119H120' fill='none' stroke='%231c232b' stroke-opacity='.05'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: 0.45;
  z-index: -1;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(215, 209, 198, 0.9);
  background: rgba(247, 246, 242, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.brand img {
  width: auto;
  height: auto;
  max-height: 44px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  border-radius: 11px;
  font: inherit;
  padding: 0.44rem 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.46rem;
}

.site-nav a {
  position: relative;
  padding: 0.52rem 0.75rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.32rem;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(15, 118, 110, 0.06);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.hero,
.page-hero {
  padding: clamp(3.8rem, 8vw, 6.2rem) 0 2.3rem;
  position: relative;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(15, 118, 110, 0.18);
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.82rem;
  line-height: 1.15;
  font-family: var(--display);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.lead {
  font-size: 1.06rem;
  max-width: 62ch;
}

.hero-card,
.card,
.service-item,
.cta-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.card::before,
.service-item::before,
.cta-strip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.8;
}

.hero-card {
  padding: 1.4rem;
  transform: none;
}

.hero-card h2 {
  font-size: 1.35rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.hero-card li {
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 0.45rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.2rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.6rem;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  filter: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(28, 35, 43, 0.05);
  filter: none;
}

.section {
  padding: 2.2rem 0 3rem;
}

.section-soft {
  background: var(--bg-elev);
}

.section-head {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.text-link:hover {
  color: var(--accent);
}

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 1.2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.4);
}

.split-grid,
.services-stack {
  display: grid;
  gap: 1rem;
}

.service-item {
  padding: 1.3rem;
}

.service-meta {
  font-weight: 600;
  color: #41505d;
}

.cta-strip {
  margin-top: 1.5rem;
  padding: 1.05rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
}

.cta-strip p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.preview-grid,
.gallery-grid {
  display: grid;
  gap: 0.85rem;
}

.preview-grid img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  filter: saturate(0.96) contrast(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.preview-grid img:hover,
.gallery-grid img:hover {
  transform: scale(1.02);
  filter: saturate(1.02);
}

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

.preview-grid img:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16 / 8;
}

.preview-grid img:nth-child(n + 2) {
  aspect-ratio: 1;
}

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

.gallery-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-grid figure img {
  aspect-ratio: 1;
}

.noscript-note {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 1.15rem;
}

.footer-grid h3 {
  margin-bottom: 0.48rem;
  font-size: 1.02rem;
}

.footer-grid p {
  margin-bottom: 0.45rem;
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 0.86rem 0 1.1rem;
}

.home-hero {
  padding-bottom: 1rem;
}

.home-hero-shell {
  position: relative;
}

.hero-stage {
  display: grid;
  background: #f2efe8;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  background: transparent;
  color: var(--text);
  padding: 3.2rem 2.4rem;
  border-bottom-right-radius: 0;
}

.hero-copy .eyebrow,
.hero-copy p,
.hero-copy .lead {
  color: var(--muted);
}

.hero-copy h1 {
  color: var(--text);
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  line-height: 1;
}

.hero-note {
  margin-top: 1.2rem;
  max-width: 42ch;
  font-size: 0.96rem;
}

.hero-copy .btn-ghost {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7e3db;
}

.hero-photo-frame {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  border: 10px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 34px -28px rgba(0, 0, 0, 0.18);
  background: #ffffff;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-frame-main {
  position: relative;
  z-index: 1;
}

.service-rail {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.feature-panel {
  background: #23282e;
  color: #ffffff;
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow);
}

.feature-panel p,
.feature-panel h3 {
  color: inherit;
}

.feature-panel-accent {
  background: #1c2025;
}

.feature-index {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.24);
  margin-bottom: 0.25rem;
}

.home-intro {
  padding-top: 4rem;
}

.intro-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.intro-media {
  position: relative;
  min-height: 420px;
}

.intro-accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 54%;
  height: 58%;
  border: 10px solid var(--primary);
}

.intro-photo {
  margin: 0;
  position: absolute;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 0.65rem;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-photo-large {
  left: 1rem;
  top: 1.3rem;
  width: min(72%, 380px);
  aspect-ratio: 4 / 5;
}

.intro-photo-small {
  right: 1rem;
  bottom: 0;
  width: min(45%, 220px);
  aspect-ratio: 1;
}

.intro-panel {
  max-width: 580px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.78rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2rem;
  height: 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 47, 97, 0.12);
  color: var(--primary);
  font-weight: 800;
}

.contact-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--primary);
  color: #ffffff;
  padding: 1.1rem 1.2rem;
  margin-top: 2rem;
  border-radius: 6px;
}

.contact-ribbon strong,
.contact-ribbon p {
  color: inherit;
  margin: 0;
}

.contact-ribbon-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: transparent;
}

.section-head-stack {
  align-items: start;
}

.offer-section {
  padding-top: 3.2rem;
}

.offer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.offer-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1.25rem;
  min-height: 220px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 47, 97, 0.3);
}

.offer-card-featured {
  background: #23282e;
}

.offer-card-featured h3,
.offer-card-featured p,
.offer-card-featured a {
  color: #ffffff;
}

.project-section {
  background: #f8f7f4;
}

.project-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--line);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.project-card-body {
  padding: 0.9rem 1rem 1rem;
}

.project-card-highlight .project-card-body {
  background: #23282e;
}

.project-card-highlight h3,
.project-card-highlight p {
  color: #ffffff;
}

.metric-band {
  background: var(--primary);
  color: #ffffff;
}

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

.metric {
  padding: 1.4rem 1rem;
  text-align: center;
}

.metric strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.metric span {
  color: rgba(255, 255, 255, 0.88);
}

.dark-promise-section {
  background: #23282e;
}

.dark-promise-shell {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.dark-promise-copy h2,
.dark-promise-points h3,
.dark-promise-copy p,
.dark-promise-points p {
  color: #ffffff;
}

.dark-promise-copy p,
.dark-promise-points p {
  color: rgba(255, 255, 255, 0.78);
}

.dark-promise-copy .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.dark-promise-points {
  display: grid;
  gap: 1rem;
}

.dark-promise-points article {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
}

.final-cta-section {
  background: #bdbdbd;
}

.final-cta {
  position: relative;
  text-align: center;
  padding: 4rem 1rem;
  overflow: hidden;
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin-inline: auto;
}

.final-cta .btn {
  position: relative;
  z-index: 1;
  margin-top: 0.8rem;
}

.final-cta-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(2.6rem, 10vw, 6rem);
  color: rgba(34, 39, 45, 0.18);
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.page-hero-rich {
  padding-top: 2.8rem;
  padding-bottom: 2rem;
}

.page-stage {
  min-height: 400px;
}

.hero-copy-sm {
  padding-bottom: 3.5rem;
  border-bottom-right-radius: 160px;
}

.page-hero-image {
  background: #d2d2d0;
}

.page-hero-image .hero-photo-frame {
  width: min(100%, 360px);
}

.feature-panel-link {
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.feature-panel-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
}

.service-rail-tight {
  margin-top: 0;
}

.service-details-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-detail-card {
  padding: 1.4rem;
}

.service-number {
  display: inline-block;
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 1;
  color: rgba(255, 47, 97, 0.26);
  margin-bottom: 0.45rem;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-bullets li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.gallery-top-layout {
  align-items: start;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--line);
  margin-bottom: 1.2rem;
}

.gallery-toolbar strong {
  display: inline-block;
  margin-bottom: 0.2rem;
}

.gallery-toolbar p {
  margin: 0;
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

.contact-primary-card {
  background: #23282e;
  color: #ffffff;
  padding: 1.45rem;
  border-top: 5px solid var(--primary);
}

.contact-primary-card .eyebrow,
.contact-primary-card h2,
.contact-primary-card p {
  color: #ffffff;
}

.contact-primary-card p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.contact-primary-card .btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-links {
  display: grid;
  gap: 0.45rem;
}

.contact-links a {
  font-weight: 600;
}

.contact-secondary-grid {
  display: grid;
  gap: 1rem;
}

.contact-secondary-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.contact-secondary-card p {
  margin-bottom: 0.75rem;
}

/* === Scroll reveal: CSS scroll-driven animations (Chrome 115+, Edge 115+, Safari 26+) === */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(22px);
      }
    }

    .will-reveal {
      animation: reveal-up auto linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 28%;
    }
  }
}

/* === Scroll reveal: IntersectionObserver fallback (Firefox and others) === */
@media (prefers-reduced-motion: no-preference) {
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .will-reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.45s ease, transform 0.45s ease;
    }

    .will-reveal.in-view {
      opacity: 1;
      transform: none;
    }
  }
}

/* ===== Hero: Homepage ===== */
.hero-home {
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='0.9' fill='%23ffffff' fill-opacity='.055'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.hero-home-grid {
  display: grid;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-home-copy .eyebrow {
  color: var(--primary);
  letter-spacing: 0.18em;
  margin-bottom: 1.4rem;
}

.hero-home-copy h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-home-copy h1::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 1.4rem;
  border-radius: 2px;
}

.hero-home-copy .lead {
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.06rem;
  max-width: 46ch;
}

.btn-ghost-inv {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

.btn-ghost-inv:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  filter: none;
}

.hero-home-media {
  position: relative;
  overflow: hidden;
  display: none;
  min-height: 300px;
}

.hero-home-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--accent) 0%, transparent 38%);
  z-index: 1;
  pointer-events: none;
}

.hero-home-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.06);
  display: block;
}

.hero-ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.9rem 0;
  position: relative;
  z-index: 1;
}

.ticker-inner {
  display: inline-flex;
  gap: 2rem;
  animation: ticker 30s linear infinite;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.35);
  will-change: transform;
}

.ticker-inner b {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.15);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

.home-service-pods {
  background: var(--bg);
  padding: 1.4rem 0 0;
}

/* ===== Hero: Inner Pages ===== */
.hero-page {
  background: var(--accent);
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.8rem) 0 clamp(2.8rem, 5.5vw, 4.4rem);
}

.hero-page-bg-text {
  position: absolute;
  right: -0.04em;
  bottom: -0.2em;
  font-family: var(--display);
  font-size: clamp(6rem, 22vw, 18rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-page-inner {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.hero-page-bar {
  flex-shrink: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  min-height: 60px;
  align-self: stretch;
}

.hero-page-copy {
  position: relative;
  z-index: 1;
}

.hero-page-copy .eyebrow {
  color: var(--primary);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.hero-page-copy h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-page-copy .lead {
  color: rgba(255, 255, 255, 0.58);
  max-width: 54ch;
}

@media (min-width: 760px) {
  .hero-home-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 460px;
  }

  .hero-home-media {
    display: block;
    align-self: stretch;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .hero-grid {
    align-items: center;
  }

  .service-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .service-rail-tight {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .dark-promise-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (min-width: 940px) {
  .service-rail-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 10px;
    gap: 0.9rem;
  }

  .gallery-grid figure {
    grid-column: span 6;
    grid-row: span 22;
  }

  .gallery-grid figure:nth-child(5n + 1) {
    grid-column: span 8;
    grid-row: span 30;
  }

  .gallery-grid figure:nth-child(5n + 2) {
    grid-column: span 4;
    grid-row: span 30;
  }

  .gallery-grid figure:nth-child(5n + 4) {
    grid-column: span 5;
    grid-row: span 25;
  }

  .gallery-grid figure:nth-child(5n + 5) {
    grid-column: span 7;
    grid-row: span 25;
  }

  .gallery-grid figure img {
    aspect-ratio: auto;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffcf7;
    box-shadow: var(--shadow);
    padding: 0.46rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.72rem 0.86rem;
  }

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

  .hero-copy {
    padding: 2.3rem 1.3rem;
  }

  .hero-copy-sm {
    border-bottom-right-radius: 92px;
  }

  .hero-visual {
    min-height: 250px;
    padding: 1rem;
  }

  .service-rail {
    margin-top: 1rem;
  }

  .intro-media {
    min-height: 360px;
  }

  .intro-photo-large {
    width: 78%;
  }

  .intro-photo-small {
    width: 42%;
  }

  .contact-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-secondary-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid img:nth-child(1) {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .will-reveal,
  .will-reveal.in-view {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}