/* ============================================================
   JOSHUA EIDENBERG — DIGITAL ECOSYSTEM STRATEGIST
   Premium personal site. Calm. Intelligent. Operator-grade.
   ============================================================ */

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

:root {
  /* Color */
  --bg: #07090f;
  --bg-soft: #0c1018;
  --bg-elev: #11151f;
  --bg-alt: #0a0d15;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f3f3ee;
  --text-soft: rgba(243, 243, 238, 0.78);
  --text-muted: rgba(243, 243, 238, 0.56);
  --text-faint: rgba(243, 243, 238, 0.38);

  --blue: #6c98ff;
  --teal: #5cd9b9;
  --violet: #b29bff;
  --warm: #ffd9a8;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 200ms;
  --t-med: 480ms;
  --t-slow: 900ms;

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* Avoid iOS Safari address-bar 100vh quirk */
  /* Prevent rubber-band horizontal bounce on iOS */
  overscroll-behavior-x: none;
  /* Remove blue/grey tap flash on iOS/Android */
  -webkit-tap-highlight-color: transparent;
}

/* Make interactive elements feel native on touch — kills 300ms delay
   and double-tap zoom on buttons & links, keeps single-tap fast. */
a,
button,
[role="button"],
input,
label,
summary {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

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

::selection {
  background: rgba(108, 152, 255, 0.35);
  color: #fff;
}

/* ---------- Ambient Background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
}

.ambient__orb--1 {
  width: 720px;
  height: 720px;
  top: -200px;
  left: -180px;
  background: radial-gradient(circle, rgba(178, 155, 255, 0.55), transparent 70%);
  animation: drift1 24s var(--ease-in-out) infinite alternate;
}

.ambient__orb--2 {
  width: 640px;
  height: 640px;
  top: 30%;
  right: -200px;
  background: radial-gradient(circle, rgba(92, 217, 185, 0.35), transparent 70%);
  animation: drift2 28s var(--ease-in-out) infinite alternate;
}

.ambient__orb--3 {
  width: 800px;
  height: 800px;
  bottom: -300px;
  left: 30%;
  background: radial-gradient(circle, rgba(108, 152, 255, 0.4), transparent 70%);
  animation: drift3 32s var(--ease-in-out) infinite alternate;
}

.ambient__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-100px, 80px) scale(1.05); }
}
@keyframes drift3 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, -80px) scale(1.08); }
}

/* ---------- Layout ---------- */
main {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(92, 217, 185, 0.7);
  animation: pulse-dot 2.6s var(--ease-in-out) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.grad-text {
  background: linear-gradient(120deg, var(--violet) 0%, var(--blue) 60%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.grad-text--alt {
  background: linear-gradient(120deg, var(--teal) 0%, var(--blue) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), padding var(--t-med) var(--ease-out);
  padding: 18px 0;
  padding-top: max(18px, env(safe-area-inset-top));
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
  padding: 12px 0;
  padding-top: max(12px, env(safe-area-inset-top));
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 15px;
  color: var(--text);
  min-height: 44px; /* iOS HIG / Material touch target */
  padding: 4px 4px 4px 0;
  margin-left: -4px;
}

.nav__mark {
  display: inline-flex;
  color: var(--text);
}

.nav__name {
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 450;
  color: var(--text-soft);
  position: relative;
  transition: color var(--t-fast) var(--ease-out);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}

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

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--line-strong);
}

.nav__cta svg {
  transition: transform var(--t-fast) var(--ease-out);
}

.nav__cta:hover svg {
  transform: translateX(3px);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

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

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav__mobile {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 68px);
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  padding: 18px;
  background: rgba(12, 16, 24, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: none;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  max-height: calc(100vh - 100px);
  max-height: calc(100svh - 100px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav__mobile.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile a {
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text-soft);
  border-radius: 10px;
  transition: background var(--t-fast), color var(--t-fast);
}

.nav__mobile a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav__mobile-cta {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.08) !important;
  text-align: center;
  font-weight: 500;
  color: var(--text) !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn--lg {
  padding: 16px 28px;
  font-size: 15px;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 32px rgba(108, 152, 255, 0.22);
}

.btn--primary svg {
  transition: transform var(--t-fast);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ambient__orb,
  .core,
  .pulse,
  .ring,
  .node {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Touch-only devices: disable hover transforms that get "stuck"
   after a tap (because the first touch is treated as hover). */
@media (hover: none) {
  .card:hover,
  .work:hover,
  .principle:hover,
  .fit__col:hover,
  .focus__col:hover,
  .practice__pillar:hover,
  .range__tile:hover,
  .contact__channel:hover,
  .stack:hover .stack__layer,
  .portrait__frame:hover {
    transform: none;
  }

  .nav__cta:hover svg,
  .btn--primary:hover svg {
    transform: none;
  }

  .nav__links a::after {
    display: none;
  }
}

/* Lower-power devices: trim heavy blurs to keep the page smooth.
   The orbs still feel ambient, just less expensive to composite. */
@media (max-width: 820px) {
  .ambient__orb {
    filter: blur(80px);
    opacity: 0.45;
  }

  .ambient__orb--1,
  .ambient__orb--2,
  .ambient__orb--3 {
    animation-duration: 40s; /* slower = less repaint pressure */
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 180px 0 120px;
  min-height: 100vh;
  min-height: 100svh; /* iOS-correct viewport height */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}

.hero__copy {
  max-width: 620px;
}

.hero__headline {
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
}

.hero__sub {
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.hero__pills li {
  font-size: 12.5px;
  font-weight: 450;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-muted);
  letter-spacing: 0.005em;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.hero__pills li:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-soft);
  border-color: var(--line-strong);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--text-muted), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--text);
  animation: scroll-line 2.4s var(--ease-in-out) infinite;
}

@keyframes scroll-line {
  0% { top: -10px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- Ecosystem Visual ---------- */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
}

.ecosystem__svg {
  width: 100%;
  height: 100%;
}

.ring {
  transform-origin: 300px 300px;
}

.ring--1 {
  animation: spin 60s linear infinite;
}
.ring--2 {
  animation: spin 90s linear infinite reverse;
}
.ring--3 {
  animation: spin 120s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.core {
  transform-origin: 300px 300px;
  animation: core-pulse 4s var(--ease-in-out) infinite;
}

@keyframes core-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.92; }
}

.node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3.2s var(--ease-in-out) infinite;
}

.node:nth-child(2) { animation-delay: 0.4s; }
.node:nth-child(3) { animation-delay: 0.8s; }
.node:nth-child(4) { animation-delay: 1.2s; }
.node:nth-child(5) { animation-delay: 1.6s; }
.node:nth-child(6) { animation-delay: 2.0s; }

@keyframes node-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.78; transform: scale(0.92); }
}

.pulses circle {
  opacity: 0;
}

.pulse--1 {
  animation: travel-1 6s linear infinite;
}
.pulse--2 {
  animation: travel-2 7s linear infinite;
  animation-delay: 1.5s;
}
.pulse--3 {
  animation: travel-3 8s linear infinite;
  animation-delay: 3s;
}

@keyframes travel-1 {
  0% { transform: translate(300px, 300px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(300px, 120px); opacity: 0; }
}
@keyframes travel-2 {
  0% { transform: translate(300px, 300px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(480px, 380px); opacity: 0; }
}
@keyframes travel-3 {
  0% { transform: translate(300px, 300px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(120px, 220px); opacity: 0; }
}

.ecosystem__caption {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 10px 18px;
  background: rgba(7, 9, 15, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  max-width: calc(100% - 24px);
}

.ecosystem__arrow {
  color: var(--blue);
}

/* ============================================================
   POSITIONING
   ============================================================ */
.positioning {
  padding: 140px 0 120px;
  position: relative;
  text-align: center;
}

.positioning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--line-strong), transparent);
}

.positioning__line {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 450;
  color: var(--text);
  max-width: 920px;
  margin: 0 auto 32px;
}

.positioning__body {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  padding: 140px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.012) 50%, transparent 100%);
}

.section--alt::before,
.section--alt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.section--alt::before { top: 0; }
.section--alt::after { bottom: 0; }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 80px;
}

.section__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}

.section__lede {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   CARDS — WHAT I DO
   ============================================================ */
.cards {
  display: grid;
  gap: 20px;
}

.cards--6 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), background var(--t-med);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(108, 152, 255, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(108, 152, 255, 0.1);
  color: var(--blue);
  margin-bottom: 22px;
  border: 1px solid rgba(108, 152, 255, 0.18);
}

.card:nth-child(2) .card__icon { background: rgba(178, 155, 255, 0.1); color: var(--violet); border-color: rgba(178, 155, 255, 0.18); }
.card:nth-child(3) .card__icon { background: rgba(92, 217, 185, 0.1); color: var(--teal); border-color: rgba(92, 217, 185, 0.18); }
.card:nth-child(4) .card__icon { background: rgba(178, 155, 255, 0.1); color: var(--violet); border-color: rgba(178, 155, 255, 0.18); }
.card:nth-child(5) .card__icon { background: rgba(92, 217, 185, 0.1); color: var(--teal); border-color: rgba(92, 217, 185, 0.18); }
.card:nth-child(6) .card__icon { background: rgba(108, 152, 255, 0.1); color: var(--blue); border-color: rgba(108, 152, 255, 0.18); }

.card__title {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card__body {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-muted);
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  padding: 160px 0;
  position: relative;
}

.philosophy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 100px;
  align-items: center;
}

.philosophy__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 560px;
}

.philosophy__quote {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
  max-width: 520px;
}

/* Stack visual */
.philosophy__visual {
  display: flex;
  justify-content: center;
  overflow: visible;
}

.stack {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.stack__layer {
  width: 100%;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
}

.stack__layer span {
  display: block;
  font-size: 16px;
  font-weight: 550;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.stack__layer small {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.stack__layer--1 {
  background: linear-gradient(135deg, rgba(178, 155, 255, 0.12), rgba(178, 155, 255, 0.03));
  border-color: rgba(178, 155, 255, 0.22);
  transform: translateX(-24px);
}
.stack__layer--2 {
  background: linear-gradient(135deg, rgba(108, 152, 255, 0.12), rgba(108, 152, 255, 0.03));
  border-color: rgba(108, 152, 255, 0.22);
  transform: translateX(-8px);
}
.stack__layer--3 {
  background: linear-gradient(135deg, rgba(92, 217, 185, 0.1), rgba(92, 217, 185, 0.03));
  border-color: rgba(92, 217, 185, 0.22);
  transform: translateX(10px);
}
.stack__layer--4 {
  background: linear-gradient(135deg, rgba(255, 217, 168, 0.1), rgba(255, 217, 168, 0.025));
  border-color: rgba(255, 217, 168, 0.22);
  transform: translateX(26px);
}

.stack:hover .stack__layer {
  transform: translateX(0);
}

.stack__connect {
  width: 1px;
  height: 18px;
  background: linear-gradient(to bottom, var(--line-strong), transparent);
  margin: 0;
}

/* ============================================================
   RANGE
   ============================================================ */
.range {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}

.range__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.range__tile {
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: -0.005em;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  cursor: default;
}

.range__tile:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.range__pull {
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(178, 155, 255, 0.08), rgba(108, 152, 255, 0.03));
  border: 1px solid rgba(178, 155, 255, 0.18);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-style: italic;
  position: sticky;
  top: 100px;
}

.range__pull p {
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.range__pull-sub {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-size: 14.5px !important;
  color: var(--text-muted);
  line-height: 1.65 !important;
}

/* ============================================================
   WORKS
   ============================================================ */
.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.work {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
}

.work:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.work__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.work__media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work__media-mark {
  font-family: var(--font-serif);
  font-size: 88px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
  mix-blend-mode: overlay;
}

.work__media-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255, 255, 255, 0.35), transparent 70%);
  opacity: 0.6;
}

.work__media--miracle {
  background: linear-gradient(135deg, #ff9d6e 0%, #ff5e91 50%, #b76aff 100%);
}

.work__media--pause {
  background: linear-gradient(135deg, #5cd9b9 0%, #6c98ff 60%, #b29bff 100%);
}

.work__media--fp {
  background: linear-gradient(135deg, #0a0e1f 0%, #1a2b5c 50%, #6c98ff 100%);
}

.work__media--creator {
  background: linear-gradient(135deg, #b29bff 0%, #ffb98a 50%, #5cd9b9 100%);
}

.work__body {
  padding: 28px 30px 30px;
}

.work__tag {
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.work__title {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.work__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.work__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.work__chips li {
  font-size: 11.5px;
  font-weight: 450;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-muted);
  letter-spacing: 0.005em;
}

/* ============================================================
   FOCUS
   ============================================================ */
.focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.focus__col {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--t-fast);
}

.focus__col:hover {
  background: rgba(255, 255, 255, 0.02);
}

.focus__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-faint);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.focus__col h3 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.focus__col p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-muted);
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle {
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
  position: relative;
}

.principle:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.principle__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.principle:nth-child(2) .principle__num { color: var(--violet); }
.principle:nth-child(3) .principle__num { color: var(--teal); }
.principle:nth-child(4) .principle__num { color: var(--violet); }
.principle:nth-child(5) .principle__num { color: var(--teal); }
.principle:nth-child(6) .principle__num { color: var(--blue); }

.principle h3 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.principle p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-muted);
}

/* ============================================================
   FIT
   ============================================================ */
.fit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fit__col {
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-med), border-color var(--t-med);
}

.fit__col:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.fit__title {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.fit__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fit__col li {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.fit__col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1.5px;
  background: var(--text-muted);
}

/* ============================================================
   PERSONAL PRACTICE
   ============================================================ */
.practice__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.practice__left {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.practice__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 20px;
  max-width: 520px;
}

.practice__pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  position: sticky;
  top: 100px;
}

/* ---------- Portrait ---------- */
.portrait {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  max-width: 440px;
}

.portrait__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(108, 152, 255, 0.2), rgba(92, 217, 185, 0.2));
  padding: 6px;
  box-shadow:
    0 30px 60px -20px rgba(108, 152, 255, 0.35),
    0 12px 28px -10px rgba(178, 155, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}

.portrait__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(178, 155, 255, 0.55), rgba(108, 152, 255, 0.25) 40%, rgba(92, 217, 185, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.portrait__frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-med);
}

.portrait__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 80px -20px rgba(108, 152, 255, 0.45),
    0 16px 32px -10px rgba(178, 155, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.portrait__frame:hover img {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.04);
}

.portrait__shine {
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius-lg) - 6px);
  background:
    radial-gradient(140% 60% at 50% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(7, 9, 15, 0.45) 100%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
}

.portrait__corner {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 9, 15, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  z-index: 4;
}

.portrait__caption {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 4px;
  font-size: 13px;
  letter-spacing: -0.005em;
}

.portrait__name {
  color: var(--text);
  font-weight: 550;
}

.portrait__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
}

.portrait__role {
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
}

.practice__pillar {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 450;
  letter-spacing: -0.005em;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.practice__pillar:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--line-strong), transparent);
}

.contact__inner {
  max-width: 760px;
}

.contact__title {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
}

.contact__sub {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}

.contact__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.contact__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  text-align: center;
}

.contact__channel:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.contact__channel-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact__channel-value {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 50px;
  padding-bottom: max(50px, calc(env(safe-area-inset-bottom) + 30px));
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}

.footer__mark {
  display: inline-flex;
  color: var(--text);
}

.footer__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

.footer__meta {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}

/* The unmarked door. If you see it, you're meant to find it. */
.footer__lab {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(243, 243, 238, 0.32);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}

.footer__lab svg {
  opacity: 0.55;
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}

.footer__lab:hover {
  color: rgba(243, 243, 238, 0.7);
  background: rgba(255, 255, 255, 0.04);
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M5 3 L5 23 L10 18 L13 24 L16 22.5 L13 17 L20 17 Z' fill='white' stroke='black' stroke-width='1.4' stroke-linejoin='miter'/></svg>") 4 3, pointer;
}

.footer__lab:hover svg {
  opacity: 1;
  transform: translateX(1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large laptops — tighten gap before the stack break */
@media (max-width: 1280px) {
  .hero__inner {
    gap: 56px;
  }

  .philosophy__inner {
    gap: 72px;
  }

  .practice__inner {
    gap: 56px;
  }

  .section {
    padding: 120px 0;
  }
}

/* Small laptops & tablet landscape — keep 2-col hero, switch grids */
@media (max-width: 1024px) {
  .hero {
    padding: 160px 0 100px;
  }

  .hero__inner {
    gap: 40px;
  }

  .ecosystem {
    max-width: 440px;
  }

  .range {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .range__pull {
    position: static;
  }

  .cards--6,
  .focus,
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .focus__col:nth-last-child(-n+2) {
    border-bottom-width: 1px;
  }

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

  .fit__col:last-child {
    grid-column: span 2;
    max-width: calc(50% - 12px);
    margin: 0 auto;
    width: 100%;
  }
}

/* Tablet portrait — stack hero, philosophy, practice */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: left;
  }

  .hero__visual {
    order: -1;
    max-width: 440px;
    margin: 0 auto;
  }

  .hero__copy {
    max-width: 100%;
  }

  .philosophy__inner,
  .practice__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .philosophy__body,
  .practice__body {
    max-width: 100%;
  }

  .philosophy__quote {
    max-width: 100%;
  }

  .practice__pillars {
    position: static;
  }

  .portrait {
    max-width: 360px;
    margin: 0 auto;
  }

  .practice__left {
    gap: 36px;
    align-items: stretch;
  }

  .stack {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Mobile nav + dense grids — under 820 */
@media (max-width: 820px) {
  .container {
    padding: 0 22px;
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }

  .nav__inner {
    padding: 0 22px;
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }

  .nav__logo {
    padding: 8px 0;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
    min-height: auto;
  }

  .hero__inner {
    gap: 44px;
  }

  .hero__headline {
    font-size: clamp(40px, 8.4vw, 56px);
    margin-bottom: 24px;
  }

  .hero__sub {
    margin-bottom: 32px;
  }

  .hero__actions {
    margin-bottom: 40px;
  }

  .hero__pills {
    gap: 6px;
  }

  .hero__pills li {
    font-size: 11.5px;
    padding: 6px 11px;
  }

  .hero__scroll {
    display: none;
  }

  .ecosystem {
    max-width: 400px;
  }

  .ecosystem__caption {
    font-size: 10.5px;
    padding: 8px 14px;
    gap: 10px;
    letter-spacing: 0.14em;
  }

  .positioning,
  .section,
  .philosophy,
  .contact {
    padding: 88px 0;
  }

  .section__head {
    margin-bottom: 56px;
  }

  .cards--6,
  .focus,
  .principles,
  .fit,
  .works {
    grid-template-columns: 1fr;
  }

  .fit__col:last-child {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .focus {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .focus__col {
    border-right: none;
  }

  .focus__col:last-child {
    border-bottom: none;
  }

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

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

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

  .stack__layer {
    transform: none !important;
  }

  .work__media-mark {
    font-size: 64px;
  }

  .work__body {
    padding: 24px 24px 26px;
  }

  .footer {
    padding: 50px 0 40px;
  }
}

/* Compact mobile — under 480 */
@media (max-width: 480px) {
  .container {
    padding: 0 18px;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .nav__inner {
    padding: 0 18px;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
    gap: 12px;
  }

  .nav__name {
    font-size: 14px;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .hero__headline {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.05;
  }

  .hero__sub {
    font-size: 15.5px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn {
    justify-content: center;
    padding: 13px 20px;
  }

  .ecosystem {
    max-width: 320px;
  }

  .ecosystem__caption {
    font-size: 9.5px;
    padding: 7px 12px;
    gap: 8px;
    letter-spacing: 0.12em;
    bottom: -6px;
  }

  .positioning,
  .section,
  .philosophy,
  .contact {
    padding: 72px 0;
  }

  .positioning__line {
    font-size: 25px;
    line-height: 1.22;
  }

  .section__title {
    font-size: 28px;
    line-height: 1.12;
  }

  .section__head {
    margin-bottom: 44px;
  }

  .section__lede,
  .hero__sub,
  .philosophy__body,
  .practice__body,
  .positioning__body {
    font-size: 15.5px;
  }

  .card,
  .principle,
  .fit__col {
    padding: 26px 22px;
  }

  .focus__col {
    padding: 28px 22px;
  }

  .work__body {
    padding: 22px 22px 24px;
  }

  .work__title {
    font-size: 21px;
  }

  .contact__title {
    font-size: 32px;
    line-height: 1.1;
  }

  .contact__sub {
    font-size: 15.5px;
  }

  .contact__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 48px;
  }

  .contact__inner {
    padding: 0;
  }
}

/* Narrowest — under 360 */
@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }

  .nav__inner {
    padding: 0 16px;
  }

  .hero__headline {
    font-size: 32px;
  }

  .ecosystem__caption {
    font-size: 9px;
    padding: 6px 10px;
    gap: 6px;
    letter-spacing: 0.1em;
  }

  .range__grid {
    gap: 8px;
  }

  .range__tile {
    padding: 18px 12px;
    font-size: 12.5px;
  }

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

  .positioning__line {
    font-size: 22px;
  }

  .section__title {
    font-size: 26px;
  }

  .contact__title {
    font-size: 28px;
  }
}

/* Landscape phone — keep hero compact */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 110px 0 60px;
  }

  .hero__scroll {
    display: none;
  }
}
