:root {
  --night: #091721;
  --deep: #07121b;
  --bone: #eceeea;
  --bone-alt: #e5e9e6;
  --ink: #15252d;
  --mist: #b9c8ca;
  --line-dark: rgba(24, 43, 49, .18);
  --line-light: rgba(238, 248, 247, .25);
  --max: 1460px;
  --gutter: clamp(26px, 5.4vw, 92px);
  --serif: Iowan Old Style, Baskerville, 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #c0e9ea; outline-offset: 5px; }
::selection { background: #b6ced0; color: #0c1d28; }
.skip-link { position: absolute; z-index: 20; top: -70px; left: 20px; padding: 12px 18px; background: #fff; color: var(--ink); }
.skip-link:focus { top: 12px; }
.page-gutter { padding-inline: var(--gutter); }
.content-shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section-pad { padding-top: clamp(94px, 10.4vw, 160px); padding-bottom: clamp(100px, 11vw, 165px); }

/* Navigation */
.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 37px var(--gutter) 0; color: #f1f4f1; }
.brand { display: inline-flex; align-items: center; gap: 13px; transition: opacity .2s; }
.brand:hover { opacity: .78; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 auto; }
.brand-type { display: flex; flex-direction: column; gap: 5px; }
.brand-type strong { font-size: 16px; font-weight: 600; letter-spacing: .18em; line-height: 1; }
.brand-type small { font-size: 8px; font-weight: 500; letter-spacing: .165em; line-height: 1; color: #b0bdc2; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 47px); font-size: 11px; font-weight: 550; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a { padding-block: 10px; transition: color .25s; }
.main-nav a:hover { color: #bbd8de; }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: stretch; min-height: 780px; height: min(940px, 100svh); overflow: hidden; background: #0b1c29; color: #f0f3f0; }
.hero-scene { position: absolute; z-index: -3; inset: -2.5%; background: url('assets/endurance-hero.webp') 64% 51% / cover no-repeat; transform: translate3d(var(--scene-x, 0px),var(--scene-y, 0px),0) scale(1.045); will-change: transform; animation: scene-arrive 2s ease-out both; }
.hero-shadow { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(4,15,24,.91) 0%, rgba(5,17,28,.80) 28%, rgba(5,17,28,.46) 50%, rgba(6,20,33,.12) 79%, rgba(7,18,26,.10) 100%),linear-gradient(0deg, rgba(5,14,23,.76) 0%, rgba(7,17,25,0) 32%,rgba(7,17,25,.08) 75%,rgba(7,17,25,.47) 100%); }
.hero-grain { position: absolute; z-index: -1; inset: 0; opacity: .25; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.snow-layer { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { width: 100%; position: relative; z-index: 2; display: flex; align-items: center; padding-top: 88px; padding-bottom: 120px; }
.hero-copy { max-width: 720px; margin-top: 54px; }
.eyebrow { display: flex; align-items: center; gap: 16px; color: #60747b; font-weight: 550; font-size: 10px; letter-spacing: .22em; line-height: 1.8; }
.eyebrow-light { color: #cbd9db; }
.eyebrow-dash { display: inline-block; height: 1px; width: 28px; flex: 0 0 auto; background: currentColor; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: var(--serif); font-weight: 400; }
.hero h1 { font-size: clamp(74px, 9.5vw, 149px); line-height: .99; letter-spacing: -.068em; margin: 30px 0 30px -7px; text-wrap: balance; }
h1 em,h2 em { font-weight: 400; }
.hero h1 em { color: #cfdfdf; }
.hero-description { max-width: 432px; color: #d3dfe0; font-size: clamp(15px, 1.28vw, 18px); line-height: 1.75; font-weight: 350; letter-spacing: .015em; margin-bottom: 29px; }
.primary-link { display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid rgba(219,237,236,.7); padding-bottom: 9px; font-size: 12px; font-weight: 550; letter-spacing: .04em; transition: color .2s; }
.primary-link:hover { color: #a4dae1; }
.arrow-wrap { font-size: 22px; font-weight: 300; transition: transform .2s; }
.primary-link:hover .arrow-wrap { transform: translate(4px,-4px); }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 35px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(229,236,235,.83); font-size: 9px; letter-spacing: .16em; font-weight: 500; }
.scroll-cue { display: inline-flex; align-items: center; gap: 15px; white-space: nowrap; }
.scroll-rule { display: block; height: 1px; width: 33px; background: #9dcbd0; }
.scroll-cue > span:last-child { margin-left: 2px; font-size: 16px; transition: transform .2s; }
.scroll-cue:hover > span:last-child { transform: translateY(4px); }
@keyframes scene-arrive { from { opacity: .5; transform: scale(1.1) } to { opacity: 1; transform: translate3d(var(--scene-x,0px),var(--scene-y,0px),0) scale(1.045); } }

/* Section shared */
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line-dark); padding-top: 23px; color: #5d7276; font-size: 10px; font-weight: 650; letter-spacing: .17em; }
.section-label { color: #657c80; font-size: 10px; letter-spacing: .2em; font-weight: 650; margin-bottom: 23px; }

/* Principles */
.principles { background: var(--bone-alt); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-block: clamp(28px, 3.8svh, 48px) clamp(36px, 4.5svh, 58px); }
.principles > .content-shell { display: flex; flex: 1; flex-direction: column; }
.principles .section-topline { padding-top: 16px; }
.principles-heading { padding-top: clamp(22px, 3.2svh, 36px); padding-bottom: clamp(20px, 3svh, 32px); }
.principles-heading h2 { font-size: clamp(53px, 6vw, 91px); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 0; }
.principles-heading h2 em { color: #839d9f; }
.principles-list { display: flex; flex: 1; flex-direction: column; border-top: 1px solid var(--line-dark); }
.principle { display: grid; flex: 1; grid-template-columns: 80px 1fr minmax(250px, .75fr) 50px; align-items: center; min-height: clamp(104px, 13svh, 132px); border-bottom: 1px solid var(--line-dark); gap: 18px; padding: 19px 3px; transition: background .25s,padding .25s; }
.principle:hover { padding-left: 17px; padding-right: 17px; background: rgba(255,255,255,.27); }
.principle-number { color: #859797; font-size: 12px; letter-spacing: .08em; }
.principle h3 { font-family: var(--serif); font-size: clamp(34px, 3.55vw, 57px); font-weight: 400; letter-spacing: -.04em; margin: 0; }
.principle p { max-width: 325px; font-size: 14px; line-height: 1.75; color: #687c80; margin: 0; }
.principle-glyph { font-size: 25px; font-weight: 200; color: #728b90; text-align: right; }

.site-footer { color: #9eaeb2; background: #061018; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 99px; font-size: 11px; letter-spacing: .04em; }
.footer-brand { font-size: 12px; letter-spacing: .17em; color: #d6e0e1; font-weight: 600; white-space: nowrap; }
.footer-brand span { font-size: 9px; font-weight: 400; color: #a1b6b9; }
.site-footer a { transition: color .2s; white-space: nowrap; }
.site-footer a:hover { color: white; }

@media (min-width: 1600px) { .hero-scene { background-position: center 52%; } }
@media (max-width: 920px) {
  .hero { min-height: 750px; }
  .hero-shadow { background: linear-gradient(90deg, rgba(4,15,24,.88) 0%, rgba(5,17,28,.73) 36%, rgba(5,17,28,.32) 80%),linear-gradient(0deg, rgba(5,14,23,.82), transparent 32%,rgba(7,17,25,.35)); }
  .hero-copy { max-width: 620px; }
  .hero h1 { font-size: clamp(70px, 10.5vw, 105px); }
  .principle { grid-template-columns: 50px 1fr minmax(195px,.9fr) 24px; }
  .principle h3 { font-size: 39px; }
}
@media (max-width: 620px) {
  .site-header { padding-top: 26px; align-items: start; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-type strong { font-size: 12px; letter-spacing: .13em; }
  .brand-type small { font-size: 6.5px; }
  .main-nav { gap: 0; font-size: 9px; letter-spacing: .08em; }
  .hero { min-height: 720px; height: 100svh; max-height: 920px; }
  .hero-scene { background-position: 62% center; }
  .hero-shadow { background: linear-gradient(90deg,rgba(4,15,24,.78),rgba(4,15,24,.42) 100%), linear-gradient(0deg,rgba(4,14,23,.78),rgba(4,14,23,.10) 40%,rgba(4,14,23,.42)); }
  .hero-content { padding-top: 74px; padding-bottom: 85px; align-items: center; }
  .hero-copy { margin-top: 35px; }
  .eyebrow { font-size: 8px; letter-spacing: .125em; gap: 10px; }
  .eyebrow-dash { width: 20px; }
  .hero h1 { font-size: clamp(61px, 14.7vw, 94px); margin: 25px 0 27px -4px; letter-spacing: -.07em; }
  .hero-description { font-size: 15px; max-width: 335px; line-height: 1.65; }
  .hero-bottom { bottom: 29px; }
  .scroll-cue { font-size: 9px; }
  .section-topline { font-size: 8px; letter-spacing: .11em; }
  .section-topline span:last-child { text-align: right; }
  .principles { padding-top: 34px; padding-bottom: 42px; }
  .principles-heading { padding-top: 35px; padding-bottom: 30px; }
  .principles-heading h2 { font-size: clamp(49px,11vw,72px); }
  .principle { grid-template-columns: 38px 1fr 20px; grid-template-rows: auto auto; column-gap: 7px; row-gap: 9px; min-height: 0; padding-block: 24px; }
  .principle-number { align-self: start; padding-top: 8px; }
  .principle h3 { grid-column: 2; grid-row: 1; align-self: start; font-size: 39px; }
  .principle p { grid-column: 2; grid-row: 2; padding-top: 0; font-size: 13px; margin-top: 0; max-width: 95%; }
  .principle-glyph { grid-column: 3; grid-row: 1; align-self: start; font-size: 20px; }
  .footer-content { padding-block: 25px; flex-wrap: wrap; min-height: 120px; }
  .footer-brand { width: 100%; }
}
@media (max-width: 380px) { .hero h1 { font-size: 57px; } .brand-type strong { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .snow-layer { display: none; }
  .hero-scene { transform: none !important; will-change: auto; }
}
