/* ============================================================
   Editorial Ivory — Catana Group LLC  v1
   ============================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --white:       #FFFFFF;
  --ivory:       #FAF8F5;
  --blue-deep:   #1E3F63;   /* dark section background */
  --blue-rich:   #19334F;   /* footer / secondary dark */
  --blue-mid:    #26537E;   /* radial highlight */
  --blue-soft:   #4A7FA5;   /* mid accent */
  --blue-pale:   #EBF4FB;   /* very light tint */
  --ink:         #1D1D1F;
  --grey:        #6B6B6B;
  --gold:        #9A7B4F;
  --gold-warm:   #C4A882;
  --rule:        rgba(154, 123, 79, 0.15);
  --rule-light:  rgba(255, 255, 255, 0.12);
  --ease:        cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
body.scroll-locked { overflow: hidden; }

/* ============================================================
   Shared utilities
   ============================================================ */
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 1rem;
}

/* ============================================================
   Reveal — JS-gated entrance animation
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal[data-delay="1"] { transition-delay: 0.10s; }
.js .reveal[data-delay="2"] { transition-delay: 0.20s; }
.js .reveal[data-delay="3"] { transition-delay: 0.30s; }
.js .reveal[data-delay="4"] { transition-delay: 0.40s; }
.js .reveal[data-delay="5"] { transition-delay: 0.50s; }
.js .reveal[data-delay="6"] { transition-delay: 0.60s; }
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   Entry Gateway
   ============================================================ */
.entry {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 42%, var(--blue-mid) 0%, var(--blue-deep) 45%, #0f2236 100%);
  transition: opacity 0.8s var(--ease);
}
.js .entry.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.entry__noise {
  position: absolute;
  inset: 0;
  /* SVG fractal noise grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.55;
  pointer-events: none;
}

.entry__glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(154, 123, 79, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.entry__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

/* Emblem placeholder — swap background-image when mark is ready */
.entry__emblem {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(154, 123, 79, 0.28);
  background: radial-gradient(circle, rgba(154, 123, 79, 0.07), transparent);
  margin-bottom: 0.5rem;
}

.entry__wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.06em;
}

.entry__rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

.entry__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.entry__enter {
  margin-top: 1rem;
  padding: 0.8rem 2.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(154, 123, 79, 0.5);
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.entry__enter:hover,
.entry__enter:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  outline: none;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.35rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav__menu-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  transition: color 0.4s var(--ease);
  padding: 0.25rem 0;
}
.nav.is-scrolled .nav__menu-btn { color: var(--ink); }
.nav__menu-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.nav__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav__bars span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.nav__menu-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.4s var(--ease);
  justify-self: center;
}
.nav.is-scrolled .nav__wordmark { color: var(--ink); }

/* ============================================================
   Fold-out Menu
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 23, 0);
  transition: background 0.5s var(--ease);
}
.menu.is-open .menu__scrim {
  background: rgba(15, 15, 23, 0.45);
}

.menu__sheet {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  /* Leaves a dimmed sliver of the page visible at the right edge */
  width: calc(100% - clamp(40px, 7vw, 110px));
  background: var(--ivory);
  display: grid;
  grid-template-columns: 34% 66%;
  transform: translateX(-100%);
  transition: transform 0.62s var(--ease);
  overflow: hidden;
}
.menu.is-open .menu__sheet {
  transform: translateX(0);
}

/* Identity rail */
.menu__panel--identity {
  background: var(--white);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
}

.menu__close {
  align-self: flex-start;
  font-size: 1rem;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  padding: 0.2rem;
  line-height: 1;
}
.menu__close:hover { opacity: 1; transform: rotate(90deg); }
.menu__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Crest placeholder — swap background-image when mark is ready */
.menu__crest {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: radial-gradient(circle, rgba(154, 123, 79, 0.06), transparent);
  margin: 2.5rem 0 1.5rem;
}

.menu__id-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.menu__id-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-top: 0.4rem;
}

/* Nav panel */
.menu__panel--nav {
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
}

.menu__nav { width: 100%; }

/* Individual link — enters staggered on open */
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.menu__nav li:last-child .menu__link {
  border-bottom: 1px solid var(--rule);
}

/* Stagger delays on open */
.menu.is-open li:nth-child(1) .menu__link { transition-delay: 0.30s; }
.menu.is-open li:nth-child(2) .menu__link { transition-delay: 0.36s; }
.menu.is-open li:nth-child(3) .menu__link { transition-delay: 0.42s; }
.menu.is-open li:nth-child(4) .menu__link { transition-delay: 0.48s; }
.menu.is-open li:nth-child(5) .menu__link { transition-delay: 0.54s; }
.menu.is-open li:nth-child(6) .menu__link { transition-delay: 0.60s; }
.menu.is-open li:nth-child(7) .menu__link { transition-delay: 0.66s; }
.menu.is-open li:nth-child(8) .menu__link { transition-delay: 0.72s; }
.menu.is-open li:nth-child(9) .menu__link { transition-delay: 0.78s; }

.menu.is-open .menu__link {
  opacity: 1;
  transform: translateX(0);
}
.menu__link:hover {
  transform: translateX(0.6rem) !important;
}

.menu__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 2rem;
  flex-shrink: 0;
}

.menu__word {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.menu__link:hover .menu__word { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .menu__sheet,
  .menu__scrim,
  .menu__link  { transition: none; }
  .menu__link  { opacity: 1; transform: none; }
}

/* Mobile: single column */
@media (max-width: 760px) {
  .menu__sheet {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
  .menu__panel--identity {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--rule);
    gap: 1rem;
  }
  .menu__crest { margin: 0; width: 32px; height: 32px; flex-shrink: 0; }
  .menu__close { margin-left: auto; }
  .menu__panel--nav { padding: 1.75rem 1.5rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 38%, var(--blue-mid) 0%, var(--blue-deep) 52%, #0f2236 100%);
  overflow: hidden;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.45;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 8rem 2rem 5rem;
}
.hero__inner .label { color: rgba(196, 168, 130, 0.78); }

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.9rem, 7.5vw, 6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-top: 1.25rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-warm);
}

.hero__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  max-width: 600px;
  margin: 1.75rem auto 0;
  line-height: 1.7;
}

.hero__rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  margin: 2.5rem auto 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
}
.hero__scroll-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: rgba(154, 123, 79, 0.3);
  position: relative;
}
.hero__scroll-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: 0;    opacity: 1; }
  80%  { top: 100%; opacity: 0.3; }
  100% { top: 0;    opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-dot { animation: none; top: 50%; }
}

/* ============================================================
   Origin / Quote — blue-rich
   ============================================================ */
.origin {
  background: var(--blue-rich);
  padding: 9rem 2rem;
}
.origin__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.origin__quotemark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 500;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -1.5rem;
}
.origin__quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}
.origin__attribution {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-top: 2.5rem;
  font-style: normal;
}

/* ============================================================
   Why It Matters — white
   ============================================================ */
.why {
  background: var(--white);
  padding: 9rem 2rem;
}
.why__inner {
  max-width: 780px;
  margin: 0 auto;
}
.why__inner .section-title { margin-bottom: 2.75rem; }
.why__body p { margin-bottom: 1.5rem; }

.dropcap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 3.6em;
  float: left;
  line-height: 0.78;
  margin-right: 0.08em;
  margin-top: 0.06em;
  color: var(--gold);
}

/* ============================================================
   Four Pillars — ivory
   ============================================================ */
.pillars {
  background: var(--ivory);
  padding: 9rem 2rem;
}
.pillars__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pillars__inner .section-title { margin-bottom: 3rem; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.pillar {
  background: var(--white);
  padding: 2.75rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(30, 63, 99, 0.08);
}
.pillar__num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}
.pillar__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}
.pillar p {
  font-size: 0.96rem;
  color: var(--grey);
  line-height: 1.82;
}

/* ============================================================
   Portfolio / Group cards — white
   ============================================================ */
.portfolio {
  background: var(--white);
  padding: 9rem 2rem;
}
.portfolio__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.portfolio__inner .section-title { margin-bottom: 3rem; }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.serve {
  background: var(--ivory);
  border: 1px solid rgba(154, 123, 79, 0.1);
  border-left: 3px solid var(--gold);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 10px rgba(30, 63, 99, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.serve:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(30, 63, 99, 0.1);
}
.serve__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.serve p {
  font-size: 0.93rem;
  color: var(--grey);
  line-height: 1.78;
  margin-bottom: 1rem;
}
.serve__stage {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
}

.portfolio__more {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.portfolio__more-text {
  color: var(--grey);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 780px;
}
.portfolio__more-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.3s var(--ease);
}
.portfolio__more-link:hover { color: var(--gold-warm); }

/* ============================================================
   Dignity / Mission — white, isolated
   ============================================================ */
.dignity {
  background: var(--white);
  padding: 11rem 2rem;
  text-align: center;
}
.dignity__inner {
  max-width: 860px;
  margin: 0 auto;
}
.dignity__statement {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.2vw, 2.45rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
}
.dignity__statement em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   Dark prose / Pull quote — blue-deep
   ============================================================ */
.prose-dark {
  background: var(--blue-deep);
  padding: 9rem 2rem;
}
.prose-dark__inner {
  max-width: 780px;
  margin: 0 auto;
}
.prose-dark__inner .label {
  color: rgba(196, 168, 130, 0.75);
  margin-bottom: 2rem;
}
.pull-quote {
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  margin: 2.5rem 0;
}
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}
.prose-dark__body {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.88;
  margin-bottom: 1.5rem;
}

/* ============================================================
   Manifesto — ivory
   ============================================================ */
.manifesto {
  background: var(--ivory);
  padding: 9rem 2rem;
}
.manifesto__inner {
  max-width: 780px;
  margin: 0 auto;
}
.manifesto__body { margin-top: 2rem; }
.manifesto__graf {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 400;
  line-height: 1.82;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.manifesto__graf--close {
  font-size: clamp(1.25rem, 2.2vw, 1.58rem);
  color: var(--gold);
  margin-bottom: 0;
}
.manifesto__rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.38;
  margin-top: 2.5rem;
}

/* ============================================================
   Chapters band — white
   ============================================================ */
.chapters {
  background: var(--white);
  padding: 9rem 2rem;
}
.chapters__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.chapters__inner .section-title { margin-bottom: 3rem; }

.chapters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.chapter {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}
.chapter__media {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}
.chapter:hover .chapter__media { transform: scale(1.06); }

/* Duotone blue gradient placeholders — swap for real photography via background-image */
.chapter__media[data-layer="publishing"]   { background: linear-gradient(148deg, #1C3A5C 0%, #2d6a9f 100%); }
.chapter__media[data-layer="portfolio"]    { background: linear-gradient(148deg, #1C2E3E 0%, #3a7494 100%); }
.chapter__media[data-layer="partnerships"] { background: linear-gradient(148deg, #1E3050 0%, #4a6fa5 100%); }
.chapter__media[data-layer="investors"]    { background: linear-gradient(148deg, #14253A 0%, #2C5282 100%); }
.chapter__media[data-layer="story"]        { background: linear-gradient(148deg, #1C3A5C 0%, #355f8a 100%); }
.chapter__media[data-layer="company"]      { background: linear-gradient(148deg, #1A2E44 0%, #3a6794 100%); }

.chapter__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(15, 32, 54, 0.88) 0%, rgba(15, 32, 54, 0.18) 60%, transparent 100%);
}
.chapter__content .label { color: rgba(196, 168, 130, 0.78); margin-bottom: 0.5rem; }
.chapter__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.chapter__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0);
  transition: color 0.4s var(--ease);
}
.chapter:hover .chapter__link { color: var(--gold-warm); }

/* ============================================================
   Contact — blue-deep
   ============================================================ */
.contact {
  background: var(--blue-deep);
  padding: 10rem 2rem;
  text-align: center;
}
.contact__inner { max-width: 780px; margin: 0 auto; }
.contact__inner .label { color: rgba(196, 168, 130, 0.75); }
.contact__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.contact__lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 2.75rem;
}
.contact__email {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  display: inline-block;
  position: relative;
}
.contact__email::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.55s var(--ease);
}
.contact__email:hover::after,
.contact__email:focus-visible::after { width: 100%; }
.contact__email:focus-visible { outline: none; }

/* ============================================================
   Footer — blue-rich
   ============================================================ */
.footer {
  background: var(--blue-rich);
  padding: 3.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--rule-light);
}
.footer__inner { max-width: 780px; margin: 0 auto; }
.footer__entity,
.footer__protection,
.footer__copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  line-height: 2.4;
}

/* ============================================================
   Privacy notice — bottom centre
   ============================================================ */
.cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  max-width: 520px;
  width: calc(100% - 3rem);
  background: rgba(30, 51, 79, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(154, 123, 79, 0.2);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.cookie.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie__text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  flex: 1;
}
.cookie__accept {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-warm);
  padding: 0.65rem 1.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cookie__accept:hover {
  background: var(--gold);
  color: var(--white);
}
.cookie__accept:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .pillars__grid     { grid-template-columns: 1fr; gap: 2px; }
  .portfolio__grid   { grid-template-columns: repeat(2, 1fr); }
  .chapters__grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .portfolio__grid   { grid-template-columns: 1fr; }
  .chapters__grid    { grid-template-columns: 1fr; }
  .nav__inner        { padding: 1rem 1.25rem; }
  .hero__inner       { padding: 7rem 1.25rem 4rem; }
  .why,
  .pillars,
  .portfolio,
  .dignity,
  .prose-dark,
  .manifesto,
  .chapters,
  .contact           { padding: 5.5rem 1.25rem; }
  .origin            { padding: 5.5rem 1.25rem; }
  .dignity           { padding: 7rem 1.25rem; }
  .cookie            { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
