/* KBH Vertex Group — design system.
   Black and white carry the identity; gold is reserved for emphasis, key actions and fine detail;
   deep green supports growth and enterprise themes. Display: Cormorant Garamond. Text: Inter. Wordmark: Cinzel. */
:root {
  --black: #101113; --ink: #16181B; --ink-2: #1E2125;
  --gold: #C6A45C; --gold-deep: #8A6D2E; --gold-soft: #E9DDBF;
  --white: #FFFFFF; --paper: #F4F3EF; --paper-2: #EAE8E1;
  --green: #263B35;
  --grey: #6B7280; --grey-2: #4B5058; --line: #DEDBD2; --line-dark: #2C3036;
  --fg: #16181B; --fg-2: #4B5058;
  --danger: #A12D2D; --ok: #24684A;
  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-mark: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px; --radius-lg: 8px;
  --shadow: 0 18px 40px -24px rgba(16, 17, 19, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--fg); font: 400 1rem/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2, .h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p { margin: 0; max-width: 68ch; }
p + p { margin-top: 1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--fg-2); }
.mt { margin-top: 1rem !important; } .mt-lg { margin-top: 2.5rem !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 .74rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--fg-2); }
.dark .lead, .hero .lead, .page-hero .lead { color: #C9CCD1; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .88rem/1.2 var(--f-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #D4B573; color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); color: var(--white); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { color: var(--gold-deep); }
.dark .btn-line, .site-header .btn-line, .green .btn-line { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.dark .btn-line:hover, .site-header .btn-line:hover, .green .btn-line:hover { color: var(--gold); border-color: var(--gold); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .8rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--gold-deep); }
.arrow-link::after { content: '→'; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.dark .arrow-link, .green .arrow-link { color: var(--gold); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(16, 17, 19, .97); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand-mark { width: 34px; height: auto; }
.brand-words { display: grid; line-height: 1; }
.brand-name { font: 600 1.12rem/1 var(--f-mark); letter-spacing: .08em; color: var(--gold); }
.brand-sub { font: 600 .56rem/1 var(--f-body); letter-spacing: .52em; color: var(--gold); margin-top: 6px; padding-left: 2px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 10px; font-size: .85rem; font-weight: 500; text-decoration: none; color: #D5D7DB; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.header-actions .btn { white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; padding: 12px; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--white); cursor: pointer; }
.nav-actions { display: none; }
@media (max-width: 1440px) { .header-actions .btn-line { display: none; } .nav a { padding-inline: 8px; } }
@media (max-width: 1200px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .header-actions { display: none; }
  .nav { position: absolute; top: 78px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--black); border-bottom: 1px solid var(--line-dark); max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 2px; font-size: 1rem; border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav-actions { display: grid; gap: 10px; margin-top: 18px; }
  .nav-actions .btn { width: 100%; border-bottom: 1px solid transparent; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.paper { background: var(--paper); }
.dark { background: var(--black); color: var(--white); }
.dark a:hover { color: var(--gold); }
.green { background: var(--green); color: var(--white); }
.green .eyebrow { color: var(--gold-soft); }
.green .lead, .green .muted { color: #D2DBD6; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.section-head.row { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.row { grid-template-columns: 1fr auto; } }
.split { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } .split.even { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding-block: clamp(88px, 13vw, 168px) clamp(72px, 10vw, 128px); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 80% at 85% 20%, rgba(198, 164, 92, .16), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(38, 59, 53, .6), transparent 70%); }
.hero-lines { position: absolute; z-index: -1; right: -4%; top: 44%; width: min(48vw, 600px); transform: translateY(-50%); pointer-events: none; color: var(--gold); opacity: .45; }
.hero-statement { position: relative; background: linear-gradient(90deg, transparent, rgba(16, 17, 19, .85) 60%); }
@media (max-width: 720px) { .hero-lines { opacity: .22; right: -40%; width: 120vw; } }
.hero h1 { max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { margin-top: 26px; max-width: 56ch; }
.hero .btn-row { margin-top: 40px; }
.hero-statement { margin-top: clamp(56px, 8vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #9EA3AA; }
.hero-statement span:first-child { color: var(--gold); }
.page-hero { background: var(--black); color: var(--white); padding-block: clamp(64px, 9vw, 116px) clamp(52px, 7vw, 84px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 90% at 100% 0%, rgba(198, 164, 92, .14), transparent 60%); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 20ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .8rem; color: #9EA3AA; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #5D636B; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- cards and grids */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }   /* auto-fill: two people stay card-sized */
.card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.paper .card { border-color: transparent; }
.dark .card { background: var(--ink); border-color: var(--line-dark); }
.card h3 { font-size: 1.5rem; }
.card p { font-size: .96rem; color: var(--fg-2); }
.dark .card p { color: #B9BDC3; }
.num { font: 600 .78rem/1 var(--f-body); letter-spacing: .16em; color: var(--gold-deep); }
.dark .num, .green .num { color: var(--gold); }

.company-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.company-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.company-card { --accent: var(--gold); }
.company-card[data-tone="blue"] { --accent: #1F6FB2; } .company-card[data-tone="green"] { --accent: #3E7D4F; }
.company-card[data-tone="bronze"] { --accent: #8C6A2F; } .company-card[data-tone="forest"] { --accent: #263B35; }
.company-card .band { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--black); overflow: hidden; border-bottom: 3px solid var(--accent); }
.company-card .band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 90% at 80% 10%, color-mix(in srgb, var(--accent, var(--gold)) 38%, transparent), transparent 70%); }
.company-card .band img.logo { position: relative; z-index: 1; max-width: 58%; max-height: 48%; object-fit: contain; }
.company-card .band img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.company-card .band .initials { position: relative; z-index: 1; font: 600 2.4rem/1 var(--f-display); color: var(--white); letter-spacing: .04em; }
.company-card .body { display: grid; gap: 12px; align-content: start; padding: 26px 26px 28px; }
.company-card .sector { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); line-height: 1.5; }
.company-card h3 { font-size: 1.75rem; }
.company-card h3 a { text-decoration: none; }
.company-card h3 a::after { content: ''; position: absolute; inset: 0; }
.company-card p { font-size: .95rem; color: var(--fg-2); }
.company-card .links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; }

.person-card { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.person-card .portrait { aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--ink-2), var(--black)); border-radius: var(--radius-lg); display: grid; place-items: center; }
.person-card .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s var(--ease); }
a.person-card:hover .portrait img { transform: scale(1.03); }
.initials { font: 600 3rem/1 var(--f-display); color: var(--gold); letter-spacing: .06em; }
.portrait-blank { width: 46%; align-self: end; fill: rgba(198, 164, 92, .16); }
.person-card h3 { font-size: 1.45rem; }
.person-card .role { font-size: .9rem; color: var(--fg-2); line-height: 1.5; }
.dark .person-card .role { color: #B9BDC3; }
.person-card .board { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.dark .person-card .board { color: var(--gold); }
a.person-card:hover h3 { color: var(--gold-deep); }
.dark a.person-card:hover h3 { color: var(--gold); }

.pillar { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--gold); }
.pillar h3 { font-size: 1.5rem; }
.pillar p { font-size: .95rem; color: var(--fg-2); }
.dark .pillar p, .green .pillar p { color: #C9CFD3; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: var(--white); }
.dark .chips li { background: transparent; border-color: var(--line-dark); color: #D5D7DB; }
.green .chips li { background: transparent; border-color: rgba(255, 255, 255, .22); color: #E6EBE8; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.check-list li::before { content: ''; width: 7px; height: 7px; margin-top: .66em; background: var(--gold); transform: rotate(45deg); }

/* chairman & CEO message */
.message { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .message { grid-template-columns: 4fr 7fr; } }
.frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--ink-2), var(--black)); display: grid; place-items: center; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.frame .initials { font-size: 4rem; }
.frame::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(198, 164, 92, .6); border-radius: 4px; pointer-events: none; }
blockquote.pull { margin: 0; font: italic 500 clamp(1.5rem, 2.8vw, 2.2rem)/1.35 var(--f-display); }
blockquote.pull::before { content: '“'; display: block; height: .45em; font-size: 3em; line-height: 1; color: var(--gold); }
.signature { margin-top: 28px; display: grid; gap: 2px; }
.signature strong { font: 600 1.3rem/1.2 var(--f-display); }
.signature span { font-size: .88rem; color: var(--fg-2); }
.dark .signature span { color: #9EA3AA; }
.letter p { font-size: 1.1rem; line-height: 1.85; max-width: 66ch; }
.letter p:first-of-type::first-letter { float: left; font: 600 4.4em/.8 var(--f-display); margin: .08em .1em 0 0; color: var(--gold-deep); }

/* process steps */
.steps { display: grid; gap: 0; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 24px 22px 24px 0; border-top: 1px solid var(--line); }
.dark .steps li, .green .steps li { border-color: rgba(255, 255, 255, .18); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 2.2rem/1 var(--f-display); color: var(--gold-deep); }
.dark .steps li::before, .green .steps li::before { color: var(--gold); }
.steps strong { font: 600 1.2rem/1.25 var(--f-display); }
.steps span { font-size: .9rem; color: var(--fg-2); }
.dark .steps span, .green .steps span { color: #C9CFD3; }

/* news */
.news-card { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.news-card .cover { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--ink-2), var(--black)); display: grid; place-items: center; }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card .cover .brand-mark { width: 44px; opacity: .8; }
.news-card .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.news-card .meta .cat { color: var(--gold-deep); font-weight: 600; }
.news-card h3 { font-size: 1.45rem; }
a.news-card:hover h3 { color: var(--gold-deep); }
.empty-state { padding: clamp(28px, 5vw, 48px); border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--fg-2); display: grid; gap: 12px; justify-items: start; }
.dark .empty-state { border-color: var(--line-dark); color: #9EA3AA; }

/* prose */
.prose { font-size: 1.06rem; line-height: 1.85; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.9rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; } .prose li + li { margin-top: .4em; }
.facts { display: grid; margin: 0; }
.facts div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .facts div { grid-template-columns: 210px 1fr; gap: 20px; } }
.facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); padding-top: 3px; }
.facts dd { margin: 0; white-space: pre-line; }
.sticky-aside { position: sticky; top: 110px; }
.statement { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.35 var(--f-display); max-width: 30ch; }
.card-link { text-decoration: none; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.card-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.steps-stack { grid-template-columns: 1fr !important; }
blockquote.pull-sm { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.message-top { align-items: start; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.article-cover { border-radius: var(--radius-lg); margin-bottom: 40px; width: 100%; }
.form-title { margin-bottom: 20px; }

/* notices and pending content */
.notice { padding: 16px 20px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; color: var(--fg-2); }
.notice strong { color: var(--fg); }
.dark .notice { background: var(--ink); color: #B9BDC3; } .dark .notice strong { color: var(--white); }
.pending { outline: 1px dashed #C08A1E; outline-offset: 6px; }
.pending-tag { display: inline-block; margin-bottom: 8px; padding: 2px 8px; font: 600 .64rem/1.6 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #5C3F00; background: #FBEBC4; border-radius: 3px; }
.preview-banner { background: #FBEBC4; color: #4D3600; font-size: .8rem; text-align: center; padding: 8px 16px; }

/* ---------------------------------------------------------------- forms */
.card-form { display: grid; gap: 20px; padding: clamp(22px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--fg); }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
label, legend { font-size: .86rem; font-weight: 600; color: var(--fg); }
.hint { font-size: .8rem; font-weight: 400; color: var(--grey); }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.4 var(--f-body); color: var(--fg); background: var(--white); border: 1px solid #C2BFB4; border-radius: var(--radius); }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold-deep); }
input[type="file"] { padding: 10px; background: var(--paper); }
fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.checks { display: grid; gap: 8px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; min-height: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--gold-deep); }
.field-error { font-size: .82rem; color: var(--danger); }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--danger); }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: .92rem; }
.form-status.show { display: block; }
.form-status.ok { background: #E3F1EA; color: var(--ok); }
.form-status.err { background: #F8E5E5; color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--grey); }
.auth-box { max-width: 500px; margin-inline: auto; padding-block: clamp(48px, 8vw, 96px); }
.code-input { font: 600 1.6rem/1 var(--f-body); letter-spacing: .4em; text-align: center; }
.secret { font: 600 1rem/1.5 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; word-break: break-all; padding: 12px 14px; background: var(--paper); border-radius: var(--radius); }

.route-list { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.route-list li { border-bottom: 1px solid var(--line); }
.route-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 4px; text-decoration: none; }
.route-list a strong { font: 600 1.2rem/1.3 var(--f-display); }
.route-list a span { grid-column: 1; font-size: .86rem; color: var(--fg-2); }
.route-list a::after { content: '→'; grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--gold-deep); transition: transform .2s var(--ease); }
.route-list a:hover::after { transform: translateX(4px); }
.route-list a[aria-current="true"] strong { color: var(--gold-deep); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--black); color: #B9BDC3; padding-block: clamp(56px, 7vw, 88px) 32px; font-size: .9rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr; } }
.site-footer h2 { margin-bottom: 16px; font: 600 .7rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--gold); }
.footer-about p { margin-top: 18px; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: #868B92; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 520px; padding: 20px; background: var(--white); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; gap: 14px; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- app shells (dashboard and investor centre) */
.app { display: grid; min-height: 100vh; grid-template-columns: 1fr; background: var(--paper); }
@media (min-width: 960px) { .app { grid-template-columns: 260px 1fr; } }
.app-nav { display: flex; flex-wrap: wrap; gap: 4px; align-content: start; padding: 20px; background: var(--black); color: #D5D7DB; }
@media (min-width: 960px) { .app-nav { flex-direction: column; flex-wrap: nowrap; position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
.app-nav .brand { margin-bottom: 18px; width: 100%; }
.app-nav a:not(.brand), .app-nav button { display: block; padding: 9px 12px; border-radius: var(--radius); font: 500 .88rem/1.3 var(--f-body); text-align: left; text-decoration: none; color: #D5D7DB; background: none; border: 0; cursor: pointer; }
.app-nav a:not(.brand):hover, .app-nav button:hover { background: var(--ink-2); color: var(--white); }
.app-nav a[aria-current="page"] { background: var(--ink-2); color: var(--gold); }
.app-nav .group { width: 100%; margin: 16px 12px 4px; font: 600 .64rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #868B92; }
.app-main { padding: clamp(20px, 4vw, 44px); min-width: 0; }
.app-main h1 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 20px; }
.panel { margin-top: 24px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel h2 { font-size: 1.4rem; margin-bottom: 12px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 4px; }
.stat b { font: 600 2rem/1 var(--f-display); }
.stat span { font-size: .82rem; color: var(--fg-2); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar select, .toolbar input { min-height: 40px; width: auto; padding: 6px 10px; font-size: .88rem; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
tr.rowlink { cursor: pointer; } tr.rowlink:hover td { background: #FBFAF6; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--paper-2); color: var(--grey-2); white-space: nowrap; }
.pill.ok { background: #E3F1EA; color: var(--ok); } .pill.warn { background: #FBEBC4; color: #5C3F00; } .pill.bad { background: #F8E5E5; color: var(--danger); } .pill.info { background: #E6EEF7; color: #1F4E7A; }
dialog { width: min(780px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(16, 17, 19, .55); }
.dlg-body { padding: 24px; display: grid; gap: 16px; }
.toast { position: fixed; z-index: 90; right: 20px; bottom: 20px; padding: 12px 18px; background: var(--black); color: var(--white); border-radius: var(--radius); font-size: .9rem; }
.empty { padding: 20px; color: var(--grey); }
.kv { display: grid; gap: 8px; margin: 0; } .kv div { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 12px; font-size: .92rem; } .kv dt { color: var(--grey); } .kv dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.img-field { display: flex; gap: 12px; align-items: center; }

@media print { .site-header, .site-footer, .cookie, .btn-row, .preview-banner { display: none !important; } body { color: #000; } }
