/* ─── Fonts ───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Geist:wght@300;400;500&display=swap');

@font-face {
  font-family: 'LigaSans';
  src: url('../assets/fonts/LigaSans-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: block;
}

/* ─── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; }

/* ─── Design tokens ───────────────────────────────────────────────────── */
:root {
  --bg:             #0a0a0a;
  --fg:             #f0f0f0;
  --muted:          rgba(240,240,240,0.5);
  --border:         rgba(240,240,240,0.12);
  --brand:          #294b70;
  --brand-hover:    #355d8a;
  --accent-orange:  #FF5100;
  --accent-yellow:  #FDCB12;
  --accent-blue:    #1E8DE4;

  --font-display:   'LigaSans', sans-serif;
  --font-headline:  'Host Grotesk', sans-serif;
  --font-body:      'Geist', sans-serif;

  --text-xl:    64px;
  --text-lg:    53px;
  --text-md:    40px;
  --text-body:  17px;
  --text-sm:    14px;

  --nav-h: 64px;
  --page-x: clamp(24px, 5vw, 80px);
  --transition: 0.35s ease;
}

html[data-theme="light"] {
  --bg:     #ffffff;
  --fg:     #0a0a0a;
  --muted:  rgba(10,10,10,0.55);
  --border: rgba(10,10,10,0.12);
}

/* ─── Base ────────────────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* ─── Custom block cursor — hide native cursor everywhere ─────────────── */
@media (hover: hover) and (pointer: fine) {
  html, body, * { cursor: none !important; }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: opacity 0.2s ease;
}
.cursor.is-hidden { opacity: 0; }

.cursor-blob {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 2px;
  background: #FF5100;
  mix-blend-mode: difference;
  animation: cursor-hue 4s linear infinite;
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}

.cursor.is-hovering .cursor-blob {
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  background: var(--brand);
  border-radius: 4px;
  animation: none;
}

@keyframes cursor-hue {
  0%   { background: #FF5100; }
  25%  { background: #FDCB12; }
  50%  { background: #1E8DE4; }
  75%  { background: #294b70; }
  100% { background: #FF5100; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-blob { animation: none; }
}

/* ─── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-x);
}

.nav-left { display: flex; align-items: center; gap: 32px; }

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: opacity var(--transition);
}
.nav-link:hover { opacity: 0.5; }
.nav-link.active { opacity: 1; }

/* Build with us CTA — inverse of theme */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-headline);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}
.nav-cta:hover { opacity: 0.85; }

/* ─── Nav section-menu (hover-expand) ────────────────────────────────── */
.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--fg);
  transition: opacity var(--transition);
}
.nav-menu-btn svg { width: 22px; height: 22px; }
.nav-menu-btn:hover { opacity: 0.7; }

.nav-menu-items {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 0;
  overflow: hidden;
  margin-left: 0;
  transition: max-width 0.4s ease, margin-left 0.4s ease;
  white-space: nowrap;
}

.nav-menu:hover .nav-menu-items,
.nav-menu:focus-within .nav-menu-items {
  max-width: 520px;
  margin-left: 12px;
}

.nav-menu-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 6px 12px;
  transition: color var(--transition);
}
.nav-menu-link:hover { color: var(--brand); }
html[data-theme="dark"] .nav-menu-link:hover,
html:not([data-theme="light"]) .nav-menu-link:hover { color: #7ea8d4; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-icon, .theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--fg);
  transition: opacity var(--transition);
  cursor: pointer;
}
.nav-icon:hover, .theme-toggle:hover { opacity: 0.5; }
.nav-icon svg { width: 20px; height: 20px; fill: currentColor; }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
  height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--page-x);
  position: relative;
  overflow: hidden;
}

.hero-spacer { height: var(--nav-h); flex-shrink: 0; }

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(48px, 9vh, 140px);
  padding-bottom: clamp(40px, 6vh, 96px);
  min-height: 0;
}

/* Hero tagline — Level 1: largest display headline */
.hero-tagline {
  font-family: var(--font-headline);
  font-size: clamp(27px, 3.5vw, 57px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 1060px;
  color: var(--fg);
  text-wrap: balance;
  margin-bottom: clamp(20px, 3vh, 36px);
}

/* Scroll indicator — sits directly under the hero tagline */
.scroll-hint {
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  flex-shrink: 0;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Hero bottom row: full-width logo lockup — must always fit in viewport */
.hero-bottom {
  display: block;
  flex-shrink: 0;
  padding-top: clamp(16px, 3vh, 40px);
  padding-bottom: clamp(16px, 3vw, 40px);
  min-height: 0;
  width: 100%;
}

.hero-logo {
  display: block;
  /* Fill the full width of the hero row; height is derived from the native
     aspect ratio so the lockup is never squished. */
  width: 100%;
  height: auto;
  aspect-ratio: 1299 / 318;
  object-fit: contain;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
  filter: url('#logo-distort');
  will-change: filter;
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo { filter: none; }
}

/* ─── Sections ────────────────────────────────────────────────────────── */
.section {
  padding: clamp(80px, 12vh, 160px) var(--page-x);
}

.section-divider { display: none; }

/* ─── Intro section ───────────────────────────────────────────────────── */

/* Sub-header — Level 2: one clear notch down from hero */
.intro-sub {
  font-family: var(--font-headline);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
  max-width: 880px;
  margin-bottom: 20px;
  color: var(--fg);
  text-wrap: balance;
}

/* Body — Level 3: supporting paragraph */
.intro-body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  max-width: 680px;
  color: var(--muted);
}

/* ─── Offerings (bold redesign) ────────────────────────────────────────── */
.offerings-header {
  margin-bottom: clamp(48px, 8vh, 96px);
}

.offerings-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(40px, 6vw, var(--text-xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 0;
}

/* Stack cards vertically — each is a bold, full-width row */
.offerings-grid {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--fg);
}

.offering-card {
  display: grid;
  grid-template-columns: 96px 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 72px) clamp(24px, 3vw, 40px);
  border-bottom: 2px solid var(--fg);
  transition: filter var(--transition), opacity var(--transition), background var(--transition);
  position: relative;
  cursor: default;
}

.offering-card.blurred {
  filter: blur(3px);
  opacity: 0.18;
}

.offering-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-ligatures: none;
}

.offering-title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.offering-body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
}

/* Hover: brand accent bar slides in from the left */
.offering-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 6px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.offering-card:hover::before { transform: scaleY(1); }

/* Brand-aligned tonal palette for offering numbers */
.offering-card:nth-child(1) .offering-num { color: #294b70; }
.offering-card:nth-child(2) .offering-num { color: #4a7099; }
.offering-card:nth-child(3) .offering-num { color: #6f95bc; }
.offering-card:nth-child(4) .offering-num { color: #9bb8d6; }

/* In dark mode, lighten the deepest tone so it doesn't disappear on black */
html:not([data-theme="light"]) .offering-card:nth-child(1) .offering-num {
  color: #5a82ad;
}

/* ─── Client roster (nested in intro section) ────────────────────────── */
.intro-clients {
  margin-top: clamp(64px, 9vh, 112px);
}

.clients-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--muted);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.clients-grid img {
  width: 100%;
  height: clamp(28px, 4vw, 48px);
  object-fit: contain;
  opacity: 0.65;
  transform: scale(1);
  transform-origin: center;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.2,.7,.2,1), filter var(--transition);
}

/* Logos are exported white-on-transparent — invert in light mode for legibility */
html[data-theme="light"] .clients-grid img {
  filter: invert(1);
}

.clients-grid img:hover {
  opacity: 1;
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ─── Projects grid ───────────────────────────────────────────────────── */
.section-projects { padding-top: clamp(60px, 10vh, 120px); }

.projects-header {
  margin-bottom: clamp(40px, 6vh, 72px);
}

.projects-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(40px, 6vw, var(--text-xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 16px;
}

.projects-header p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 640px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.project-card {
  display: block;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
  transition: transform var(--transition);
}
.project-card:hover { transform: translateY(-3px); }
.project-card:hover .project-thumb { filter: brightness(1.08); }

.project-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--border);
  margin-bottom: 14px;
  transition: filter var(--transition);
}

.project-category {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.project-title {
  font-family: var(--font-headline);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin-bottom: 0;
}

@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .projects-grid { grid-template-columns: 1fr; } }

/* ─── Project modal ───────────────────────────────────────────────────── */
.project-modal[hidden] { display: none; }

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px);
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modal-fade 0.25s ease;
}

html[data-theme="light"] .project-modal-backdrop { background: rgba(255, 255, 255, 0.7); }

.project-modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 90vh;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  animation: modal-rise 0.3s cubic-bezier(.2,.7,.2,1);

  /* Hide scrollbar by default; reveal on hover/scroll */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.25s ease;
}
.project-modal-panel:hover,
.project-modal-panel:focus-within,
.project-modal-panel.is-scrolling {
  scrollbar-color: rgba(240,240,240,0.4) transparent;
}
html[data-theme="light"] .project-modal-panel:hover,
html[data-theme="light"] .project-modal-panel:focus-within,
html[data-theme="light"] .project-modal-panel.is-scrolling {
  scrollbar-color: rgba(10,10,10,0.4) transparent;
}

/* Webkit (Safari/Chrome) */
.project-modal-panel::-webkit-scrollbar { width: 8px; }
.project-modal-panel::-webkit-scrollbar-track { background: transparent; }
.project-modal-panel::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
  transition: background 0.25s ease;
}
.project-modal-panel:hover::-webkit-scrollbar-thumb,
.project-modal-panel:focus-within::-webkit-scrollbar-thumb,
.project-modal-panel.is-scrolling::-webkit-scrollbar-thumb {
  background: rgba(240,240,240,0.4);
}
html[data-theme="light"] .project-modal-panel:hover::-webkit-scrollbar-thumb,
html[data-theme="light"] .project-modal-panel:focus-within::-webkit-scrollbar-thumb,
html[data-theme="light"] .project-modal-panel.is-scrolling::-webkit-scrollbar-thumb {
  background: rgba(10,10,10,0.4);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  background: var(--bg);
  z-index: 2;
  transition: opacity var(--transition);
}
.project-modal-close svg { width: 22px; height: 22px; }
.project-modal-close:hover { opacity: 0.7; }

.project-modal-body { padding: clamp(28px, 4vw, 56px); }

.modal-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
}

.modal-description {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 40px;
  max-width: 720px;
}

.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.modal-meta-block h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.modal-meta-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.modal-meta-block li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg);
}

.modal-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--fg);
}

.modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-headline);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.modal-link.modal-link-secondary { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.modal-link:hover { opacity: 0.85; }
.modal-link svg { width: 14px; height: 14px; }

.modal-credits {
  margin-bottom: 40px;
}
.modal-credits h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.modal-credits-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px 24px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}
.modal-credit-role { color: var(--muted); }
.modal-credit-name { color: var(--fg); }

.modal-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.modal-images img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--border);
}

@media (max-width: 640px) {
  .modal-meta { grid-template-columns: 1fr; gap: 24px; }
  .modal-credits-grid { grid-template-columns: 1fr; gap: 4px 0; }
  .modal-credit-role { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.modal-open { overflow: hidden; }

/* ─── Features / press list ───────────────────────────────────────────── */
.features-header { margin-bottom: clamp(40px, 6vh, 72px); }

.features-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(40px, 6vw, var(--text-xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.features-list li {
  border-bottom: 1px solid var(--border);
}

.features-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.4vw, 28px) 0;
  transition: padding var(--transition), color var(--transition);
}
.features-list a:hover { padding-left: 12px; color: var(--brand); }
html[data-theme="dark"] .features-list a:hover,
html:not([data-theme="light"]) .features-list a:hover { color: #7ea8d4; }

.feature-icon {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  flex-shrink: 0;
  vertical-align: middle;
  opacity: 0.55;
  transition: opacity var(--transition), transform var(--transition);
  display: inline-block;
}
.features-list a:hover .feature-icon {
  opacity: 1;
  transform: translate(2px, -2px);
}

.feature-pub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 220px;
}

.feature-title {
  font-family: var(--font-headline);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--fg);
  text-align: right;
}

@media (max-width: 640px) {
  .features-list a { flex-direction: column; gap: 6px; }
  .feature-title { text-align: left; }
  .feature-pub { min-width: 0; }
}

/* ─── About: Founders ─────────────────────────────────────────────────── */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.founder-headshot {
  width: clamp(180px, 22vw, 280px);
  /* aspect-ratio: 1 / 1; */
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
  margin-bottom: 32px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-headshot::after {
  content: 'HEADSHOT';
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.6);
  text-transform: uppercase;
}

.founder-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.founder-name {
  font-family: var(--font-headline);
  font-size: clamp(36px, 4.5vw, var(--text-xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--fg);
}

.founder-bio {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
}

/* ─── Process section ─────────────────────────────────────────────────── */
.process-section {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(80px, 14vh, 180px) var(--page-x);
}

.process-section h2 {
  font-family: var(--font-headline);
  font-size: clamp(40px, 5vw, var(--text-xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 56px;
  color: var(--fg);
}

.process-body {
  font-family: var(--font-headline);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 880px;
  margin-bottom: 64px;
}

.process-brands {
  font-family: var(--font-headline);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 80px;
}

.brand-name { display: inline; margin-right: 6px; }
/* Cycle through three confident, legible colors on either bg.
   Yellow is darkened (#c9a200) for white-bg legibility. */
.brand-name:nth-child(4n+1) { color: var(--accent-orange); }
.brand-name:nth-child(4n+2) { color: var(--fg); }
.brand-name:nth-child(4n+3) { color: var(--accent-blue); }
.brand-name:nth-child(4n)   { color: #c9a200; }

html:not([data-theme="light"]) .brand-name:nth-child(4n)   { color: var(--accent-yellow); }
html[data-theme="light"] .brand-name:nth-child(4n) { color: #c9a200; }

.process-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 32px;
  border-top: 2px solid var(--fg);
  flex-wrap: wrap;
}

.process-cta .cta-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.process-cta .cta-link {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
  transition: opacity var(--transition);
}
html[data-theme="dark"] .process-cta .cta-link,
html:not([data-theme="light"]) .process-cta .cta-link { color: #7ea8d4; }
.process-cta .cta-link:hover { opacity: 0.7; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer {
  padding: 32px var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--muted);
}

.footer-logo {
  display: block;
  height: 32px;
  width: auto;
}

/* ─── Scroll reveal ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .offering-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: clamp(32px, 6vw, 48px) 0;
  }

  .offering-num { font-size: 28px; }
  .offering-title { font-size: clamp(28px, 7vw, 40px); }

  .offerings-header {
    flex-direction: column;
    gap: 16px;
  }
}
