/* ===== Innis Pearl Group — rebuild stylesheet ===== */

@font-face {
  font-family: "FORMANOVA";
  src: url("/fonts/FormaMuova-Neretta.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --fg: #fafafa;
  --accent: #eefb52;
  --nav-font: aktiv-grotesk-extended, "Helvetica Neue", Arial, sans-serif;
  --body-font: "FORMANOVA", "Arial Narrow", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body-font);
  line-height: 1.4;
  overflow-x: hidden;
  font-synthesis: none;
}

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

ul {
  list-style: none;
}

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

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

/* ===== Film grain overlay (approximates Squarespace's WebGL grain effect) ===== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}

/* ===== Page load transition line ===== */
.load-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(1);
  transform-origin: left;
  z-index: 999;
  animation: loadBar 0.9s ease forwards;
  animation-delay: 0.1s;
}

@keyframes loadBar {
  0% { transform: scaleX(0); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: left; }
  56% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 36px) clamp(24px, 5vw, 64px);
}

.site-logo img {
  height: 54px;
  width: auto;
}

.site-nav ul {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.site-nav a {
  font-family: var(--nav-font);
  font-weight: 400;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(250, 250, 250);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

/* ===== Mobile menu (hamburger + full-screen slide-out) ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
}

.menu-toggle span:nth-child(2) {
  width: 70%;
}

.menu-toggle.is-open span {
  width: 100%;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* ===== Services nav dropdown ===== */
.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  display: flex;
  gap: 40px;
  margin-top: 20px;
  padding: 28px 32px;
  background: rgba(10, 10, 10, 0.97);
  border: 1px solid rgba(250, 250, 250, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 101;
}

.has-dropdown.is-open .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Invisible bridge spanning the 20px visual gap between the nav word and the
   panel, so the pointer never crosses dead space on its way down.
   Deliberately on the <li>, not on .nav-dropdown: the panel gets
   overflow-y: auto at narrow widths (see the media query below), which clips
   any pseudo-element sitting outside its box -- a bridge on the panel silently
   disappears there. Anchoring to the li also keeps the bridge exactly as wide
   as the nav word, so it can never reach over a neighbouring menu.
   It exists ONLY while open, so a closed menu is completely inert and cannot
   intercept a hover meant for its sibling (the panels overlap horizontally,
   which is what used to hijack the Services hover).
   Height must stay in sync with .nav-dropdown's margin-top. */
.has-dropdown.is-open::after,
.has-dropdown:focus-within::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
}

.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 200px;
}

.nav-dropdown-heading {
  font-family: var(--nav-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.nav-dropdown-col a {
  font-family: var(--nav-font);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgb(250, 250, 250);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-dropdown-col a:hover {
  color: var(--accent);
}

/* ===== Hero (Home) ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: clamp(120px, 8.7vw, 150px);
  padding-bottom: clamp(36px, 3.25vw, 56px);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  width: 100%;
  flex-wrap: wrap;
}

.hero-graphic {
  position: relative;
  width: min(30vw, 482px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.hero-graphic .circle-photo {
  position: absolute;
  left: 1.7%;
  top: 50%;
  transform: translateY(-50%);
  width: 46.7%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: clamp(1.5px, 0.25vw, 3px) solid var(--accent);
  z-index: 1;
}

.hero-graphic .circle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.hero-graphic .ring {
  position: absolute;
  top: 50%;
  width: 46.7%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: clamp(1.5px, 0.25vw, 3px) solid var(--accent);
  transform: translateY(-50%);
  z-index: 2;
}

.hero-graphic .ring-1 { left: 18.3%; }
.hero-graphic .ring-2 { left: 35.0%; }
.hero-graphic .ring-3 { left: 51.6%; }

.hero-copy {
  flex: 1;
  min-width: 280px;
}

.hero-headline {
  display: block;
  width: min(32vw, 518px);
  height: auto;
  opacity: 0;
  animation: heroFadeIn 0.9s ease forwards;
  animation-delay: 0.6s;
}

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

.hero-tagline {
  margin-top: clamp(20px, 2.7vw, 30px);
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: rgb(250, 250, 250);
  white-space: nowrap;
}

.hero-tagline .sep {
  color: var(--accent);
}

/* ===== Marquee ===== */
.marquee-section {
  position: relative;
  padding: clamp(30px, 4vw, 48px) 0;
  overflow: hidden;
}

.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 3.75vw, 60px);
  height: clamp(44px, 3.75vw, 60px);
  color: rgb(238, 251, 82);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.marquee-arrow svg {
  width: 60%;
  height: 60%;
}

.marquee-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

.marquee-arrow.prev { left: clamp(8px, 1.5vw, 20px); }
.marquee-arrow.next { right: clamp(8px, 1.5vw, 20px); }

.marquee-viewport {
  position: relative;
  overflow: hidden;
  padding: 0 clamp(70px, 8vw, 120px);
}

.marquee-viewport::before,
.marquee-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(70px, 8vw, 120px);
  background: var(--bg);
  z-index: 2;
}

.marquee-viewport::before { left: 0; }
.marquee-viewport::after { right: 0; }

.marquee-track {
  display: flex;
  align-items: center;
  transition: transform 0.4s ease;
}

.marquee-track .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(100% / 6);
  height: clamp(70px, 8vw, 120px);
  padding: 0 clamp(12px, 1.5vw, 24px);
}

.marquee-track img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* ===== Text sections (Who We Are / Our Services) ===== */
.text-section {
  padding: clamp(80px, 15vw, 220px) 0;
  text-align: center;
}

.text-section + .text-section {
  padding-top: clamp(60px, 10vw, 140px);
}

.text-section:has(+ .cta-section) {
  padding-bottom: clamp(40px, 5vw, 70px);
}

.text-section .eyebrow {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 18.38px;
  letter-spacing: normal;
  text-transform: none;
  color: rgb(255, 255, 255);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.text-section .text-col {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.text-section p {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgb(250, 250, 250);
}

.text-section p + p {
  margin-top: 1.4em;
}

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

/* ===== CTA ===== */
.cta-section {
  display: flex;
  justify-content: center;
  padding: clamp(16px, 2vw, 28px) 0 clamp(30px, 5vw, 60px);
}

.btn-accent {
  display: inline-block;
  background: rgb(238, 251, 82);
  color: #000000;
  font-family: var(--nav-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 6.4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-accent:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ===== Footer ===== */
.site-footer {
  padding: clamp(36px, 5vw, 60px) 0 clamp(24px, 3vw, 36px);
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(60px, 8vw, 130px);
  margin-bottom: clamp(30px, 4.5vw, 56px);
}

.footer-contacts .label {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 19.7px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  margin-bottom: 10px;
}

.footer-contacts a {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 11px;
  line-height: 15.68px;
  color: rgb(238, 251, 82);
  text-decoration: underline;
  word-break: break-word;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 11px;
  line-height: 15.68px;
  color: rgb(250, 250, 250);
}

/* ===== Work page ===== */
.work-hero {
  position: relative;
  display: flex;
  margin-top: 86px;
}

.work-hero-photo {
  position: relative;
  width: 50%;
  height: clamp(360px, 43vw, 688px);
  overflow: hidden;
}

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

.work-hero-overlay {
  position: absolute;
  left: 32.2%;
  top: 48%;
  width: min(21vw, 300px);
  z-index: 2;
}

.work-hero-overlay .work-hero-label {
  display: inline-block;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 18.38px;
  color: rgb(238, 251, 82);
  text-decoration: underline;
  margin-bottom: 12px;
}

.work-hero-overlay p {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 19.7px;
  color: rgb(250, 250, 250);
}

.work-hero-overlay p + p {
  margin-top: 1em;
}

.service-block {
  padding: clamp(48px, 8vw, 90px) 0;
}

.service-block .block-title {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 26px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.service-group h4 {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 17.68px;
  line-height: 22.9px;
  text-transform: uppercase;
  color: rgb(238, 251, 82);
  margin-bottom: 14px;
}

.service-group .bullets {
  font-family: var(--body-font);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 19.7px;
  color: rgb(250, 250, 250);
}

.service-group .get-in-touch {
  margin-top: 20px;
}

.get-in-touch-btn {
  display: inline-block;
  background: rgb(238, 251, 82);
  color: #000000;
  font-family: var(--nav-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 6.4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.get-in-touch-btn:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.work-gallery-section {
  padding: clamp(40px, 6vw, 70px) 0;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.work-gallery + .work-gallery {
  margin-top: 12px;
}

.work-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 694 / 729;
  object-fit: cover;
}

/* ===== Homepage content sections (post-hero) ===== */
.section {
  padding: clamp(64px, 9vw, 130px) 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow-label {
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
}

.section-lead {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg);
  margin-top: 18px;
}

.section a.inline-link {
  color: var(--fg);
  text-decoration: underline;
}

/* Intro statement */
.intro-grid {
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 180px) 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.intro-icon img {
  width: clamp(40px, 4vw, 64px);
  height: auto;
}

.intro-copy h1 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.4;
  max-width: 900px;
}

.intro-copy p {
  font-size: 14px;
  line-height: 21px;
  margin-top: 20px;
  max-width: 720px;
}

/* Product image marquee */
.product-marquee {
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0;
}

.product-marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: productMarqueeScroll 36s linear infinite;
}

.product-marquee:hover .product-marquee-track {
  animation-play-state: paused;
}

.product-marquee-item {
  flex-shrink: 0;
  height: clamp(220px, 28vw, 420px);
}

.product-marquee-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
}

@keyframes productMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Three-tile hover nav */
.nav-tiles-section {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
}

.nav-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  align-items: start;
}

.nav-tile {
  position: relative;
  display: block;
  overflow: hidden;
}

.nav-tile-lg {
  aspect-ratio: 3 / 4;
}

.nav-tile:not(.nav-tile-lg) {
  aspect-ratio: 4 / 3;
}

.nav-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.nav-tile:hover img {
  transform: scale(1.04);
}

.nav-tile-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(250, 250, 250);
}

.cursor-label {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: var(--accent);
  color: #000000;
  font-family: var(--nav-font);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 5;
  white-space: nowrap;
}

.cursor-label.is-visible {
  opacity: 1;
}

/* About excerpt (centered, expandable) */
.about-excerpt {
  text-align: center;
}

.about-excerpt-copy {
  max-width: 760px;
  margin: 0 auto;
}

.about-excerpt-copy p {
  font-size: 14px;
  line-height: 20px;
}

.read-more-btn {
  display: inline;
  background: none;
  border: none;
  color: var(--fg);
  text-decoration: underline;
  font-family: var(--body-font);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

.about-excerpt-more {
  max-height: 0;
  overflow: hidden;
  text-align: center;
  transition: max-height 0.4s ease;
}

.about-excerpt-more.is-open {
  max-height: 800px;
  margin-top: 24px;
}

.about-excerpt-more p {
  font-size: 14px;
  line-height: 20px;
  margin-top: 14px;
}

.about-excerpt-more p:first-child {
  margin-top: 0;
}

/* Split (image + copy) layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy p {
  font-size: 14px;
  line-height: 20px;
  margin-top: 14px;
}

.split-copy p:first-child {
  margin-top: 0;
}

.callout-box {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin-top: 32px;
}

.callout-box h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 10px;
}

.callout-box p {
  font-size: 14px;
  line-height: 20px;
}

/* Process steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.step-num {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 10px;
}

.step-card h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  line-height: 18px;
  color: rgba(250, 250, 250, 0.8);
}

/* Full-bleed media */
.full-media {
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 64px);
}

.full-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service tiles */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.service-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 60%);
}

.service-tile-content {
  position: relative;
  padding: 20px;
}

.service-tile-content .tag {
  display: block;
  font-family: var(--nav-font);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-tile-content h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 6px;
}

.service-tile-content p {
  font-size: 12px;
  line-height: 16px;
  color: rgba(250, 250, 250, 0.85);
  margin-bottom: 10px;
}

.arrow-link {
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(250, 250, 250);
  transition: color 0.2s ease;
}

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

.service-note {
  max-width: 720px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(250, 250, 250, 0.15);
  text-align: center;
}

.service-note .section-lead {
  margin-top: 0;
}

.note-block {
  max-width: 720px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: center;
}

.note-block h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 10px;
}

.note-block p {
  font-size: 14px;
  line-height: 20px;
}

/* Industry / community cards */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  border: 1px solid rgba(250, 250, 250, 0.15);
  padding: 28px;
  transition: border-color 0.2s ease;
}

.industry-card:hover {
  border-color: var(--accent);
}

.industry-card h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 13px;
  line-height: 19px;
  color: rgba(250, 250, 250, 0.85);
  margin-bottom: 14px;
}

.industry-card .arrow-link {
  color: var(--accent);
}

/* Reasons grid */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.reason-card h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 8px;
}

.reason-card p {
  font-size: 13px;
  line-height: 18px;
  color: rgba(250, 250, 250, 0.8);
}

.section-footnote {
  max-width: 760px;
  margin: clamp(32px, 5vw, 48px) auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 19px;
  color: rgba(250, 250, 250, 0.75);
}

/* Resource cards: staggered 70/30 - 30/70 zigzag layout */
.resource-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resource-row {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 16px;
}

.resource-row:nth-child(2) {
  grid-template-columns: 4fr 6fr;
}

.resource-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 250, 250, 0.15);
  padding: 28px;
  min-height: 288px;
}

.resource-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.resource-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 13px;
  line-height: 19px;
  color: rgba(250, 250, 250, 0.85);
}

.resource-card--wide .resource-card-content p {
  max-width: 30%;
}

.resource-card--narrow .resource-card-content p {
  max-width: 60%;
}

.resource-card .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--body-font);
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--fg);
  margin-top: auto;
  padding-top: 14px;
}

.resource-card .arrow-link .bracket {
  color: var(--fg);
}

/* FAQ accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(250, 250, 250, 0.15);
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  font-size: 14px;
  line-height: 20px;
  color: rgba(250, 250, 250, 0.85);
  margin-top: 14px;
}

.faq-item h4 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 4px;
}

/* Final CTA */
.final-cta {
  text-align: center;
}

.final-cta .section-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-logo img {
    height: 30px;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    padding: 100px 32px 48px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .mobile-nav.is-open {
    transform: translateX(0);
  }

  .mobile-nav_list > li {
    border-bottom: 1px solid rgba(250, 250, 250, 0.12);
  }

  .mobile-nav_list > li > a {
    display: block;
    padding: 20px 0;
    font-family: var(--nav-font);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fg);
  }

  .mobile-nav_trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--nav-font);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fg);
  }

  .mobile-nav_chevron {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .mobile-nav_chevron::before,
  .mobile-nav_chevron::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--fg);
    transition: transform 0.3s ease;
  }

  .mobile-nav_chevron::before {
    width: 14px;
    height: 1.5px;
    transform: translate(-50%, -50%);
  }

  .mobile-nav_chevron::after {
    width: 1.5px;
    height: 14px;
    transform: translate(-50%, -50%);
  }

  .mobile-has-dropdown.is-open .mobile-nav_chevron::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
  }

  .mobile-nav_panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .mobile-nav_panel a {
    display: block;
    padding: 12px 0 12px 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(250, 250, 250, 0.75);
  }

  .mobile-nav_panel a:hover,
  .mobile-nav_panel a:active {
    color: var(--accent);
  }

  .mobile-nav_heading {
    padding: 16px 0 4px 16px;
    font-family: var(--nav-font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .mobile-nav_heading:first-child {
    padding-top: 4px;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-graphic {
    width: 60vw;
    margin: 0 auto;
  }

  .hero-headline {
    width: 60vw;
  }

  .hero-tagline {
    white-space: normal;
  }

  .footer-contacts {
    flex-direction: column;
    gap: 28px;
  }

  .work-hero {
    flex-direction: column;
  }

  .work-hero-photo {
    width: 100%;
    height: 60vw;
  }

  .work-hero-overlay {
    left: 8%;
    top: 28.8vw;
    width: 80%;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .split,
  .split.reverse .split-media {
    grid-template-columns: 1fr;
    order: initial;
  }

  .split {
    display: flex;
    flex-direction: column;
  }

  .steps-grid,
  .service-tiles,
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-row,
  .resource-row:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .resource-card--wide .resource-card-content p,
  .resource-card--narrow .resource-card-content p {
    max-width: 100%;
  }

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

  .full-media {
    aspect-ratio: 4 / 5;
  }

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

  .intro-icon img {
    width: 40px;
  }

  .nav-tiles {
    grid-template-columns: 1fr;
  }

  .nav-tile-lg,
  .nav-tile:not(.nav-tile-lg) {
    aspect-ratio: 4 / 3;
  }

  .cursor-label {
    display: none;
  }

  .marquee-viewport {
    padding: 0 44px;
  }

  .marquee-viewport::before,
  .marquee-viewport::after {
    width: 44px;
  }

  .marquee-arrow {
    width: 36px;
    height: 36px;
  }

  .marquee-track .logo-item {
    width: calc(100% / 2);
    height: 120px;
    padding: 0 16px;
  }
}
