/* ============================================================
   ITam Atelier - Landing Page Styles
   Aesthetic: Russian Constructivism (Lissitzky, Rodchenko, Malevich)
   Palette: Black #0D0D0D, Red #CC0000, Grey #4A4A4A/#888888, Off-White #F5F5F5
   No gradients. No shadows. No rounded corners. Hard edges only.
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --black: #0D0D0D;
  --red: #CC0000;
  --dark-grey: #4A4A4A;
  --mid-grey: #888888;
  --off-white: #F5F5F5;
  --rule-weight: 3px;
  --section-pad: clamp(4rem, 8vw, 8rem);
  --content-max: 1200px;
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-sub: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--off-white);
}

a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

::selection {
  background: var(--red);
  color: var(--off-white);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
  font-weight: 400;
}

/* Preserve ITam casing - override text-transform */
.brand-case {
  text-transform: none;
}

/* The "am" in ITam uses Oswald to show lowercase properly
   (Bebas Neue is all-caps only) */
.brand-case .accent {
  font-family: var(--font-sub);
  font-weight: 600;
  text-transform: lowercase;
}

h1 {
  font-size: clamp(3rem, 10vw, 8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.08em;
}

h3 {
  font-family: var(--font-sub);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 13, 0.92);
  border-bottom: var(--rule-weight) solid var(--red);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-img {
  height: 64px;
  width: auto;
  border: 1px solid var(--dark-grey);
}

/* Geometric accent near header logo */
.nav__geo-circle {
  width: 28px;
  height: 28px;
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  opacity: 0.35;
  flex-shrink: 0;
  margin-left: -6px;
}

.nav__geo-square {
  width: 14px;
  height: 14px;
  border: 2px solid var(--dark-grey);
  opacity: 0.25;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-left: 4px;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--off-white);
  text-transform: none;
}

.nav__wordmark span {
  color: var(--red);
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--off-white);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 250ms ease-out;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--off-white);
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  margin: 5px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: var(--black);
}

/* ===== SUPREMATIST COMPOSITION =====
   Multiple floating geometric elements inspired by:
   - Malevich: floating black/red squares, cascading rectangles
   - Lissitzky: red wedge, grey curves, wireframe shapes
   - Rodchenko: diagonal structural lines
   - Tatlin: ascending diagonal framework
   ===================================== */

/* ===== SUBLIME SUPREMATIST COMPOSITION =====
   Layered grey tones create spatial depth (Lissitzky Proun).
   Red used sparingly as punctuation. Grey does the heavy lifting.
   Composition floats in space - sublime, not aggressive.
   ============================================= */

/* Large grey plane - primary spatial anchor (Proun floating plane) */
.hero__geo-black-square {
  position: absolute;
  bottom: 6%;
  right: 8%;
  width: clamp(200px, 25vw, 380px);
  height: clamp(180px, 22vw, 340px);
  background: #1C1C1C;
  z-index: 1;
  transform: rotate(-6deg);
}

/* Secondary grey plane - cascading depth */
.hero__geo-black-rect {
  position: absolute;
  bottom: 2%;
  right: 3%;
  width: clamp(120px, 14vw, 200px);
  height: clamp(100px, 12vw, 170px);
  background: #222222;
  z-index: 1;
  transform: rotate(-6deg);
}

/* Red wedge - subtle, precise accent (not overwhelming) */
.hero__geo-red-wedge {
  position: absolute;
  top: 28%;
  right: 22%;
  width: 0;
  height: 0;
  border-left: clamp(40px, 5vw, 80px) solid transparent;
  border-right: clamp(40px, 5vw, 80px) solid transparent;
  border-bottom: clamp(70px, 10vw, 140px) solid var(--red);
  z-index: 2;
  transform: rotate(22deg);
  opacity: 0.7;
}

/* Primary grey diagonal bar - the backbone (Proun structural beam) */
.hero__geo-grey-bar {
  position: absolute;
  top: 12%;
  right: 10%;
  width: clamp(250px, 35vw, 520px);
  height: clamp(16px, 2.5vw, 32px);
  background: var(--dark-grey);
  z-index: 1;
  transform: rotate(-32deg);
  opacity: 0.45;
}

/* Thin grey bar - secondary rhythm */
.hero__geo-red-bar {
  position: absolute;
  top: 18%;
  right: 20%;
  width: clamp(120px, 18vw, 250px);
  height: clamp(4px, 0.6vw, 8px);
  background: var(--mid-grey);
  z-index: 3;
  transform: rotate(-28deg);
  opacity: 0.35;
}

/* Small red accent bar - precise punctuation */
.hero__geo-red-bar-2 {
  position: absolute;
  top: 15%;
  right: 16%;
  width: clamp(40px, 5vw, 70px);
  height: clamp(6px, 0.8vw, 10px);
  background: var(--red);
  z-index: 3;
  transform: rotate(-28deg);
  opacity: 0.6;
}

/* Large circle outline - spatial marker (Lissitzky) */
.hero__geo-circle {
  position: absolute;
  bottom: 28%;
  right: 32%;
  width: clamp(60px, 8vw, 110px);
  height: clamp(60px, 8vw, 110px);
  background: transparent;
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  z-index: 2;
  opacity: 0.25;
}

/* Wireframe rectangle - architectural echo (Tatlin) */
.hero__geo-wireframe {
  position: absolute;
  top: 32%;
  right: 6%;
  width: clamp(70px, 9vw, 130px);
  height: clamp(90px, 12vw, 170px);
  border: 1px solid var(--dark-grey);
  z-index: 2;
  transform: rotate(10deg);
  opacity: 0.2;
}

/* Diagonal structural line - primary (Rodchenko) */
.hero__geo-diag-line-1 {
  position: absolute;
  top: 0;
  right: 38%;
  width: 1px;
  height: 65%;
  background: var(--dark-grey);
  z-index: 1;
  transform: rotate(-22deg);
  transform-origin: top center;
  opacity: 0.2;
}

/* Diagonal structural line - secondary */
.hero__geo-diag-line-2 {
  position: absolute;
  top: 8%;
  right: 30%;
  width: 1px;
  height: 55%;
  background: var(--dark-grey);
  z-index: 1;
  transform: rotate(-18deg);
  transform-origin: top center;
  opacity: 0.12;
}

/* Small grey diamond fragment */
.hero__geo-frag-1 {
  position: absolute;
  top: 20%;
  right: 42%;
  width: 10px;
  height: 10px;
  background: var(--mid-grey);
  z-index: 2;
  transform: rotate(45deg);
  opacity: 0.3;
}

/* Tiny red accent fragment - jewel-like precision */
.hero__geo-frag-2 {
  position: absolute;
  top: 35%;
  right: 46%;
  width: 6px;
  height: 16px;
  background: var(--red);
  z-index: 2;
  transform: rotate(-12deg);
  opacity: 0.5;
}

/* Ghost line fragment */
.hero__geo-frag-3 {
  position: absolute;
  top: 16%;
  right: 36%;
  width: 20px;
  height: 2px;
  background: var(--mid-grey);
  z-index: 2;
  transform: rotate(25deg);
  opacity: 0.25;
}

/* Ground line - subtle horizon */
.hero__geo-ground {
  position: absolute;
  bottom: 14%;
  left: 0;
  width: 50%;
  height: 1px;
  background: var(--dark-grey);
  z-index: 2;
  opacity: 0.25;
}

/* Additional: small circle near center - spatial depth */
.hero__geo-circle-sm {
  position: absolute;
  top: 45%;
  right: 48%;
  width: 18px;
  height: 18px;
  border: 1px solid var(--dark-grey);
  border-radius: 50%;
  z-index: 2;
  opacity: 0.2;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  font-family: var(--font-sub);
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--mid-grey);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 10ch;
}

.hero h1 .accent {
  color: var(--red);
}

.hero__tagline {
  font-family: var(--font-sub);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 2.5rem;
  max-width: 40ch;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 2.5rem;
  border: var(--rule-weight) solid var(--red);
  color: var(--off-white);
  background: transparent;
  transition: background 150ms ease, color 150ms ease;
  cursor: pointer;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: var(--red);
  color: var(--off-white);
}

/* --- Section Shared --- */
.section {
  padding: var(--section-pad) 2rem;
  position: relative;
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__label {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--dark-grey);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: var(--rule-weight);
  background: var(--red);
  margin-top: 1rem;
}

/* Diagonal section divider */
.divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: var(--red);
  transform: skewY(-2deg);
  transform-origin: top left;
}

/* --- About Section --- */
.about {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* ===== GEOMETRIC CLUMPS — Flowing Suprematist composition =====
   Clump 1 (About): Tight cluster, upper-right
   Clump 2 (Services): Dispersing, middle-left
   Clump 3 (Credentials): Scattered fragments, bottom-right
   ============================================================== */

.geo-clump {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.gc {
  position: absolute;
}

/* --- CLUMP 1a: About — LEFT side, under heading, counterbalances hero --- */
.geo-clump--1a {
  top: -2%;
  left: -2%;
  width: 400px;
  height: 400px;
}

/* Large tonal block - sits behind/under the ABOUT heading */
.geo-clump--1a .gc--rect-1a {
  top: 40px;
  left: 0;
  width: 200px;
  height: 160px;
  background: #151515;
  transform: rotate(-4deg);
}

/* Overlapping smaller rect - depth */
.geo-clump--1a .gc--rect-2a {
  top: 130px;
  left: 140px;
  width: 100px;
  height: 80px;
  background: #1A1A1A;
  transform: rotate(3deg);
}

/* Circle - spatial marker below blocks */
.geo-clump--1a .gc--circle-1a {
  top: 250px;
  left: 30px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  opacity: 0.22;
}

/* Diagonal line - connecting to hero composition above */
.geo-clump--1a .gc--line-1a {
  top: 0;
  left: 100px;
  width: 2px;
  height: 280px;
  background: var(--dark-grey);
  transform: rotate(15deg);
  transform-origin: top center;
  opacity: 0.15;
}

/* Red bar accent */
.geo-clump--1a .gc--bar-1a {
  top: 200px;
  left: 180px;
  width: 45px;
  height: 6px;
  background: var(--red);
  transform: rotate(-12deg);
  opacity: 0.35;
}

/* Diamond fragment */
.geo-clump--1a .gc--frag-1a {
  top: 80px;
  left: 260px;
  width: 12px;
  height: 12px;
  background: var(--mid-grey);
  transform: rotate(45deg);
  opacity: 0.2;
}

/* Small bar fragment */
.geo-clump--1a .gc--frag-2a {
  top: 320px;
  left: 80px;
  width: 30px;
  height: 2px;
  background: var(--mid-grey);
  transform: rotate(-8deg);
  opacity: 0.18;
}

/* --- CLUMP 1: About — RIGHT side, tight cluster (mirrors hero flow) --- */
.geo-clump--1 {
  top: 8%;
  right: 0;
  width: 400px;
  height: 450px;
}

/* Anchor rectangle */
.geo-clump--1 .gc--rect-1 {
  top: 20px;
  right: 10px;
  width: 160px;
  height: 130px;
  background: #1A1A1A;
  transform: rotate(-8deg);
}

/* Overlapping smaller rect */
.geo-clump--1 .gc--rect-2 {
  top: 100px;
  right: 120px;
  width: 90px;
  height: 70px;
  background: #202020;
  transform: rotate(-4deg);
}

/* Circle outline - spatial marker */
.geo-clump--1 .gc--circle-1 {
  top: 50px;
  right: 230px;
  width: 65px;
  height: 65px;
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  opacity: 0.3;
}

/* Long diagonal line cutting through */
.geo-clump--1 .gc--line-1 {
  top: 0;
  right: 60px;
  width: 280px;
  height: 2px;
  background: var(--dark-grey);
  transform: rotate(-25deg);
  transform-origin: right center;
  opacity: 0.2;
}

/* Diamond accent */
.geo-clump--1 .gc--diamond-1 {
  top: 200px;
  right: 50px;
  width: 16px;
  height: 16px;
  background: var(--mid-grey);
  transform: rotate(45deg);
  opacity: 0.25;
}

/* Red bar punctuation */
.geo-clump--1 .gc--bar-1 {
  top: 130px;
  right: 260px;
  width: 50px;
  height: 7px;
  background: var(--red);
  transform: rotate(-15deg);
  opacity: 0.4;
}

/* --- CLUMP 2: Services — LEFT side, larger dispersing cluster --- */
.geo-clump--2 {
  top: 5%;
  left: 0;
  width: 350px;
  height: 600px;
}

/* Large wireframe rect - architectural */
.geo-clump--2 .gc--rect-3 {
  top: 0;
  left: 10px;
  width: 140px;
  height: 110px;
  border: 2px solid var(--dark-grey);
  transform: rotate(12deg);
  opacity: 0.2;
}

/* Big circle - counterpoint to hero */
.geo-clump--2 .gc--circle-2 {
  top: 140px;
  left: 0;
  width: 100px;
  height: 100px;
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  opacity: 0.18;
}

/* Long vertical structural line */
.geo-clump--2 .gc--line-2 {
  top: 0;
  left: 80px;
  width: 2px;
  height: 350px;
  background: var(--dark-grey);
  transform: rotate(8deg);
  transform-origin: top center;
  opacity: 0.15;
}

/* Grey triangle - Lissitzky echo */
.geo-clump--2 .gc--tri-1 {
  top: 280px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid var(--dark-grey);
  transform: rotate(-18deg);
  opacity: 0.12;
}

/* Diamond fragment - drifting away */
.geo-clump--2 .gc--frag-4 {
  top: 80px;
  left: 180px;
  width: 14px;
  height: 14px;
  background: var(--mid-grey);
  transform: rotate(45deg);
  opacity: 0.2;
}

/* Red fragment - color punctuation */
.geo-clump--2 .gc--frag-5 {
  top: 380px;
  left: 20px;
  width: 8px;
  height: 24px;
  background: var(--red);
  transform: rotate(20deg);
  opacity: 0.35;
}

/* Short horizontal line - ground element */
.geo-clump--2 .gc--line-3 {
  top: 450px;
  left: 60px;
  width: 80px;
  height: 1px;
  background: var(--mid-grey);
  transform: rotate(-8deg);
  opacity: 0.2;
}

/* --- CLUMP 3: Credentials — RIGHT side, scattered wider --- */
.geo-clump--3 {
  top: 5%;
  right: 0;
  width: 420px;
  height: 500px;
}

/* Large dark rectangle - anchor */
.geo-clump--3 .gc--rect-4 {
  top: 40px;
  right: 0;
  width: 180px;
  height: 140px;
  background: #181818;
  transform: rotate(6deg);
}

/* Wireframe rect - floating near anchor */
.geo-clump--3 .gc--rect-5 {
  top: 130px;
  right: 140px;
  width: 80px;
  height: 60px;
  border: 2px solid var(--dark-grey);
  transform: rotate(-8deg);
  opacity: 0.22;
}

/* Circle - drifting further out */
.geo-clump--3 .gc--circle-3 {
  top: 0;
  right: 250px;
  width: 55px;
  height: 55px;
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  opacity: 0.2;
}

/* Diagonal line - connecting elements */
.geo-clump--3 .gc--line-4 {
  top: 80px;
  right: 30px;
  width: 300px;
  height: 1px;
  background: var(--dark-grey);
  transform: rotate(18deg);
  transform-origin: right center;
  opacity: 0.15;
}

/* Diamond frag - scattered */
.geo-clump--3 .gc--frag-6 {
  top: 280px;
  right: 200px;
  width: 12px;
  height: 12px;
  background: var(--mid-grey);
  transform: rotate(45deg);
  opacity: 0.2;
}

/* Red frag - far scattered */
.geo-clump--3 .gc--frag-7 {
  top: 350px;
  right: 100px;
  width: 7px;
  height: 20px;
  background: var(--red);
  transform: rotate(-25deg);
  opacity: 0.3;
}

/* Grey bar - lowest element */
.geo-clump--3 .gc--bar-2 {
  top: 230px;
  right: 300px;
  width: 45px;
  height: 6px;
  background: var(--dark-grey);
  transform: rotate(12deg);
  opacity: 0.22;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about__text p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.about__stat-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: var(--rule-weight) solid var(--dark-grey);
}

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

.about__stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--red);
  line-height: 1;
}

.about__stat-label {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid-grey);
  margin-top: 0.25rem;
}

/* --- Services Section --- */
.services {
  background: var(--black);
  position: relative;
}

/* Red accent bar on left */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--red);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
}

.service-card {
  background: rgba(74, 74, 74, 0.08);
  border: 1px solid rgba(74, 74, 74, 0.2);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease-out;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Red geometric accent per card */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height 300ms ease-out;
}

.service-card:hover::before {
  height: 100%;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  color: var(--off-white);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* --- Credentials Section --- */
.credentials {
  background: #111111;
  position: relative;
  overflow: hidden;
}

.credentials__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: var(--rule-weight) solid var(--dark-grey);
}

.metric {
  text-align: left;
}

.metric__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--red);
  line-height: 1;
}

.metric__label {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid-grey);
  margin-top: 0.5rem;
}

.credentials__clients {
  margin-bottom: 3rem;
}

.credentials__clients h3 {
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  list-style: none;
}

.client-list li {
  font-family: var(--font-sub);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-white);
  position: relative;
  padding-left: 1rem;
}

.client-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--red);
}

.credentials__extras {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.credentials__extra {
  font-size: 0.9rem;
  color: var(--mid-grey);
  padding-left: 1rem;
  border-left: 2px solid var(--red);
}

/* --- Contact Section --- */
.contact {
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}

.contact .section__inner {
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info h3 {
  color: var(--off-white);
  margin-bottom: 2rem;
}

.contact__detail {
  margin-bottom: 1.5rem;
}

.contact__detail-label {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dark-grey);
  margin-bottom: 0.25rem;
}

.contact__detail-value {
  font-size: 1.1rem;
  color: var(--off-white);
}

.contact__detail-value a {
  color: var(--off-white);
  border-bottom: 1px solid var(--dark-grey);
  transition: border-color 150ms ease;
}

.contact__detail-value a:hover {
  border-color: var(--red);
}

.contact__cta-block {
  padding: 3rem;
  border: var(--rule-weight) solid var(--red);
  position: relative;
}

.contact__cta-block h3 {
  color: var(--red);
  margin-bottom: 1rem;
}

.contact__cta-block p {
  color: var(--mid-grey);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  padding: 3rem 2rem;
  border-top: var(--rule-weight) solid var(--red);
  background: #080808;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer__brand svg {
  width: 32px;
  height: 32px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.footer__brand-name span {
  color: var(--red);
}

.footer__legal p {
  font-size: 0.8rem;
  color: var(--dark-grey);
  margin-top: 0.5rem;
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark-grey);
  transition: color 150ms ease;
}

.footer__links a:hover {
  color: var(--off-white);
}

/* --- CLUMP 4: Contact — LEFT side, final dispersed cluster --- */
.geo-clump--4 {
  top: 0;
  left: 0;
  width: 380px;
  height: 550px;
}

/* Large dark block - grounding anchor */
.geo-clump--4 .gc--rect-6 {
  top: 30px;
  left: 0;
  width: 160px;
  height: 120px;
  background: #141414;
  transform: rotate(5deg);
}

/* Smaller overlapping rect */
.geo-clump--4 .gc--rect-7 {
  top: 110px;
  left: 100px;
  width: 80px;
  height: 65px;
  background: #1A1A1A;
  transform: rotate(-3deg);
}

/* Circle outline - echoing hero */
.geo-clump--4 .gc--circle-4 {
  top: 200px;
  left: 20px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  opacity: 0.2;
}

/* Diagonal line - structural */
.geo-clump--4 .gc--line-5 {
  top: 0;
  left: 50px;
  width: 2px;
  height: 300px;
  background: var(--dark-grey);
  transform: rotate(-10deg);
  transform-origin: top center;
  opacity: 0.15;
}

/* Cross line */
.geo-clump--4 .gc--line-6 {
  top: 160px;
  left: 0;
  width: 200px;
  height: 1px;
  background: var(--dark-grey);
  transform: rotate(15deg);
  opacity: 0.12;
}

/* Small red triangle accent */
.geo-clump--4 .gc--tri-2 {
  top: 320px;
  left: 60px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid var(--red);
  transform: rotate(15deg);
  opacity: 0.2;
}

/* Scattered diamond */
.geo-clump--4 .gc--frag-8 {
  top: 80px;
  left: 220px;
  width: 12px;
  height: 12px;
  background: var(--mid-grey);
  transform: rotate(45deg);
  opacity: 0.18;
}

/* Red accent fragment */
.geo-clump--4 .gc--frag-9 {
  top: 400px;
  left: 30px;
  width: 6px;
  height: 18px;
  background: var(--red);
  transform: rotate(-20deg);
  opacity: 0.3;
}

/* === TONAL COLOR-BLOCK TRANSITIONS === */
/* Subtle tonal bars between sections to create visual rhythm */

.about {
  border-bottom: 1px solid #1A1A1A;
}

.services {
  background: var(--black);
  border-bottom: 1px solid #1A1A1A;
}

/* Tonal accent stripe between services and credentials */
.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--dark-grey) 20%, var(--dark-grey) 80%, transparent 100%);
  opacity: 0.3;
  z-index: 1;
}

/* Tonal accent stripe between credentials and contact */
.credentials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--dark-grey) 30%, var(--dark-grey) 70%, transparent 100%);
  opacity: 0.25;
  z-index: 1;
}

/* === CONTACT FORM === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--off-white);
  background: rgba(74, 74, 74, 0.15);
  border: 1px solid var(--dark-grey);
  outline: none;
  transition: border-color 150ms ease;
}

.form-input::placeholder {
  color: var(--mid-grey);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.form-input:focus {
  border-color: var(--red);
}

.form-select {
  appearance: none;
  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 d='M1 1l5 5 5-5' stroke='%23888' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--black);
  color: var(--off-white);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-status {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  min-height: 1.5em;
}

.form-status--success {
  color: #4CAF50;
}

.form-status--error {
  color: var(--red);
}

.form-status--sending {
  color: var(--mid-grey);
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

/* === LEGAL SECTIONS === */
.legal-section {
  position: relative;
  overflow: hidden;
}

.legal-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.legal-body {
  max-width: 65ch;
  color: var(--mid-grey);
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-body p { margin-top: 1rem; }
.legal-body p:first-child { margin-top: 0; }
.legal-body strong { color: var(--off-white); }
.legal-body ul { margin-top: 0.5rem; padding-left: 1.5rem; }

.legal-section--privacy {
  background: #0E0E0E;
  border-top: 1px solid var(--dark-grey);
}

.legal-section--terms {
  background: #0C0C0C;
  border-top: 1px solid #1A1A1A;
}

.legal-section--access {
  background: #101010;
  border-top: 1px solid #1A1A1A;
}

/* --- PRIVACY: Broad color blocking with dark wine/red triangle --- */
.geo-clump--privacy {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Large dark wine/red triangle - broad color block */
.geo-clump--privacy .gc--priv-tri {
  top: 10%;
  right: -5%;
  width: 0;
  height: 0;
  border-left: clamp(150px, 20vw, 300px) solid transparent;
  border-right: clamp(150px, 20vw, 300px) solid transparent;
  border-bottom: clamp(200px, 28vw, 420px) solid #1A0808;
  transform: rotate(15deg);
}

/* Tonal grey block behind triangle */
.geo-clump--privacy .gc--priv-block {
  bottom: 10%;
  right: 5%;
  width: clamp(120px, 16vw, 220px);
  height: clamp(80px, 10vw, 140px);
  background: #161616;
  transform: rotate(-5deg);
}

/* Thin horizontal line */
.geo-clump--privacy .gc--priv-line-1 {
  top: 40%;
  right: 0;
  width: 35%;
  height: 1px;
  background: var(--dark-grey);
  opacity: 0.15;
}

/* Diagonal line */
.geo-clump--privacy .gc--priv-line-2 {
  top: 20%;
  right: 15%;
  width: 2px;
  height: 200px;
  background: var(--dark-grey);
  transform: rotate(-20deg);
  transform-origin: top center;
  opacity: 0.12;
}

/* --- TERMS: Sparse linear shapes — lines, thin rect, small triangle, square --- */
.geo-clump--terms {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Long horizontal line - dominant element */
.geo-clump--terms .gc--terms-line-1 {
  top: 30%;
  right: 0;
  width: 40%;
  height: 1px;
  background: var(--dark-grey);
  opacity: 0.18;
}

/* Shorter angled line */
.geo-clump--terms .gc--terms-line-2 {
  top: 20%;
  right: 10%;
  width: 2px;
  height: 180px;
  background: var(--dark-grey);
  transform: rotate(-15deg);
  transform-origin: top center;
  opacity: 0.12;
}

/* Third line - horizontal, lower */
.geo-clump--terms .gc--terms-line-3 {
  bottom: 25%;
  right: 5%;
  width: 25%;
  height: 1px;
  background: var(--dark-grey);
  opacity: 0.12;
}

/* Small triangle outline */
.geo-clump--terms .gc--terms-tri {
  top: 25%;
  right: 20%;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 30px solid transparent;
  border-bottom-color: var(--dark-grey);
  opacity: 0.15;
  transform: rotate(10deg);
}

/* Small square - dark tonal fill */
.geo-clump--terms .gc--terms-square {
  bottom: 30%;
  right: 15%;
  width: 30px;
  height: 30px;
  background: #1A1A1A;
  transform: rotate(8deg);
}

/* Thin long rectangle (line-like) */
.geo-clump--terms .gc--terms-rect {
  top: 50%;
  right: 8%;
  width: 80px;
  height: 6px;
  background: var(--dark-grey);
  transform: rotate(-12deg);
  opacity: 0.2;
}

/* --- ACCESSIBILITY: Larger clump, center-right, varied pattern --- */
.geo-clump--access {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Large anchor rectangle */
.geo-clump--access .gc--acc-rect-1 {
  top: 15%;
  right: 20%;
  width: clamp(160px, 18vw, 260px);
  height: clamp(120px, 14vw, 200px);
  background: #161616;
  transform: rotate(-6deg);
}

/* Overlapping medium rect */
.geo-clump--access .gc--acc-rect-2 {
  top: 30%;
  right: 28%;
  width: clamp(100px, 12vw, 160px);
  height: clamp(80px, 9vw, 120px);
  background: #1C1C1C;
  transform: rotate(4deg);
}

/* Small rect - tertiary depth */
.geo-clump--access .gc--acc-rect-3 {
  top: 50%;
  right: 22%;
  width: 60px;
  height: 45px;
  border: 2px solid var(--dark-grey);
  transform: rotate(-10deg);
  opacity: 0.2;
}

/* Large circle outline */
.geo-clump--access .gc--acc-circle-1 {
  top: 10%;
  right: 35%;
  width: clamp(80px, 10vw, 130px);
  height: clamp(80px, 10vw, 130px);
  border: 2px solid var(--dark-grey);
  border-radius: 50%;
  opacity: 0.2;
}

/* Small filled circle */
.geo-clump--access .gc--acc-circle-2 {
  top: 55%;
  right: 38%;
  width: 20px;
  height: 20px;
  background: var(--dark-grey);
  border-radius: 50%;
  opacity: 0.2;
}

/* Red triangle accent - larger than usual */
.geo-clump--access .gc--acc-tri {
  top: 35%;
  right: 15%;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid var(--red);
  transform: rotate(18deg);
  opacity: 0.2;
}

/* Long diagonal line */
.geo-clump--access .gc--acc-line-1 {
  top: 5%;
  right: 25%;
  width: 2px;
  height: clamp(200px, 30vw, 400px);
  background: var(--dark-grey);
  transform: rotate(-18deg);
  transform-origin: top center;
  opacity: 0.12;
}

/* Crossing line */
.geo-clump--access .gc--acc-line-2 {
  top: 20%;
  right: 15%;
  width: clamp(200px, 25vw, 350px);
  height: 1px;
  background: var(--dark-grey);
  transform: rotate(8deg);
  opacity: 0.1;
}

/* Grey bar */
.geo-clump--access .gc--acc-bar {
  top: 65%;
  right: 30%;
  width: 50px;
  height: 7px;
  background: var(--dark-grey);
  transform: rotate(-15deg);
  opacity: 0.22;
}

/* Diamond */
.geo-clump--access .gc--acc-diamond {
  top: 25%;
  right: 42%;
  width: 16px;
  height: 16px;
  background: var(--mid-grey);
  transform: rotate(45deg);
  opacity: 0.18;
}

/* Scattered fragment */
.geo-clump--access .gc--acc-frag-1 {
  top: 70%;
  right: 20%;
  width: 8px;
  height: 22px;
  background: var(--red);
  transform: rotate(-25deg);
  opacity: 0.25;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* Rule line animation */
.rule-expand {
  width: 0;
  transition: width 600ms ease-out;
}

.rule-expand.visible {
  width: 60px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .hero__geo-wireframe,
  .hero__geo-diag-line-2,
  .hero__geo-frag-3 {
    display: none;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.97);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: var(--rule-weight) solid var(--red);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: 90vh;
    padding-top: 6rem;
  }

  .hero__geo-black-square {
    width: 140px;
    height: 140px;
    right: -10%;
    bottom: 10%;
  }

  .hero__geo-black-rect {
    width: 80px;
    height: 60px;
  }

  .hero__geo-grey-bar {
    width: 180px;
  }

  .hero__geo-diag-line-1,
  .hero__geo-diag-line-2,
  .hero__geo-wireframe,
  .hero__geo-frag-1,
  .hero__geo-frag-2,
  .hero__geo-frag-3,
  .hero__geo-circle {
    display: none;
  }

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

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

  .about__stat-row {
    gap: 2rem;
  }

  .contact__cta-block {
    padding: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .services::before {
    display: none;
  }
}

/* --- Responsive: Small Mobile --- */
@media (max-width: 480px) {
  .geo-clump { display: none; }

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

  .client-list {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--red);
  color: var(--off-white);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 200;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 1rem;
}
