/* ============================================
   D&Co STRATEGY — Main Stylesheet
   Brand: Deyemo & Co Strategy
   ============================================ */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  /* Brand Colors — D&Co Strategy */
  --color-obsidian:     #0d0d12;   /* primary background — velvet near-black, blue undertone */
  --color-obsidian-mid: #13131a;   /* layered surface */
  --color-obsidian-lit: #1c1c27;   /* lifted surface for hover states */
  --color-parchment:    #e8e2d5;   /* primary text on dark — warm old-money off-white */
  --color-parchment-dim:#b8b2a5;   /* muted body text */
  --color-silver:       #a0a0a8;   /* secondary muted text */
  --color-silver-light: #c2c2ca;   /* lightest muted state */
  --color-orange:       #d4380d;   /* International Orange — accent only, 5-10% usage */

  /* Semantic Assignments */
  --bg-dark:           var(--color-obsidian);
  --bg-dark-secondary: var(--color-obsidian-mid);
  --bg-dark-surface:   var(--color-obsidian-lit);
  --bg-light:          var(--color-parchment);
  --text-light:        var(--color-parchment);
  --text-dim:          var(--color-parchment-dim);
  --text-dark:         var(--color-obsidian);
  --text-muted:        var(--color-silver);
  --text-muted-light:  var(--color-silver-light);
  --accent:            var(--color-orange);

  /* Typography */
  --font-display: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;  /* small caps — for headings, labels, nav */
  --font-serif:   'Cormorant Garamond', Georgia, serif;                   /* italic/editorial body passages */
  --font-body:    'Montserrat', Arial, sans-serif;                        /* body text, UI elements */

  /* Font Weights */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;
  --text-6xl:  5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:     1200px;
  --container-padding: 1.5rem;
  --nav-height:        80px;

  /* Borders */
  --radius-pill: 100px;
  --radius-sm:   4px;
  --radius-md:   8px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ============================================
   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-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.7;
  color: var(--color-parchment);
  background-color: var(--color-obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture — adds depth without imagery */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
}

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

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

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 65ch;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.7;
}

.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

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

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section--darker {
  background-color: var(--bg-dark-secondary);
  color: var(--text-light);
}

.section--light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section--light p {
  color: var(--color-off-black);
  opacity: 0.75;
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 {
  color: var(--text-dark);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

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

.flex { display: flex; gap: var(--space-4); }
.flex--center  { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}
.btn--primary:hover {
  background-color: transparent;
  color: var(--accent);
}

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

.btn--outline-accent {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline-accent:hover {
  background-color: var(--accent);
  color: var(--text-dark);
}

.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.site-header.scrolled {
  background-color: rgba(13, 13, 18, 0.97);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  position: relative;
  z-index: 1100;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--weight-medium);
  color: var(--color-parchment);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-silver);
  margin-top: 3px;
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  position: relative;
  z-index: 1100;
}

/* Span-based placeholder — replaced when SVG is provided */
.ham-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background-color: var(--color-parchment);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.ham-line--short {
  width: 18px;
}

.nav-toggle.active .ham-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  width: 28px;
}
.nav-toggle.active .ham-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active .ham-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  width: 28px;
}

/* ============================================
   FULL-SCREEN NAV OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-obsidian-mid);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-height) 0 var(--space-16) clamp(2.5rem, 10vw, 8rem);
  transform: translateX(100%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
}

.nav-overlay.open {
  transform: translateX(0);
  visibility: visible;
}

/* Close button — top right of overlay */
.nav-close {
  position: absolute;
  top: calc(var(--nav-height) / 2);
  right: clamp(1.5rem, 4vw, 3rem);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-close span {
  position: absolute;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-parchment);
}

.nav-close span:first-child  { transform: rotate(45deg); }
.nav-close span:last-child   { transform: rotate(-45deg); }

/* Nav overlay menu items */
.nav-overlay-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.nav-overlay-menu li {
  overflow: hidden;
}

.nav-overlay-menu a {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: var(--weight-light);
  letter-spacing: 0.04em;
  color: var(--color-parchment-dim);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.3s ease;
  transform: translateY(100%);
  opacity: 0;
  transition: color 0.3s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
}

.nav-overlay.open .nav-overlay-menu a {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger each item */
.nav-overlay.open .nav-overlay-menu li:nth-child(1) a { transition-delay: 0.1s; }
.nav-overlay.open .nav-overlay-menu li:nth-child(2) a { transition-delay: 0.18s; }
.nav-overlay.open .nav-overlay-menu li:nth-child(3) a { transition-delay: 0.26s; }
.nav-overlay.open .nav-overlay-menu li:nth-child(4) a { transition-delay: 0.34s; }

.nav-overlay-menu a {
  position: relative;
}

.nav-overlay-menu a:hover {
  color: var(--color-parchment);
}

.nav-overlay-menu a.active {
  color: var(--color-parchment);
}

/* Nav text wrapper — ghost underline + houses char-wraps */
.nav-text {
  display: inline-flex;
  position: relative;
  line-height: 1.1;
}

/* Ghost underline — always present at low opacity */
.nav-text::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background-color: var(--color-parchment);
  opacity: 0.18;
}

/* Active underline — grows left to right on top of ghost */
.nav-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 1px;
  width: 0;
  background-color: var(--color-parchment);
  opacity: 1;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-overlay-menu a:hover .nav-text::after,
.nav-overlay-menu a.active .nav-text::after {
  width: 100%;
}

/* Character box mask — clips the char as it slides out/in */
.nav-char-wrap {
  display: inline-block;
  overflow: hidden;
  line-height: 1.15;
  vertical-align: bottom;
}

/* Individual character — the thing that actually moves */
.nav-char {
  display: inline-block;
  will-change: transform;
}

/* Slide up → teleport below → slide back in */
@keyframes charMaskSlide {
  0%      { transform: translateY(0); }
  38%     { transform: translateY(-115%); }
  38.01%  { transform: translateY(115%); }
  78%     { transform: translateY(0); }
  100%    { transform: translateY(0); }
}

.nav-char.slide {
  animation: charMaskSlide 0.52s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Small index number before each item */
.nav-index {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.2em;
  color: var(--color-silver);
  align-self: center;
  min-width: 2rem;
}

/* Footer links inside overlay */
.nav-overlay-footer {
  position: absolute;
  bottom: clamp(2rem, 5vw, 4rem);
  left: clamp(2.5rem, 10vw, 8rem);
  display: flex;
  gap: var(--space-8);
  opacity: 0;
  transition: opacity 0.4s ease 0.4s;
}

.nav-overlay.open .nav-overlay-footer {
  opacity: 1;
}

.nav-overlay-footer a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-silver);
  transition: color var(--transition);
}

.nav-overlay-footer a:hover {
  color: var(--color-parchment);
}

/* Backdrop — subtle dark tint behind overlay during transition */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--bg-dark-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  max-width: 32ch;
  color: var(--text-muted);
}

.footer-nav h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--text-light); }

.footer-bottom {
  max-width: var(--container-max);
  margin: var(--space-12) auto 0;
  padding: var(--space-6) var(--container-padding) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: none;
}

/* ============================================
   MAIN OFFSET FOR FIXED HEADER
   ============================================ */
main {
  padding-top: var(--nav-height);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  padding: var(--space-24) 0;
}

.hero-content { max-width: 820px; }

.hero h1 {
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.hero p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 55ch;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { margin-bottom: var(--space-12); }

.section-header h2 { color: var(--text-light); margin-top: var(--space-4); }

.section--light .section-header h2 { color: var(--text-dark); }

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  width: 40px;
  height: 1px;
  background-color: var(--accent);
  margin: var(--space-6) 0;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background-color: var(--bg-dark-secondary);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card h3 {
  color: var(--text-light);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
}

.card p { font-size: var(--text-sm); }

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.form-group label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background-color: var(--bg-dark-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

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

/* ============================================
   TYPOGRAPHY CLASSES
   ============================================ */

/* Display — Cormorant SC, uppercase, for headings and section titles */
.t-display {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

/* Serif body — Cormorant Garamond, for editorial body passages */
.t-body {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  font-weight: var(--weight-light);
  letter-spacing: 0.02em;
  color: var(--color-parchment-dim);
  line-height: 1.9;
  max-width: 58ch;
  margin-bottom: var(--space-6);
}

.t-body:last-child { margin-bottom: 0; }

/* Italic editorial — for sub-headlines and pull quotes */
.t-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--color-parchment-dim);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* Orange dot — inline accent used after headlines */
.orange-dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: var(--color-orange);
  vertical-align: top;
  margin-top: 0.18em;
  margin-left: 0.1em;
  flex-shrink: 0;
}

.orange-dot--sm {
  width: 0.18em;
  height: 0.18em;
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-silver);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition);
  padding: 0;
}

.btn-ghost:hover { color: var(--color-parchment); }

/* Section labels */
.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  color: var(--color-silver);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  display: block;
}

/* Section headings */
.section-heading {
  font-size: clamp(2rem, 4.5vw, 5rem);
  color: var(--color-parchment);
  line-height: 1.05;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   HERO — HOME PAGE
   ============================================ */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
}

/* Large background typographic element */
.hero-bg-char {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(24rem, 40vw, 56rem);
  font-weight: var(--weight-medium);
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 226, 213, 0.055);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  margin-bottom: var(--space-8);
  animation: fadeUp 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 9rem);
  max-width: 14ch;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  animation: fadeUp 1s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  color: var(--color-parchment);
  margin-bottom: var(--space-8);
}

.hero-sub {
  max-width: 46ch;
  animation: fadeUp 1s 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  margin-bottom: var(--space-12);
}

.hero-cta {
  animation: fadeUp 1s 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  right: var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  animation: fadeIn 1.5s 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--color-silver) 0%, transparent 100%);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* Entry animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid rgba(232, 226, 213, 0.07);
  border-bottom: 1px solid rgba(232, 226, 213, 0.07);
  padding: 1.2rem 0;
  background: var(--color-obsidian-mid);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-silver);
  padding: 0 3rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee-item::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   HOME — TWO-COLUMN SPLIT LAYOUT
   ============================================ */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.home-split__left {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

/* ============================================
   HOME — METHOD GRID
   ============================================ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(232, 226, 213, 0.07);
  margin-top: var(--space-12);
}

.method-item {
  padding: var(--space-8);
  background: var(--color-obsidian-mid);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: background var(--transition);
}

.method-item:hover { background: var(--color-obsidian-lit); }

.method-num {
  color: var(--color-orange);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.42em;
}

/* ============================================
   HOME — DISCIPLINE LIST
   ============================================ */
.disc-list {
  list-style: none;
  margin-top: var(--space-8);
}

.disc-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(232, 226, 213, 0.07);
  transition: all var(--transition);
}

.disc-item:first-child { border-top: 1px solid rgba(232, 226, 213, 0.07); }

.disc-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  color: var(--color-silver);
}

.disc-name {
  font-size: clamp(1.4rem, 3vw, 3rem);
  color: var(--color-parchment-dim);
  transition: color var(--transition);
}

.disc-item:hover .disc-name { color: var(--color-parchment); }

.disc-desc {
  text-align: right;
  color: var(--color-silver);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.disc-item:hover .disc-desc {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   HOME — CLOSING CTA SECTION
   ============================================ */
.home-cta-section { border-top: 1px solid rgba(232, 226, 213, 0.07); }

.home-cta-inner { max-width: 700px; }

/* ============================================
   UTILITIES
   ============================================ */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-light   { color: var(--text-light); }
.text-dark    { color: var(--text-dark); }
.text-center  { text-align: center; }

.mt-4  { margin-top: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-8  { margin-bottom: var(--space-8); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .home-split         { grid-template-columns: 1fr; }
  .home-split__left   { position: static; }
  .method-grid        { grid-template-columns: 1fr; }
  .disc-desc          { display: none; }
  .disc-item          { grid-template-columns: 2.5rem 1fr; }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
    --nav-height: 70px;
  }

  /* overlay nav handles all screen sizes — no legacy nav-menu rules needed */

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

  .footer-container { grid-template-columns: 1fr; }

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

  .home-hero        { min-height: auto; padding-bottom: var(--space-16); }
  .hero-bg-char     { opacity: 0.4; font-size: 60vw; }
  .section          { padding: var(--space-16) 0; }
  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .btn-group        { flex-direction: column; align-items: flex-start; }
  .disc-item        { grid-template-columns: 2rem 1fr; gap: 1rem; }
}

@media (max-width: 480px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --container-padding: 1rem;
  }

  .btn-group       { flex-direction: column; }
  .btn             { width: 100%; text-align: center; }
}
