@font-face {
  font-family: Inter;
  src: url('assets/inter-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/playfair-display-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Exact text colours and divider opacity from the October 2026 presentation. */
:root {
  --paper: #ffffff;
  --ink: #202430;
  --deep-navy: #0a0f1e;
  --gold: #c9a84c;
  --muted: #6b7280;
  --line: rgb(10 15 30 / 15%);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 400; font-synthesis: none; -webkit-font-smoothing: antialiased; }
::selection { background: rgb(201 168 76 / 25%); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.skip-link { position: fixed; top: 14px; left: 20px; z-index: 20; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(100% - 112px, 1320px); min-height: 100svh; margin: auto; display: flex; flex-direction: column; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 128px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; padding: 10px 0; }
.brand-lockup { display: block; width: 84px; height: 88px; }
nav { display: flex; align-items: center; gap: 40px; }
.nav-link { position: relative; padding: 16px 0; font-size: 13px; line-height: 1.4; color: var(--muted); transition: color .25s; }
.nav-link::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-link:hover, .nav-link[aria-current] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); }

.landing-main { flex: 1; }
.intro-main { scroll-margin-top: 24px; display: grid; align-items: center; }
.intro-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; padding: 64px 0 80px; }
.intro-copy h1 { font-size: clamp(60px, 6.7vw, 100px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 38px; }
.gold-period { color: var(--gold); }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; padding: 10px 0 8px; border-bottom: 1px solid var(--gold); font-size: 13px; }
.text-link span { font-size: 20px; line-height: 1; transition: transform .25s; }
.text-link:hover span { transform: translateY(3px); }
.identity { width: 100%; max-width: 370px; justify-self: center; }
.logo-button { border: 0; background: transparent; color: var(--deep-navy); width: 100%; display: block; padding: 0 18px; cursor: pointer; }
.complete-logo { width: 100%; display: block; overflow: visible; }
.animated-wordmark { opacity: 1; }
.quad-parts, .diamond, .logo-spark { transform-origin: 300px 300px; }
.diamond { transform-box: view-box; }
.logo-button.is-playing .animated-wordmark { animation: wordmark-in 1.8s cubic-bezier(.25,.1,.25,1) both; }
.logo-button.is-playing .diamond-top { animation: form-top 2.8s cubic-bezier(.25,.1,.25,1) both; }
.logo-button.is-playing .diamond-right { animation: form-right 2.8s cubic-bezier(.25,.1,.25,1) both; }
.logo-button.is-playing .diamond-bottom { animation: form-bottom 2.8s cubic-bezier(.25,.1,.25,1) both; }
.logo-button.is-playing .diamond-left { animation: form-left 2.8s cubic-bezier(.25,.1,.25,1) both; }
.logo-button.is-playing .logo-spark { animation: form-spark 3.2s cubic-bezier(.25,.1,.25,1) both; }

.ethos-main { border-top: 1px solid var(--line); scroll-margin-top: 24px; padding: 64px 0 80px; }
.ethos-heading { margin-bottom: 56px; }
.gold-dash { display: block; width: 48px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.ethos-heading h2 { font-size: clamp(58px, 6vw, 84px); line-height: 1.1; letter-spacing: -.035em; margin: 0; }
.ethos-intro { max-width: 800px; margin-top: 28px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.75; }
.ethos-intro p { margin: 0; }
.ethos-intro p + p { margin-top: 6px; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; }
.principle { position: relative; display: grid; grid-template-rows: auto 112px auto; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
/* Shared rows keep every numeral, title and body aligned as headings wrap. */
@supports (grid-template-rows: subgrid) {
  .principle { grid-template-rows: subgrid; grid-row: span 3; }
}
.principle::before { content: ''; position: absolute; top: -1px; width: 38px; height: 1px; background: var(--gold); }
.principle:target { border-top-color: var(--gold); }
.principle-number { display: block; font-family: var(--serif); font-size: 46px; color: var(--gold); line-height: 1; margin-bottom: 24px; }
.principle h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; margin-bottom: 28px; }
.principle-copy { font-size: 14px; line-height: 1.75; color: var(--ink); }
.principle-copy p { margin-bottom: 16px; }
.principle-copy p:last-child { margin-bottom: 0; }
.site-footer { flex-shrink: 0; border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.copyright { font-size: 11px; line-height: 1.6; }
.reveal-pending { opacity: 0; transform: translateY(14px); }
.is-revealed { animation: reveal-in .8s cubic-bezier(.2,.65,.3,1) var(--reveal-delay,0ms) both; }

@keyframes reveal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wordmark-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes form-top { from { opacity: 0; transform: translateY(-48px) rotate(-12deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes form-right { from { opacity: 0; transform: translateX(48px) rotate(-12deg); } to { opacity: 1; transform: translateX(0) rotate(0); } }
@keyframes form-bottom { from { opacity: 0; transform: translateY(48px) rotate(-12deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes form-left { from { opacity: 0; transform: translateX(-48px) rotate(-12deg); } to { opacity: 1; transform: translateX(0) rotate(0); } }
@keyframes form-spark { from { opacity: 0; transform: scale(.15) rotate(-90deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

@media (max-width: 1100px) {
  .page-shell { width: calc(100% - 80px); }
  .intro-layout { gap: 40px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
  .principle:nth-child(n+3) { margin-top: 44px; }
  .principle h3 { font-size: 27px; }
}
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 48px); }
  .site-header { min-height: 108px; }
  .brand-lockup { width: 70px; height: 74px; }
  nav { gap: 24px; }
  .intro-layout { grid-template-columns: 1fr; gap: 44px; padding: 44px 0 56px; }
  .intro-copy h1 { font-size: clamp(44px, 14.8vw, 78px); margin-bottom: 28px; }
  .identity { order: -1; max-width: 260px; }
  .logo-button { padding: 0 20px; }
  .ethos-main { padding: 44px 0 56px; }
  .ethos-heading { margin-bottom: 36px; }
  .ethos-heading h2 { font-size: clamp(48px, 12vw, 68px); }
}
@media (max-width: 620px) {
  .principles { grid-template-columns: 1fr; gap: 32px; }
  .principle, .principle:nth-child(n+3) { grid-row: auto; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 20px; padding-top: 24px; margin-top: 0; }
  .principle-number { grid-column: 1; grid-row: 1; font-size: 34px; line-height: 1.2; margin: 0; }
  .principle h3 { grid-column: 2; grid-row: 1; font-size: 26px; margin-bottom: 20px; }
  .principle-copy { grid-column: 2; grid-row: 2; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-pending { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .reveal-pending, .is-revealed { opacity: 1 !important; transform: none !important; animation: none !important; }
}
