/*
Theme Name: bld777 Dark Emerald Guide
Description: Independent Bengali long-form brand information guide.
Version: 2.0.0
Text Domain: bld777-ledger
*/
:root {
  --bg: #071915;
  --surface: #0b211c;
  --surface-2: #102a24;
  --surface-3: #15372f;
  --gold: #e8c45b;
  --mint: #43c8a0;
  --text: #f4f8f6;
  --muted: #afc2ba;
  --line: #29483e;
  --focus: #79e0be;
  --warning: #e0a54b;
  --shadow: 0 18px 42px rgba(0, 0, 0, .2);
  --shell: 1180px;
  --reading: 760px;
  --radius: 8px;
  --radius-lg: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  overflow-wrap: anywhere;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.78;
}
body.menu-open { overflow: hidden; }
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
p, ul, ol { margin: 0 0 1.25em; }
li + li { margin-top: .45em; }
h1, h2, h3 { color: var(--text); font-weight: 850; letter-spacing: -.025em; line-height: 1.18; }
h1 { margin: .25em 0 .4em; font-size: clamp(2.35rem, 5.4vw, 4.35rem); }
h2 { margin: 0 0 .7em; font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h3 { margin: 1.8em 0 .55em; color: var(--mint); font-size: 1.35rem; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.reading-column { width: min(var(--reading), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; background: var(--gold); color: var(--bg); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; min-height: 68px; background: rgba(7, 25, 21, .98); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: var(--text); text-decoration: none; font-size: 1.55rem; font-weight: 900; letter-spacing: -.04em; }
.wordmark span { color: var(--gold); }
.site-menu { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.site-menu li { margin: 0; }
.site-menu a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 750; border-bottom: 2px solid transparent; }
.site-menu a:hover, .site-menu a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.menu-toggle { display: none; min-width: 92px; min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 750; cursor: pointer; }
.hero { position: relative; overflow: clip; padding: 84px 0 56px; background: radial-gradient(circle at 75% 10%, rgba(67, 200, 160, .11), transparent 32%), linear-gradient(180deg, var(--bg), var(--surface)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none; background-image: linear-gradient(rgba(232,196,91,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(232,196,91,.05) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero-copy { position: relative; max-width: 930px; }
.eyebrow { margin-bottom: 12px; color: var(--gold); font-size: .84rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.dek { max-width: 790px; color: var(--muted); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--gold); color: var(--bg); text-decoration: none; font-weight: 850; }
.button:hover { background: #f2d579; color: var(--bg); }
.button-secondary { background: transparent; border-color: var(--line); color: var(--text); }
.button-secondary:hover { border-color: var(--gold); background: transparent; color: var(--gold); }
.hero-figure { position: relative; width: min(var(--shell), calc(100% - 40px)); margin: 42px auto 0; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
figcaption { margin-top: 9px; color: var(--muted); font-size: .82rem; }
.intro-wrap { background: var(--surface); border-block: 1px solid var(--line); }
.intro { padding-block: 34px; }
.intro > p:first-child { font-size: 1.12rem; color: var(--text); }
.disclosure { margin-top: 22px; padding: 20px 22px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface-3); color: var(--text); }
.article-layout { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, var(--reading)) 240px; justify-content: space-between; gap: 64px; }
.article-sections { min-width: 0; }
.section { padding: 82px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.section-title { position: relative; padding-top: 18px; }
.section-title::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--gold); }
.section-image { margin: 28px 0; }
.section-image img { width: 100%; aspect-ratio: 14 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.toc { position: sticky; top: 96px; align-self: start; margin-top: 82px; padding: 22px; border-top: 3px solid var(--gold); background: var(--surface-2); }
.toc h2 { font-size: 1rem; }
.toc ol { padding-left: 20px; margin: 0; font-size: .89rem; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--gold); }
.data-table { margin: 28px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--surface); }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface-2); color: var(--gold); font-size: .94rem; }
tr:last-child td { border-bottom: 0; }
.note { margin: 26px 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--warning); border-radius: var(--radius); background: var(--surface-3); }
.inline-cta { margin-top: 27px; }
.inline-cta a { font-weight: 800; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; color: var(--text); font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 36px 18px 0; color: var(--muted); }
.page-main { min-height: 62vh; padding: 76px 0 96px; background: linear-gradient(180deg, var(--surface), var(--bg) 260px); }
.page-hero { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 720px; }
.page-hero .dek { font-size: 1.08rem; }
.prose { padding-top: 18px; }
.prose h2 { margin-top: 2.2em; padding-top: 16px; border-top: 1px solid var(--line); font-size: clamp(1.5rem, 3vw, 2rem); }
.prose a { font-weight: 750; }
.listing article { padding: 30px 0; border-bottom: 1px solid var(--line); }
.listing h2 { font-size: 1.5rem; }
.error-page { text-align: center; padding-block: 48px; }
.site-footer { padding: 60px 0 24px; border-top: 1px solid var(--line); background: #04130f; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 54px; }
.footer-wordmark { display: inline-block; margin-bottom: 10px; }
.site-footer h2 { margin: 0 0 14px; color: var(--text); font-size: 1rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin: 0; }
.site-footer a:not(.wordmark) { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }
@media (max-width: 1023px) {
  .article-layout { display: block; }
  .toc { position: static; width: min(var(--reading), 100%); margin: 52px 0 0; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .shell, .reading-column, .article-layout, .hero-figure { width: min(100% - 32px, var(--shell)); }
  .header-inner { min-height: 66px; flex-wrap: wrap; }
  .js .menu-toggle { display: inline-flex; }
  .primary-navigation { width: 100%; padding-bottom: 12px; }
  .js .primary-navigation { display: none; position: absolute; top: 66px; left: 16px; right: 16px; width: auto; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); box-shadow: var(--shadow); }
  .js .primary-navigation.is-open { display: block; }
  .site-menu { display: block; }
  .site-menu a { width: 100%; padding: 8px; border-bottom: 1px solid var(--line); }
  .hero { padding: 52px 0 40px; }
  h1 { font-size: clamp(2.15rem, 11vw, 2.8rem); }
  .dek { font-size: 1.06rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-figure { margin-top: 30px; }
  .intro { padding-block: 28px; }
  .section { padding: 50px 0; }
  .toc { margin-top: 34px; }
  .data-table { margin-inline: 0; }
  th, td { padding: 12px; }
  .page-main { padding: 48px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
