@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --paper: #f1f2f4;
  --paper-strong: #e4e7ea;
  --ink: #0f1318;
  --ink-soft: #455260;
  --line: rgba(15, 19, 24, 0.28);
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --tan: #6a5a48;
  --tan-soft: rgba(106, 90, 72, 0.12);
  --charcoal: #151d26;
  --radius: 8px;
  --shadow: 0 0 0 rgba(0, 0, 0, 0);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 19, 24, 0.08), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(106, 90, 72, 0.1), transparent 34%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-strong) 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(15, 19, 24, 0.035) 0,
      rgba(15, 19, 24, 0.035) 1px,
      transparent 1px,
      transparent 44px
    );
  opacity: 0.9;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(241, 242, 244, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(15, 19, 24, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 27px;
  height: 27px;
  border-radius: 4px;
  border: 1px solid rgba(31, 39, 48, 0.34);
  background: radial-gradient(circle at 30% 30%, rgba(122, 104, 82, 0.22), rgba(31, 39, 48, 0.15));
}

.logo strong {
  color: var(--tan);
}

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: 10px;
  padding: 0.4rem 0.56rem;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.43rem 0.78rem;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.hero,
.page-hero {
  padding: 4rem 0 2.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
  align-items: start;
}

.media-runline {
  margin-top: 1rem;
  border-top: 2px solid rgba(15, 19, 24, 0.2);
  border-bottom: 2px solid rgba(15, 19, 24, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.45rem 0;
}

.media-runline span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #445364;
}

.media-editorial {
  grid-template-columns: 1.45fr 0.95fr;
  border-bottom: 1px solid rgba(15, 19, 24, 0.2);
  padding-bottom: 2rem;
}

.media-lead h1 {
  max-width: 13ch;
}

.hero-scene-wrap {
  border: 1px solid rgba(15, 19, 24, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  height: 140px;
  margin-top: 1rem;
}

.media-scene {
  height: 150px;
}

.hero-scene {
  width: 100%;
  height: 100%;
  display: block;
}

.persona-badge {
  margin-top: 0.85rem;
  display: inline-flex;
  border: 1px dashed rgba(74, 61, 45, 0.45);
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4c3f2d;
  background: rgba(106, 90, 72, 0.1);
}

.media-column {
  display: grid;
  gap: 0.8rem;
}

.headline-card {
  border: 1.5px solid rgba(15, 19, 24, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.9rem;
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.headline-card strong {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #283443;
}

.headline-card p {
  margin: 0.45rem 0 0;
  line-height: 1.52;
  color: var(--ink-soft);
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(144, 114, 70, 0.35);
  background: var(--tan-soft);
  color: #785f37;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.34rem 0.64rem;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0.95rem 0 0.7rem;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  max-width: 15ch;
}

.lead,
.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.64;
  max-width: 64ch;
}

.row {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.matrix {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(242, 233, 220, 0.72));
  box-shadow: var(--shadow);
  padding: 1rem;
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.matrix h3 {
  margin: 0;
  font-size: 1rem;
}

.matrix-layers {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.72rem;
}

.matrix-layers article {
  border: 1px solid rgba(22, 26, 31, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.75rem;
  transform-style: preserve-3d;
}

.matrix-layers article:nth-child(1) {
  transform: translateZ(8px);
}

.matrix-layers article:nth-child(2) {
  transform: translateZ(16px);
}

.matrix-layers article:nth-child(3) {
  transform: translateZ(24px);
}

.matrix-layers strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f5734;
}

.matrix-layers span {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.9rem;
}

.board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
  padding-bottom: 1.6rem;
}

.board-card {
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: border-color 180ms ease, transform 200ms ease;
}

.board-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.board-card p {
  color: var(--ink-soft);
  line-height: 1.56;
}

.board-card:hover {
  border-color: rgba(22, 26, 31, 0.3);
}

.simulator {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(242, 232, 218, 0.78));
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.simulator-controls {
  display: grid;
  gap: 0.95rem;
}

.simulator-controls label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.simulator-controls input[type='range'] {
  width: 100%;
  accent-color: #6f5734;
}

.simulator-controls strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: #2b3642;
}

.simulator-output {
  display: grid;
  gap: 0.7rem;
}

.simulator-output article {
  border: 1px solid rgba(22, 26, 31, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.82rem;
}

.simulator-output span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #536173;
}

.simulator-output strong {
  display: block;
  margin-top: 0.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: #1d2732;
}

.atlas {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.atlas-card {
  grid-column: span 4;
  border: 1.5px solid rgba(15, 19, 24, 0.24);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(238, 228, 214, 0.72));
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 180ms ease;
}

.atlas-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.atlas-card p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.atlas-card:hover {
  border-color: rgba(15, 19, 24, 0.36);
}

.btn {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface-strong);
  padding: 0.74rem 0.95rem;
  font-weight: 700;
  transition: 140ms ease;
}

.btn:hover {
  border-color: rgba(22, 26, 31, 0.28);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: rgba(15, 19, 24, 0.48);
  background: linear-gradient(125deg, rgba(21, 29, 38, 0.9), rgba(56, 64, 74, 0.86));
  color: #f3eee6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0.5rem 0 2rem;
}

.card,
.panel,
.stage,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.matrix,
.board-card {
  border-radius: var(--radius);
  box-shadow: none;
  border-width: 1.5px;
}

.card {
  grid-column: span 4;
  padding: 1rem;
}

.card.wide {
  grid-column: span 6;
}

.card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.card p,
.panel p,
.stage p,
.contact-card p,
.contact-card li {
  color: var(--ink-soft);
  line-height: 1.6;
}

.panel {
  padding: 1.15rem;
  background: var(--surface-strong);
}

.panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
}

.notice {
  margin-top: 0.85rem;
  padding: 0.68rem 0.76rem;
  border: 1px dashed rgba(144, 114, 70, 0.45);
  border-radius: 10px;
  background: rgba(144, 114, 70, 0.08);
  color: #725a34;
}

.section {
  padding-bottom: 1.6rem;
}

.section-title {
  margin: 0 0 0.8rem;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.section-title p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.3rem 0.62rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #3f4955;
  background: rgba(255, 255, 255, 0.88);
}

.badge.highlight {
  border-color: rgba(144, 114, 70, 0.42);
  color: #7a6039;
}

.badge.teal {
  border-color: rgba(36, 45, 56, 0.38);
  color: #2d3743;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0.6rem 0 1.9rem;
}

.stage {
  padding: 0.95rem;
}

.stage h3 {
  margin: 0;
  font-size: 1.02rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.9rem;
  padding-bottom: 1.9rem;
}

.contact-card {
  padding: 1rem;
}

.contact-card ul {
  margin: 0.62rem 0 0;
  padding-left: 1.05rem;
}

.lead-form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  padding: 0.62rem 0.72rem;
}

.lead-form textarea {
  resize: vertical;
}

.lead-status {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.86rem;
  color: #445364;
}

.lead-status[data-state='error'] {
  color: #8a3a24;
}

.footer {
  border-top: 1px solid var(--line);
  color: #707985;
  font-size: 0.88rem;
  padding: 1.15rem 0 1.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(7px);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 300ms ease;
}

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

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

  .card,
  .card.wide,
  .board-card {
    grid-column: span 6;
  }

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

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

  .atlas-card {
    grid-column: span 6;
  }

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

@media (max-width: 760px) {
  .media-runline {
    flex-direction: column;
    gap: 0.3rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 0.58rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .header-inner {
    align-items: flex-start;
  }

  .card,
  .card.wide,
  .board-card,
  .atlas-card {
    grid-column: span 12;
  }

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  h1 {
    max-width: 100%;
  }
}

/* Corporate refinement pass (March 2026) */
:root {
  --paper: #f5f6f8;
  --paper-strong: #e8ebef;
  --ink: #14181e;
  --ink-soft: #4d5867;
  --line: rgba(20, 24, 30, 0.14);
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --tan: #76573c;
  --tan-soft: rgba(118, 87, 60, 0.1);
  --radius: 14px;
  --shadow: 0 14px 34px rgba(20, 24, 30, 0.08);
}

body {
  background:
    radial-gradient(circle at 8% -8%, rgba(54, 70, 88, 0.1), transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(118, 87, 60, 0.08), transparent 38%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-strong) 100%);
}

body::before {
  display: none;
}

.header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.hero,
.page-hero {
  padding-top: 3.2rem;
}

.hero-scene-wrap,
.hero-scene,
.persona-badge {
  display: none !important;
}

[data-tilt-surface],
.matrix,
.board-card,
.atlas-card,
.headline-card {
  transform: none !important;
}

.headline-card,
.card,
.panel,
.stage,
.contact-card,
.matrix,
.board-card,
.atlas-card,
.simulator,
.simulator-output article {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-runline {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.media-editorial {
  border-bottom: 1px solid var(--line);
}

.btn {
  border-color: var(--line);
}

.btn.primary {
  border-color: rgba(20, 24, 30, 0.36);
  background: linear-gradient(130deg, #222a34, #3a4655);
}

.notice {
  border: 1px solid rgba(118, 87, 60, 0.4);
  background: rgba(118, 87, 60, 0.07);
}

.footer {
  color: #545f6d;
}

/* Institutional 3D theater */
.institutional-theater {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(236, 238, 242, 0.94));
  padding: 0.68rem;
}

.theater-stage {
  border-radius: 10px;
  border: 1px solid rgba(26, 31, 38, 0.2);
  background: radial-gradient(circle at 50% 22%, rgba(102, 117, 137, 0.2), rgba(18, 24, 31, 0.92));
  overflow: hidden;
  min-height: 184px;
}

.institutional-scene {
  width: 100%;
  height: 184px;
  display: block;
}

.scene-chips {
  margin-top: 0.56rem;
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.scene-chip {
  appearance: none;
  border: 1px solid rgba(26, 31, 38, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #4d5a68;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.34rem 0.6rem;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.scene-chip:hover,
.scene-chip:focus-visible {
  outline: none;
  border-color: rgba(58, 74, 95, 0.45);
}

.scene-chip.active {
  border-color: rgba(58, 74, 95, 0.5);
  background: rgba(58, 74, 95, 0.14);
  color: #243344;
}

@media (max-width: 760px) {
  .institutional-scene,
  .theater-stage {
    min-height: 164px;
    height: 164px;
  }
}

/* Flagship hero atlas */
.executive-atlas {
  margin-top: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(233, 238, 244, 0.94));
  box-shadow: 0 18px 42px rgba(20, 24, 30, 0.1);
  padding: 0.95rem;
  display: grid;
  grid-template-columns: 1.08fr 1.42fr;
  gap: 0.88rem;
  align-items: stretch;
}

.atlas-copy h2 {
  margin: 0.58rem 0 0.62rem;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1.1;
  color: #1d2733;
}

.atlas-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.atlas-stage {
  border-radius: 12px;
  border: 1px solid rgba(20, 24, 30, 0.18);
  background: radial-gradient(circle at 50% 18%, rgba(118, 140, 168, 0.22), rgba(15, 20, 26, 0.95));
  overflow: hidden;
  min-height: 340px;
}

.institutional-scene-hero {
  height: 340px;
}

.atlas-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.atlas-metrics article {
  border: 1px solid rgba(20, 24, 30, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.7rem 0.74rem;
}

.atlas-metrics span {
  display: block;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #627182;
}

.atlas-metrics strong {
  display: block;
  margin-top: 0.22rem;
  font-size: 1.12rem;
  color: #1f2b38;
}

@media (max-width: 980px) {
  .executive-atlas {
    grid-template-columns: 1fr;
  }

  .atlas-stage,
  .institutional-scene-hero {
    min-height: 270px;
    height: 270px;
  }
}

@media (max-width: 640px) {
  .atlas-metrics {
    grid-template-columns: 1fr;
  }
}
