/* ============================================================
   NFRG HOLDINGS LLC — "The Share Certificate" system
   Guilloche borders · seals · serial numbers · cap-table rings
   ============================================================ */
:root {
  --bg: #0d1210;
  --bg2: #121814;
  --panel: #18211c;
  --line: #26332b;
  --line2: #3a4d41;
  --txt: #efe9d5;
  --mut: #9aa897;
  --dim: #5f6e63;
  --emer: #58b98a;
  --slate: #7ea6c4;
  --seal: #c2503b;
  --disp: 'DM Serif Display', serif;
  --body: 'Lora', serif;
  --mono: 'Anonymous Pro', 'Courier New', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--emer); color: var(--bg); }
a { color: inherit; text-decoration: none; }
svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; line-height: 1.12; letter-spacing: .002em; }
h1 { font-size: clamp(42px, 5.4vw, 70px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
em.h { font-style: normal; color: var(--emer); }
em.h2 { font-style: normal; color: var(--slate); }

/* engraved rule divider */
.rule {
  height: 9px; border: none; margin: 0 auto; max-width: 220px;
  background:
    linear-gradient(90deg, transparent, var(--line2), transparent) 0 0/100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--line2), transparent) 0 8px/100% 1px no-repeat;
  position: relative;
}
.rule::after {
  content: '◆'; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-52%); color: var(--emer); font-size: 9px;
  background: var(--bg); padding: 0 10px;
}
.sect.bg2 .rule::after { background: var(--bg2); }

/* ---------- NAV ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 40px; height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-seal {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 2px solid var(--emer); position: relative;
  background:
    repeating-conic-gradient(var(--emer) 0deg 10deg, transparent 10deg 22.5deg) border-box;
  display: flex; align-items: center; justify-content: center;
}
.brand-seal::before {
  content: ''; position: absolute; inset: 5px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line2);
}
.brand-seal span {
  position: relative; font-family: var(--disp); font-size: 13px;
  color: var(--emer); letter-spacing: 0;
}
.brand-txt { line-height: 1.25; }
.brand-txt b { font-family: var(--disp); font-weight: 400; font-size: 17px; display: block; }
.brand-txt span { font-family: var(--mono); font-size: 9.5px; color: var(--dim); letter-spacing: .2em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mut); transition: .2s;
}
.nav a:hover { color: var(--txt); }
.nav a.on { color: var(--emer); }
.nav a.on::before { content: '◆ '; font-size: 8px; }
.nav a.cta { margin-left: 10px; border: 1px solid var(--slate); color: var(--slate); }
.nav a.cta:hover { background: var(--slate); color: var(--bg); }
.burger { display: none; background: none; border: 1px solid var(--line2); width: 42px; height: 42px; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; background: var(--txt); margin: 4px auto; transition: .25s; }
.burger.open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
.mnav.open { display: block; }
.mnav a {
  display: block; padding: 12px 4px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mut);
  border-bottom: 1px dashed var(--line);
}
.mnav a.on { color: var(--emer); }
.mnav a:last-child { border-bottom: none; color: var(--slate); }

/* ---------- HERO ---------- */
.hero { padding: 88px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-kick {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .28em;
  color: var(--emer); text-transform: uppercase; display: block; margin-bottom: 24px;
}
.hero-kick::before { content: '◆ '; }
.hero h1 { margin-bottom: 26px; }
.hero-sub { color: var(--mut); font-size: 16px; max-width: 500px; margin-bottom: 38px; }
.hero-sub strong { color: var(--txt); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 44px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 30px; cursor: pointer; border: none; transition: .2s;
}
.btn svg { width: 15px; height: 15px; }
.btn-emer { background: var(--emer); color: var(--bg); }
.btn-emer:hover { transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--txt); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--emer); color: var(--emer); }

/* certificate figure */
.cert { position: relative; }
.cert svg { display: block; width: 100%; }
.cert .c-tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em;
  color: var(--dim); text-transform: uppercase;
  padding: 13px 18px; border-top: 1px solid var(--line);
  background: var(--bg2); display: flex; justify-content: space-between;
}
.cert .c-tag b { color: var(--emer); font-weight: 400; }

/* ---------- SECTIONS ---------- */
.sect { padding: 86px 0; }
.sect.bg2 { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 52px; }
.sec-head .kick {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .28em;
  color: var(--emer); text-transform: uppercase; display: block; margin-bottom: 14px;
}
.sec-head .kick::before { content: '◆ '; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--mut); max-width: 620px; }
.sec-head.ctr { text-align: center; }
.sec-head.ctr p { margin: 0 auto; }

/* certificate cards — double engraved border */
.cert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cert-card {
  position: relative; background: var(--panel);
  border: 1px solid var(--line2); padding: 30px 28px;
  transition: .2s;
}
.cert-card::before {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--line); pointer-events: none;
}
.cert-card:hover { border-color: var(--emer); transform: translateY(-4px); }
.cert-card .serial {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  color: var(--slate); display: block; margin-bottom: 16px;
}
.cert-card h3 { font-size: 20px; margin-bottom: 12px; }
.cert-card p { font-size: 13.5px; color: var(--mut); }
.cert-card .cc-link { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--emer); text-transform: uppercase; display: inline-block; margin-top: 16px; }
.cert-card .cc-link::after { content: ' →'; }

/* tally stats */
.tally { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tally .t { background: var(--bg); padding: 30px 24px; text-align: center; }
.tally .t b { font-family: var(--disp); font-size: 40px; font-weight: 400; color: var(--emer); display: block; line-height: 1; }
.tally .t span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); display: block; margin-top: 12px; }

/* ---------- SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1.05fr 1fr; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--mut); margin-bottom: 16px; }
.split p strong { color: var(--txt); }
.seal-list { list-style: none; margin-top: 26px; }
.seal-list li {
  display: flex; gap: 16px; padding: 14px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--mut);
}
.seal-list li:last-child { border-bottom: none; }
.seal-list .s-dot {
  width: 12px; height: 12px; flex: none; border-radius: 50%;
  background: var(--seal); margin-top: 6px;
}
.seal-list b { color: var(--txt); font-weight: 700; }

.fig { border: 1px solid var(--line2); background: var(--bg2); }
.fig .fig-cap {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; color: var(--dim);
  text-transform: uppercase; padding: 13px 18px; border-bottom: 1px solid var(--line); display: block;
}

/* ---------- PAGE HEAD ---------- */
.page-head { padding: 72px 0 52px; border-bottom: 1px solid var(--line); }
.crumb { font-family: var(--mono); font-size: 10px; letter-spacing: .26em; color: var(--dim); text-transform: uppercase; display: block; margin-bottom: 20px; }
.crumb a { color: var(--emer); }
.page-head h1 { margin-bottom: 18px; }
.lede { color: var(--mut); font-size: 16.5px; max-width: 720px; }

/* ---------- SERIES sections ---------- */
.series { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 95px; }
.series:last-child { border-bottom: none; }
.series-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
.series-head .sno {
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  color: var(--bg); background: var(--emer); padding: 5px 16px; letter-spacing: .16em;
}
.series-head h2 { font-size: 27px; }
.series-head .en { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--dim); text-transform: uppercase; }
.series > p { color: var(--mut); font-size: 14px; max-width: 720px; margin-bottom: 28px; }
.share-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.share {
  border: 1px solid var(--line); background: var(--bg2); padding: 18px 20px;
  position: relative; transition: border-color .2s;
}
.share::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--emer);
}
.share.alt::before { background: var(--slate); }
.share:hover { border-color: var(--emer); }
.share .sh-no { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--dim); display: block; margin-bottom: 8px; }
.share b { font-size: 14px; display: block; margin-bottom: 4px; font-weight: 700; }
.share span { font-size: 12.5px; color: var(--mut); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq > button {
  width: 100%; background: none; border: none; color: var(--txt);
  font-family: var(--disp); font-size: 20px; font-weight: 400;
  text-align: left; padding: 23px 8px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.fq > button:hover { color: var(--emer); }
.fq .pm { font-family: var(--mono); color: var(--slate); font-size: 18px; flex: none; }
.fq .fa { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.fq .fa p { padding: 0 8px 24px; color: var(--mut); font-size: 14px; }
.fq.open .fa { max-height: 340px; }

/* ---------- CTA ---------- */
.cta-box {
  border: 1px solid var(--line2); background: var(--panel);
  padding: 58px 48px; text-align: center; position: relative;
}
.cta-box::before {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid var(--line); pointer-events: none;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { color: var(--mut); max-width: 540px; margin: 0 auto 30px; }
.cta-box .btn { position: relative; }

/* ---------- CONTACT ---------- */
.c-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.c-cards { display: grid; gap: 0; border: 1px solid var(--line2); }
.c-card { padding: 22px 26px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.c-card:last-child { border-bottom: none; }
.c-card .ck { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; color: var(--emer); text-transform: uppercase; display: block; margin-bottom: 8px; }
.c-card .cv { font-family: var(--disp); font-size: 19px; display: block; }
.c-card .cv:hover { color: var(--slate); }
.c-card p { font-size: 12.5px; color: var(--mut); margin-top: 4px; }
.qform { border: 1px solid var(--line2); background: var(--panel); padding: 40px; position: relative; }
.qform::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.qform > * { position: relative; }
.qform h2 { font-size: 26px; margin-bottom: 8px; }
.qform .sub { font-size: 12.5px; color: var(--mut); margin-bottom: 28px; }
.qform .sub a { color: var(--emer); text-decoration: underline; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { margin-bottom: 16px; }
.fld label {
  display: block; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mut); margin-bottom: 8px;
}
.fld input, .fld select, .fld textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line2);
  color: var(--txt); font-family: var(--body); font-size: 14.5px; padding: 13px 15px;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--emer); }
.fld textarea { min-height: 110px; resize: vertical; }
.fnote { font-size: 11px; color: var(--dim); margin-top: 18px; font-family: var(--mono); }

/* ---------- LEGAL ---------- */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.lnav { position: sticky; top: 100px; }
.lnav .lt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; color: var(--dim); text-transform: uppercase; display: block; margin-bottom: 16px; }
.lnav a {
  display: block; padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-family: var(--mono); font-size: 10.5px; color: var(--mut);
}
.lnav a:hover { color: var(--emer); }
.ltext h2 { font-size: 23px; margin: 42px 0 14px; scroll-margin-top: 100px; }
.ltext h2:first-child { margin-top: 0; }
.ltext h3 { font-size: 15px; margin: 22px 0 10px; color: var(--slate); font-family: var(--body); font-weight: 700; }
.ltext p { color: var(--mut); font-size: 14px; margin-bottom: 14px; }
.ltext ul { margin: 0 0 16px 22px; color: var(--mut); font-size: 14px; }
.ltext li { margin-bottom: 8px; }
.ltext strong { color: var(--txt); }
.ltext a { color: var(--emer); text-decoration: underline; }
.lnote { border: 1px solid var(--line2); border-left: 3px solid var(--seal); background: var(--panel); padding: 20px 24px; margin: 22px 0; }
.lnote p { margin: 0 0 6px; font-size: 13px; }
.lnote p:last-child { margin-bottom: 0; }

/* ---------- FOOTER ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg2); }
.foot-in { padding: 56px 0 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 46px; }
.foot-brand p { color: var(--mut); font-size: 13px; margin-top: 18px; max-width: 270px; }
.fcol h4 { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--emer); margin-bottom: 16px; font-weight: 400; }
.fcol a, .fcol span { display: block; font-size: 13.5px; color: var(--mut); padding: 4px 0; }
.fcol a:hover { color: var(--txt); }
/* guilloche strip footer */
.guil {
  border-top: 1px solid var(--line);
  padding: 18px 0 4px;
  background: repeating-linear-gradient(90deg, var(--line) 0 2px, transparent 2px 14px);
  height: 26px;
}
.foot-bot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--line); padding: 22px 0 28px; flex-wrap: wrap;
}
.foot-bot p { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.foot-bot .fl { display: flex; gap: 24px; }
.foot-bot .fl a { font-family: var(--mono); font-size: 10.5px; color: var(--mut); }
.foot-bot .fl a:hover { color: var(--emer); }

/* ---------- REVEAL ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .head-in { padding: 0 24px; }
  .nav { display: none; }
  .burger { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .split, .split.rev, .c-grid, .legal { grid-template-columns: 1fr; gap: 44px; }
  .lnav { position: static; }
  .cert-grid, .share-grid { grid-template-columns: 1fr 1fr; }
  .tally { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .cert-grid, .share-grid, .tally { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 42px 24px; }
  .qform { padding: 30px 22px; }
}
