/* ============================================================
   AM Energy Resources — design system
   ============================================================ */
:root {
  /* Brand */
  --c-navy:        #0B1E33;  /* primary surface */
  --c-navy-2:      #0F2A45;  /* elevated surface */
  --c-navy-3:      #16334F;  /* hover surface */
  --c-ink:         #0A1623;  /* near-black */
  --c-fog:         #F4F6F8;  /* light bg */
  --c-paper:       #FFFFFF;
  --c-rule:        #E2E6EB;
  --c-rule-dark:   #1F3753;
  --c-text:        #18283C;
  --c-text-2:      #4A5A6E;
  --c-text-3:      #7F8A99;
  --c-teal:        #1FB6C9;  /* logo blue, brightened */
  --c-teal-2:      #0E8FA1;
  --c-orange:      #E25822;  /* logo orange, primary CTA */
  --c-orange-2:    #C3461A;
  --c-success:     #2F855A;

  /* Type */
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Inter', system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(11,30,51,.06);
  --sh-md: 0 6px 24px rgba(11,30,51,.08);
  --sh-lg: 0 18px 60px rgba(11,30,51,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--c-orange); text-decoration: none; }
a:hover { color: var(--c-orange-2); }

/* ------------------- Type ------------------- */
.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--c-teal-2);
}
.eyebrow.on-dark { color: var(--c-teal); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--c-ink); margin: 0 0 .5em; letter-spacing: -.012em; line-height: 1.1; }
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.25; }
h4 { font-size: 18px; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--c-text); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--c-text-2); line-height: 1.5; }
small, .meta { font-size: 13px; color: var(--c-text-3); }
.on-dark { color: #DDE6F1; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: #C4D1E0; }
.on-dark .lede { color: #C4D1E0; }

/* ------------------- Layout ------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.rule { height: 1px; background: var(--c-rule); border: 0; margin: 0; }
.rule-dark { height: 1px; background: var(--c-rule-dark); border: 0; margin: 0; }

/* ------------------- Buttons ------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  font: inherit; font-weight: 600; font-size: 15px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary    { background: var(--c-orange); color: #fff; }
.btn-primary:hover { background: var(--c-orange-2); color: #fff; }
.btn-secondary  { background: transparent; color: var(--c-ink); border-color: var(--c-rule); }
.btn-secondary:hover { background: var(--c-fog); color: var(--c-ink); }
/* On dark/photo backgrounds the secondary CTA uses the brand teal for strong, consistent contrast */
.btn-secondary.on-dark { background: var(--c-teal); color: #fff; border-color: var(--c-teal); }
.btn-secondary.on-dark:hover { background: var(--c-teal-2, #18a2b4); border-color: var(--c-teal-2, #18a2b4); color: #fff; }
.btn-ghost      { background: transparent; color: var(--c-orange); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--c-orange-2); }
.btn-arrow::after { content: "→"; transform: translateX(0); transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ------------------- Header ------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--c-rule);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-header .logo { display:flex; align-items:center; gap: 10px; }
.site-header .logo img { height: 38px; width: auto; }
.site-header nav ul {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.site-header nav a {
  color: var(--c-ink); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] {
  color: var(--c-orange); border-bottom-color: var(--c-orange);
}
.site-header .cta { margin-left: 8px; }

@media (max-width: 880px) {
  .site-header nav { display: none; }
  .site-header .cta { display: none; }
  .mobile-toggle { display: block !important; }
}
.mobile-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.mobile-toggle svg { width: 24px; height: 24px; color: var(--c-ink); }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--c-rule); padding: 8px 0 16px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0 var(--gutter); }
.mobile-nav li a { display: block; padding: 12px 0; color: var(--c-ink); font-weight: 500; border-bottom: 1px solid var(--c-rule); text-decoration: none; }
.mobile-nav .btn { margin-top: 12px; }

/* ------------------- Hero ------------------- */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center;
  color: #fff;
  background: var(--c-ink);
  overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  opacity: 1;
}
.hero .bg::after {
  content:""; position:absolute; inset:0;
  /* Darken top and bottom so bright skies/suns don't wash out white text */
  background: linear-gradient(180deg, rgba(10,22,35,.55) 0%, rgba(10,22,35,.25) 35%, rgba(10,22,35,.20) 60%, rgba(10,22,35,.60) 100%);
}
.hero h1, .hero .lede { text-shadow: 0 2px 18px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.6); }
.hero .inner { position: relative; padding: 96px 0; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lede { color: #D8E2EF; max-width: 620px; }
.hero .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero.small { min-height: 48vh; }
.hero.small .inner { padding: 160px 0 72px; max-width: 820px; }

/* ------------------- Proof bar ------------------- */
.proof-bar {
  background: var(--c-ink); color: #fff;
  padding: 36px 0;
  border-top: 1px solid var(--c-rule-dark);
  border-bottom: 1px solid var(--c-rule-dark);
}
.proof-bar .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat .big {
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 700;
  letter-spacing: -.02em; color: #fff; line-height: 1.05;
}
.stat .big .unit { color: var(--c-teal); font-weight: 600; }
.stat .label {
  margin-top: 8px; font-size: 13px; color: #98A8BC;
  letter-spacing: .04em;
}
@media (max-width: 720px) {
  .proof-bar .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ------------------- Cards ------------------- */
.card {
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card.hover:hover {
  transform: translateY(-3px); border-color: #C7D0DC;
  box-shadow: var(--sh-md);
}
.card .icon { width: 36px; height: 36px; color: var(--c-teal-2); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--c-text-2); margin-bottom: 0; }

.tile {
  display:block; padding: 32px; border-radius: var(--r-lg);
  background: var(--c-fog); border: 1px solid var(--c-rule);
  text-decoration: none; color: var(--c-ink);
  transition: all .15s ease;
}
.tile:hover { background: #fff; border-color: var(--c-teal); box-shadow: var(--sh-md); color: var(--c-ink); }
.tile .badge {
  display:inline-block; background: #fff; color: var(--c-teal-2);
  border: 1px solid var(--c-rule);
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}
.tile h3 { margin: 16px 0 8px; }
.tile p { color: var(--c-text-2); margin: 0 0 16px; }
.tile .arrow { color: var(--c-orange); font-weight: 600; }
.inquiry-embed { background: #fff; border: 1px solid var(--c-rule); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--sh-md); overflow: hidden; }
.inquiry-embed iframe { display: block; }
.tile.is-coming-soon { opacity: .65; cursor: default; pointer-events: none; }
.tile.is-coming-soon:hover { background: var(--c-fog); border-color: var(--c-rule); box-shadow: none; }
.tile.is-coming-soon .arrow { color: var(--c-text-2); }

/* ------------------- Grids ------------------- */
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ------------------- Map section ------------------- */
.map-wrap {
  background: var(--c-fog);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-rule);
  padding: 32px;
}
.us-map { width: 100%; height: auto; }
.us-map .state { fill: #DCE2EA; stroke: #fff; stroke-width: 1; transition: fill .2s ease; }
.us-map .state.active { fill: var(--c-teal); }
.us-map .state.site-control { fill: var(--c-orange); }
.us-map .state:hover { fill: var(--c-teal-2); cursor: default; }
.map-legend { display:flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--c-text-2); }
.swatch { display:inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }

/* ------------------- Process steps ------------------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 20px; background: #fff; border: 1px solid var(--c-rule); border-radius: var(--r-md);
}
.step > div:first-child {
  display: grid; place-items: center;
  background: var(--c-ink); color: var(--c-teal);
  font-weight: 700; font-size: 18px; border-radius: var(--r-sm);
  width: 56px; height: 56px;
}
.step > div:first-child::before {
  content: counter(step, decimal-leading-zero);
}
.step > div:last-child { padding-top: 4px; }
.step h4 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--c-text-2); }

/* ------------------- Forms ------------------- */
form.inquiry {
  background: #fff; border: 1px solid var(--c-rule); border-radius: var(--r-lg);
  padding: 28px;
}
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--c-text); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--c-ink);
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--c-rule); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(31,182,201,.18);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--c-text-3); line-height: 1.5; }

/* ------------------- FAQ ------------------- */
details.faq {
  border-bottom: 1px solid var(--c-rule);
  padding: 18px 0;
}
details.faq summary {
  cursor: pointer; list-style: none;
  display:flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--c-ink); font-size: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-weight: 400; font-size: 22px; color: var(--c-text-3);
  transition: transform .2s ease;
}
details.faq[open] summary::after { content: "−"; }
details.faq .body { padding-top: 10px; color: var(--c-text-2); }

/* ------------------- Footer ------------------- */
.site-footer {
  background: var(--c-ink); color: #C4D1E0;
  padding: 64px 0 32px;
}
.site-footer p { color: #C4D1E0; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--c-rule-dark);
}
@media (max-width: 880px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h5 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer a { color: #C4D1E0; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style:none; margin:0; padding:0; display: grid; gap: 10px; }
.site-footer .logo img { height: 40px; margin-bottom: 16px; }
.site-footer .legal {
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; font-size: 12px; color: #7F8A99;
}

/* ------------------- Utilities ------------------- */
.tag {
  display:inline-block; padding: 4px 10px; font-size: 12px; font-weight: 600;
  background: rgba(31,182,201,.12); color: var(--c-teal-2);
  border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
}
.tag.dark { background: rgba(255,255,255,.08); color: #DDE6F1; }
.callout {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-navy-2) 100%);
  color: #fff; padding: clamp(40px, 6vw, 64px);
  border-radius: var(--r-lg);
  display: grid; gap: 16px;
}
.callout h2 { color: #fff; }
.callout p { color: #C4D1E0; }
.callout .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.kpi-row { display: flex; gap: 32px; flex-wrap: wrap; }
.kpi { }
.kpi .v { font-size: 28px; font-weight: 700; color: var(--c-ink); }
.kpi .l { font-size: 13px; color: var(--c-text-2); }

.bullet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bullet-list li {
  position: relative; padding-left: 26px; color: var(--c-text);
}
.bullet-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 2px; background: var(--c-teal);
}

article.post p, article.post li { font-size: 17px; line-height: 1.7; color: #243245; }
article.post h2 { margin-top: 1.8em; }
article.post h3 { margin-top: 1.4em; }
article.post {
  max-width: 720px;
}

.figure-caption { font-size: 13px; color: var(--c-text-3); margin-top: 8px; }

.note {
  background: #FFF6EE; border: 1px solid #F2D3B7;
  color: #6B3A14;
  padding: 12px 16px; border-radius: var(--r-sm);
  font-size: 14px;
}

/* ------------------- Team / Leadership ------------------- */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin-top: 32px; max-width: 960px;
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  background: #fff; border: 1px solid var(--c-rule);
  border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column;
}
.team-card .photo {
  width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; background: var(--c-fog);
  border: 1px solid var(--c-rule);
  margin-bottom: 20px;
}
.team-card .photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.team-card h3 {
  margin: 0 0 6px 0; font-size: 22px; line-height: 1.25;
}
.team-card .role {
  color: var(--c-teal-2); font-size: 14px;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.team-card p { color: var(--c-text-2); margin-bottom: 18px; }
.team-card .li-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-teal-2); text-decoration: none;
  font-weight: 600; font-size: 14px;
  margin-top: auto;
}
.team-card .li-link:hover { color: var(--c-teal); }
.team-card .li-link svg { width: 18px; height: 18px; }

/* ============================================================
   INVESTOR LOGIN & DATA ROOM
   ============================================================ */

/* ---------- Auth (login) ---------- */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  background: linear-gradient(160deg, var(--c-navy) 0%, var(--c-ink) 100%);
}
.auth-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 80% 20%, rgba(31,182,201,.18), transparent 60%),
    radial-gradient(700px 500px at 20% 80%, rgba(226,88,34,.10), transparent 65%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--c-paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 36px 36px 32px;
}
.auth-logo {
  display: block;
  margin: 0 auto 18px;
  width: 130px;
}
.auth-logo img { width: 100%; height: auto; }
.auth-card h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  text-align: center;
}
.auth-card .sub {
  margin: 0 0 24px;
  text-align: center;
  color: var(--c-text-3);
  font-size: 14px;
}
.auth-card form label {
  display: block;
  margin-bottom: 14px;
}
.auth-card form label span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 6px;
}
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--c-ink);
  background: var(--c-paper);
  transition: border-color .15s, box-shadow .15s;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(31,182,201,.18);
}
.auth-card button[type="submit"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--r-md);
  border: 0;
  background: var(--c-orange);
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.auth-card button[type="submit"]:hover { background: var(--c-orange-2); }
.auth-card button[type="submit"][disabled] { opacity: .7; cursor: progress; }
.auth-card .err {
  min-height: 18px;
  margin: 10px 0 0;
  color: #B91C1C;
  font-size: 13px;
  text-align: center;
}
.auth-card .foot {
  margin: 22px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--c-text-3);
}
.auth-card .foot a { color: var(--c-teal-2); }

/* ---------- Data Room ---------- */
.dr-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-fog);
}
.dr-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-rule);
  box-shadow: var(--sh-sm);
}
.dr-logo img { width: 160px; height: auto; }
.dr-title { flex: 1; }
.dr-title h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}
.dr-confidential {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--c-text-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dr-confidential #who { color: var(--c-text); text-transform: none; letter-spacing: 0; font-weight: 500; }
.dr-logout {
  padding: 8px 14px;
  font-size: 13px;
  border: 1px solid var(--c-rule);
  background: var(--c-paper);
  color: var(--c-text);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.dr-logout:hover { background: var(--c-fog); border-color: var(--c-text-3); }

.dr-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 28px;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-rule);
}
.dr-search {
  position: relative;
  flex: 0 1 360px;
}
.dr-search svg {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-3);
}
.dr-search input {
  width: 100%;
  padding: 9px 12px 9px 38px;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 14px;
  background: var(--c-fog);
}
.dr-search input:focus {
  outline: none; background: var(--c-paper);
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(31,182,201,.15);
}
.dr-crumbs {
  flex: 1;
  font-size: 14px;
  color: var(--c-text-2);
}
.dr-crumbs a {
  color: var(--c-text-2);
  font-weight: 500;
}
.dr-crumbs a:hover { color: var(--c-orange); }
.dr-crumbs a:last-of-type { color: var(--c-ink); }
.dr-crumbs .sep { color: var(--c-text-3); margin: 0 2px; }

.dr-body {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 0;
}
.dr-tree {
  background: var(--c-paper);
  border-right: 1px solid var(--c-rule);
  padding: 18px 16px 32px;
  overflow-y: auto;
  font-size: 14px;
}
.dr-tree ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 12px;
}
.dr-tree ul.tree-root {
  margin-left: 0;
  margin-top: 4px;
}
.dr-tree li {
  margin: 1px 0;
}
.dr-tree .tree-link {
  display: block;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-weight: 400;
  text-decoration: none;
  transition: background .12s, color .12s;
  line-height: 1.4;
}
.dr-tree .tree-link:hover {
  background: var(--c-fog);
  color: var(--c-ink);
}
.dr-tree .tree-link.active {
  background: rgba(31,182,201,.12);
  color: var(--c-teal-2);
  font-weight: 500;
}
.dr-tree .tree-root-link {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--c-text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dr-list {
  padding: 24px 28px 60px;
  overflow-y: auto;
}
.dr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.dr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.dr-card:hover {
  border-color: var(--c-teal);
  box-shadow: var(--sh-sm);
  transform: translateY(-1px);
}
.dr-card .ic {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.dr-folder .ic { color: var(--c-teal-2); }
.dr-card .meta { min-width: 0; flex: 1; }
.dr-card .nm {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}
.dr-card .sm {
  font-size: 12px;
  color: var(--c-text-3);
  margin-top: 2px;
}
.dr-empty, .dr-loading {
  padding: 40px 0;
  text-align: center;
  color: var(--c-text-3);
  font-size: 14px;
}

@media (max-width: 800px) {
  .dr-header { flex-wrap: wrap; padding: 14px 18px; }
  .dr-toolbar { padding: 12px 18px; gap: 12px; }
  .dr-body { grid-template-columns: 1fr; }
  .dr-tree { border-right: 0; border-bottom: 1px solid var(--c-rule); max-height: 200px; }
  .dr-list { padding: 18px; }
  .dr-grid { grid-template-columns: 1fr; }
}

/* ---------- Investor Login nav link ---------- */
.nav-investor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  margin-right: 4px;
  transition: color .15s, background .15s;
}
.nav-investor-link:hover {
  color: var(--c-teal-2);
  background: rgba(31,182,201,.08);
}
.nav-investor-link::before {
  content: '';
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5A6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav-investor-link:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8FA1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
@media (max-width: 900px) {
  .nav-investor-link { display: none; }
}
.mobile-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-cta-row .btn { flex: 1; min-width: 140px; }
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-rule);
}
.btn-ghost:hover { background: var(--c-fog); }
