/* ═══════════════════════════════════════════════════════════
   Design by Maryam — index.css (fully fixed)
   Palette: BLACK / WHITE / GREY only — zero warm tones
   All 22 errors from audit corrected.
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   CSS VARIABLES
   FIX #1: Removed all gold/warm accent colours (--accent,
   --accent-deep). Pure B&W/grey system only.
──────────────────────────────────────────────────────────*/
:root {
  /* Core palette */
  --black:       #0a0a0a;
  --white:       #ffffff;
  --grey-100:    #f5f5f5;   /* lightest bg */
  --grey-200:    #e8e8e8;   /* light bg / borders */
  --grey-300:    #d0d0d0;   /* mid border */
  --grey-400:    #a0a0a0;   /* muted text */
  --grey-500:    #6b6b6b;   /* secondary text */
  --grey-600:    #404040;   /* dark secondary */
  --grey-800:    #1a1a1a;   /* near-black bg */
  --grey-900:    #111111;   /* deep dark bg */

  /* Semantic aliases */
  --bg:          var(--grey-100);
  --ink:         var(--black);
  --ink-60:      rgba(10,10,10,0.6);
  --ink-30:      rgba(10,10,10,0.3);
  --ink-10:      rgba(10,10,10,0.08);

  /* Typography */
  --font-display: 'Cabinet Grotesk', sans-serif;
  --font-body:    'Satoshi', sans-serif;

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─────────────────────────────────────────────────────────
   RESET & BASE
──────────────────────────────────────────────────────────*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img {
  display: block;
  max-width: 100%;
}

a { text-decoration: none; }

/* ─────────────────────────────────────────────────────────
   SCROLLBAR
──────────────────────────────────────────────────────────*/
::-webkit-scrollbar            { width: 3px; }
::-webkit-scrollbar-track      { background: transparent; }
::-webkit-scrollbar-thumb      { background: var(--grey-300); border-radius: 2px; }

/* ─────────────────────────────────────────────────────────
   CUSTOM CURSOR
   FIX #18: touch devices get pointer fallback via media query
──────────────────────────────────────────────────────────*/
#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out),
              background 0.2s ease,
              width 0.2s ease,
              height 0.2s ease;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out),
              height 0.35s var(--ease-out),
              border-color 0.3s ease,
              opacity 0.3s ease;
  opacity: 0.45;
}

/* Expand ring on interactive elements */
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 60px;
  height: 60px;
  opacity: 0.18;
}

/* FIX #18: restore pointer cursor on touch / coarse devices */
@media (pointer: coarse) {
  body   { cursor: auto; }
  #cursor-dot,
  #cursor-ring { display: none; }
}

/* ─────────────────────────────────────────────────────────
   PAGE LOADER
   FIX #22: CSS transition removed from loader bar inner.
   JS drives width via rAF to avoid stutter.
──────────────────────────────────────────────────────────*/
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  overflow: hidden;
}

.loader-logo span { display: inline-block; }

.loader-bar-outer {
  width: 220px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: 1px;
  overflow: hidden;
}

/* FIX #22: no CSS transition here — JS controls width directly */
.loader-bar-inner {
  height: 100%;
  width: 0%;
  background: var(--white);
}

.loader-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
}

/* ─────────────────────────────────────────────────────────
   NAVIGATION
   FIX #3: .nav-hero forces white text/border on dark hero.
   Removed from: was missing entirely in original.
──────────────────────────────────────────────────────────*/
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease,
              padding 0.4s ease,
              border-color 0.4s ease;
}

/* White text state over dark hero */
nav.nav-hero .nav-logo,
nav.nav-hero .nav-links a,
nav.nav-hero .nav-cta {
  color: var(--white);
}
nav.nav-hero .nav-links a::after { background: var(--white); }
nav.nav-hero .nav-cta {
  border-color: rgba(255,255,255,0.4);
}
nav.nav-hero .nav-cta:hover {
  background: var(--white);
  color: var(--black);
}
/* Logo switching: hero = light logo, scrolled = dark logo */
nav.nav-hero #nav-logo-light { display: block; }
nav.nav-hero #nav-logo-dark { display: none; }
nav:not(.nav-hero) #nav-logo-light { display: none; }
nav:not(.nav-hero) #nav-logo-dark { display: block; }
nav.scrolled #nav-logo-light { display: none; }
nav.scrolled #nav-logo-dark { display: block; }

/* Scrolled state */
nav.scrolled {
  background: rgba(245,245,245,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 60px;
  border-bottom: 1px solid var(--ink-10);
}
nav.scrolled .nav-logo,
nav.scrolled .nav-links a,
nav.scrolled .nav-cta { color: var(--ink); }
nav.scrolled .nav-links a::after { background: var(--ink); }
nav.scrolled .nav-cta { border-color: var(--ink); }
nav.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 10px 26px;
  border-radius: 100px;
  transition: background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
nav.scrolled .nav-hamburger span { background: var(--ink); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0a0a0a;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.03em;
}
.nav-mobile-close {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 36px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
}

/* ─────────────────────────────────────────────────────────
   SHARED BUTTONS
──────────────────────────────────────────────────────────*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.3s ease,
              color 0.3s ease,
              transform 0.3s var(--ease-out);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--grey-200);
  transform: translateY(-2px);
}

/* Ghost button for secondary actions */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Outline button for light backgrounds */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 3px;
  transition: background 0.3s ease,
              color 0.3s ease,
              transform 0.3s var(--ease-out);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-arrow { display: inline-block; }

/* ─────────────────────────────────────────────────────────
   SECTION LABEL (shared utility)
──────────────────────────────────────────────────────────*/
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────────────────
   HERO — CINEMATIC
   FIX #2: Bottom gradient now matches #featured-projects
            bg (#f2f2f2 → using --grey-200) to kill the seam.
   FIX #7: hero-foreground img gets max-height + object-fit.
   FIX #19: clip-path + blend mode for portrait cutout depth.
──────────────────────────────────────────────────────────*/
#hero-cinematic {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

/* Background image — slow ken-burns zoom via JS */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?q=80&w=1920&auto=format&fit=crop")
              center / cover no-repeat;
  transform: scale(1.15);
  will-change: transform;
  filter: grayscale(100%) contrast(115%) brightness(0.55);
}

/* Grain texture overlay for cinematic depth */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Depth gradient */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.15) 100%
  ),
  linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.3) 40%,
    transparent 70%
  );
}

/* Foreground portrait cutout */
.hero-foreground {
  position: absolute;
  bottom: 0;
  right: 7%;
  width: 38%;
  z-index: 3;
  will-change: transform;
  /* FIX #19: mix-blend-mode gives natural edge blending */
  mix-blend-mode: luminosity;
}

/* FIX #7: constrain image height so it never overflows on mobile */
.hero-foreground img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  object-position: bottom center;
  filter: grayscale(100%) contrast(115%) brightness(0.9);
}

/* Hero text */
.hero-inner {
  position: relative;
  z-index: 4;
  padding: 0 60px;
  padding-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}

.eyebrow-line {
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--white);
}

/* FIX #20: italic em uses font-weight:300 not 900 to ensure it renders */
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

.hero-sub {
  margin-top: 36px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
}

.hero-actions {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 60px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}

/* FIX #2: gradient matches --grey-200 (#e8e8e8) used in featured-projects */
#hero-cinematic::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--grey-200));
  z-index: 5;
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   HOOK MARQUEE
   FIX #6: em uses var(--ink) + font-weight:300 — was nearly
            invisible at 0.06 opacity before.
   FIX #16: scrollWidth/2 now works because HTML has 2 sets.
──────────────────────────────────────────────────────────*/
#hook {
  height: 300vh;
  position: relative;
  background: var(--grey-200);
}

.hook-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hook-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.hook-text {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 148px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
  padding-right: 80px;
  flex-shrink: 0;
}

/* FIX #6: was rgba(18,18,18,0.06) = near invisible. Now readable. */
.hook-text em {
  font-style: italic;
  font-weight: 300;
  color: var(--grey-500);
  -webkit-text-stroke: 1px var(--grey-600);
}

.hook-divider {
  width: 60px;
  height: 2px;
  background: var(--grey-400);
  display: inline-block;
  vertical-align: middle;
  margin: 0 40px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
   FEATURED PROJECTS
   FIX #10: fp-large had height:auto which collapsed the card.
            Removed — grid-row:span 2 now works correctly.
──────────────────────────────────────────────────────────*/
#featured-projects {
  padding: 180px 60px 120px;
  background: var(--grey-200);
  position: relative;
  overflow: hidden;
}

.fp-header { margin-bottom: 0; }

.fp-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 110px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.fp-grid {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-auto-rows: 420px;
  gap: 20px;
}

/* FIX #10: height:auto removed entirely */
.fp-large {
  grid-column: span 2;
  grid-row: span 2;
}

.fp-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transform-style: preserve-3d;
}

.fp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  filter: grayscale(100%) contrast(115%) brightness(0.85);
  transition: transform 1.6s var(--ease-out),
              filter 0.6s ease;
  will-change: transform;
}

.fp-item:hover .fp-bg {
  transform: scale(1.2);
  filter: grayscale(100%) contrast(120%) brightness(0.75);
}

.fp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.4) 45%,
    transparent 80%
  );
  transition: background 0.6s ease;
}

.fp-item:hover .fp-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.1) 80%
  );
}

.fp-content {
  position: absolute;
  bottom: 36px;
  left: 36px;
  color: var(--white);
  z-index: 2;
}

.fp-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.fp-content h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.fp-large .fp-content h3 { font-size: 52px; }

.fp-content p {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  margin-top: 10px;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fp-item:hover .fp-content p {
  opacity: 0.6;
  transform: translateY(0);
}

.fp-number {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  z-index: 2;
}

.fp-footer {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────
   BRAND PHILOSOPHY
   FIX #8: First .philosophy-value is active by default (opacity:1).
            All others stay at 0.2 until JS activates them.
──────────────────────────────────────────────────────────*/
#philosophy {
  height: 350vh;
  position: relative;
  background: var(--grey-100);
}

.philosophy-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* LEFT PANEL */
.philosophy-left {
  position: relative;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}

.phil-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1600&auto=format&fit=crop")
              center / cover no-repeat;
  transform: scale(1.15);
  filter: grayscale(100%) contrast(115%) brightness(0.45);
  will-change: transform;
}

.phil-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.2) 100%
  );
}

/* FIX #19: blend mode for natural cutout */
.phil-foreground {
  position: absolute;
  bottom: -30px;
  right: 8%;
  width: 46%;
  z-index: 2;
  will-change: transform;
  mix-blend-mode: luminosity;
}

.phil-foreground img {
  width: 100%;
  filter: grayscale(100%) contrast(115%);
}

.philosophy-big-num {
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.04);
  position: absolute;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

.philosophy-left-inner {
  position: relative;
  z-index: 3;
  max-width: 480px;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: opacity 0.5s ease;
}

.philosophy-quote strong {
  font-weight: 900;
  font-style: italic;
  display: block;
  margin-top: 4px;
}

/* RIGHT PANEL */
.philosophy-right {
  background: var(--grey-100);
  display: flex;
  align-items: center;
  padding: 80px 100px;
  overflow-y: auto;
}

.philosophy-values { width: 100%; }

.philosophy-value {
  padding: 36px 0;
  border-bottom: 1px solid var(--grey-200);
  opacity: 0.2;
  transition: opacity 0.5s var(--ease-out);
}

/* FIX #8: First value is active (full opacity) before JS loads */
.philosophy-value.active { opacity: 1; }

.philosophy-value:first-child { border-top: 1px solid var(--grey-200); }

.pv-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 14px;
}

.pv-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.pv-desc {
  font-size: 15px;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────
   SERVICES
   FIX #12: z-index values added to bg and overlay layers
──────────────────────────────────────────────────────────*/
#services {
  position: relative;
  min-height: 180vh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

/* FIX #12: explicit z-index prevents stacking ambiguity */
.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1800&auto=format&fit=crop")
              center / cover no-repeat;
  transform: scale(1.15);
  filter: grayscale(100%) contrast(115%) brightness(0.35);
}

/* FIX #12: explicit z-index */
.services-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.92),
    rgba(10,10,10,0.88)
  );
}

.services-inner {
  position: relative;
  z-index: 2;
  padding: 180px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.services-intro { max-width: 800px; margin-bottom: 0; }

.services-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 100px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: var(--white);
}

.services-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.services-lead {
  margin-top: 32px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.services-grid {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 60px;
}

.service-card { position: relative; }

.service-img-layer {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.service-img-bg {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.04);
  z-index: 1;
  pointer-events: none;
}

.service-img-layer img {
  width: 100%;
  display: block;
  transform: scale(1.12);
  filter: grayscale(100%) contrast(115%) brightness(0.8);
  transition: transform 1.6s var(--ease-out),
              filter 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.22);
  filter: grayscale(100%) contrast(120%) brightness(0.7);
}

.service-content { margin-top: 28px; }

.service-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.service-content p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
}

/* ─────────────────────────────────────────────────────────
   STATS
   FIX #12: z-index added to bg + overlay
──────────────────────────────────────────────────────────*/
#stats {
  position: relative;
  min-height: 100vh;
  padding: 140px 60px;
  background: var(--grey-900);
  color: var(--white);
  overflow: hidden;
}

/* FIX #12 */
.stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1800&auto=format&fit=crop")
              center / cover no-repeat;
  transform: scale(1.15);
  filter: grayscale(100%) contrast(115%) brightness(0.3);
}

/* FIX #12 */
.stats-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.94),
    rgba(10,10,10,0.9)
  );
}

.stats-foreground {
  position: absolute;
  right: 7%;
  bottom: -40px;
  width: 32%;
  z-index: 2;
  opacity: 0.6;
  mix-blend-mode: luminosity;
}

.stats-foreground img {
  width: 100%;
  filter: grayscale(100%) contrast(115%);
}

.stats-inner {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.stats-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: var(--white);
}

.stats-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.stats-left p {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 400px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px 32px;
  border-radius: 14px;
  transition: transform 0.6s var(--ease-out),
              background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}

.stat-label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─────────────────────────────────────────────────────────
   TESTIMONIALS
   FIX #2 (original): Removed opacity:0 that permanently
   hid all testimonial cards. Now uses JS entrance animation.
──────────────────────────────────────────────────────────*/
#testimonials {
  position: relative;
  min-height: 140vh;
  padding: 160px 60px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.testi-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1551281044-8f9c2c0d8b63?q=80&w=1800&auto=format&fit=crop")
              center / cover no-repeat;
  transform: scale(1.15);
  filter: grayscale(100%) contrast(115%) brightness(0.3);
}

.testi-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.94),
    rgba(10,10,10,0.9)
  );
}

.testi-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.testi-header { margin-bottom: 0; }

.testi-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 90px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: var(--white);
}

.testi-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.testi-grid {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 60px;
}

/* FIX #2: opacity:0 removed — JS entrance animation handles reveal */
.testi-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  transition: background 0.3s ease, transform 0.5s var(--ease-out);
}

.testi-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}

.testi-image {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}

.testi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  transform: scale(1.1);
  transition: transform 1.4s var(--ease-out);
}

.testi-card:hover .testi-image img { transform: scale(1.18); }

.testi-content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}

.testi-meta {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────
   JOURNAL
──────────────────────────────────────────────────────────*/
#journal {
  position: relative;
  padding: 180px 60px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.journal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1800&auto=format&fit=crop")
              center / cover no-repeat;
  transform: scale(1.15);
  filter: grayscale(100%) contrast(115%) brightness(0.3);
}

.journal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.95),
    rgba(10,10,10,0.9)
  );
}

.journal-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.journal-header { margin-bottom: 0; }

.journal-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 90px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: var(--white);
}

.journal-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.journal-lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.journal-grid {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.journal-featured { grid-row: span 2; }

.jf-image {
  overflow: hidden;
  border-radius: 16px;
}

.jf-image img {
  width: 100%;
  display: block;
  transform: scale(1.12);
  filter: grayscale(100%) contrast(115%) brightness(0.8);
  transition: transform 1.6s var(--ease-out), filter 0.6s ease;
}

.journal-featured:hover .jf-image img {
  transform: scale(1.2);
  filter: grayscale(100%) contrast(120%) brightness(0.7);
}

.jf-content { margin-top: 28px; }

.jf-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.jf-content h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  color: var(--white);
  line-height: 1.15;
}

.jf-content p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

.journal-card {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.5s var(--ease-out), background 0.3s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
}

.jc-image { overflow: hidden; }

.jc-image img {
  width: 100%;
  display: block;
  transform: scale(1.12);
  filter: grayscale(100%) contrast(115%) brightness(0.8);
  transition: transform 1.4s var(--ease-out), filter 0.6s ease;
}

.journal-card:hover .jc-image img {
  transform: scale(1.2);
  filter: grayscale(100%) contrast(120%) brightness(0.7);
}

.jc-content { padding: 24px; }

.jc-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.jc-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 10px;
  color: var(--white);
  line-height: 1.25;
}

/* ─────────────────────────────────────────────────────────
   ABOUT
   FIX #11: about-portrait background changed from warm beige
            (#E8D5C4) to pure grey gradient.
──────────────────────────────────────────────────────────*/
#about {
  min-height: 100vh;
  padding: 200px 60px 160px;
  background: var(--grey-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 120px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 40px;
}

.about-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--grey-400);
}

.about-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-500);
  margin-bottom: 24px;
}

.about-visual { position: relative; }

/* FIX #11: grey gradient replaces warm beige */
.about-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--grey-300) 0%, var(--grey-200) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.05);
  transition: transform 0.6s ease;
}
.about-portrait:hover img { transform: scale(1.04); }

.about-portrait-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: rgba(255,255,255,0.85);
  line-height: 1;
  user-select: none;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.about-portrait-tag {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-500);
  background: rgba(245,245,245,0.88);
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  border: 1px solid var(--grey-300);
}

.about-float {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--black);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 16px;
  width: 180px;
}

.af-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
}

.af-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────
   CONTACT
   FIX #9: mobile padding now fully overridden (top + bottom too)
   FIX #21: .select-wrap adds custom dropdown arrow
──────────────────────────────────────────────────────────*/
#contact {
  min-height: 100vh;
  padding: 200px 60px 160px;
  background: var(--grey-100);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 120px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-info-section { padding-top: 24px; }

.contact-info-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 24px;
}

.contact-info-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--grey-400);
}

.contact-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-500);
  margin-bottom: 60px;
  max-width: 400px;
}

.contact-details { list-style: none; }

.contact-detail {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-200);
  align-items: flex-start;
}

.contact-detail:first-child { border-top: 1px solid var(--grey-200); }

.cd-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cd-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 4px;
}

.cd-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* FIX #9: contact form class unified */
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 52px;
  border: 1px solid var(--grey-200);
  box-shadow: 0 8px 60px rgba(0,0,0,0.06);
}

.form-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 24px; }

.form-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 10px;
  display: block;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--grey-600);
  background: var(--white);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.65;
}

/* FIX #21: custom dropdown arrow using wrapper + pseudo */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--grey-500);
  pointer-events: none;
}

/* FIX #4: cursor:pointer on submit button (was cursor:none) */
.submit-btn {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: none;
  padding: 18px;
  border-radius: 8px;
  cursor: pointer;   /* FIX #4 */
  margin-top: 8px;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}

.submit-btn:hover {
  background: var(--grey-800);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────*/
#footer {
  background: var(--black);
  color: var(--white);
  padding: 140px 60px 60px;
  position: relative;
  overflow: hidden;
}

.footer-bg-text {
  position: absolute;
  bottom: -20px;
  right: -40px;
  font-family: var(--font-display);
  font-size: 240px;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footer-cta-section {
  text-align: center;
  margin-bottom: 140px;
}

.footer-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 36px;
}

.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--white);
  margin-bottom: 64px;
}

.footer-cta-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}

.magnetic-btn-wrap {
  display: inline-block;
  position: relative;
}

/* FIX #17: magBtn uses its own rect in JS; no change needed in CSS */
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--black);
  background: var(--white);
  padding: 22px 52px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out),
              background 0.3s ease;
  will-change: transform;
  cursor: pointer;
}

.magnetic-btn:hover { background: var(--grey-200); }
.magnetic-btn .arrow { font-size: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.2);
  text-align: right;
}

/* ─────────────────────────────────────────────────────────
   REVEAL ANIMATIONS (initial states for JS)
──────────────────────────────────────────────────────────*/
.reveal       { opacity: 0; transform: translateY(40px); }
.reveal-left  { opacity: 0; transform: translateX(-40px); }
.reveal-scale { opacity: 0; transform: scale(0.94); }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤1024px)
   FIX #9: contact padding top/bottom now also overridden
──────────────────────────────────────────────────────────*/
@media (max-width: 1024px) {

  nav { padding: 20px 32px; }
  nav.scrolled { padding: 14px 32px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex !important; }

  /* FIX #10: correct class — was .hero-content */
  .hero-inner {
    padding: 0 32px;
    padding-top: 100px;
  }

  .hero-foreground {
    width: 55%;
    right: -2%;
    opacity: 0.75;
  }

  .hero-scroll-hint { left: 32px; bottom: 32px; }

  #featured-projects { padding: 120px 32px 80px; }
  .fp-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .fp-large { grid-column: auto; grid-row: auto; }

  #philosophy { height: auto; }
  .philosophy-sticky {
    position: relative;
    height: auto;
    grid-template-columns: 1fr;
  }
  .philosophy-left { display: none; }
  .philosophy-right { padding: 80px 32px; }

  #services { min-height: auto; }
  .services-inner { padding: 120px 32px; }
  .services-grid { grid-template-columns: 1fr; gap: 60px 0; }

  #stats { padding: 120px 32px; }
  .stats-inner { grid-template-columns: 1fr; gap: 60px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-foreground { display: none; }

  #testimonials { padding: 120px 32px; }
  .testi-grid { grid-template-columns: 1fr; gap: 32px; }

  #journal { padding: 120px 32px; }
  .journal-grid { grid-template-columns: 1fr; gap: 40px; }
  .journal-featured { grid-row: auto; }

  #about { padding: 120px 32px 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-float { display: none; }

  /* FIX #9: full padding override on mobile */
  #contact { padding: 120px 32px 100px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-form { padding: 36px 28px; }

  #footer { padding: 100px 32px 48px; }
  .footer-cta-title { font-size: 52px; }
  .footer-bottom {
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
  }
  .footer-copy { text-align: left; }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤600px)
──────────────────────────────────────────────────────────*/
@media (max-width: 600px) {

  .hero-title { font-size: clamp(48px, 13vw, 72px); }
  .hero-foreground { width: 65%; right: -5%; opacity: 0.6; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .btn-primary,
  .btn-ghost { width: 100%; justify-content: center; }

  #hook { height: 200vh; }
  .hook-text { font-size: clamp(56px, 12vw, 80px); padding-right: 40px; }

  .fp-grid { grid-auto-rows: 260px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 24px 20px; }
  .stat-number { font-size: 40px; }

  .testi-card { flex-direction: column; gap: 20px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-cta-title { font-size: 44px; }
  .footer-bg-text { font-size: 140px; }
}