:root {
  color-scheme: light;
  --paper: #f3f4ed;
  --ink: #172d25;
  --forest: #183e2f;
  --moss: #71816a;
  --citron: #d4ea8c;
  --line: #d8dcd0;
  --muted: #777e71;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); scroll-behavior: smooth; }
body { position: relative; isolation: isolate; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #6a8552; outline-offset: 4px; }
.ambient-canvas { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .94; pointer-events: none; }
.site-header, .hero, .principles, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 2; }
.has-scroll-dissolve [data-dissolve] { opacity: 0; filter: blur(4px); transform: translate3d(0, 9px, 0); transition: opacity .55s ease, filter .7s ease, transform .7s cubic-bezier(.2, .7, .15, 1); }
.has-scroll-dissolve [data-dissolve].is-in-view { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
.has-scroll-dissolve [data-dissolve]:focus-within { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }

.site-header { height: 88px; padding: 0 7.1%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-seal { --seal-tilt-x: 0deg; --seal-tilt-y: 0deg; --seal-glow-x: 50%; --seal-glow-y: 26%; width: 40px; height: 46px; position: relative; display: inline-block; overflow: hidden; background: linear-gradient(140deg, #755321 0%, #f4dfa0 15%, #9a702f 34%, #f7e9b8 52%, #ad823a 71%, #6c4b1d 100%); filter: drop-shadow(0 2px 3px #50391655); transform: perspective(360px) rotateX(var(--seal-tilt-x)) rotateY(var(--seal-tilt-y)); transform-style: preserve-3d; transition: transform .22s cubic-bezier(.18, .8, .25, 1), filter .22s ease; will-change: transform; clip-path: polygon(5% 0, 95% 0, 94% 59%, 82% 80%, 50% 100%, 18% 80%, 6% 59%); }
.brand-seal::before, .brand-seal::after { position: absolute; content: ""; }
.brand-seal::before { inset: 1px; z-index: 0; background: radial-gradient(circle at var(--seal-glow-x) var(--seal-glow-y), #fff4c2b8 0%, transparent 48%), linear-gradient(145deg, #f9f0d7 0%, #e5d3aa 38%, #faf0d5 72%, #d8c298 100%); clip-path: polygon(5% 0, 95% 0, 94% 59%, 82% 80%, 50% 100%, 18% 80%, 6% 59%); }
.brand-seal::after { top: 16%; left: calc(50% - .5px); z-index: 2; width: 1px; height: 60%; background: linear-gradient(180deg, #fff4c7, #98702d 45%, #fff1bb 65%, #70501f); box-shadow: 0 0 2px #9f773d; }
.brand-seal .crest-orbit { position: absolute; top: 11%; left: 17%; z-index: 1; width: 64%; aspect-ratio: 1; border: 1px solid #96723a; border-radius: 50%; box-shadow: inset 0 0 0 1px #fff8dc88, 0 0 5px #b88d4938; }
.brand-seal .crest-orbit::before { position: absolute; inset: 3px; border: 1px dashed #a582465c; border-radius: 50%; content: ""; }
.brand-seal .crest-orbit::after { position: absolute; top: 17%; right: -2px; width: 3px; height: 3px; background: #936a29; border: 1px solid #fff2c5; border-radius: 50%; box-shadow: 0 0 4px #d3aa64; content: ""; }
.brand-seal .crest-guard { position: absolute; top: 36%; left: 31%; z-index: 3; width: 38%; height: 2px; background: linear-gradient(90deg, #956b2a, #fff1ba 48%, #896125); box-shadow: 0 1px 2px #77572977; transform: rotate(-12deg); }
.brand-seal .crest-guard::before, .brand-seal .crest-guard::after { position: absolute; top: -1px; width: 3px; height: 3px; background: #bd914c; border: 1px solid #fff0bb; border-radius: 50%; content: ""; }
.brand-seal .crest-guard::before { left: -1px; }
.brand-seal .crest-guard::after { right: -1px; }
.brand-seal .crest-star { position: absolute; top: 13%; right: 18%; z-index: 4; padding-left: 2px; color: #92702e; text-shadow: 0 0 4px #e8cd87, 0 1px 0 #fff5cf; background: #f6ebcd; font-size: 7px; line-height: 1; }
.brand-name { font-size: 12px; font-weight: 650; letter-spacing: 1.4px; }
.brand-subtitle { display: block; margin-top: 4px; font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: 3.1px; }
.header-nav { display: flex; align-items: center; gap: 36px; font-size: 12px; font-weight: 500; }
.nav-contact span, .footer-email span { padding-left: 5px; color: var(--moss); }
.access-trigger { display: inline-flex; align-items: center; gap: 10px; min-height: 39px; padding: 0 15px; color: var(--ink); background: transparent; border: 1px solid #c6ccbd; cursor: pointer; transition: background .2s, border-color .2s; }
.access-trigger:hover, .access-trigger[aria-expanded="true"] { background: #eaede3; border-color: var(--forest); }
.lock-icon { position: relative; width: 10px; height: 8px; margin-top: 3px; border: 1px solid var(--forest); }
.lock-icon::before { position: absolute; bottom: 6px; left: 1px; width: 6px; height: 7px; border: 1px solid var(--forest); border-bottom: 0; border-radius: 5px 5px 0 0; content: ""; }

.hero { position: relative; min-height: 542px; padding: 76px 11.3% 73px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5.5%; overflow: hidden; }
.hero::before, .hero::after { position: absolute; inset: 0; z-index: 0; content: ""; pointer-events: none; }
.hero::before { opacity: .38; background-image: radial-gradient(circle, #4b5d4133 .65px, transparent .9px); background-size: 24px 24px; mask-image: radial-gradient(ellipse at 75% 49%, #000 12%, transparent 84%); }
.hero::after { opacity: .34; background-image: repeating-radial-gradient(circle at 76% 53%, transparent 0 66px, #71816a16 67px 68px, transparent 69px 112px); mask-image: radial-gradient(ellipse at 76% 53%, #000 20%, transparent 100%); }
.hero-copy { position: relative; z-index: 1; padding-bottom: 7px; }
.eyebrow, .action-note, .hero-index, .plate-topline, .plate-axis, .plate-coordinate, .hero-caption, .section-index, .principle-number, .footer-note, .copyright, .password-label, .portal-reference { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: 1.15px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 29px; color: var(--moss); text-transform: uppercase; }
.status-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #80a348; box-shadow: 0 0 9px #a4bd6d75; }
h1, .principle-intro > p, .portal-main h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px, 5.7vw, 76px); font-weight: 400; letter-spacing: 0; line-height: .99; }
h1 em, .principle-intro em, .portal-main h1 em { color: var(--forest); font-weight: 400; }
.hero-description { max-width: 365px; margin: 21px 0 0; color: #646b60; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 19px; margin-top: 29px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 46px; padding: 0 17px; color: var(--paper); background: var(--forest); font-size: 12px; font-weight: 500; transition: background .2s, color .2s; }
.primary-link:hover { color: var(--ink); background: var(--citron); }
.primary-link span { color: var(--citron); font-size: 15px; }
.primary-link:hover span { color: var(--forest); }
.action-note { color: #828779; font-size: 8px; }
.hero-index { display: flex; align-items: center; gap: 11px; margin-top: 42px; color: #858a7d; font-size: 8px; }
.hero-index > span:first-child { color: var(--forest); }
.index-rule { width: 37px; height: 1px; background: #bdc4b5; }

.field-plate { position: relative; z-index: 1; width: 100%; max-width: 422px; aspect-ratio: 1.12; justify-self: end; overflow: hidden; background: radial-gradient(ellipse at 52% 50%, rgba(238, 240, 229, .82) 0%, rgba(239, 240, 232, .79) 46%, rgba(232, 235, 224, .82) 100%); border: 1px solid #dce0d5; backdrop-filter: blur(1px); animation: plate-enter .8s both; }
.field-plate::before { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(#76876a0a 1px, transparent 1px), linear-gradient(90deg, #76876a0a 1px, transparent 1px); background-size: 29px 29px; content: ""; pointer-events: none; }
.plate-topline { position: absolute; top: 17px; right: 17px; left: 17px; z-index: 3; display: flex; justify-content: space-between; color: #717c6d; font-size: 8px; }
.plate-live { display: flex; align-items: center; gap: 6px; }
.research-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-axis { position: absolute; z-index: 2; color: #667064; font-size: 8px; }
.plate-axis span { color: #557440; }
.plate-axis-top { top: 53px; left: 18px; }
.plate-axis-bottom { right: 16px; bottom: 16px; }
.plate-coordinate { position: absolute; z-index: 2; color: #858b7d; font-size: 8px; }
.coordinate-top { top: 54px; right: 18px; }
.coordinate-bottom { bottom: 31px; left: 18px; }
.orbit { position: absolute; z-index: 1; top: 50%; left: 50%; width: 48%; aspect-ratio: 1; border: 1px solid #73836418; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.orbit-two { width: 71%; border-style: dashed; border-color: #73836420; }
.hero-caption { position: absolute; right: 11.3%; bottom: 31px; color: #858b7d; font-size: 8px; }

.principles { min-height: 188px; padding: 36px 11.3% 41px; display: grid; grid-template-columns: 1.38fr repeat(3, 1fr); gap: 4.5%; align-items: start; background: rgba(233, 236, 227, .84); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-intro > .section-index { color: #788270; }
.principle-intro > p { margin-top: 17px; font-size: 23px; line-height: 1.18; }
.principle-intro em { color: #737d69; }
.principle { padding-top: 2px; }
.principle-number { display: inline-block; margin-bottom: 18px; color: #758268; }
.principle h2 { margin: 0; font-size: 12px; font-weight: 600; }
.principle > p { max-width: 185px; margin: 9px 0 0; color: #70766a; font-size: 11px; line-height: 1.7; }

.site-footer { min-height: 71px; padding: 0 7.1%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-mark { font-size: 10px; font-weight: 650; letter-spacing: 1.25px; }
.footer-mark span { color: #7b8377; font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: 1.8px; }
.footer-note, .copyright { color: #878b80; font-size: 8px; }
.footer-email { font-size: 11px; }

.access-dialog { width: min(440px, calc(100% - 32px)); max-width: none; padding: 0; color: var(--ink); background: var(--paper); border: 1px solid #cbd2c3; box-shadow: 0 24px 100px #16271e30; }
.access-dialog::backdrop { background: #1e2a21a6; backdrop-filter: blur(3px); }
.access-dialog[open] { animation: dialog-enter .2s ease-out; }
.dialog-shell { position: relative; padding: 45px 42px 38px; }
.dialog-close { position: absolute; top: 17px; right: 19px; width: 30px; height: 30px; padding: 0; color: var(--ink); background: transparent; border: 0; cursor: pointer; font-size: 23px; font-weight: 300; }
.dialog-seal { width: 48px; height: 56px; margin-bottom: 26px; }
.dialog-eyebrow { margin-bottom: 14px; font-size: 8px; }
.dialog-shell h2 { margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 400; }
.dialog-description { margin: 10px 0 27px; color: #73796d; font-size: 12px; line-height: 1.7; }
.password-label { display: block; margin-bottom: 9px; color: #727a6d; font-size: 8px; }
.password-field { display: flex; align-items: center; min-height: 45px; border: 1px solid #cbd0c4; }
.password-field input { width: 100%; height: 43px; padding: 0 12px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 12px; }
.password-field:focus-within { border-color: var(--forest); outline: 2px solid #6a855244; outline-offset: 2px; }
.password-toggle { height: 42px; padding: 0 12px; color: #77816d; background: none; border: none; cursor: pointer; font-family: var(--mono); font-size: 8px; letter-spacing: .7px; }
.access-error { min-height: 18px; margin: 8px 0 0; color: #974936; font-size: 11px; line-height: 1.5; }
.dialog-submit { width: 100%; min-height: 46px; margin-top: 11px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: var(--paper); background: var(--forest); border: 0; cursor: pointer; font-size: 12px; }
.dialog-submit:hover { color: var(--ink); background: var(--citron); }
.dialog-submit:disabled { cursor: wait; opacity: .7; }
.dialog-note { margin: 20px 0 0; color: #797f74; font-size: 10px; }
.dialog-note a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.portal-main { position: relative; min-height: calc(100svh - 89px); padding: 100px 14% 95px; overflow: hidden; }
.portal-main::before { position: absolute; z-index: -1; top: 55px; right: -100px; width: 420px; aspect-ratio: 1; border: 1px solid #7b89681a; border-radius: 50%; box-shadow: 0 0 0 43px #7b89660b, 0 0 0 86px #7b896608, 0 0 0 129px #7b896605; content: ""; }
.portal-main > .eyebrow { margin-bottom: 46px; }
.portal-seal { width: 54px; height: 63px; margin-bottom: 26px; }
.portal-main h1 { font-size: clamp(58px, 8vw, 92px); }
.portal-description { max-width: 395px; margin: 22px 0 26px; color: #6d7468; font-size: 14px; line-height: 1.8; }
.logout-link { color: #636d60; font-size: 11px; }
.logout-link span { margin-left: 5px; }
.portal-reference { margin-top: 57px; color: #858b7d; font-size: 8px; }

@keyframes plate-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) { .hero { min-height: 600px; } }
@media (max-width: 800px) {
  .site-header { height: 75px; padding: 0 6%; }
  .header-nav { gap: 19px; }
  .hero { padding: 68px 8% 65px; grid-template-columns: 1fr 1fr; gap: 4%; }
  h1 { font-size: clamp(55px, 8vw, 72px); }
  .field-plate { aspect-ratio: .95; }
  .hero-caption { right: 8%; }
  .principles { padding: 34px 8%; grid-template-columns: repeat(2, 1fr); gap: 30px 8%; }
  .principle-intro > p { font-size: 21px; }
  .principle-number { margin-bottom: 10px; }
  .site-footer { min-height: 69px; padding: 0 6%; }
  .footer-note { display: none; }
}
@media (max-width: 560px) {
  .site-header { height: 69px; }
  .brand { gap: 9px; }
  .brand-seal { width: 36px; height: 42px; }
  .header-nav { gap: 14px; font-size: 11px; }
  .access-trigger { gap: 8px; min-height: 35px; padding: 0 10px; }
  .hero { padding: 59px 7% 64px; grid-template-columns: 1fr; gap: 33px; }
  .hero-copy { padding-bottom: 0; }
  .eyebrow { margin-bottom: 23px; font-size: 8px; }
  h1 { font-size: clamp(56px, 13vw, 69px); }
  .hero-description { max-width: 330px; margin-top: 16px; font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 11px; margin-top: 22px; }
  .hero-index { margin-top: 28px; }
  .field-plate { max-width: none; aspect-ratio: 1.14; }
  .hero-caption { right: 7%; bottom: 35px; font-size: 7px; }
  .principles { padding: 31px 7% 35px; gap: 27px 7%; }
  .principle-intro > p { margin-top: 12px; font-size: 20px; }
  .principle h2 { font-size: 11px; }
  .principle > p { font-size: 10px; }
  .site-footer { padding: 17px 7%; min-height: 74px; flex-wrap: wrap; gap: 8px 14px; }
  .footer-email { font-size: 10px; }
  .copyright { font-size: 7px; }
  .dialog-shell { padding: 40px 27px 30px; }
  .portal-main { min-height: calc(100svh - 69px); padding: 75px 8% 65px; }
  .portal-main h1 { font-size: clamp(57px, 12vw, 76px); }
  .portal-main > .eyebrow { margin-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-scroll-dissolve [data-dissolve] { opacity: 1; filter: none; transform: none; transition: none; }
}