/* Lander Financial — website styles. Brand tokens: projects/lander-website/brand/ */
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-latin-300-italic.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/geist-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/geist-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --basalt: #0F100D;   /* ink: warm near-black */
  --basalt-2: #171814; /* raised surface on dark */
  --bone: #EEEBE3;     /* paper */
  --limestone: #D9D4C7;
  --clay: #9A7B5B;     /* earth accent: hairlines, numerals, focus. Never a fill. */
  --moss: #8A8B82;     /* muted text on dark */
  --slate: #5C5D56;    /* muted text on light */
  --rule-dark: rgba(238, 235, 227, .16);
  --rule-light: rgba(15, 16, 13, .16);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--basalt); color: var(--bone); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible { outline: 1px solid var(--clay); outline-offset: 4px; }
::selection { background: var(--clay); color: var(--basalt); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--bone); color: var(--basalt); padding: 8px 12px; z-index: 10; }

/* ---------- Lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.lockup .name { font: 500 15px/1 var(--sans); letter-spacing: .24em; }
.lockup .div { width: 1px; height: 18px; background: currentColor; opacity: .35; }
.lockup .sub { font: italic 300 19px/1 var(--serif); letter-spacing: 0; }

/* ---------- Header ---------- */
.site-head { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; border-bottom: 1px solid var(--rule-dark); }
.site-head nav { display: flex; gap: 32px; font-size: 13px; letter-spacing: .02em; }
.site-head nav a { text-decoration: none; color: var(--moss); transition: color .2s; }
.site-head nav a:hover { color: var(--bone); }
@media (max-width: 760px) { .site-head nav { display: none; } }

/* ---------- Type ---------- */
.display { font: 300 clamp(48px, 8.4vw, 120px)/.98 var(--serif); letter-spacing: -.02em; margin: 0; }
.display em, .h2 em, .lede em, .quote em { font-style: italic; }
.display em { display: block; }
.h2 { font: 300 clamp(36px, 5vw, 64px)/1.04 var(--serif); letter-spacing: -.015em; margin: 0; }
.h2 em { display: block; }
.lede { font: 300 clamp(20px, 2vw, 25px)/1.4 var(--serif); margin: 0; max-width: 34ch; }
.label { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin: 0; }
.num { font: 300 18px/1 var(--serif); color: var(--clay); }
.small { font-size: 13px; color: var(--moss); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  background: var(--basalt) url(/img/contours-dark.svg) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,13,.55) 0%, rgba(15,16,13,0) 35%, rgba(15,16,13,0) 60%, var(--basalt) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }
.hero .display { margin-bottom: 72px; max-width: 12ch; }
.infobar { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.infobar > * { padding: 22px 0; }
.infobar .side { border-left: 1px solid var(--rule-dark); padding-left: 32px; min-width: 220px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.infobar .side a { text-decoration: none; }
.infobar .side a:hover { text-decoration: underline; }
.hero-foot { display: flex; gap: 48px; padding-top: 18px; }
@media (max-width: 760px) {
  .infobar { grid-template-columns: 1fr; }
  .infobar .side { border-left: 0; border-top: 1px solid var(--rule-dark); padding-left: 0; }
}

/* ---------- Sections ---------- */
section { padding: clamp(96px, 12vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

.about .cols { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 32px; }
.about .cols p { margin: 0; color: var(--limestone); max-width: 46ch; }
@media (max-width: 860px) { .about .cols { grid-template-columns: 1fr; } .about .cols > :first-child { display: none; } }

/* Light band */
.light { background: var(--bone) url(/img/contours-light.svg) center / cover no-repeat; color: var(--basalt); }
.light .label, .light .small { color: var(--slate); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule-light); }
.service { padding: 40px 40px 48px 0; border-bottom: 1px solid var(--rule-light); display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; }
.service:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--rule-light); }
.service h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.15 var(--serif); margin: -4px 0 12px; }
.service p { grid-column: 2; margin: 0; color: var(--slate); max-width: 44ch; }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 32px 0 40px; border-left: 0; }
}

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule-dark); }
.principle { padding: 36px 32px 8px 0; }
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--rule-dark); }
.principle h3 { font: 300 clamp(30px, 3vw, 40px)/1.05 var(--serif); margin: 18px 0 16px; }
.principle h3 em { font-style: italic; }
.principle p { margin: 0; color: var(--limestone); max-width: 34ch; }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--rule-dark); }
}

/* Statement */
.statement { text-align: left; border-top: 1px solid var(--rule-dark); }
.quote { font: 300 clamp(40px, 6.4vw, 92px)/1.02 var(--serif); letter-spacing: -.02em; margin: 0; max-width: 16ch; }
.quote em { display: block; }

/* Contact */
.contact { background: var(--basalt-2); border-top: 1px solid var(--rule-dark); }
.contact .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.contact .grid .body { border-top: 1px solid var(--rule-dark); padding-top: 24px; color: var(--limestone); }
.contact .grid .body p { margin: 0 0 12px; max-width: 42ch; }
@media (max-width: 860px) { .contact .grid { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { padding: 56px 0 40px; border-top: 1px solid var(--rule-dark); }
.site-foot .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--rule-dark); }
.site-foot .top nav { display: flex; gap: 28px; font-size: 13px; }
.site-foot .top nav a { text-decoration: none; color: var(--moss); }
.site-foot .top nav a:hover { color: var(--bone); }
.site-foot .legal { padding-top: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 32px; font-size: 12px; line-height: 1.7; color: var(--moss); }
.site-foot .legal p { margin: 0 0 10px; max-width: 92ch; }
@media (max-width: 860px) { .site-foot .legal { grid-template-columns: 1fr; gap: 8px; } }

/* Document pages */
.doc { padding: 168px 0 120px; }
.doc .body { max-width: 72ch; color: var(--limestone); }
.doc .body h2 { font: 400 28px/1.2 var(--serif); color: var(--bone); margin: 56px 0 12px; }
.doc .body p { margin: 0 0 16px; }

/* Motion: content rises gently once, never loops */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

.hero { padding: 0; }
.mt-s { margin-top: 22px; }
.mt-l { margin-top: 40px; }
