/* ============================================================
   EVENTISH — Complete CSS Design System V11
   Based on Visual Asset Spec V2.1 Final Merged
   "Commercial infrastructure made human"
   V11: SVG lightbox, proof bar flex, production polish
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Core Neutrals */
  --near-black: #1A1A1A;
  --soft-black: #222222;
  --deep-charcoal-grid: #2C2C2C;
  --body-charcoal: #2D2D2D;
  --mid-gray: #6E6E6E;
  --eyebrow-gray: #888888;
  --light-gray-border: #D9D9D9;
  --light-gray-icon: #DEDEDE;
  --off-white: #F5F5F2;
  --white: #FFFFFF;

  /* Amber Accent System — V9.1 updated */
  --amber: #C9A84E;
  --amber-light: #D9BD6E;
  --amber-dark: #A88A35;
  --charcoal: #4D4538;

  /* Functional Colors */
  --muted-white: rgba(255,255,255,0.6);
  --subtle-white: rgba(255,255,255,0.7);
  --grid-line: rgba(255,255,255,0.04);

  /* Typography */
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing — V7.3 tightened */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 72px;
  --space-3xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-text: 720px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--body-charcoal);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.25rem; margin-bottom: var(--space-sm); }

p { margin-bottom: var(--space-sm); max-width: 72ch; }
p:last-child { margin-bottom: 0; }

.serif { font-family: var(--font-serif); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background-color: var(--near-black);
  color: var(--white);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px);
}

.section--dark p { color: var(--muted-white); max-width: 72ch; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section--light {
  background-color: var(--off-white);
}

.section--white {
  background-color: var(--white);
}

/* --- Grid Texture (standalone class) --- */
.grid-texture {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px);
}

/* --- Header / Navigation — V7.3 tighter --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--near-black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* --- Logo — V9.2 img-based, fills header --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  height: 100%;
  padding: 6px 0;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-event {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--amber);
  font-size: 1.8rem;
  margin: 0 1px;
}

.logo-ish {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted-white);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

/* V9: Active nav underline */
.main-nav a.active {
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--near-black) !important;
  background: var(--amber);
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--amber-light); }

.lang-toggle {
  font-size: 0.75rem;
  color: var(--mid-gray);
  margin-right: var(--space-sm);
}

.lang-toggle a { color: var(--mid-gray); transition: color 0.2s; }
.lang-toggle a:hover { color: var(--white); }
.lang-toggle .active-lang { color: var(--white); }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero Sections — V7.3 tighter --- */
.hero {
  position: relative;
  padding: calc(60px + var(--space-2xl)) 0 var(--space-xl);
  background-color: var(--near-black);
  color: var(--white);
  overflow: hidden;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero__title em {
  font-style: italic;
  color: var(--amber);
  display: block;
  margin-top: 4px;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  font-size: 1.125rem;
  color: var(--subtle-white);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.hero__description {
  font-size: 1rem;
  color: var(--muted-white);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  line-height: 1.8;
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 500px;
  opacity: 0.15;
  z-index: 1;
}

/* Interior hero — V7.3 tighter with new hierarchy */
.hero--interior {
  padding: calc(60px + var(--space-xl)) 0 var(--space-lg);
}

.hero--interior .hero__eyebrow {
  font-size: 0.6875rem;
  margin-bottom: var(--space-xs);
}

.hero--interior .hero__title {
  font-size: 2.75rem;
  font-weight: 400;
}

/* V7.3: Pillar tagline split styling */
.hero__tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--amber);
  margin-top: 4px;
  line-height: 1.4;
}

.hero__tagline-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--amber);
  display: block;
  margin-top: 2px;
}

/* --- GEO Definition Block --- */
.section--geo {
  padding: var(--space-md) 0;
}

/* V9.1: GEO block — citation/text-pull style, compact */
.geo-block {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: var(--max-width-text);
  padding: var(--space-sm) 0;
  letter-spacing: 0.01em;
}

.section--dark .geo-block { color: rgba(255,255,255,0.4); }
.section--white .geo-block,
.section--light .geo-block { color: var(--mid-gray); }

/* --- Section Image — V7.3 new --- */
.section-image {
  margin-bottom: var(--space-lg);
}

.section-image img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 6px;
}

.section-image--full img {
  max-width: 100%;
}

.image-placeholder {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: var(--off-white);
  border: 2px dashed var(--light-gray-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.875rem;
  font-style: italic;
}

.section--dark .image-placeholder {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
  color: var(--muted-white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--amber);
  color: var(--near-black);
  text-transform: uppercase;
}
.btn--primary:hover { background: var(--amber-light); }
.btn--primary:active { background: var(--amber-dark); }

.btn--primary-light {
  background: var(--near-black);
  color: var(--white);
  text-transform: uppercase;
}
.btn--primary-light:hover { opacity: 0.87; }

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 13px 27px;
}
.btn--secondary:hover { background: rgba(255,255,255,0.06); }

.btn--secondary-light {
  background: transparent;
  color: var(--near-black);
  border: 1px solid var(--near-black);
  padding: 13px 27px;
}
.btn--secondary-light:hover { background: rgba(0,0,0,0.03); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 0;
  text-transform: none;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover { border-bottom-color: var(--white); }

.btn--ghost-light {
  background: transparent;
  color: var(--near-black);
  padding: 14px 0;
  text-transform: none;
  font-weight: 400;
  border-bottom: 1px solid var(--light-gray-border);
}
.btn--ghost-light:hover { border-bottom-color: var(--near-black); }

.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* --- Cards --- */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--light-gray-border);
  border-radius: 6px;
  padding: var(--space-lg);
  transition: all 0.35s var(--ease-smooth);
  position: relative;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: var(--near-black);
  transform: translateY(-2px);
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 2px);
  height: 2px;
  background: var(--near-black);
  transition: transform 0.35s var(--ease-smooth);
  border-radius: 0 0 6px 6px;
}

.card:hover::after { transform: translateX(-50%) scaleX(1); }

.card--dark {
  background: var(--soft-black);
  border-color: rgba(255,255,255,0.06);
  color: var(--white);
}

.card--dark:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card--dark::after { background: var(--amber); }
.card--dark p { color: var(--muted-white); }

.card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-gray-icon);
  border-radius: 8px;
  flex-shrink: 0;
}

.card--dark .card__icon { border-color: var(--amber); }

.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--near-black);
  stroke-width: 1.5;
  fill: none;
}

.card--dark .card__icon svg { stroke: var(--amber); }

.card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.card__header .card__title { margin-bottom: 0; }

.card__eyebrow {
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyebrow-gray);
  margin-bottom: var(--space-xs);
}

.card--dark .card__eyebrow { color: var(--amber); }

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.card__subtitle {
  font-style: italic;
  font-size: 0.875rem;
  color: var(--mid-gray);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.card--dark .card__subtitle { color: var(--subtle-white); }

.card__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.card__link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--near-black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.card__link:hover { gap: 10px; }
.card--dark .card__link { color: var(--amber); }

/* --- V7.3: Text Pull (service tile client statements) --- */
.text-pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--amber-dark);
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-sm);
  border-left: 3px solid var(--amber);
  padding-left: var(--space-sm);
}

.card--dark .text-pull { color: var(--amber-light); }

/* --- V7.3: Clickable Problem Tiles --- */
.card--dark.card--clickable {
  cursor: pointer;
}

.card--dark.card--clickable:hover {
  border-color: var(--amber);
}

.back-to-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
  margin-top: var(--space-sm);
  cursor: pointer;
  transition: gap 0.2s;
}

.back-to-top-link:hover { gap: 10px; }

/* --- V7.3: Ecosystem Navigation Tiles --- */
.ecosystem-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.ecosystem-nav__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
}

.ecosystem-nav__tile:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.ecosystem-nav__tile svg {
  width: 28px;
  height: 28px;
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
}

.ecosystem-nav__tile span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-white);
  text-align: center;
  line-height: 1.3;
}

/* --- Audience Tiles --- */
.audience-tile {
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  transition: all 0.35s var(--ease-smooth);
  display: block;
  text-decoration: none;
}

.audience-tile:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.audience-tile__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.audience-tile__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-tile__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
}

.audience-tile__title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}

.audience-tile__benefit {
  font-size: 0.875rem;
  color: var(--muted-white);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s var(--ease-smooth), opacity 0.3s ease, margin-top 0.4s var(--ease-smooth);
}

.audience-tile:hover .audience-tile__benefit {
  max-height: 60px;
  opacity: 1;
  margin-top: var(--space-sm);
}

.audience-tile__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  transition: gap 0.2s;
}

.audience-tile__link:hover { gap: 10px; }

/* Light audience tiles variant */
.audience-tile--light {
  background: var(--white);
  border: 1px solid var(--light-gray-border);
}

.audience-tile--light:hover {
  background: var(--off-white);
  border-color: var(--near-black);
}

.audience-tile--light .audience-tile__icon svg { stroke: var(--near-black); }
.audience-tile--light .audience-tile__title { color: var(--near-black); }
.audience-tile--light .audience-tile__benefit { color: var(--mid-gray); }
.audience-tile--light .audience-tile__link { color: var(--near-black); }

/* --- Proof Bar --- */
/* V9.2: Proof bar — sleeker vertically */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.proof-item { text-align: center; }

.proof-item__stat {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0;
  line-height: 1.1;
}

.proof-item__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 0;
  line-height: 1.3;
}

.proof-item__detail {
  font-size: 0.75rem;
  color: var(--mid-gray);
  line-height: 1.4;
}

/* --- Feature Bullets --- */
.feature-list { display: grid; gap: var(--space-lg); }

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--amber);
  border-radius: 8px;
}

.section--dark .feature-item__icon { border-color: var(--amber); }

.feature-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--near-black);
  stroke-width: 1.5;
  fill: none;
}

.section--dark .feature-item__icon svg { stroke: var(--amber); }

.feature-item__title { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.feature-item__desc { font-size: 0.9375rem; color: var(--mid-gray); line-height: 1.6; }
.section--dark .feature-item__desc { color: var(--muted-white); }

/* --- FAQ Accordion --- */
.faq-section { max-width: var(--max-width-text); }

.faq-item {
  border-bottom: 1px solid var(--light-gray-border);
}

.section--dark .faq-item { border-color: rgba(255,255,255,0.08); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  font-family: var(--font-sans);
  text-align: left;
  gap: var(--space-md);
}

.faq-question:hover { color: var(--amber); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.35s var(--ease-smooth);
}

.faq-item.open .faq-chevron { transform: rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth);
}

.faq-answer__inner {
  padding-bottom: var(--space-md);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mid-gray);
}

.section--dark .faq-answer__inner { color: var(--muted-white); }

/* --- Phase Progression --- */
.phase-progression {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.phase-item {
  padding: var(--space-lg);
  border: 1px solid var(--light-gray-border);
  border-radius: 6px;
  position: relative;
}

.phase-item__number {
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-xs);
}

.phase-item__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.phase-item__desc {
  font-size: 0.9375rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* --- V9: Friction Tiles (icon left, title right, no label) --- */
.friction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.friction-tile {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--light-gray-border);
  border-radius: 6px;
  transition: all 0.3s var(--ease-smooth);
}

.friction-tile:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.friction-tile__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-xs);
}

.friction-tile__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--amber);
  border-radius: 6px;
}

.section--dark .friction-tile__icon { border-color: var(--amber); }

.friction-tile__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--near-black);
  stroke-width: 1.5;
  fill: none;
}

.section--dark .friction-tile__icon svg { stroke: var(--amber); }

.friction-tile__title {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.friction-tile__response {
  font-size: 0.8125rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

.section--dark .friction-tile__response { color: var(--muted-white); }

/* Dark friction tile variant */
.section--dark .friction-tile {
  border-color: rgba(196,164,77,0.3);
}
.section--dark .friction-tile:hover {
  border-color: var(--amber);
}

/* --- About This Page Block --- */
.about-page-block {
  border-top: 1px solid var(--light-gray-border);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
}

.section--dark .about-page-block { border-color: rgba(255,255,255,0.08); }

.about-page-block__label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyebrow-gray);
  margin-bottom: var(--space-sm);
}

.about-page-block__text {
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.6;
  max-width: var(--max-width-text);
}

.section--dark .about-page-block__text { color: rgba(255,255,255,0.4); }

/* --- Footer CTA Section — V7.3 tighter --- */
.footer-cta {
  background: var(--near-black);
  padding: var(--space-lg) 0;
  text-align: center;
  color: var(--white);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, var(--grid-line) 59px, var(--grid-line) 60px);
}

/* V9.1: Footer CTA — 2-line, hero-sized, 1.02 line-height */
.footer-cta h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1.02;
  margin-bottom: 0;
}

.footer-cta p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 2.75rem;
  line-height: 1.02;
  color: var(--amber);
  margin: 0 auto var(--space-lg);
  max-width: 700px;
}

.footer-cta__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- Site Footer — V7.3 tighter --- */
.site-footer {
  background: var(--near-black);
  color: var(--muted-white);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-col__title {
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyebrow-gray);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-white);
  padding: 2px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8125rem;
  color: var(--mid-gray);
}

/* --- Related Pages — V7.3 visual tiles --- */
.related-pages {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--light-gray-border);
}

.related-pages__title {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyebrow-gray);
  margin-bottom: var(--space-md);
}

.related-pages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-sm);
}

.related-pages a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--near-black);
  padding: var(--space-sm);
  border: 1px solid var(--light-gray-border);
  border-radius: 6px;
  transition: all 0.2s;
}

.related-pages a:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: var(--off-white);
}

.related-pages a .arrow { margin-left: 6px; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

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

/* --- Section Headers --- */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header__eyebrow {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyebrow-gray);
  margin-bottom: var(--space-sm);
}

.section--dark .section-header__eyebrow { color: var(--amber); }

.section-header__title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* V9.1: Display line — serif, unbolded, tight */
.section-header__display {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--near-black);
  line-height: 1.02;
  margin-bottom: 4px;
}

.section--dark .section-header__display { color: var(--white); }

.section-header__display-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--amber);
  margin-top: 4px;
}

.section-header__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--mid-gray);
}

.section--dark .section-header__subtitle { color: var(--subtle-white); }

/* --- Contact Form --- */
.contact-form { max-width: 600px; }

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
  color: var(--body-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray-border);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--body-charcoal);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--near-black);
}

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

.form-optional {
  font-size: 0.75rem;
  color: var(--mid-gray);
  font-weight: 400;
}

/* --- V7.3: Founder photo area --- */
.founder-photo {
  width: 120px;
  height: 120px;
  min-width: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--amber);
  margin-bottom: var(--space-md);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo--placeholder {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.75rem;
  font-style: italic;
}

/* --- V11: SVG Lightbox (expandable diagram thumbnails on fix pages) --- */
.svg-thumb-wrap {
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s ease;
}

.svg-thumb-wrap:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(201,168,78,0.15);
}

.svg-lightbox {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: var(--space-lg);
}

.svg-lightbox img {
  border-radius: 8px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}

/* --- V11: Light clickable card variant (HIW hub tiles) --- */
.card--clickable {
  cursor: pointer;
}

.card--clickable:hover {
  border-color: var(--amber);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.text-muted { color: var(--mid-gray); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.pt-0 { padding-top: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--2x3 { grid-template-columns: repeat(2, 1fr); }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-progression { grid-template-columns: 1fr; }
  .ecosystem-nav { grid-template-columns: repeat(3, 1fr); }
  .friction-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .hero { padding: calc(60px + var(--space-xl)) 0 var(--space-lg); }
  .hero__title { font-size: 2rem; }
  .hero__visual { display: none; }
  .hero--interior .hero__title { font-size: 1.75rem; }

  .section-header__display { font-size: 2rem; }

  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--near-black);
    padding: var(--space-md);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .main-nav.open a { padding: var(--space-sm) 0; }
  .main-nav.open .nav-cta { margin-top: var(--space-sm); text-align: center; justify-content: center; }
  .menu-toggle { display: block; }

  .card-grid--2,
  .card-grid--3,
  .card-grid--2x3 { grid-template-columns: 1fr; }

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

  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }

  .section { padding: var(--space-lg) 0; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  /* V11: Footer CTA responsive sizing */
  .footer-cta h2,
  .footer-cta p { font-size: 2rem; }

  /* V11: SVG thumbnail responsive — show at 50% on tablet */
  .svg-thumb-wrap { max-width: 50% !important; }
}

@media (max-width: 480px) {
  .proof-bar { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .ecosystem-nav { grid-template-columns: repeat(2, 1fr); }

  /* V11: SVG thumbnail full width on mobile */
  .svg-thumb-wrap { max-width: 80% !important; }
}

/* --- Contact Page — tighter geo block and form spacing --- */
.contact-page .geo-block {
  padding: var(--space-xs) 0;
  margin-top: 0;
  margin-bottom: 0;
}

.contact-page .section--white:has(.geo-block) {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.contact-page .form-group {
  margin-bottom: var(--space-sm);
}

.contact-page .contact-form {
  margin-top: var(--space-sm);
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

