:root {
  --ink: #102331;
  --ink-soft: #4f626f;
  --navy: #083f59;
  --navy-deep: #062f43;
  --navy-soft: #0d5876;
  --gold: #e7bd70;
  --gold-bright: #f7d994;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --mist: #edf3f4;
  --line: rgba(8, 63, 89, 0.15);
  --white: #ffffff;
  --positive: #1f7a62;
  --negative: #a9483f;
  --shadow-sm: 0 10px 30px rgba(5, 41, 58, 0.08);
  --shadow-lg: 0 30px 80px rgba(5, 41, 58, 0.18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(8, 63, 89, 0.09);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img,
.mobile-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(8, 63, 89, 0.16);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-link {
  position: relative;
  padding-block: 27px;
  color: #40535f;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-weight: 730;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.button:hover {
  background: var(--navy-soft);
  box-shadow: 0 12px 25px rgba(8, 63, 89, 0.18);
  transform: translateY(-2px);
}

.button.light {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  color: var(--navy-deep);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  transform: translateY(1px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  transform: translateY(-1px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--navy-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.eyebrow.on-dark {
  color: var(--gold-bright);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.lede {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.27rem);
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading.center .lede {
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
}

.hero::before {
  position: absolute;
  top: -18vw;
  left: -12vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(231, 189, 112, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(231, 189, 112, 0.025), 0 0 0 140px rgba(231, 189, 112, 0.018);
  content: "";
}

.hero::after {
  position: absolute;
  right: 7%;
  bottom: -2px;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 78px);
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(50px, 7vw, 100px);
  padding-block: 80px;
}

.hero-copy {
  max-width: 630px;
}

.hero h1 {
  color: var(--white);
}

.hero h1 em {
  color: var(--gold-bright);
  font-weight: inherit;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero-note::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(231, 189, 112, 0.12);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.hero-photo {
  position: absolute;
  inset: 0 18px 55px 65px;
  width: calc(100% - 83px);
  height: calc(100% - 55px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 160px 24px 24px 24px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
  box-shadow: var(--shadow-lg);
}

.hero-photo-shade {
  position: absolute;
  inset: 0 18px 55px 65px;
  border-radius: 160px 24px 24px 24px;
  background: linear-gradient(145deg, rgba(5, 47, 67, 0.18), rgba(5, 47, 67, 0.64));
}

.market-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(395px, 76%);
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 22px;
  background: rgba(8, 45, 61, 0.88);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.market-card-top,
.ticker-row,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.market-card-top {
  margin-bottom: 20px;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-dot {
  color: #a9e3cf;
}

.live-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #72c9aa;
  content: "";
}

.market-card h3 {
  margin: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: 0;
}

.pulse-chart {
  position: relative;
  height: 95px;
  margin: 18px 0 14px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: repeating-linear-gradient(to right, transparent 0 50px, rgba(255, 255, 255, 0.045) 51px), repeating-linear-gradient(to bottom, transparent 0 31px, rgba(255, 255, 255, 0.045) 32px);
}

.pulse-chart::before {
  position: absolute;
  inset: 22px 0 11px;
  background: linear-gradient(166deg, transparent 0 12%, var(--gold) 12.5% 14%, transparent 14.5% 25%, var(--gold) 25.5% 27%, transparent 27.5% 39%, var(--gold) 39.5% 41%, transparent 41.5% 53%, var(--gold) 53.5% 55%, transparent 55.5% 68%, var(--gold) 68.5% 70%, transparent 70.5% 83%, var(--gold) 83.5% 85%, transparent 85.5%);
  content: "";
  clip-path: polygon(0 72%, 12% 50%, 25% 61%, 39% 27%, 54% 48%, 68% 16%, 84% 34%, 100% 4%, 100% 12%, 84% 43%, 68% 24%, 54% 57%, 39% 36%, 25% 70%, 12% 59%, 0 82%);
}

.ticker-row {
  gap: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
}

.ticker-row strong {
  color: var(--white);
}

.up {
  color: #8fe0c1;
}

.down {
  color: #f1aaa1;
}

.hero-date {
  position: absolute;
  top: 48px;
  left: 18px;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--navy-deep);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.hero-date span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-date strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.principle-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

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

.principle {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 108px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.principle:first-child {
  border-left: 1px solid var(--line);
}

.principle-mark {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(8, 63, 89, 0.18);
  border-radius: 50%;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.principle strong {
  display: block;
  color: var(--navy-deep);
  font-size: 0.93rem;
}

.principle small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.section {
  padding-block: clamp(82px, 10vw, 140px);
}

.section.alt {
  background: var(--cream);
}

.story-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(60px, 10vw, 145px);
}

.story-copy {
  position: sticky;
  top: 130px;
}

.session-track {
  position: relative;
  padding-left: 54px;
}

.session-track::before {
  position: absolute;
  top: 13px;
  bottom: 14px;
  left: 11px;
  width: 1px;
  background: var(--line);
  content: "";
}

.session-stop {
  position: relative;
  padding: 0 0 52px;
}

.session-stop:last-child {
  padding-bottom: 0;
}

.session-stop::before {
  position: absolute;
  top: 7px;
  left: -50px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  content: "";
}

.session-time {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.session-stop p {
  margin: 0;
  color: var(--ink-soft);
}

.map-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: clamp(55px, 8vw, 110px);
}

.map-board {
  padding: 24px;
  border: 1px solid rgba(8, 63, 89, 0.14);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1deg);
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.map-toolbar strong {
  color: var(--navy);
}

.lens-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.lens-tabs span {
  padding: 5px 10px;
  border-radius: 999px;
}

.lens-tabs .selected {
  background: var(--navy);
  color: var(--white);
}

.market-map {
  display: grid;
  min-height: 390px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 1.1fr 0.7fr 1.2fr;
  gap: 7px;
}

.map-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px;
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 760;
}

.map-cell strong {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
}

.map-cell small {
  opacity: 0.78;
}

.map-cell:nth-child(1) {
  grid-row: span 2;
  background: #236d65;
}

.map-cell:nth-child(2) {
  background: #8b403a;
}

.map-cell:nth-child(3) {
  grid-row: span 2;
  background: #175d73;
}

.map-cell:nth-child(4) {
  background: #bd7452;
}

.map-cell:nth-child(5) {
  grid-column: span 2;
  background: #3b8274;
}

.map-cell:nth-child(6) {
  background: #9a5448;
}

.feature-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 18px 0 18px 44px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.feature-list li::before {
  position: absolute;
  top: 21px;
  left: 0;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(231, 189, 112, 0.32);
  color: var(--navy);
  content: "\2197";
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-list strong {
  color: var(--ink);
}

.notebook-stage {
  position: relative;
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.notebook-stage::before {
  position: absolute;
  top: 50px;
  right: 15%;
  left: 15%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--navy-soft), var(--gold));
  content: "";
}

.workflow-step {
  position: relative;
  z-index: 1;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 60px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.library-banner {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 0.72fr;
  gap: 60px;
  padding: clamp(42px, 7vw, 82px);
  border-radius: var(--radius-lg);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
}

.library-banner::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(231, 189, 112, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(231, 189, 112, 0.03), 0 0 0 120px rgba(231, 189, 112, 0.02);
  content: "";
}

.library-banner h2,
.library-banner h3 {
  color: var(--white);
}

.shelf {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
}

.shelf-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.shelf-code {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: rgba(231, 189, 112, 0.16);
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.shelf-row strong {
  color: var(--white);
  font-size: 0.9rem;
}

.shelf-row small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
}

.closing-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 12vw, 160px);
  background: var(--gold-bright);
  text-align: center;
}

.closing-cta::before,
.closing-cta::after {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(8, 63, 89, 0.16);
  border-radius: 50%;
  content: "";
}

.closing-cta::before {
  top: -240px;
  left: -70px;
}

.closing-cta::after {
  right: -50px;
  bottom: -260px;
}

.closing-cta .shell {
  position: relative;
  z-index: 1;
}

.closing-cta h2 {
  max-width: 800px;
  margin-inline: auto;
}

.closing-cta p {
  max-width: 610px;
  margin: 0 auto 30px;
  color: #37505d;
}

.site-footer {
  padding: 66px 0 30px;
  background: #052b3d;
  color: rgba(255, 255, 255, 0.62);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 50px;
  padding-bottom: 48px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand .brand-name small {
  color: rgba(255, 255, 255, 0.44);
}

.footer-brand p {
  max-width: 470px;
  margin: 22px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 15px;
  font-size: 0.9rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

/* Interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 12vw, 155px) 0 clamp(74px, 9vw, 125px);
  background: var(--cream);
  text-align: center;
}

.page-hero::before {
  position: absolute;
  top: -280px;
  left: 50%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(8, 63, 89, 0.12);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.page-hero .shell {
  position: relative;
}

.page-hero h1 {
  max-width: 930px;
  margin-inline: auto;
}

.page-hero .lede {
  margin-inline: auto;
}

.about-intro {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(55px, 9vw, 120px);
}

.about-photo-wrap {
  position: relative;
  padding: 22px 22px 0 0;
}

.about-photo-wrap::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 72%;
  border-radius: var(--radius-lg);
  background: var(--gold-bright);
  content: "";
}

.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1.04;
  border-radius: 26px 120px 26px 26px;
  object-fit: cover;
  filter: saturate(0.68) contrast(1.03);
  box-shadow: var(--shadow-lg);
}

.pull-quote {
  margin: 32px 0 0;
  padding: 26px 0 0 30px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.45;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.principle-card {
  min-height: 310px;
  padding: clamp(32px, 5vw, 58px);
  background: var(--paper);
}

.principle-card:nth-child(2),
.principle-card:nth-child(3) {
  background: var(--cream);
}

.principle-index {
  display: block;
  margin-bottom: 48px;
  color: var(--navy-soft);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.principle-card p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.boundary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(55px, 9vw, 120px);
}

.boundary-stack {
  display: grid;
  gap: 12px;
}

.boundary-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.boundary-row span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--mist);
  color: var(--navy);
  font-weight: 800;
}

.boundary-row strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
}

.boundary-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

/* Privacy */
.privacy-hero {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
}

.privacy-hero::before {
  border-color: rgba(231, 189, 112, 0.19);
}

.privacy-hero h1 {
  color: var(--white);
}

.privacy-hero .lede {
  color: rgba(255, 255, 255, 0.68);
}

.privacy-hero .eyebrow {
  color: var(--gold-bright);
}

.updated-chip {
  display: inline-flex;
  margin-top: 26px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.79rem;
  font-weight: 700;
}

.privacy-promise {
  display: grid;
  margin-top: -46px;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.promise-item {
  padding: 34px;
  border-right: 1px solid var(--line);
}

.promise-item:last-child {
  border-right: 0;
}

.promise-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.promise-item h3 {
  font-size: 1.3rem;
}

.promise-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(50px, 8vw, 110px);
}

.policy-nav {
  position: sticky;
  top: 115px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}

.policy-nav strong {
  display: block;
  margin-bottom: 13px;
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-nav a {
  display: block;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.policy-nav a:hover {
  color: var(--navy);
}

.policy-content {
  max-width: 780px;
}

.policy-section {
  padding: 0 0 48px;
  scroll-margin-top: 110px;
}

.policy-section + .policy-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.policy-section h3 {
  margin-top: 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

.policy-section ul {
  padding-left: 22px;
}

.policy-note {
  margin: 28px 0;
  padding: 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
}

.policy-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.policy-note p {
  margin: 0;
}

/* Contact */
.contact-hero {
  padding-bottom: 170px;
}

.contact-wrap {
  display: grid;
  margin-top: -90px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.form-panel {
  padding: clamp(35px, 6vw, 70px);
}

.form-panel h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.checkbox-field label {
  color: var(--navy-deep);
  font-size: 0.84rem;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(8, 63, 89, 0.18);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input,
.field select {
  height: 52px;
  padding-inline: 15px;
}

.field textarea {
  min-height: 155px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 4px rgba(13, 88, 118, 0.09);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--negative);
}

.field-hint,
.field-error {
  margin: 0;
  font-size: 0.74rem;
}

.field-hint {
  color: var(--ink-soft);
}

.field-error {
  min-height: 1.15em;
  color: var(--negative);
}

.checkbox-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 11px;
}

.checkbox-field input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--navy);
}

.checkbox-field label {
  color: var(--ink-soft);
  font-weight: 500;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  color: var(--positive);
  font-size: 0.83rem;
  font-weight: 700;
}

.contact-aside {
  position: relative;
  overflow: hidden;
  padding: clamp(35px, 5vw, 60px);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
}

.contact-aside::after {
  position: absolute;
  right: -170px;
  bottom: -180px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(231, 189, 112, 0.2);
  border-radius: 50%;
  content: "";
}

.contact-aside h2,
.contact-aside h3 {
  color: var(--white);
}

.contact-aside h2 {
  font-size: 2rem;
}

.contact-methods {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  margin-top: 35px;
}

.contact-method {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-method:last-child {
  border-bottom: 0;
}

.contact-method small {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method a,
.contact-method strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 680;
}

.contact-method p {
  margin: 4px 0 0;
  font-size: 0.79rem;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-line::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #72c9aa;
  box-shadow: 0 0 0 5px rgba(114, 201, 170, 0.1);
  content: "";
}

.support-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.support-tip {
  padding: 28px;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 16px 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.support-tip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.support-tip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Compact H5 page */
.h5-body {
  min-width: 320px;
  background: var(--paper);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.h5-body .page-hero {
  padding: 70px 0 62px;
  text-align: left;
}

.h5-body .page-hero h1 {
  font-size: clamp(2.55rem, 13vw, 4.2rem);
}

.h5-body .page-hero .lede {
  margin-inline: 0;
}

.h5-body .section {
  padding-block: 68px;
}

.h5-body .about-intro,
.h5-body .boundary-layout {
  grid-template-columns: 1fr;
  gap: 42px;
}

.h5-body .about-photo-wrap {
  order: -1;
}

.h5-body .principle-grid {
  grid-template-columns: 1fr;
}

.h5-body .principle-card {
  min-height: 0;
  padding: 30px;
}

.h5-body .principle-index {
  margin-bottom: 22px;
}

.h5-footer {
  padding: 32px 20px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px 20px;
    background: var(--paper);
  }

  .nav-links.open .nav-link {
    padding: 18px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .nav-links.open .nav-link::after {
    display: none;
  }

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

  .hero-copy {
    padding-top: 20px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .story-layout,
  .map-layout,
  .about-intro,
  .boundary-layout,
  .policy-layout,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .story-copy,
  .policy-nav {
    position: static;
  }

  .story-copy {
    max-width: 670px;
  }

  .map-board {
    transform: none;
  }

  .library-banner {
    grid-template-columns: 1fr;
  }

  .about-photo-wrap {
    order: -1;
  }

  .policy-nav {
    display: none;
  }

  .contact-aside {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .brand-name small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    gap: 44px;
    padding-block: 68px 56px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-photo,
  .hero-photo-shade {
    inset: 0 0 70px 25px;
    width: calc(100% - 25px);
    height: calc(100% - 70px);
    border-radius: 100px 20px 20px 20px;
  }

  .hero-date {
    top: 28px;
    left: 0;
    width: 92px;
    height: 92px;
  }

  .hero-date strong {
    font-size: 1.6rem;
  }

  .market-card {
    width: 90%;
    padding: 18px;
  }

  .principles,
  .notebook-stage,
  .principle-grid,
  .privacy-promise,
  .support-tips {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 88px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .notebook-stage::before {
    display: none;
  }

  .step-number {
    margin-bottom: 30px;
  }

  .library-banner {
    gap: 38px;
    padding: 38px 25px;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .about-photo {
    border-radius: 22px 75px 22px 22px;
  }

  .principle-card:nth-child(3) {
    background: var(--paper);
  }

  .principle-card:nth-child(even) {
    background: var(--cream);
  }

  .promise-item,
  .promise-item:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-item:last-child {
    border-bottom: 0;
  }

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

  .form-panel {
    padding: 34px 22px;
  }

  .contact-wrap {
    border-radius: 22px;
  }

  .contact-aside {
    padding: 38px 25px;
    border-radius: 0 0 22px 22px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .market-map {
    min-height: 320px;
  }

  .map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .lens-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .map-cell {
    padding: 9px;
  }

  .shelf-row {
    grid-template-columns: 40px 1fr;
  }

  .shelf-row small:last-child {
    display: none;
  }
}
