/* Hillcrest Energy Advisors: shared styles */
:root {
  --gold: #B08847;
  --gold-deep: #7A5A26;
  --gold-light: #DCC089;
  --purple: #4B2682;
  --purple-deep: #26124A;
  --orchid: #A35BB5;
  --paper: #F6F5F8;
  --white: #FFFFFF;
  --ink: #1F1A2E;
  --muted: #5A5468;
  --line: rgba(176, 136, 71, 0.45);

  --metal-purple: linear-gradient(135deg, #26124A 0%, #4B2682 32%, #7E52BD 50%, #4B2682 68%, #2E1658 100%);
  --metal-gold: linear-gradient(135deg, #7A5A26 0%, #B08847 30%, #E3CA94 50%, #B08847 70%, #8A6A30 100%);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --measure: 64ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--purple-deep); }

:focus-visible { outline: 2px solid var(--orchid); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--purple); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }

/* Headings */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--purple-deep);
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.6rem; line-height: 1.15; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }

/* The double rule echoes the logo's baseline */
.rule {
  height: 7px;
  max-width: 120px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  margin: 0 0 1.75rem;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 54px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .14em; color: var(--gold-deep); }
.brand-sub { font-size: .62rem; font-weight: 500; letter-spacing: .32em; color: var(--purple); margin-top: .35rem; }

.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--purple); }
.nav a[aria-current="page"] { color: var(--purple); border-bottom-color: var(--gold); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: .5rem .75rem; font: 500 .85rem var(--sans); color: var(--ink); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block;
  font: 600 .92rem/1 var(--sans);
  letter-spacing: .02em;
  padding: 1rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  transition: filter .2s, background-color .2s;
}
.btn-primary { background: var(--metal-purple); color: #fff; border: 1px solid var(--purple-deep); }
.btn-primary:hover { color: #fff; filter: brightness(1.12); }
.btn-ghost { color: var(--gold-deep); border: 1px solid var(--gold); background: transparent; }
.btn-ghost:hover { color: var(--purple-deep); background: rgba(176,136,71,.08); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Hero */
.hero { background: var(--white); padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.hero h1 { max-width: 14ch; }

.arch-window { width: 100%; max-width: 360px; justify-self: end; }
.arch-window svg { width: 100%; height: auto; display: block; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s ease-out forwards; }
.draw.d2 { animation-delay: .5s; }
.draw.d3 { animation-delay: 1.1s; }
.rise { opacity: 0; animation: fade .8s ease-out 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Sections */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-white { background: var(--white); }
.section-deep { background: var(--metal-purple); color: #EDE8F5; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep p { color: #DCD3EA; }
.section-deep .rule { border-color: var(--gold-light); }
.section-deep a { color: var(--gold-light); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.split > div { border-top: 1px solid var(--line); padding-top: 1.75rem; }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.points h3 { font-size: 1.45rem; }
.points p { font-size: .95rem; color: var(--muted); }

/* Mandate panel */
.mandate {
  border: 1px solid rgba(220,192,137,.55);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.mandate .status { font-size: .85rem; color: var(--gold-light); font-weight: 500; margin-bottom: .75rem; }

/* Page head (interior pages) */
.page-head { background: var(--white); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }

/* Service blocks */
.service { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 4.5rem); padding: 2.75rem 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { padding: .7rem 0 .7rem 1.4rem; position: relative; border-bottom: 1px solid rgba(176,136,71,.2); }
.service li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 7px; height: 7px; border: 1.5px solid var(--gold); border-radius: 50% 50% 0 0; }
.service li strong { font-weight: 600; color: var(--purple-deep); }

.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--gold-light); padding-top: 1.25rem; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--gold-light); display: block; line-height: 1; margin-bottom: .6rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.steps p { font-size: .92rem; }

.coverage { columns: 2; column-gap: 3rem; padding: 0; margin: 1.5rem 0 0; list-style: none; max-width: 44rem; }
.coverage li { padding: .55rem 0; border-bottom: 1px solid rgba(176,136,71,.25); break-inside: avoid; }

/* Engagement record */
.record { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--purple); padding: clamp(1.75rem, 4vw, 2.75rem); max-width: 860px; }
.record dl { display: grid; grid-template-columns: 11rem 1fr; gap: .9rem 1.5rem; margin: 1.75rem 0 0; }
.record dt { font-weight: 600; color: var(--gold-deep); font-size: .9rem; }
.record dd { margin: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 2rem; }

/* Leadership */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait {
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  background: var(--metal-purple);
  border: 2px solid var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 7px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 9px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait span { font-family: var(--serif); font-size: 4.5rem; color: var(--gold-light); letter-spacing: .08em; }
.role { font-size: .95rem; font-weight: 600; color: var(--gold-deep); margin: -.2rem 0 1.5rem; }
.cv { margin-top: 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cv h3 { font-size: 1.3rem; }
.cv ul { list-style: none; padding: 0; margin: 0; }
.cv li { padding: .6rem 0; border-bottom: 1px solid rgba(176,136,71,.25); font-size: .95rem; }
.cv li span { display: block; color: var(--muted); font-size: .85rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 2rem; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.contact-card p { margin-bottom: 1.5rem; }
.checklist { padding: 0; list-style: none; margin: 1.25rem 0 0; }
.checklist li { padding: .55rem 0; border-bottom: 1px solid rgba(176,136,71,.25); }

/* Footer */
.site-footer { background: var(--purple-deep); color: #CFC6DE; padding: 3.5rem 0 2.5rem; font-size: .88rem; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center; }
.site-footer img { width: 64px; }
.site-footer .f-name { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-light); letter-spacing: .1em; }
.site-footer p { margin: .2rem 0 0; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer a { color: #E8E1F2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(220,192,137,.25); padding-top: 1.5rem; font-size: .8rem; color: #A99DBF; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .intro, .split, .service, .bio, .contact-grid, .mandate { grid-template-columns: 1fr; }
  .arch-window { justify-self: start; max-width: 240px; order: -1; }
  .points { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 260px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1.5rem 1rem; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(176,136,71,.2); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(176,136,71,.2); }
  .brand-name { font-size: 1.3rem; }
  .coverage { columns: 1; }
  .cv { grid-template-columns: 1fr; }
  .record dl { grid-template-columns: 1fr; gap: .2rem; }
  .record dd { margin-bottom: .8rem; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
  .rise { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
/* ---------- Model library ---------- */
.crumb { font-size: .85rem; margin-bottom: 1rem; }
.crumb a { color: var(--gold-deep); text-decoration: none; }
.crumb a:hover { color: var(--purple); }
.price { font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--purple-deep); }

.catalog { border-top: 2px solid var(--gold); }
.catalog-row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.catalog-row h3 { margin-bottom: .35rem; }
.catalog-row h3 a { color: var(--purple-deep); text-decoration: none; }
.catalog-row h3 a:hover { color: var(--purple); text-decoration: underline; }
.catalog-row p { margin-bottom: .3rem; }
.catalog-row .for { font-size: .9rem; color: var(--muted); }
.catalog-buy { display: flex; align-items: center; gap: 1.5rem; }

.product-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.buy-box { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--purple); padding: 1.75rem; }
.buy-box .price { margin-bottom: .75rem; }
.buy-note { font-size: .9rem; color: var(--muted); }
.buy-box .btn { width: 100%; text-align: center; }
.buy-alt { font-size: .85rem; margin: 1rem 0 0; }

.inside { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.inside .record { max-width: none; }
.inside .record dl { margin-top: 0; grid-template-columns: 9rem 1fr; }
.shot { margin: 0; }
.shot-frame { border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 40px -24px rgba(38,18,74,.45); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--metal-purple); }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); opacity: .8; }
.shot-grid { padding: 14px; }
.shot-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.shot-tabs i { font-style: normal; font-size: .68rem; padding: 3px 8px; border: 1px solid var(--line); color: var(--purple); }
.shot-tabs i:first-child { background: var(--purple); color: #fff; border-color: var(--purple); }
.shot-cells { height: 190px; background:
  linear-gradient(90deg, transparent 32%, rgba(176,136,71,.25) 32%, rgba(176,136,71,.25) calc(32% + 1px), transparent calc(32% + 1px)),
  repeating-linear-gradient(180deg, transparent 0 21px, rgba(176,136,71,.22) 21px 22px),
  repeating-linear-gradient(90deg, transparent 0 63px, rgba(176,136,71,.15) 63px 64px); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: .9rem; }

.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid rgba(176,136,71,.3); vertical-align: top; }
.compare thead th { font-family: var(--serif); font-size: 1.2rem; color: var(--purple-deep); border-bottom: 2px solid var(--gold); }
.compare tbody th { font-weight: 600; color: var(--gold-deep); font-size: .9rem; }
.compare td:last-child, .compare th:last-child { background: rgba(75,38,130,.06); }
.compare tbody td:last-child { font-weight: 600; color: var(--purple-deep); }

.faq details { border-bottom: 1px solid var(--line); max-width: 52rem; }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; color: var(--purple-deep); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1rem; color: var(--muted); }

.closing { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.closing .actions { margin-top: 0; }
.btn-ghost.on-deep { color: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost.on-deep:hover { color: #fff; background: rgba(220,192,137,.12); }

.legal-text { max-width: 48rem; }
.legal-text h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.legal-text h2:first-child { margin-top: 0; }

/* ---------- IRR calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field span { font-weight: 600; font-size: .9rem; color: var(--purple-deep); }
.field small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.field input { font: 500 1.05rem var(--sans); color: #0000C8; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); width: 100%; }
.field input:focus { outline: 2px solid var(--orchid); outline-offset: 1px; border-color: var(--purple); }
.calc-out { background: var(--metal-purple); color: #EDE8F5; padding: clamp(1.5rem, 4vw, 2.5rem); position: sticky; top: 108px; border: 1px solid var(--purple-deep); }
.out-main { border-bottom: 1px solid rgba(220,192,137,.45); padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.out-label { display: block; font-size: .9rem; color: var(--gold-light); }
.out-value { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(3.4rem, 7vw, 4.8rem); line-height: 1; color: #fff; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.out-list { display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; margin: 0 0 1.25rem; font-size: .95rem; }
.out-list dt { color: #DCD3EA; }
.out-list dd { margin: 0; font-weight: 600; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.out-chart { width: 100%; height: auto; display: block; margin-bottom: 1rem; }
.out-chart .line { fill: none; stroke: var(--gold-light); stroke-width: 2.5; stroke-linejoin: round; }
.out-chart .zero { stroke: rgba(255,255,255,.35); stroke-dasharray: 3 4; }
.out-chart .lab { fill: #CFC6DE; font: 500 9px var(--sans); }
.out-note { font-size: .8rem; color: #CFC6DE; margin: 0; }

@media (max-width: 900px) {
  .product-head, .inside, .calc, .closing { grid-template-columns: 1fr; }
  .calc-out { position: static; }
  .buy-box { max-width: 420px; }
}
@media (max-width: 640px) {
  .catalog-row { grid-template-columns: 1fr; gap: 1rem; }
  .calc-inputs { grid-template-columns: 1fr; }
  .inside .record dl { grid-template-columns: 1fr; }
}

/* ---------- Teams and institutions ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.tier { display: block; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 1.6rem; color: var(--ink); text-decoration: none; }
a.tier:hover { border-top-color: var(--purple); color: var(--ink); }
.tier h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.tier p { font-size: .95rem; margin-bottom: 0; }
.tier .tier-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold-deep); margin-bottom: .75rem; }
.tier ul { list-style: none; padding: 0; margin: 0; }
.tier li { padding: .5rem 0; border-bottom: 1px solid rgba(176,136,71,.25); font-size: .92rem; }
.tier li:last-child { border-bottom: 0; }
.tiers.on-deep .tier { background: rgba(255,255,255,.06); border-color: rgba(220,192,137,.45); border-top-color: var(--gold-light); color: #EDE8F5; }
.tiers.on-deep .tier .tier-price { color: var(--gold-light); }
.tiers.on-deep .tier li { border-bottom-color: rgba(220,192,137,.2); color: #DCD3EA; }
.tiers-table td { min-width: 14rem; }
.steps-light li { border-top-color: var(--gold); }
.steps-light li::before { color: var(--gold); }
.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.inquiry .wide { grid-column: 1 / -1; }
.inquiry select, .inquiry textarea { font: 500 1rem var(--sans); color: var(--ink); padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); width: 100%; }
.inquiry textarea { resize: vertical; }
.inquiry .field input { color: var(--ink); }
.inquiry button { cursor: pointer; }
.form-msg { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .inquiry { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .tiers-table { min-width: 0; font-size: .85rem; }
  .tiers-table td { min-width: 0; }
  .tiers-table th, .tiers-table td { padding: .7rem .45rem; }
}

/* ---------- Downloads ---------- */
.downloads { list-style: none; padding: 0; margin: 0 0 2rem; }
.downloads li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.downloads .dl { font-weight: 600; color: var(--purple-deep); }
.downloads span { font-size: .85rem; color: var(--muted); }

/* ---------- Real screenshots ---------- */
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(38,18,74,.45); background: #fff; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } }
.shot-hero { margin: 0 0 clamp(2rem, 5vw, 3rem); }
.inside-full .record { max-width: none; }
.inside-full .record dl { grid-template-columns: 12rem 1fr; }
@media (max-width: 640px) { .inside-full .record dl { grid-template-columns: 1fr; } }

/* ---------- Quick-screen ---------- */
.qs-table input { width: 100%; min-width: 5.5rem; font: 500 .95rem var(--sans); color: #0000C8; padding: .5rem .55rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); }
.qs-table th[scope="row"] { white-space: nowrap; }
.qs-globals { margin: 2rem 0; grid-template-columns: repeat(3, 1fr); }
.qs-out { position: static; max-width: 640px; }
.qs-range { font-size: clamp(2rem, 5vw, 3rem); }
@media (max-width: 640px) { .qs-globals { grid-template-columns: 1fr; } }

/* ---------- v2 additions ---------- */
.practice-band { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.practice-band .tiers { margin-top: 0; }
.mandate-light { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: clamp(1.5rem, 4vw, 2.5rem); }
.mandate-light h2, .mandate-light p { color: var(--ink); }

.qs-table td:last-child, .qs-table th:last-child { background: none; }
.qs-table tbody td:last-child { font-weight: 400; }

.article h2 { margin-top: 2rem; }
.article ul, .article ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.article li { margin-bottom: .4rem; }

.tiers-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .tiers-2 { grid-template-columns: 1fr; } }
