/* ==========================================================================
   Corinne Bernett — design tokens + component styles
   Ported from the Claude-generated design system (warm editorial neutrals:
   cream, ink, terracotta clay, olive, brass). No build tooling required —
   plain CSS, custom properties, and a couple of Grid/Flex layouts.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light;

  /* -- Color tokens -- */
  --cream-50: #FDFAF3;
  --cream-100: #FAF5EC;
  --cream-200: #F3EBDD;
  --sand-300: #E7DBC7;
  --sand-400: #D8C7AC;
  --taupe-500: #C4AF90;

  --ink-900: #211C16;
  --ink-800: #3A322A;
  --ink-700: #574C40;
  --ink-600: #7A6C5B;
  --ink-500: #9C8E7B;

  --clay-600: #963A22;
  --clay-500: #BB4D30;
  --clay-400: #CD6A4C;
  --clay-100: #F1DAD0;

  --olive-600: #565A3B;
  --olive-500: #6C6F4B;
  --olive-100: #E4E3D4;

  --brass-600: #8C6A38;
  --brass-500: #A8804A;
  --brass-300: #CBA976;

  --white: #FFFFFF;
  --black: #100D09;

  --surface-page: var(--cream-100);
  --surface-raised: var(--cream-50);
  --surface-card: var(--cream-50);
  --surface-sunken: var(--cream-200);
  --surface-inverse: var(--ink-900);
  --surface-accent: var(--clay-500);

  --text-heading: var(--ink-900);
  --text-body: var(--ink-700);
  --text-muted: var(--ink-600);
  --text-faint: var(--ink-500);
  --text-on-accent: var(--cream-50);
  --text-on-inverse: var(--cream-100);
  --text-accent: var(--clay-600);

  --border-subtle: rgba(33, 28, 22, 0.10);
  --border-default: rgba(33, 28, 22, 0.16);
  --border-strong: rgba(33, 28, 22, 0.28);
  --border-accent: var(--clay-500);

  --accent: var(--clay-500);
  --accent-hover: var(--clay-600);
  --accent-soft: var(--clay-100);
  --focus-ring: var(--clay-500);

  /* -- Typography tokens -- */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-4xl: 4rem;
  --text-5xl: 5.5rem;

  --leading-tight: 1.08;
  --leading-snug: 1.22;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --tracking-tight: -0.02em;
  --tracking-normal: 0em;
  --tracking-wide: 0.02em;
  --tracking-label: 0.16em;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* -- Spacing / layout tokens -- */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 176px;

  --container-max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(56px, 9vw, 112px);

  /* -- Effects tokens -- */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(58, 42, 28, 0.06);
  --shadow-sm: 0 2px 8px rgba(58, 42, 28, 0.07);
  --shadow-md: 0 8px 24px rgba(58, 42, 28, 0.09);
  --shadow-lg: 0 20px 48px rgba(58, 42, 28, 0.13);
  --shadow-focus: 0 0 0 3px rgba(187, 77, 48, 0.28);

  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 460ms;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: var(--text-accent); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--accent-hover); }
ul { text-wrap: pretty; }
::selection { background: var(--clay-100); color: var(--ink-900); }
*:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.icon { width: 1em; height: 1em; vertical-align: middle; flex: none; }
.eyebrow, .mono-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-accent);
  font-weight: var(--weight-medium);
}
.mono-label { color: var(--text-muted); letter-spacing: var(--tracking-wide); }

.section-inner, .nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-sunken { background: var(--surface-sunken); }
.section-inverse { background: var(--ink-800); }
.section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.section-heading h2 { font-size: var(--text-2xl); line-height: var(--leading-snug); }
.lede { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-body); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.btn-sm { padding: 8px 16px; font-size: var(--text-sm); gap: 6px; }
.btn-lg { padding: 15px 30px; font-size: var(--text-md); gap: 10px; }
.btn-primary { background: var(--accent); color: var(--text-on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.btn-secondary { background: transparent; color: var(--text-heading); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink-900); color: var(--text-heading); }

/* -------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), backdrop-filter var(--dur-base) var(--ease-standard);
}
.nav.is-scrolled {
  background: rgba(250, 245, 236, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-logo { font-family: var(--font-display); font-size: 22px; color: var(--text-heading); letter-spacing: -0.02em; }
.nav-logo span { font-style: italic; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--text-accent); }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--surface-raised);
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink-900); margin: 0 auto; transition: transform var(--dur-fast) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-top: clamp(24px, 4vw, 52px);
  padding-bottom: var(--section-y);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hero-copy .eyebrow { margin-bottom: -6px; color: var(--text-muted); }
.hero-h1 { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.03; letter-spacing: -0.025em; margin: 0; }
.hero-lead { font-size: 0.7em; color: var(--text-body); }
.hero-accent { font-size: 0.95em; color: var(--text-accent); }
.hero-body { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-body); max-width: 46ch; margin: 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero-media { position: relative; }
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; transform: scale(1.28); }
.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--ink-900);
  color: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-md);
}
.hero-badge-value { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
.hero-badge-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-300); }

/* -------------------------------------------------------------------------
   Stats strip
   ------------------------------------------------------------------------- */
.stats-strip { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: var(--surface-sunken); }
.stats-grid { max-width: var(--container-max); margin: 0 auto; padding: 44px var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; letter-spacing: var(--tracking-tight); color: var(--text-heading); }
.stat-accent { color: var(--text-accent); }
.stat-label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted); }
.stat-sublabel { font-size: var(--text-sm); color: var(--text-faint); }

/* -------------------------------------------------------------------------
   Services
   ------------------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; gap: var(--space-4);
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm); height: 100%;
  transition: transform var(--dur-base) var(--ease-emphasized), box-shadow var(--dur-base) var(--ease-emphasized);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; }
.service-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--clay-100); color: var(--clay-600); display: flex; align-items: center; justify-content: center; flex: none; }
.service-index { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-faint); font-weight: 500; }
.service-title { font-family: var(--font-display); font-size: var(--text-xl); line-height: var(--leading-snug); letter-spacing: var(--tracking-tight); color: var(--text-heading); font-weight: 400; }
.service-desc { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-body); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--space-3); }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-muted); background: var(--surface-sunken); border: 1px solid var(--border-subtle); border-radius: var(--radius-full); padding: 3px 10px; }
.tag-olive { color: var(--olive-600); background: var(--olive-100); border-color: transparent; }

/* -------------------------------------------------------------------------
   Approach
   ------------------------------------------------------------------------- */
.approach-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.approach-steps { display: flex; flex-direction: column; }
.approach-step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); }
.approach-step-rail { display: flex; flex-direction: column; align-items: center; }
.approach-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--clay-500); color: var(--cream-50); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 15px; font-weight: 600; flex: none; }
.approach-step-line { flex: 1; width: 1px; background: var(--border-default); margin: 6px 0; }
.approach-step-body { display: flex; flex-direction: column; gap: 8px; padding-bottom: var(--space-7); padding-top: 6px; }
.approach-step:last-child .approach-step-body { padding-bottom: 0; }
.approach-step-title-row { display: flex; align-items: center; gap: 10px; }
.approach-step-title-row h3 { font-size: var(--text-lg); line-height: 1.2; font-weight: 400; }
.approach-step-icon { color: var(--text-accent); }
.approach-step-body p { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-body); max-width: 62ch; }
.approach-visual { position: sticky; top: 96px; }
.approach-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.approach-img-stats { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 10px; }
.approach-img-stat { flex: 1; background: rgba(33, 28, 22, 0.82); backdrop-filter: blur(6px); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.approach-img-stat .v { font-family: var(--font-display); font-size: 20px; color: var(--cream-100); letter-spacing: -0.02em; line-height: 1; }
.approach-img-stat .l { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-300); }
.approach-quote { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); line-height: 1.4; color: var(--text-body); margin: var(--space-5) 0 0; }

/* -------------------------------------------------------------------------
   Work / experience
   ------------------------------------------------------------------------- */
.resume-download { margin-bottom: var(--space-8); }
.experience-list { max-width: 820px; display: flex; flex-direction: column; }
.experience-item { position: relative; padding-left: var(--space-6); padding-bottom: var(--space-7); border-left: 1px solid var(--border-default); display: flex; flex-direction: column; gap: var(--space-3); }
.experience-dot { position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--surface-sunken); }
.experience-head { display: flex; flex-direction: column; gap: 4px; }
.experience-role { font-family: var(--font-display); font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--text-heading); font-weight: 400; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.company-logos { display: inline-flex; gap: 6px; }
.company-logo { width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--cream-50); border: 1px solid var(--border-subtle); padding: 4px; object-fit: contain; }
.experience-meta { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted); }
.experience-meta a { color: var(--text-accent); }
.experience-body { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-body); }
.experience-body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.experience-body a { color: var(--text-accent); }
.experience-footnote { padding-left: var(--space-6); border-left: 1px solid var(--border-default); position: relative; padding-top: 4px; }
.experience-footnote-dot { position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--olive-500); box-shadow: 0 0 0 4px var(--surface-sunken); }

/* -------------------------------------------------------------------------
   Speaking
   ------------------------------------------------------------------------- */
.speaking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.speaking-copy { display: flex; flex-direction: column; gap: 24px; }
.speaking-eyebrow { color: var(--brass-300); }
.speaking-title { font-size: var(--text-2xl); line-height: 1.15; letter-spacing: -0.02em; color: var(--cream-100); font-weight: 400; }
.speaking-title span { font-style: italic; color: var(--clay-400); }
.speaking-body { font-size: var(--text-md); line-height: var(--leading-relaxed); color: rgba(250, 245, 236, 0.78); max-width: 42ch; }
.talk-list { display: flex; flex-direction: column; }
.talk-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(250, 245, 236, 0.14); }
.talk-kind { font-size: 10px; letter-spacing: 0.08em; color: var(--brass-300); width: 76px; flex: none; padding-top: 3px; }
.talk-copy { display: flex; flex-direction: column; gap: 3px; }
.talk-org { font-family: var(--font-display); font-size: var(--text-md); color: var(--cream-100); }
.talk-desc { font-size: var(--text-sm); color: rgba(250, 245, 236, 0.62); line-height: 1.5; }
.talk-watch { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--clay-400); display: inline-flex; align-items: center; gap: 5px; flex: none; padding-top: 3px; }
.speaking-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(250, 245, 236, 0.14); aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); }
.speaking-photo img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------------------
   X feed
   ------------------------------------------------------------------------- */
.x-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: var(--space-7); flex-wrap: wrap; }
.x-head h2 { font-size: var(--text-2xl); line-height: 1.15; letter-spacing: -0.02em; margin-top: var(--space-4); }
.x-follow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.x-row { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; padding-bottom: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.x-post { flex: 0 0 auto; width: 340px; height: 460px; scroll-snap-align: start; }
.x-post-mount { height: 100%; overflow-y: auto; overflow-x: hidden; border-radius: var(--radius-lg); }
.x-post-fallback { display: flex; flex-direction: column; gap: 14px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); color: inherit; height: 100%; }
.x-post-fallback-head { display: flex; align-items: center; gap: 12px; }
.x-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--olive-500); color: var(--cream-50); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; flex: none; }
.x-avatar span { color: var(--brass-300); }
.x-post-fallback-names { display: flex; flex-direction: column; line-height: 1.2; }
.x-name { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--text-heading); }
.x-handle { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.x-post-fallback-arrow { margin-left: auto; color: var(--text-faint); }
.x-post-fallback p { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-body); }
.x-avatar-img { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; background: var(--surface-sunken); }
.x-post-fallback { overflow: hidden; }
.x-post-fallback .x-post-text { white-space: pre-line; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 12; font-size: 14px; flex: none; }
.x-post--media .x-post-text { -webkit-line-clamp: 5; }
.x-post-photo { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); margin-top: auto; flex: 1 1 auto; min-height: 150px; }
.x-post-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-post-photo--video::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); }
.x-post-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; padding-left: 4px; z-index: 1; }
.x-post-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-faint); }
.x-post--media .x-post-meta { margin-top: 0; }
.x-post-likes { display: inline-flex; align-items: center; gap: 5px; }

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */
.contact-outer { padding-bottom: var(--section-y); }
.contact-card { background: var(--clay-500); border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-eyebrow { color: rgba(253, 250, 243, 0.75); }
.contact-title { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.02em; color: var(--cream-50); font-weight: 400; }
.contact-body { font-size: var(--text-md); color: rgba(253, 250, 243, 0.85); max-width: 42ch; line-height: 1.6; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-book { background: var(--cream-50); border-color: transparent; justify-content: space-between; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 22px; border-radius: var(--radius-sm); border: 1px solid rgba(253, 250, 243, 0.4); color: var(--cream-50); font-family: var(--font-sans); font-weight: 600; font-size: var(--text-base); }
.contact-link:hover { color: var(--cream-50); border-color: rgba(253, 250, 243, 0.7); }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border-subtle); }
.footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 40px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-display); font-size: 20px; color: var(--text-heading); letter-spacing: -0.02em; }
.footer-logo span { font-style: italic; }
.footer-tagline { font-size: 11px; letter-spacing: 0.06em; color: var(--text-faint); }
.footer-links { display: flex; gap: 8px; align-items: center; }
.footer-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-weight: 600; font-size: var(--text-xs); padding: 6px 12px; border-radius: var(--radius-full); }
.footer-pill-dark { color: var(--cream-50); background: var(--ink-900); }
.footer-pill-dark:hover { color: var(--cream-50); }
.footer-pill-outline { color: var(--clay-600); border: 1.5px solid var(--clay-500); }

/* -------------------------------------------------------------------------
   No-JS / crawler fallback
   ------------------------------------------------------------------------- */
.noscript-fallback { max-width: 820px; margin: 0 auto; padding: 48px 24px; font-family: Georgia, serif; color: #2b2118; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .speaking-grid { grid-template-columns: 1fr; }
  .speaking-photo { order: -1; width: 100%; max-width: 360px; margin: 0 auto; align-self: center; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-visual { position: static; display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: 10px var(--gutter) 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--dur-base) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard);
  }
  .nav-links.is-open { max-height: 320px; opacity: 1; padding-top: 14px; }
  .nav-links a:not(.btn) { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
  .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: 8px; }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .section { padding-top: clamp(44px, 12vw, 72px); padding-bottom: clamp(44px, 12vw, 72px); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-actions .btn, .contact-link { width: 100%; }
  .x-post { width: 84vw; height: 420px; }
  .x-post-fallback .x-post-text { -webkit-line-clamp: 10; }
  .x-post--media .x-post-text { -webkit-line-clamp: 5; }
  .x-post-photo { min-height: 120px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
