/* Palette: navy, slate grey and white */
:root {
  --granite: #0f1f33;
  --granite-2: #1a2d45;
  --snow: #ffffff;
  --sand: #eef1f5;
  --sage: #8a94a3;
  --sage-dark: #4b5868;
  --rust: #2563a8;
  --rust-light: #8cbcea;
  --ink: #0f1f33;
  --muted: #5a6676;
  --rule: rgba(15, 31, 51, .14);
  --rule-light: rgba(255, 255, 255, .16);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--serif); font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: .45em; }
h2 em, h1 em { font-style: italic; color: var(--rust); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.big { font-size: 1.32rem; line-height: 1.5; color: var(--ink); }
.tiny { font-size: .82rem; color: var(--muted); margin-top: .6em; }
.placeholder { background: #fff3c4; border: 1px dashed #c9a227; padding: .6em .8em; font-size: .95rem; color: #6b5400; }

.label {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.6em;
}
.label span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0; color: var(--rust); font-weight: 400; }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.label.light { color: rgba(255, 255, 255, .7); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--granite); color: var(--snow); text-decoration: none;
  padding: 1em 1.6em; border-radius: 999px; font-weight: 500; font-size: .98rem;
  transition: transform .2s, background .2s;
}
.btn:hover { background: var(--rust); transform: translateY(-1px); }
.btn-light { background: var(--snow); color: var(--granite); }
.btn-light:hover { background: var(--rust-light); color: var(--granite); }
.link-light { color: var(--snow); opacity: .8; text-underline-offset: 4px; font-size: .98rem; }
.link-light:hover { opacity: 1; }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--rust); padding-bottom: 2px; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; color: var(--snow); transition: background .3s, color .3s, box-shadow .3s; }
.nav.scrolled, .nav.menu-open { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid currentColor; font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
}
.menu { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.menu a { text-decoration: none; opacity: .82; }
.menu a:hover { opacity: 1; }
.nav-cta { opacity: 1 !important; border: 1.5px solid currentColor; border-radius: 999px; padding: .5em 1.1em; }
.nav-cta:hover { background: var(--rust); border-color: var(--rust); color: var(--snow); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; cursor: pointer; }
.menu-btn span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .2s; }
.nav .menu-btn { color: inherit; }
.nav.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--granite); color: var(--snow); padding-top: 168px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 78% 18%, rgba(96, 156, 220, .22), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }
.kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .65); margin-bottom: 2.2em; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(3.2rem, 9.4vw, 8.4rem); line-height: .92; letter-spacing: -.025em;
  max-width: 11.5ch; margin-bottom: .45em;
}
.hero h1 em { color: var(--rust-light); }
.hero-row { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 48px; align-items: end; justify-content: space-between; }
.hero-lead { font-size: 1.2rem; color: rgba(255, 255, 255, .82); margin: 0; }
.hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.ridges { display: block; width: 100%; height: clamp(140px, 22vw, 300px); margin-top: 40px; position: relative; }
.ridges .r1 { fill: #1a2d45; }
.ridges .r2 { fill: var(--sage-dark); }
.ridges .r3 { fill: var(--snow); }

.stats { background: var(--snow); color: var(--ink); padding: 8px 0 72px; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.stats-grid > div { padding: 26px 24px 0 0; }
.stats-grid > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-bottom: .25em; }
.stats span { font-size: .92rem; color: var(--muted); display: block; max-width: 16em; }

/* Sections */
.section { padding: 120px 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--granite); color: var(--snow); }
.section.dark .label { color: rgba(255, 255, 255, .7); }
.section.dark h2 em { color: var(--rust-light); }
.section-head { max-width: 46rem; margin-bottom: 56px; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.sticky { position: sticky; top: 110px; }

.commitments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.commitments li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.commitments .n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--rust); line-height: 1; }
.commitments h3 { font-size: 1.25rem; margin-bottom: .35em; }
.commitments p { color: var(--muted); margin: 0; }

/* Quote */
.quote { background: var(--rust); color: var(--snow); padding: 110px 0; }
.quote blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.08; letter-spacing: -.01em; max-width: 22ch;
}
.quote-by { margin: 1.6em 0 0; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: saturate(.92); }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--rust); border-radius: 4px; z-index: -1; }
.about-photo figcaption { margin-top: 28px; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.about-text > p:not(.big):not(.label) { color: var(--muted); }
.about.no-photo { grid-template-columns: 1fr; }
.about.no-photo .about-text { max-width: 820px; }

/* Criteria spec sheet */
.spec { border-top: 1.5px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.spec-row h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.spec-row p { margin: 0; font-size: 1.15rem; }
.spec-row strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: -.01em; margin-right: .2em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid rgba(15, 31, 51, .3); border-radius: 999px; padding: .4em 1em; font-size: .95rem; background: #ffffff; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--rule-light); }
.timeline li { position: relative; padding-top: 40px; }
.dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--granite); border: 1.5px solid var(--rust-light); }
.timeline li:last-child .dot { background: var(--rust-light); }
.step { font-family: var(--serif); font-style: italic; color: var(--rust-light); font-size: 1.2rem; margin-bottom: .4em; }
.timeline h3 { font-size: 1.12rem; margin-bottom: .5em; }
.timeline p:not(.step) { color: rgba(255, 255, 255, .7); font-size: .97rem; margin: 0; }
.timeline-note { margin: 64px 0 0; padding-top: 24px; border-top: 1px solid var(--rule-light); color: rgba(255, 255, 255, .65); font-size: .95rem; }

/* Financing stack */
.stack { display: flex; height: 64px; margin: 36px 0 0; border-radius: 4px; overflow: hidden; font-size: .82rem; font-weight: 600; }
.seg { display: flex; align-items: flex-end; padding: 10px 12px; color: var(--snow); }
.seg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg-bank { flex: 75; background: var(--granite); }
.seg-eq { flex: 12; background: var(--sage-dark); }
.seg-note { flex: 13; background: var(--rust); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 1.5px solid var(--ink); }
details { border-bottom: 1px solid var(--rule); padding: 24px 0; }
summary { cursor: pointer; list-style: none; position: relative; padding-right: 40px; font-weight: 600; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--rust); border-bottom: 1.5px solid var(--rust); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { color: var(--muted); margin: .9em 0 0; }

/* Brokers */
.brokers .btn { margin-top: 1em; }
.quick { margin: 0; border-top: 1.5px solid var(--ink); }
.quick > div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.quick dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: .2em; }
.quick dd { margin: 0; font-size: 1.08rem; }

/* Contact */
.contact { background: var(--granite); color: var(--snow); padding: 130px 0 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 15% 10%, rgba(96, 156, 220, .16), transparent 70%);
}
.contact .wrap { position: relative; }
.contact-title { font-size: clamp(3rem, 8.5vw, 7.4rem); line-height: .95; letter-spacing: -.025em; margin-bottom: .6em; }
.contact-title em { color: var(--rust-light); }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-light); }
.contact-row a {
  display: block; padding: 28px 0; text-decoration: none; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--rule-light); transition: color .2s; word-break: break-word;
}
.contact-row a + a { padding-left: 32px; border-left: 1px solid var(--rule-light); }
.contact-row a:hover { color: var(--rust-light); }
.contact-row span { display: block; font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: .5em; }
.contact-note { margin: 28px 0 0; color: rgba(255, 255, 255, .65); max-width: 36rem; }
.ridges-foot { height: clamp(70px, 10vw, 140px); margin-top: 90px; }
.ridges-foot path { fill: #1a2d45; }

.footer { background: #1a2d45; color: rgba(255, 255, 255, .6); font-size: .88rem; padding: 4px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .8); }

/* Reveal on scroll */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .split, .about { grid-template-columns: 1fr; gap: 40px; }
  .sticky { position: static; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .timeline li { padding: 0 0 36px 44px; }
  .about-photo { max-width: 420px; }
  .hero-row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--snow); color: var(--ink); padding: 8px 16px 24px; box-shadow: 0 1px 0 var(--rule);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; width: 100%; font-size: 1.1rem; }
  .nav-cta { width: auto !important; margin-top: 8px; padding: .6em 1.2em !important; }
  .hero { padding-top: 120px; }
  .kicker { font-size: .7rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-grid > div { padding-bottom: 20px; }
  .section { padding: 80px 0; }
  .quote { padding: 80px 0; }
  .spec-row, .quick > div { grid-template-columns: 1fr; gap: 8px; }
  .faq { grid-template-columns: 1fr; }
  .faq details:nth-child(2) { border-top: 0; }
  .commitments li { grid-template-columns: 44px 1fr; }
  .contact { padding-top: 90px; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-row a + a { padding-left: 0; border-left: 0; }
  .about-photo::before { inset: 12px -12px -12px 12px; }
  .seg { font-size: .72rem; padding: 8px; }
  .seg-eq span, .seg-note span { display: none; }
}
