@font-face {
  font-family: "Bauhaus Homenaje";
  src: url("../fonts/BAUHAUSHOMENAJE.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f3ea;
  --paper-strong: #f1ebde;
  --sage: #dbe5d2;
  --sand: #e8dbc5;
  --dusty-blue: #d9e4ed;
  --ink: #22313d;
  --ink-soft: #475a6b;
  --line: #7d8a96;
  --accent: rgb(214, 139, 50);
  --accent-strong: rgb(170, 110, 40);
  --max-width: 1100px;
  --radius: 14px;
  --shadow: 0 12px 24px rgba(34, 49, 61, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, #ffffff 0%, transparent 28%),
    radial-gradient(circle at 92% 14%, #fdf5e8 0%, transparent 34%),
    linear-gradient(165deg, var(--paper), var(--paper-strong));
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

p,
li {
  color: var(--ink-soft);
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -44px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 30;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(125, 138, 150, 0.35);
  backdrop-filter: blur(6px);
  background: rgba(247, 243, 234, 0.9);
}

.shell {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.header-shell {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 1rem;
  align-items: center;
  position: relative;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-top: 2px solid transparent;
  padding-top: 3px;
}

.site-nav a[aria-current="page"] {
  border-top-color: var(--accent);
  color: var(--accent-strong);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-self: end;
}

.lang-toggle {
  display: inline-flex;
  gap: 0.35rem;
}

.lang-toggle button {
  border: 1px solid rgba(125, 138, 150, 0.8);
  background: #fff;
  color: var(--ink);
  padding: 0.3rem 0.55rem;
  font-size: 0.78rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lang-toggle button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-strong);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.nav-cta-btn[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.brand-font {
  font-family: "Bauhaus Homenaje", cursive, sans-serif;
  letter-spacing: 0.04em;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 240px;
}

.brand-logo img {
  width: 182px;
  height: auto;
  display: block;
}

main {
  padding-block: 2.2rem 3.5rem;
}

.hero,
.panel,
.chapter,
.legal-content,
.product-core,
.advantages,
.story-block,
.need-effect {
  border: 1.5px solid rgba(125, 138, 150, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(232, 219, 197, 0.58));
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  padding: 1.5rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.7rem;
}

.hero p {
  max-width: 62ch;
}

.hero-art {
  min-height: 220px;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

.section-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.story-block,
.need-effect,
.product-core,
.product-section,
.value-pillars,
.enterprise-cta,
.legal-content {
  padding: 1.35rem;
}

.story-logo {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 0.25rem 0 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(125, 138, 150, 0.45);
  box-shadow: var(--shadow);
}

.center-hero {
  text-align: center;
  padding: 1.6rem;
  border: 1.5px solid rgba(125, 138, 150, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(232, 219, 197, 0.54));
  box-shadow: var(--shadow);
}

.center-hero > p {
  max-width: 70ch;
  margin: 0 auto;
}

.centerpiece-figure {
  margin: 1rem auto 0;
  width: min(820px, 100%);
}

.centerpiece-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(125, 138, 150, 0.5);
  box-shadow: var(--shadow);
  background: #fff;
}

.centerpiece-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}


.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.pillar-grid article {
  border: 1px dashed rgba(71, 90, 107, 0.55);
  border-radius: 11px;
  background: rgba(217, 228, 237, 0.42);
  padding: 0.9rem;
}

.enterprise-cta {
  margin-top: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(219, 229, 210, 0.62));
}

.product-section {
  border: 1.5px solid rgba(125, 138, 150, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(217, 228, 237, 0.5));
  box-shadow: var(--shadow);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.motto {
  font-weight: 700;
  color: var(--ink);
}

.page-intro {
  margin-bottom: 1rem;
  padding: 1.2rem;
}

.story-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
}

.chapter-nav {
  align-self: start;
  position: sticky;
  top: 92px;
  border: 1px solid rgba(125, 138, 150, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.8rem;
}

.chapter-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-nav li + li {
  margin-top: 0.1rem;
}

.chapter-nav a {
  display: block;
  padding-block: 0.25rem;
  text-decoration: none;
}

.chapter-list {
  display: grid;
  gap: 1rem;
}

.chapter {
  padding: 1.3rem;
}

.mini-scene {
  margin-top: 0.65rem;
  height: 140px;
}

.mini-scene svg {
  width: 100%;
  height: 100%;
}

.advantages {
  margin-top: 1rem;
  padding: 1rem;
}

.slider-frame {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}

.adv-card {
  min-width: 100%;
  padding: 0.8rem;
}

.adv-card article {
  border-radius: 11px;
  border: 1px dashed rgba(71, 90, 107, 0.55);
  background: rgba(217, 228, 237, 0.42);
  padding: 1rem;
}

.slider-controls {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.slider-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slider-dots {
  display: inline-flex;
  gap: 0.45rem;
}

.slider-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.slider-dot {
  width: 11px;
  height: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dot[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
}

.advantages-fallback {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.advantages-fallback article {
  border: 1px dashed rgba(71, 90, 107, 0.55);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(125, 138, 150, 0.35);
  background: rgba(255, 255, 255, 0.6);
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  padding-block: 1rem;
}

.site-footer small {
  color: var(--ink-soft);
}

.js-enabled .advantages-fallback {
  display: none;
}

.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .chapter-nav {
    position: static;
  }
}

@media (max-width: 760px) {
  .brand-logo img {
    width: 134px;
  }

  .brand-logo {
    width: auto;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
    min-height: 56px;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.36rem 0.8rem;
    justify-self: start;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
  }

  .site-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 19;
    background: rgba(247, 243, 234, 0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(125, 138, 150, 0.4);
    align-items: stretch;
    gap: 0.25rem;
    transform: translateY(100%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    display: flex;
    transform: translateY(0);
  }

  .site-nav a {
    display: block;
    text-align: center;
    padding: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: rgba(214, 139, 50, 0.1);
  }

  .header-controls {
    justify-self: end;
  }

  body {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  main {
    padding-bottom: 0;
  }
}
/* ==========================================================================
   Immersive Hero (shared across all hero landing pages)
   ========================================================================== */
:root {
  --hero-h1-size: clamp(2.4rem, 5vw, 4rem);
  --hero-p-size: 1.15rem;
  --hero-object-position: center 0%;
}

.story-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: -72px;
  padding-top: 120px;
}

.story-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.story-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-object-position);
  filter: brightness(0.55) contrast(1.1);
  transform: scale(var(--hero-scale));
  transition: transform 12s ease-out;
}

.story-hero.loaded .story-hero-bg img {
  transform: scale(1);
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 49, 61, 0.85) 0%, rgba(34, 49, 61, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.story-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 700px;
}

.story-hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.story-hero h1 {
  font-size: var(--hero-h1-size);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.story-hero h1 strong {
  font-weight: 700;
  color: var(--sage);
}

.story-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--hero-p-size);
  max-width: 56ch;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-bob 2.5s ease-in-out infinite;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   Split Sections (shared across all hero landing pages)
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 49, 61, 0.12);
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
  background: var(--paper);
}

.split-text.is-dark {
  background: linear-gradient(160deg, #1a2a36 0%, #22313d 100%);
}

.split-text.is-dark h2,
.split-text.is-dark p,
.split-text.is-dark li {
  color: #fff;
}

.split-text.is-dark p,
.split-text.is-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.split-text.is-parchment {
  background: linear-gradient(160deg, rgba(255,255,255,0.85), var(--paper-strong));
}

.section-number {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-number-light {
  color: var(--sage);
}

.split-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.split-text h2 strong {
  font-weight: 700;
}

.split-text p {
  max-width: 54ch;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pull-quote {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 1.35rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  max-width: 48ch;
}

.pull-quote-light {
  color: rgba(255, 255, 255, 0.9);
  border-left-color: var(--sage);
}

/* ==========================================================================
   Bridge Section (shared across all hero landing pages)
   ========================================================================== */
.bridge-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  background: var(--paper-strong);
}

.bridge-section.reverse {
  direction: rtl;
}

.bridge-section.reverse > * {
  direction: ltr;
}

.bridge-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.bridge-data h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.bridge-data p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 0.8rem;
}

.bridge-data .highlight-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: grid;
  gap: 0.5rem;
}

.bridge-data .highlight-list li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.bridge-data .highlight-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Bridge art context (used by pages with visual bridge sections) */
.bridge-art {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 350px;
}

.bridge-art-context {
  text-align: center;
}

.bridge-art-context .icon-large {
  font-size: 4rem;
  margin-bottom: 0.8rem;
  display: block;
}

.bridge-art-context h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.bridge-art-context p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0.4rem auto 0;
}

.bridge-art-arch {
  font-size: 4.5rem;
  opacity: 0.15;
  margin-bottom: 0.6rem;
  display: block;
}

/* ==========================================================================
   Closing CTA (shared across all hero landing pages)
   ========================================================================== */
.closing-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 5vw, 5rem);
  text-align: center;
  background: linear-gradient(160deg, var(--dusty-blue) 0%, var(--paper) 100%);
}

.closing-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.closing-section h2 strong {
  font-weight: 700;
}

.closing-section > p {
  max-width: 58ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.25s;
}

.btn-explore:hover {
  background: var(--accent-strong);
  color: #fff;
}

/* ==========================================================================
   Reveal Animation (shared across all hero landing pages)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

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

/* ==========================================================================
   Page Components (shared by multiple hero landing pages)
   ========================================================================== */

/* Three Pillars */
.pillars {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  background: var(--paper);
}

.pillars-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pillar-card {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(125, 138, 150, 0.35);
  text-align: center;
  box-shadow: 0 8px 20px rgba(34, 49, 61, 0.06);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 30ch;
  margin: 0 auto;
}

/* CEO Quote */
.ceo-quote {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  background: var(--sage);
  text-align: center;
}

.ceo-quote blockquote {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 72ch;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

.ceo-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* Button row & buttons (shared by index and case-study) */
.btn-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.btn:not(.btn-primary) {
  background: transparent;
  color: var(--accent-strong);
  border: 1.5px solid var(--accent);
}

.btn:not(.btn-primary):hover {
  background: var(--accent);
  color: #fff;
}

/* ==========================================================================
   Responsive overrides for hero layout
   ========================================================================== */
@media (max-width: 900px) {
  .split-section,
  .bridge-section {
    grid-template-columns: 1fr;
  }

  .split-section.reverse,
  .bridge-section.reverse {
    direction: ltr;
  }

  .split-image {
    min-height: 300px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .story-hero {
    min-height: 90vh;
  }

  .story-hero-content {
    padding: 1.2rem;
  }

  .bridge-section {
    min-height: auto;
  }

  .bridge-art {
    min-height: 220px;
  }
}

/* ==========================================================================
   Shared hero section (used on all pages)
   ========================================================================== */

:root {
  --hero-scale: 1.05;
  --transition-smooth: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Immersive Hero ── */
.story-hero-bg img {
  object-position: center 0%;
}

/* ── Split Sections ── */
.split-text.is-dark p,
.split-text.is-dark li {
  color: rgba(255, 255, 255, 0.78);
}

/* ── Bridge Section ── */
.bridge-art {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 350px;
}

.bridge-art-context {
  text-align: center;
}

.bridge-art-context .icon-large {
  font-size: 4rem;
  margin-bottom: 0.8rem;
  display: block;
}

.bridge-art-context h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.bridge-art-context p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0.4rem auto 0;
}

.bridge-art-arch {
  font-size: 4.5rem;
  opacity: 0.15;
  margin-bottom: 0.6rem;
  display: block;
}

/* ── CEO Quote ── */
.ceo-quote blockquote {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 72ch;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

.ceo-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ── Pillars Section ── */
.pillars {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  background: var(--paper);
}

.pillars-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pillar-card {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(125, 138, 150, 0.35);
  text-align: center;
  box-shadow: 0 8px 20px rgba(34, 49, 61, 0.06);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 30ch;
  margin: 0 auto;
}

/* ── Closing CTA ── */
.closing-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 5vw, 5rem);
  text-align: center;
  background: linear-gradient(160deg, var(--dusty-blue) 0%, var(--paper) 100%);
}

.closing-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.closing-section h2 strong {
  font-weight: 700;
}

.closing-section > p {
  max-width: 58ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.25s;
}

.btn-explore:hover {
  background: var(--accent-strong);
  color: #fff;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

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