/* ==========================================================================
   EDAIGA — Design System
   Brand palette & typography per Brandbook
   ========================================================================== */

:root {
  /* Brand colors */
  --navy: #182F52;
  --navy-deep: #0F1F3A;
  --navy-light: #225093;
  --orange: #FF5A00;
  --orange-light: #E5600E;
  --gray: #939393;
  --gray-light: #E8E8EA;
  --gray-bg: #F5F5F7;
  --white: #FFFFFF;
  --black: #0A0A0A;

  /* Semantic */
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --bg-dark: var(--navy);
  --text: var(--navy);
  --text-muted: #5A6579;
  --text-light: #FFFFFF;
  --border: #E3E6EC;
  --accent: var(--orange);

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale (fluid) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.35rem, 2vw, 1.625rem);
  --text-3xl: clamp(1.75rem, 2.8vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 4vw, 3rem);
  --text-5xl: clamp(2.75rem, 5.5vw, 4.5rem);
  --text-6xl: clamp(3rem, 7vw, 5.5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 960px;
  --container-wide: 1400px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(24, 47, 82, 0.06);
  --shadow-md: 0 4px 16px rgba(24, 47, 82, 0.08);
  --shadow-lg: 0 20px 60px rgba(24, 47, 82, 0.12);
  --shadow-orange: 0 10px 40px rgba(255, 90, 0, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 700ms;

  /* Nav */
  --nav-height: 128px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

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

/* Layout utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

.section { padding: var(--space-3xl) 0; }
.section-sm { padding: var(--space-2xl) 0; }
@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  .section-sm { padding: var(--space-xl) 0; }
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 3.5rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.75rem;
  height: 1px;
  background: var(--orange);
}
.eyebrow.eyebrow--center { padding-left: 0; padding-right: 0; }
.eyebrow.eyebrow--center::before { display: none; }

/* Section titles */
.section-title {
  font-size: var(--text-5xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.section-title--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 62ch;
  margin-top: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all var(--dur) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
}
.btn svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn--light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }

.btn--sm { padding: 0.7rem 1.25rem; font-size: var(--text-sm); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Inline link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--orange);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all var(--dur) var(--ease-out);
}
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { border-bottom-color: var(--orange); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--border); }

.nav__inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.nav__logo { display: block; height: 128px; }
.nav__logo img { height: 100%; width: auto; display: block; }

.nav__menu { display: flex; align-items: center; gap: 0.5rem; }

.nav__link {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.3rem;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__cta { margin-left: 1rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__menu {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__link { padding: 1rem 0; font-size: 1.25rem; border-bottom: 1px solid var(--border); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.5rem 0 0; align-self: flex-start; }
  .nav__toggle { display: flex; }
}

body.menu-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  background: var(--white);
}
.hero--home {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: var(--space-xl);
  background: linear-gradient(180deg, #FAFAFC 0%, var(--white) 100%);
}
.hero__inner { position: relative; z-index: 2; }

.hero__title {
  font-size: var(--text-6xl);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: var(--space-md);
}
.hero__title em { font-style: normal; color: var(--orange); }

.hero__lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-lg);
}

.hero__ornament { position: absolute; pointer-events: none; opacity: 0.08; z-index: 1; }
.hero__ornament--tr { top: 10%; right: -5%; width: 520px; color: var(--orange); }
.hero__ornament--bl { bottom: -5%; left: -8%; width: 400px; color: var(--navy); opacity: 0.04; }

.hero__visual {
  position: relative;
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--navy);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 47, 82, 0.5) 100%);
}

/* Inner page hero */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 {
  color: var(--white);
  font-size: var(--text-5xl);
  max-width: 20ch;
  margin-bottom: var(--space-md);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-lg);
  max-width: 62ch;
  line-height: 1.6;
}
.page-hero__ornament {
  position: absolute;
  top: 0; right: -10%;
  width: 700px;
  opacity: 0.05;
  color: var(--orange);
  pointer-events: none;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature-card {
  background: var(--white);
  padding: var(--space-lg) var(--space-md);
  transition: background var(--dur) var(--ease);
}
.feature-card:hover { background: #FAFBFC; }
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 90, 0, 0.1);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
}
.feature-card__icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.feature-card h3 { font-size: var(--text-xl); margin-bottom: 0.6rem; letter-spacing: -0.015em; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* A.I.D.E. */
.aide {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.aide::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 90, 0, 0.15), transparent 60%);
  pointer-events: none;
}
.aide__header { position: relative; z-index: 2; }
.aide .section-title { color: var(--white); }
.aide .section-lead { color: rgba(255, 255, 255, 0.75); }

.aide__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-xl);
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .aide__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .aide__grid { grid-template-columns: 1fr; } }

.aide-card {
  padding: var(--space-lg) var(--space-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease-out);
}
.aide-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 90, 0, 0.4);
  transform: translateY(-4px);
}
.aide-card__letter {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-sm);
}
.aide-card h3 { color: var(--white); font-size: var(--text-xl); margin-bottom: 0.3rem; }
.aide-card__sub {
  color: var(--orange);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}
.aide-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; line-height: 1.6; }
.aide-card ul { margin-top: var(--space-sm); }
.aide-card ul li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}
.aide-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.aide__cta { margin-top: var(--space-xl); text-align: center; position: relative; z-index: 2; }

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (max-width: 768px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease-out);
  color: var(--navy);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.work-card__image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-bg); }
.work-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.work-card:hover .work-card__image img { transform: scale(1.04); }
.work-card__body { padding: var(--space-md); }
.work-card__tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.work-card__title { font-size: var(--text-2xl); margin: 0.5rem 0 0.75rem; letter-spacing: -0.015em; }
.work-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Case (detailed) */
.case { padding: var(--space-2xl) 0; border-bottom: 1px solid var(--border); }
.case:last-child { border-bottom: none; }
.case__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (max-width: 900px) { .case__grid { grid-template-columns: 1fr; gap: var(--space-lg); } }
.case__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-bg);
}
.case__image img { width: 100%; height: 100%; object-fit: cover; }
.case:nth-child(even) .case__image { order: 2; }
@media (max-width: 900px) { .case:nth-child(even) .case__image { order: 0; } }

.case__number {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.case__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gray-bg);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}
.case__title { font-size: var(--text-4xl); margin-bottom: 0.75rem; }
.case__client {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}
.case p { color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-md); }
.case__outcomes h4 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}
.case__outcomes ul { display: grid; gap: 0.6rem; }
.case__outcomes li {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--navy);
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.case__outcomes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 10px; height: 10px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-lg); } }
.split--reverse .split__image { order: 2; }
@media (max-width: 900px) { .split--reverse .split__image { order: 0; } }

.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.split__image img { width: 100%; height: 100%; object-fit: cover; }
.split__image--wide { aspect-ratio: 4 / 3; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__value {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 500;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.stat__label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--dur) var(--ease-out);
  display: flex;
  flex-direction: column;
  color: var(--navy);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.article-card__tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 90, 0, 0.08);
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: var(--space-md);
}
.article-card h3 { font-size: var(--text-xl); line-height: 1.25; margin-bottom: 0.75rem; }
.article-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; margin-bottom: var(--space-md); }
.article-card__meta {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  gap: 1rem;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

/* Book feature */
.book-feature {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .book-feature { grid-template-columns: 1fr; } }

.book-feature__image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #0F1F3A 0%, #225093 100%);
  display: grid;
  place-items: center;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}
.book-feature__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 90, 0, 0.2), transparent 60%);
}
.book-feature__cover {
  position: relative;
  z-index: 2;
  max-width: 280px;
  aspect-ratio: 2 / 3;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--navy);
  transform: rotate(-3deg);
  transition: transform var(--dur-slow) var(--ease-out);
}
.book-feature:hover .book-feature__cover { transform: rotate(0deg) scale(1.02); }
.book-feature__cover-top {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.book-feature__cover-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 1rem 0;
}
.book-feature__cover-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-family: var(--font-body);
}
.book-feature__cover-author {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--navy);
  margin-top: auto;
  letter-spacing: 0.05em;
}
.book-feature__cover-mark { width: 28px; height: 2px; background: var(--orange); margin-bottom: 0.5rem; }
.book-feature__body { padding: var(--space-xl); }
.book-feature__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-sm);
}
.book-feature h2 { color: var(--white); font-size: var(--text-4xl); margin-bottom: 0.3rem; }
.book-feature__subtitle {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  margin-bottom: var(--space-md);
}
.book-feature p { color: rgba(255, 255, 255, 0.8); line-height: 1.7; margin-bottom: var(--space-md); }
.book-feature blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
}
.book-feature__chapters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: var(--space-md) 0;
}
.book-feature__chapters li {
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
}
.team-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.team-card__photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #F5F5F7 0%, #E8E8EA 100%);
  overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card__body { padding: var(--space-lg); }
.team-card h3 { font-size: var(--text-2xl); margin-bottom: 0.3rem; }
.team-card__role {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}
.team-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* Capabilities */
.capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 1024px) { .capabilities { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .capabilities { grid-template-columns: 1fr; } }

.capability {
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease-out);
}
.capability:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  background: linear-gradient(180deg, var(--white), #FFF8F4);
}
.capability__number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-sm);
}
.capability h3 { font-size: var(--text-lg); margin-bottom: 0.6rem; line-height: 1.2; }
.capability p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* Delivery cards */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) { .delivery-grid { grid-template-columns: 1fr; } }

.delivery-card {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--dur) var(--ease-out);
}
.delivery-card:hover {
  border-color: var(--orange);
  background: linear-gradient(180deg, var(--white), #FFF8F4);
  transform: translateY(-4px);
}
.delivery-card h3 { font-size: var(--text-xl); margin-bottom: 0.75rem; }
.delivery-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* Stages */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) { .stages-grid { grid-template-columns: 1fr; } }

.stage-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease-out);
}
.stage-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stage-card__image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-bg); }
.stage-card__image img { width: 100%; height: 100%; object-fit: cover; }
.stage-card__body { padding: var(--space-lg); }
.stage-card__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  background: rgba(255, 90, 0, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}
.stage-card h3 { font-size: var(--text-2xl); margin-bottom: 0.75rem; }
.stage-card > .stage-card__body > p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.65;
}
.stage-card ul li {
  font-size: 0.9rem;
  color: var(--navy);
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  border-top: 1px solid var(--border);
}
.stage-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 1rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* Jobs list */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.job {
  background: var(--white);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 2fr 3fr auto;
  gap: var(--space-md);
  align-items: center;
  transition: background var(--dur) var(--ease);
}
.job:hover { background: #FAFBFC; }
@media (max-width: 768px) { .job { grid-template-columns: 1fr; gap: 0.5rem; } }
.job h3 { font-size: var(--text-xl); letter-spacing: -0.01em; }
.job__meta {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}
.job__meta span { position: relative; padding-right: 0.75rem; }
.job__meta span:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--gray);
}
.job p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Culture grid */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) { .culture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .culture-grid { grid-template-columns: 1fr; } }

.culture-card {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.culture-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 90, 0, 0.1);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
}
.culture-card__icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.culture-card h3 { font-size: var(--text-lg); margin-bottom: 0.5rem; }
.culture-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Photo row */
.photo-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
@media (max-width: 768px) { .photo-row { grid-template-columns: 1fr; } }
.photo-row__item {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-row__item img { width: 100%; height: 100%; object-fit: cover; }
.photo-row__item:nth-child(2) { aspect-ratio: 4 / 6; margin-top: 2rem; }
@media (max-width: 768px) { .photo-row__item:nth-child(2) { margin-top: 0; aspect-ratio: 4/5; } }

/* Frameworks */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (max-width: 768px) { .frameworks-grid { grid-template-columns: 1fr; } }
.framework-card {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--navy);
}
.framework-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.framework-card h3 { font-size: var(--text-2xl); margin-bottom: 0; }
.framework-card p { color: var(--text-muted); flex-grow: 1; font-size: 0.95rem; line-height: 1.65; }

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xl);
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.form-card h2 { font-size: var(--text-3xl); margin-bottom: 0.75rem; }
.form-card > p { color: var(--text-muted); margin-bottom: var(--space-md); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-md);
}
.form-field label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.form-field label .req { color: var(--orange); margin-left: 2px; }

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.form-note {
  background: #FFF8F4;
  border: 1px dashed var(--orange);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-md);
}

#form-status {
  display: none;
  margin-top: var(--space-md);
  padding: 0.85rem 1rem;
  background: rgba(255, 90, 0, 0.08);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--navy);
}

.contact-info__item {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}
.contact-info__item:last-child { border-bottom: 1px solid var(--border); }
.contact-info__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.contact-info__value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
}
.contact-info__value a { transition: color var(--dur) var(--ease); }
.contact-info__value a:hover { color: var(--orange); }

.expect-list { margin-top: var(--space-lg); }
.expect-list h3 { font-size: var(--text-lg); margin-bottom: var(--space-md); }
.expect-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
}
.expect-item:last-child { border-bottom: 1px solid var(--border); }
.expect-item__num {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--orange);
  font-size: 0.9rem;
}
.expect-item__body strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.expect-item__body p { font-size: 0.85rem; color: var(--text-muted); }

/* Industries chips */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}
.industry-chip {
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  transition: all var(--dur) var(--ease);
}
.industry-chip:hover { border-color: var(--orange); color: var(--orange); }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1F3A66 100%);
  color: var(--white);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; left: -20%;
  width: 140%; height: 200%;
  background: radial-gradient(circle at center, rgba(255, 90, 0, 0.15), transparent 40%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band h2 { color: var(--white); font-size: var(--text-5xl); margin-bottom: var(--space-md); }
.cta-band p { color: rgba(255, 255, 255, 0.75); font-size: var(--text-lg); margin-bottom: var(--space-lg); }
.cta-band .btn-group { justify-content: center; }

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-md);
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo { height: 56px; width: auto; margin-bottom: var(--space-md); display: block; }
.footer__brand p { max-width: 38ch; line-height: 1.6; }
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-md);
}
.footer__list { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__list a { transition: color var(--dur-fast) var(--ease); }
.footer__list a:hover { color: var(--orange); }

.footer__newsletter p { margin-bottom: var(--space-sm); }
.footer__newsletter-form { display: flex; gap: 0.5rem; }
.footer__newsletter-form input {
  flex: 1;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.footer__newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.footer__newsletter-form input:focus { outline: none; border-color: var(--orange); }
.footer__newsletter-form button {
  padding: 0.7rem 1rem;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--dur-fast) var(--ease);
}
.footer__newsletter-form button:hover { background: var(--orange-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a:hover { color: var(--orange); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Utility */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.text-center { text-align: center; }
.quote-card {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
  position: relative;
}
.quote-card blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.3;
  color: var(--white);
  font-style: italic;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}
.quote-card cite {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.05em;
}
