:root {
  --gold: #e8a000;
  --black: #0a0a0a;
  --white: #f5f4f0;
  --gray: #141414;
  --mid: #ffffff;

  /* Semantic tokens — used for theming */
  --surface: #0f0f0f;
  --surface-alt: #0d0d0d;
  --surface-hover: #111111;
  --border-subtle: #2a2a2a;
  --marquee-bg: #0f0f0f;
  --marquee-border: #1c1c1c;
  --footer-bg: #050505;
  --footer-border: #111111;
  --nav-overlay: rgba(10, 10, 10, 0.97);
  --photo-overlay: rgba(10, 10, 10, 0.5);
  --case-overlay: rgba(0, 0, 0, 0.07);
  --text-body: #ffffff;
  --case-text: #0a0a0a; /* Case section stays dark-on-gold in both themes */
  --case-dark-bg: #0a0a0a; /* .case-metric.dark always stays dark */
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: "Arimo", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: crosshair;
}

/* NAV BURGER — hidden on desktop */
.nav-toggle {
  display: none;
}
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 201;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 48px;
}
nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--nav-overlay), transparent);
  pointer-events: none;
}
.nav-logo {
  position: relative;
  z-index: 1;
  text-decoration: none;
}
.nav-logo img {
  height: 28px;
  width: auto;
  filter: brightness(1);
}
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: var(--black);
  border-left: 1px solid var(--border-subtle);
  z-index: 200;
  padding: 80px 48px 60px;
  list-style: none;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.nav-toggle:checked ~ .nav-links {
  transform: translateX(0);
}
.nav-toggle:checked ~ .nav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked ~ .nav-burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle:checked ~ .nav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 120px 64px 80px;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, var(--black) 65%, transparent);
}
.hero-tag {
  font-size: 18px;
  letter-spacing: 0.35em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 900;
  font-size: clamp(64px, 7vw, 100px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}
.hero-title .accent {
  color: var(--gold);
}
.hero-sub {
  margin-top: 36px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 440px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 16px 36px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
}
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--black) 0%, transparent 40%),
    linear-gradient(to top, var(--black) 0%, transparent 20%);
}
.hero-stat {
  position: absolute;
  bottom: 20%;
  right: 48px;
  text-align: right;
  z-index: 3;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.hero-stat-big {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 88px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-body);
  max-width: 180px;
  margin-left: auto;
  line-height: 1.6;
  margin-top: 8px;
}
.hero-scroll-line {
  position: absolute;
  bottom: 0;
  left: 64px;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: pulse 2s ease-in-out infinite;
  z-index: 3;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* MARQUEE */
.marquee-wrap {
  border-top: 1px solid var(--marquee-border);
  border-bottom: 1px solid var(--marquee-border);
  overflow: hidden;
  padding: 13px 0;
  background: var(--marquee-bg);
}
.marquee-track {
  display: flex;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0 40px;
  flex-shrink: 0;
}
.marquee-item span {
  color: var(--gold);
  margin-right: 10px;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* SECTION */
section {
  padding: 120px 64px;
  position: relative;
}
.section-tag {
  font-size: 18px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.section-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 900;
  font-size: clamp(48px, 5vw, 78px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  z-index: 1;
}
.accent {
  color: var(--gold);
}

/* METHODOLOGY */
.method {
  background: var(--black);
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  align-items: stretch;
}
.method-grid > :nth-child(2) {
  margin-top: -80px;
}
.method-left {
  padding-right: 64px;
}
.method-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-top: 32px;
}
.method-quote {
  margin-top: 48px;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  font-style: italic;
}
.method-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 40px;
}
.method-card {
  background: var(--surface);
  padding: 24px 28px;
  border-left: 3px solid transparent;
  transition: border-color 0.2s;
}
.method-card:hover {
  border-left-color: var(--gold);
}
.method-card-label {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.method-card-title {
  font-family: "times new roman", times, serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.method-card-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mid);
}

/* PHOTO BREAK — full width image with text overlay */
.photo-break {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.photo-break-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      var(--black) 0%,
      transparent 20%,
      transparent 60%,
      var(--black) 100%
    ),
    linear-gradient(to right, var(--photo-overlay) 0%, transparent 60%);
}
.photo-break-label {
  position: absolute;
  bottom: 56px;
  left: 64px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--white);
}

/* PROBLEM */
.problem {
  background: var(--gray);
  padding: 0;
}
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.problem-text {
  padding: 120px 64px;
}
.problem-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-top: 32px;
}
.problem-body strong {
  color: var(--white);
  font-weight: 900;
}
.problem-photo {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.problem-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.problem-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--gray) 0%, transparent 25%),
    linear-gradient(to top, var(--gray) 0%, transparent 20%);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.stat-card {
  padding: 20px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.stat-card:hover {
  background: var(--surface-alt);
}
.stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.stat-card:hover::after {
  transform: scaleX(1);
}
.stat-micro {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}
.stat-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 84px;
  font-weight: 900;
  line-height: 1;
  color: var(--mid);
}
.stat-desc {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--mid);
}

/* PRACTICE */
.practice {
  background: var(--black);
  padding: 0;
}
.practice-inner {
  padding: 60px 64px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.practice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.practice-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  flex: 1;
  min-height: 0;
}
.practice-photo {
  position: relative;
  overflow: hidden;
  margin-top: -150px;
}
.practice-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.practice-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, transparent 55%, var(--black) 100%),
    linear-gradient(to top, var(--black) 0%, transparent 15%);
}
.practice-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.practice-card {
  background: var(--surface-alt);
  padding: 10px 10px 10px 60px;
  flex: 1;
  border-left: 3px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
  cursor: default;
  position: relative;
}
.practice-card:hover {
  border-left-color: var(--gold);
  background: var(--surface-hover);
}
.practice-card-num {
  position: absolute;
  top: 16px;
  left: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: rgba(232, 159, 0, 0.721);
  line-height: 1;
}
.practice-card-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.practice-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mid);
}

/* CASE STUDY */
.case {
  background: var(--gold);
  color: var(--case-text);
  padding: 0;
}
.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}
.case-photo {
  position: relative;
  overflow: hidden;
}
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%) contrast(1.2);
  mix-blend-mode: multiply;
}
.case-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 60%, var(--gold) 100%),
    linear-gradient(to top, var(--gold) 0%, transparent 20%);
}
.case-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.case .section-tag {
  color: rgba(10, 10, 10, 0.5);
}
.case .section-title {
  color: var(--case-text);
}
.case-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--case-text);
  margin-top: 14px;
  max-width: 500px;
}
.case-quote {
  margin-top: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--case-text);
  border-left: 3px solid var(--case-text);
  padding-left: 18px;
}
.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}
.case-metric {
  background: var(--case-overlay);
  padding: 10px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.case-metric.dark {
  background: var(--case-dark-bg);
}
.case-metric-label {
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--case-text);
}
.case-metric.dark .case-metric-label {
  color: #ffffff; /* dark card always has dark bg — keep white text */
}
.case-metric-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--case-text);
}
.case-metric.dark .case-metric-value {
  color: var(--gold);
}

/* BRAND BUILDING */
.building {
  background: var(--gray);
  padding: 0;
}
.building-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.building-content {
  padding: 80px 60px 60%;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.building-photo {
  position: relative;
  overflow: hidden;
}
.building-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.building-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, transparent 60%, var(--gray) 100%),
    linear-gradient(to top, var(--gray) 0%, transparent 15%);
}
.building-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-top: 24px;
}
.building-tags {
  display: flex;
  gap: 2px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.building-tag {
  background: var(--black);
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ENGAGE */
.engage {
  background: var(--black);
  padding: 60px 64px 80px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20vh;
}
.engage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 24px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.engage-photo {
  position: relative;
  overflow: hidden;
  margin-top: -150px;
}
.engage-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  max-height: 80vh;
}
.engage-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, transparent 60%, var(--black) 100%),
    linear-gradient(to top, var(--black) 0%, transparent 15%);
}
.engage-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 64px;
}
.engage-card {
  background: var(--gray);
  padding: 14px 28px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s;
  flex: 1;
}
.engage-card:hover {
  border-top-color: var(--gold);
}
.engage-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: rgba(232, 159, 0, 0.721);
  line-height: 1;
  margin-bottom: 8px;
}
.engage-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.engage-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--mid);
}

/* CTA */
.cta {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.cta-photo {
  position: relative;
  overflow: hidden;
}
.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 55%, var(--black) 100%),
    linear-gradient(to bottom, var(--black) 0%, transparent 12%);
}
.cta-content {
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 64px;
  position: relative;
}
.cta-bg-text {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: "Anton", sans-serif;
  font-size: 19vw;
  font-weight: 900;
  color: rgba(232, 160, 0, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.cta-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 900;
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.cta-details {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.cta-contact-line {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}
.cta-email-link {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1px;
  transition:
    border-color 0.2s,
    color 0.2s;
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.cta-email-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  padding: 28px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--footer-border);
}
.footer-logo img {
  height: 22px;
  width: auto;
  opacity: 0.6;
  filter: brightness(1);
}
.footer-meta,
.footer-right {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-body);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1921px) {
  .hero-left {
    justify-content: flex-end;
    margin-bottom: 5vh;
  }
}

@media (min-width: 1921px) {
  .building-content {
    justify-content: center;
  }
}

@media (min-width: 1921px) {
  .practice-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .practice-card-num {
    top: 50%;
    transform: translateY(-50%);
  }
  .engage-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .problem-text {
    padding: 120px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .case-content {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 1921px) {
  .practice-card-text,
  .hero-sub,
  .method-card-text,
  .method-body,
  .method-quote,
  .problem-body,
  .case-body,
  .building-body,
  .engage-text {
    font-size: 20px;
  }
}

@media (max-width: 1920px) {
  .practice-inner {
    height: auto;
    min-height: 170vh;
  }
  .practice-split {
    align-items: start;
  }
  .practice-cards {
    /* height: calc(100vh - 120px); */
  }
  .practice-photo {
    margin-right: -64px;
    margin-top: -198px;
    overflow: visible;
  }
  .engage {
    min-height: 170vh;
  }
  .engage-layout {
    align-items: start;
  }
  .engage-photo {
    margin-right: -64px;
    margin-top: -198px;
    overflow: visible;
  }
  .engage-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }
  .practice-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
}

@media (max-width: 900px) {
  /* NAV — fullscreen overlay on mobile */
  nav {
    padding: 18px 20px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .nav-links {
    width: auto;
    inset: 0;
    border-left: none;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 60px;
    transform: translateX(0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-toggle:checked ~ .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-links li {
    flex-shrink: 0;
  }
  .nav-links a {
    font-size: 13px;
    padding: 0;
  }

  /* SECTIONS */
  section {
    padding: 60px 20px;
  }

  /* HERO — image on top, text below */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right {
    display: block;
    order: 1;
    height: 100vw;
    min-height: 260px;
  }
  .hero-right::after {
    background:
      linear-gradient(to bottom, var(--black) 0%, transparent 25%),
      linear-gradient(to top, var(--black) 0%, transparent 30%);
  }
  .hero-left {
    order: 2;
    padding: 40px 20px 56px;
    background: none;
  }
  .hero-title {
    font-size: clamp(48px, 13vw, 76px);
  }
  .hero-sub {
    font-size: 15px;
    max-width: 100%;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
  }
  .hero-stat {
    display: none;
  }
  .hero-scroll-line {
    left: 20px;
  }

  /* GRID → single column */
  .method-grid,
  .problem-layout,
  .case-inner,
  .engage-layout,
  .cta,
  .practice-split,
  .building-inner {
    grid-template-columns: 1fr;
  }

  /* METHODOLOGY */
  .method-left {
    padding-right: 0;
  }
  .method-grid > :nth-child(2) {
    margin-top: 0;
    min-height: 65vw;
  }
  .method-body {
    font-size: 15px;
  }
  .method-card-text {
    font-size: 15px;
  }

  /* PHOTO BREAK */
  .photo-break {
    height: 70vw;
    min-height: 300px;
  }
  .photo-break-label {
    left: 20px;
    bottom: 24px;
    font-size: clamp(26px, 7.5vw, 52px);
  }

  /* PROBLEM */
  .problem-text {
    padding: 60px 20px;
  }
  .problem-body {
    font-size: 15px;
  }
  .problem-photo {
    display: block;
    height: 60vw;
    min-height: 220px;
  }
  .problem-photo img {
    height: 100%;
  }
  .problem-photo::after {
    background:
      linear-gradient(to top, var(--gray) 0%, transparent 30%),
      linear-gradient(to bottom, var(--gray) 0%, transparent 20%);
  }

  /* STATS */
  .stats-row {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 20px 24px;
  }
  .stat-number {
    font-size: 68px;
  }
  .stat-desc {
    font-size: 15px;
  }

  /* PRACTICE */
  .practice-inner {
    height: auto;
    min-height: auto;
    padding: 60px 20px;
  }
  .practice-photo {
    display: none;
  }
  .practice-cards {
    gap: 2px;
  }
  .practice-card {
    padding: 12px 12px 12px 52px;
    flex: none;
  }
  .practice-card-text {
    font-size: 14px;
  }

  /* CASE STUDY */
  .case-inner {
    min-height: auto;
  }
  .case-photo {
    height: 140vw;
    min-height: 220px;
  }
  .case-content {
    padding: 36px 20px 40px;
  }
  .case-body {
    max-width: 100%;
    font-size: 15px;
  }
  .case-metrics {
    margin-top: 20px;
  }
  .case-metric {
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .case-metric-label {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  /* BRAND BUILDING */
  .building-inner {
    min-height: auto;
  }
  .building-photo {
    display: block;
    order: -1;
    height: 110vw;
    min-height: 240px;
    margin: 0;
    overflow: hidden;
  }
  .building-photo img {
    height: 100%;
  }
  .building-photo::after {
    background:
      linear-gradient(to top, var(--gray) 0%, transparent 30%),
      linear-gradient(to bottom, var(--gray) 0%, transparent 20%);
  }
  .building-content {
    padding: 36px 20px 48px;
  }
  .building-body {
    font-size: 15px;
  }
  .building-tags {
    flex-wrap: wrap;
  }

  /* ENGAGE */
  .engage {
    min-height: auto;
    padding: 60px 20px 60px;
    margin-bottom: 0;
  }
  .engage-cards {
    padding-right: 0;
  }
  .engage-photo {
    display: block;
    order: -1;
    margin-top: 0;
    margin-right: 0;
    height: 100vw;
    min-height: 240px;
    overflow: hidden;
  }
  .engage-photo img {
    position: static;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
  }
  .engage-photo::after {
    background:
      linear-gradient(to top, var(--black) 0%, transparent 30%),
      linear-gradient(to bottom, var(--black) 0%, transparent 20%);
  }
  .engage-text {
    font-size: 15px;
  }

  /* CTA */
  .cta {
    min-height: auto;
  }
  .cta-photo {
    display: block;
    order: -1;
    height: 100vw;
    min-height: 260px;
  }
  .cta-photo::after {
    background:
      linear-gradient(to top, var(--black) 0%, transparent 30%),
      linear-gradient(to bottom, var(--black) 0%, transparent 15%);
  }
  .cta-content {
    padding: 36px 20px 56px;
  }
  .cta-bg-text {
    font-size: 38vw;
    bottom: -8px;
    right: -4px;
  }
  .cta-title {
    font-size: clamp(44px, 12vw, 72px);
    margin-bottom: 28px;
  }

  /* FOOTER */
  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 24px 20px;
  }
  .footer-meta,
  .footer-right {
    font-size: 9px;
  }
}

/* ===================================================================
   LIGHT THEME
   Applied via [data-theme="light"] (manual toggle)
   or prefers-color-scheme: light (system auto, unless user set dark)
   =================================================================== */

/* Shared light-theme variable values */
:root[data-theme="light"] {
  --black: #f5f4f0;
  --white: #0f0f0f;
  --gray: #ebe8e1;
  --mid: #1a1a1a;
  --surface: #e4e1da;
  --surface-alt: #dedad2;
  --surface-hover: #d4d0c8;
  --border-subtle: #b8b4ac;
  --marquee-bg: #e8e5de;
  --marquee-border: #d0ccc4;
  --footer-bg: #e4e0d8;
  --footer-border: #d0ccc4;
  --nav-overlay: rgba(245, 244, 240, 0.97);
  --photo-overlay: rgba(245, 244, 240, 0.5);
  --case-overlay: rgba(0, 0, 0, 0.08);
  --text-body: #1a1a1a;
}

/* System auto — applies when device is in light mode and user has not manually set dark */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --black: #f5f4f0;
    --white: #0f0f0f;
    --gray: #ebe8e1;
    --mid: #1a1a1a;
    --surface: #e4e1da;
    --surface-alt: #dedad2;
    --surface-hover: #d4d0c8;
    --border-subtle: #b8b4ac;
    --marquee-bg: #e8e5de;
    --marquee-border: #d0ccc4;
    --footer-bg: #e4e0d8;
    --footer-border: #d0ccc4;
    --nav-overlay: rgba(245, 244, 240, 0.97);
    --photo-overlay: rgba(245, 244, 240, 0.5);
    --case-overlay: rgba(0, 0, 0, 0.08);
    --text-body: #1a1a1a;
  }
}

/* Logo inversion: if logos are white/light PNGs, make them dark in light mode */
:root[data-theme="light"] .nav-logo img,
:root[data-theme="light"] .footer-logo img {
  filter: brightness(0);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .nav-logo img,
  :root:not([data-theme="dark"]) .footer-logo img {
    filter: brightness(0);
  }
}

/* Remove card backgrounds in light theme */
:root[data-theme="light"] .method-card,
:root[data-theme="light"] .practice-card,
:root[data-theme="light"] .engage-card { background: none; }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .method-card,
  :root:not([data-theme="dark"]) .practice-card,
  :root:not([data-theme="dark"]) .engage-card { background: none; }
}

/* Remove photo gradient overlays in light theme */
:root[data-theme="light"] .hero-right::after,
:root[data-theme="light"] .problem-photo::after,
:root[data-theme="light"] .practice-photo::after,
:root[data-theme="light"] .building-photo::after,
:root[data-theme="light"] .engage-photo::after,
:root[data-theme="light"] .cta-photo::after {
  background: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero-right::after,
  :root:not([data-theme="dark"]) .problem-photo::after,
  :root:not([data-theme="dark"]) .practice-photo::after,
  :root:not([data-theme="dark"]) .building-photo::after,
  :root:not([data-theme="dark"]) .engage-photo::after,
  :root:not([data-theme="dark"]) .cta-photo::after {
    background: none;
  }
}

/* Smooth theme transition */
body {
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* ===================================================================
   THEME TOGGLE BUTTON
   =================================================================== */

.theme-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--mid);
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  line-height: 1.4;
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 900px) {
  .theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 300;
    background: var(--black);
    border-color: var(--border-subtle);
  }
}

/* INTRO SPLASH */
#intro-block {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introFade 2.2s forwards;
}
@keyframes introFade {
  0%,
  70% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
#intro-block-text sup {
  font-size: 0.45em;
  vertical-align: top;
  margin-left: 0.15em;
  position: relative;
}
#intro-block-text {
  font-family: "Anton", sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 10vw, 120px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

/* ===================================================================
   MODAL
   =================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-panel {
  background: var(--black);
  border: 1px solid var(--border-subtle);
  padding: 56px 48px 48px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal-panel {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--mid);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--gold);
}
.modal-eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.modal-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.modal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-field label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.modal-field input,
.modal-field select,
.modal-field textarea {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--mid);
  font-family: "Arimo", sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}
.modal-field input::placeholder,
.modal-field textarea::placeholder {
  color: var(--border-subtle);
}
.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: var(--gold);
}
.modal-field textarea {
  resize: vertical;
  min-height: 100px;
}
.modal-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e8a000' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.modal-field select option {
  background: var(--surface);
  color: var(--mid);
}
.modal-submit {
  align-self: flex-start;
  margin-top: 8px;
}
.modal-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.modal-success {
  text-align: center;
  padding: 40px 0 20px;
}
.modal-success-text {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
  color: var(--mid);
}
.modal-success-text::before {
  content: "✓";
  display: block;
  font-family: "Arimo", sans-serif;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .modal-panel {
    padding: 48px 24px 36px;
  }
  .modal-row {
    grid-template-columns: 1fr;
  }
}
