:root {
  --navy: #0B1A2E;
  --navy-2: #0E1F36;
  --harbor: #13294B;
  --line: #22334C;
  --grid: rgba(196, 202, 212, 0.045);
  --brass: #B08D57;
  --brass-light: #C9A86A;
  --brass-pale: #E2C48C;
  --ivory: #F4F1EA;
  --mist: #B9C0CC;
  --slate: #8A94A6;
  --font: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--brass); color: var(--navy); }
a { color: var(--brass-light); }
a:hover { color: var(--brass-pale); }
:focus-visible { outline: 1px solid var(--brass-light); outline-offset: 4px; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}


/* Header */
.site-header { padding-top: 36px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ivory); text-decoration: none; }
.brand:hover { color: var(--ivory); }
.brand svg { width: 34px; height: 34px; flex: none; }
.wordmark { display: flex; align-items: baseline; gap: 8px; }
.wordmark .num { font-size: 25px; font-weight: 800; letter-spacing: -0.045em; }
.wordmark .word { font-size: 12px; font-weight: 300; letter-spacing: 0.34em; }

/* Mark: bars rise once on load */
.mark rect { transform-box: fill-box; transform-origin: bottom; }
@media (prefers-reduced-motion: no-preference) {
  .mark rect { animation: rise 1.1s var(--ease) both; }
  .mark rect:nth-child(2) { animation-delay: .12s; }
  .mark rect:nth-child(3) { animation-delay: .24s; }
}
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Quiet text link with a hairline that extends on hover */
.link-line {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--ivory); white-space: nowrap;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--brass);
  transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease);
}
.link-line:hover { color: var(--ivory); }
.link-line:hover::after { transform: scaleX(1); }
.link-line svg { width: 14px; height: 14px; color: var(--brass-light); transition: transform .5s var(--ease); }
.link-line:hover svg { transform: translateX(3px); }

/* Hero */
.hero {
  flex: 1;
  padding-top: clamp(5rem, 16vh, 11rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: center; row-gap: 2.75rem;
}
.eyebrow {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-light);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass); }
.hero h1 {
  grid-column: 1 / span 4; margin: 0; max-width: 15.5em;
  font-size: clamp(2.4rem, 5.6vw, 4.9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04;
  text-wrap: balance;
}
.hero h1 .soft { color: var(--mist); }

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 1.2s var(--ease) both; }
  .reveal.d1 { animation-delay: .15s; }
  .reveal.d2 { animation-delay: .35s; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Asset classes, aligned to the column lines */
.assets {
  margin: 0 auto; padding-bottom: clamp(4rem, 9vh, 6rem); list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.assets li { padding: 26px 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.assets .idx { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--brass-light); }
.assets .name { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.assets .lead { border-top-color: transparent; }
.assets .lead span { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }

/* Footer */
.site-footer {
  padding-top: 26px; padding-bottom: 40px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 0;
  font-size: 12px; line-height: 1.6; color: var(--slate); position: relative;
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 5%; right: 5%; height: 1px; background: var(--line); }
.site-footer .legal { grid-column: 1 / span 2; max-width: 46ch; }
.site-footer .coords { grid-column: 4; justify-self: end; letter-spacing: 0.12em; color: var(--brass-light); white-space: nowrap; }

/* Login: split layout */
.split { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 100vh; }
.panel {
  background: var(--navy-2); border-right: 1px solid var(--line);
  padding: 36px 8% 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.panel .big-mark { width: clamp(96px, 12vw, 168px); height: auto; }
.panel .statement { margin: 28px 0 0; max-width: 18em; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; color: var(--ivory); text-wrap: balance; }
.panel .coords { font-size: 12px; letter-spacing: 0.12em; color: var(--brass-light); }

.form-side { display: flex; flex-direction: column; padding: 36px 8% 40px; }
.form-side .top { display: flex; justify-content: flex-end; }
.form-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 400px; margin: 0 auto; padding: 4rem 0; gap: 40px; }
.form-wrap h1 { margin: 16px 0 0; font-size: 34px; font-weight: 600; letter-spacing: -0.035em; }
.form-wrap form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.field-top a { font-size: 12px; text-decoration: none; }
.field input {
  min-height: 48px; padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--ivory); font-family: var(--font); font-size: 17px; transition: border-color .3s var(--ease);
}
.field input::placeholder { color: #56627A; }
.field input:focus { outline: none; border-bottom-color: var(--brass-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 22px;
  background: var(--brass); border: 0; color: var(--navy); font-family: var(--font);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
  transition: background-color .3s var(--ease);
}
.btn:hover { background: var(--brass-light); }
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--brass-pale); border: 1px solid var(--brass); min-height: 48px; padding: 0 22px; text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
.btn-outline:hover { background: var(--brass-light); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--brass-pale); border: 1px solid var(--brass); justify-content: center; min-height: 44px; }
.btn-ghost:hover { background: transparent; border-color: var(--brass-light); }

.small { margin: 0; font-size: 14px; line-height: 1.6; color: var(--mist); }
.small a { text-decoration: none; border-bottom: 1px solid currentColor; }
.notice { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--mist); }
[hidden] { display: none !important; }

/* Small screens */
@media (max-width: 760px) {
  .site-header .btn-outline { min-height: 44px; padding: 0 14px; font-size: 11px; letter-spacing: 0.12em; }
  .site-header .btn-outline svg { display: none; }
  .site-header .brand { gap: 10px; }
  .site-header .brand svg { width: 28px; height: 28px; }
  .site-header .wordmark .num { font-size: 22px; }
  .site-header .wordmark .word { font-size: 11px; letter-spacing: 0.28em; }
  .hero, .assets, .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { grid-column: 1 / -1; }
  .assets .lead { grid-column: 1 / -1; padding-top: 0; padding-bottom: 8px; }
  .assets li:last-child { grid-column: 1 / -1; padding-bottom: 8px; }
  .site-footer .legal { grid-column: 1 / -1; }
  .site-footer .coords { grid-column: 1 / -1; justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .panel { border-right: 0; border-bottom: 1px solid var(--line); gap: 24px; }
  .panel .big-mark, .panel .coords { display: none; }
  .panel .statement { margin-top: 0; }
  .form-side .top { display: none; }
  .form-wrap { padding: 2.5rem 0; }
}

/* Login placeholder helpers (buttons instead of dead links). */
.text-button { border:0; padding:0; background:transparent; color:var(--brass-light); font:inherit; cursor:pointer; text-align:left; }
.text-button:hover { color: var(--brass-pale); }
.small .text-button { border-bottom:1px solid currentColor; }
