/* Nadlan Capital LLC — self-contained site styles. No third-party CSS or fonts. */

:root {
  --bg: #f6f4ef;
  --bg-warm: #ece8de;
  --bg-card: #fcfbf8;
  --ink: #121c2a;
  --ink-2: #334154;
  --muted: #5d6876;
  --line: #d8d2c5;
  --navy: #0e1a2b;
  --navy-2: #16263d;
  --navy-text: #f6f4ef;
  --navy-muted: #b4becc;
  --brass: #8c6d3f;
  --brass-bright: #c2a067;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(14, 26, 43, 0.04), 0 18px 40px -26px rgba(14, 26, 43, 0.25);
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --content: 72rem;
  --narrow: 48rem;
  --space: clamp(3.5rem, 6.5vw, 6.25rem);
  --header-h: 4.35rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--navy-text);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 6px;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(calc(100% - 2.5rem), var(--narrow));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark img {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
}
.wordmark span {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.nav a.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--navy-text);
}
.nav a.nav-cta:hover {
  background: var(--navy-2);
  color: var(--navy-text);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* Hero */
.hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.4rem);
  line-height: 1.09;
  color: var(--ink);
  margin-bottom: 1.15rem;
}
.lede {
  font-size: 1.18rem;
  color: var(--ink-2);
  max-width: 58ch;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn-primary {
  background: var(--navy);
  color: var(--navy-text);
}
.btn-primary:hover {
  background: var(--navy-2);
  color: var(--navy-text);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-card);
}
.hero-note {
  font-size: 0.92rem;
  color: var(--muted);
  border-left: 2px solid var(--brass);
  padding-left: 0.9rem;
  max-width: 56ch;
}

.spec-panel {
  background: var(--navy);
  color: var(--navy-text);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(194, 160, 103, 0.28);
}
.spec-panel-head {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass-bright);
  margin-bottom: 1rem;
}
.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(246, 244, 239, 0.12);
  font-size: 0.96rem;
}
.spec-list li:last-child { padding-bottom: 0; }
.spec-key { color: var(--navy-muted); }
.spec-val { font-weight: 600; text-align: right; color: var(--navy-text); }

/* Sections */
section { padding-block: var(--space); }
.band-warm {
  background: var(--bg-warm);
  border-block: 1px solid var(--line);
}
.band-navy {
  background: var(--navy);
  color: var(--navy-text);
}
.band-navy .section-kicker { color: var(--brass-bright); }
.band-navy .section-intro { color: var(--navy-muted); }
.band-navy a { color: var(--brass-bright); }

.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 0.65rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 0.85rem;
}
.section-intro {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 62ch;
  margin-bottom: 2.2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow);
}
.card-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brass);
  margin-bottom: 0.55rem;
}
.card h3 {
  font-size: 1.26rem;
  margin-bottom: 0.55rem;
}
.card p {
  color: var(--ink-2);
  font-size: 0.99rem;
}

/* White Paper section */
.wp-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(194, 160, 103, 0.14);
  border: 1px solid rgba(194, 160, 103, 0.35);
  color: var(--brass-bright);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.wp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 2rem;
}
.wp-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 244, 239, 0.14);
  border-radius: var(--radius);
  padding: 1.55rem;
}
.wp-card h3 {
  font-size: 1.18rem;
  color: var(--navy-text);
  margin-bottom: 0.5rem;
}
.wp-card p {
  color: var(--navy-muted);
  font-size: 0.98rem;
}
.wp-disclaimer {
  border-top: 1px solid rgba(246, 244, 239, 0.16);
  padding-top: 1.25rem;
  font-size: 0.94rem;
  color: var(--navy-muted);
  max-width: 70ch;
}

/* Private Portal / Gated Area */
.portal-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.portal-steps {
  margin: 1.25rem 0 1.65rem;
  padding: 0;
  list-style: none;
}
.portal-steps li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.99rem;
  color: var(--ink-2);
}
.portal-steps li strong { color: var(--ink); }
.portal-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.portal-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass);
  background: #f2ece0;
  border: 1px solid #dfd3bc;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.doc-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
}
.doc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 0.6rem;
  background: var(--bg);
  font-size: 0.94rem;
}
.doc-name { font-weight: 600; color: var(--ink); }
.doc-tag {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.portal-note {
  font-size: 0.89rem;
  color: var(--muted);
}

/* Important Notice */
.notice-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.65rem 1.85rem;
}
.notice-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}
.notice-panel p {
  font-size: 0.96rem;
  color: var(--ink-2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.2rem;
  background: var(--bg-warm);
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .wp-grid,
  .portal-layout {
    grid-template-columns: 1fr;
  }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.5rem 0; }
  .nav a.nav-cta { text-align: center; margin-top: 0.35rem; }
}
