/* ============================================================
   Manish & Associates — Labour Law & Compliance Consultants
   Statute-register design system
   ink navy / paper / ledger rule / seal red / slate
   ============================================================ */

:root {
  --ink: #16202e;
  --ink-2: #223148;
  --paper: #f6f5ef;
  --paper-2: #efede3;
  --rule: #d8d5c8;
  --seal: #a8322a;
  --slate: #3a4353;
  --muted: #6b7280;
  --white: #ffffff;

  --font-display: "Libre Caslon Text", "Georgia", serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --max-w: 1120px;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
}

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

a { color: var(--seal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-narrow { max-width: 44rem; }

/* ---------- Typography helpers ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seal);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  max-width: 46rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

section { padding: 4.5rem 0; }

.grid-footnote { margin-top: 2rem; font-weight: 600; }
.empty-note { color: var(--muted); padding: 1rem 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--seal); color: var(--white); }
.btn-primary:hover { background: #8d2822; }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 245, 239, 0.4);
}
.btn-ghost:hover { border-color: var(--paper); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }

.btn-danger { background: transparent; color: var(--seal); border-color: var(--seal); }
.btn-danger:hover { background: var(--seal); color: var(--white); }

.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.82rem; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(246, 245, 239, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--paper);
  line-height: 1.2;
}
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 245, 239, 0.6);
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(246, 245, 239, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a.active {
  color: var(--white);
  border-bottom: 2px solid var(--seal);
  padding-bottom: 2px;
}
.nav-links .btn { padding: 0.55rem 1.1rem; }
.nav-links a.btn.active { border-bottom: 1.5px solid transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ---------- Flash ---------- */

.flash {
  background: var(--paper-2);
  border-bottom: 2px solid var(--seal);
  color: var(--ink);
  font-weight: 500;
  padding: 0.8rem 0;
}

/* ---------- Hero: statute-book cover + register card ---------- */

.hero {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 35px,
      rgba(246, 245, 239, 0.05) 35px,
      rgba(246, 245, 239, 0.05) 36px
    ),
    var(--ink);
  color: var(--paper);
  padding: 5.5rem 0 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: #e8b7b2; }

.hero p.sub {
  font-size: 1.1rem;
  color: rgba(246, 245, 239, 0.78);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Register card */
.register-card {
  position: relative;
  background: var(--paper);
  color: var(--slate);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.register-head, .register-card li { background: var(--paper); }
.register-head { border-radius: var(--radius) var(--radius) 0 0; }

.register-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.9rem 1.4rem;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.register-card ul { list-style: none; }

.register-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.register-card li:last-child { border-bottom: none; }

.register-card .entry { font-weight: 600; color: var(--ink); }
.register-card .act {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* Ink stamp */
.stamp {
  position: absolute;
  right: -1rem;
  bottom: -1.1rem;
  transform: rotate(-8deg);
  border: 3px double var(--seal);
  color: var(--seal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  opacity: 0.85;
  background: rgba(246, 245, 239, 0.85);
  pointer-events: none;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 35px,
      rgba(246, 245, 239, 0.05) 35px,
      rgba(246, 245, 239, 0.05) 36px
    ),
    var(--ink);
  color: var(--paper);
  padding: 4rem 0;
}
.page-hero h1 {
  color: var(--paper);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 46rem;
  margin-bottom: 1rem;
}
.page-hero .sub {
  color: rgba(246, 245, 239, 0.78);
  max-width: 42rem;
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat .num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.stat .label {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Latest updates (home) ---------- */

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-head-row .section-title { margin-bottom: 0; }

.updates-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.update-teaser {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  color: var(--slate);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.update-teaser:hover { text-decoration: none; border-color: var(--ink); }
.update-teaser h3 { font-size: 1.02rem; line-height: 1.35; }

.chip {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seal);
  border: 1px solid var(--seal);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  white-space: nowrap;
}

.update-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- Updates page ---------- */

.updates-wrap {
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.update-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem;
}
.update-card h2 { font-size: 1.3rem; margin: 0.75rem 0; }
.update-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.update-body {
  white-space: pre-line;
  font-size: 0.97rem;
  color: var(--slate);
}

/* ---------- Services: register entries ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.act-ref {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--seal);
}

.service h3 { font-size: 1.15rem; }
.service p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Services detail page ---------- */

.services-detail .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 52rem;
}

.service-detail {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  scroll-margin-top: 5.5rem;
}
.service-detail h2 { font-size: 1.5rem; margin: 0.5rem 0 0.75rem; }
.service-detail > p { color: var(--slate); margin-bottom: 1rem; }

.deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.deliverables li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}
.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--seal);
  opacity: 0.75;
}

/* ---------- Why us ---------- */

.why { background: var(--ink); color: var(--paper); }
.why .section-title { color: var(--paper); }
.why .section-lead { color: rgba(246, 245, 239, 0.7); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  border: 1px solid rgba(246, 245, 239, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.why-card h3 {
  color: var(--paper);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.why-card p { font-size: 0.9rem; color: rgba(246, 245, 239, 0.7); }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-note {
  border-left: 3px solid var(--seal);
  padding: 0.25rem 0 0.25rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
}

/* ---------- Process steps ---------- */

.process { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seal);
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.team-card h3 { font-size: 1.15rem; }
.team-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seal);
  margin: 0.35rem 0 0.75rem;
}
.team-card p:last-child { font-size: 0.92rem; color: var(--muted); }

/* ---------- Testimonials ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ---------- Resources ---------- */

.resources { background: var(--paper-2); border-top: 1px solid var(--rule); }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.resource {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  color: var(--slate);
  display: block;
}
a.resource:hover { text-decoration: none; border-color: var(--ink); }
.resource .code-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seal);
  display: block;
  margin-bottom: 0.4rem;
}
.resource h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.resource p { font-size: 0.88rem; color: var(--muted); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 3.5rem 0;
}
.cta-banner h2 {
  color: var(--paper);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(246, 245, 239, 0.75);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}

/* ---------- Forms ---------- */

.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.field label small { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 32, 46, 0.12);
}
.field textarea { resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hp-field { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }

.form-note { font-size: 0.83rem; color: var(--muted); margin-top: 0.9rem; }
.form-actions { display: flex; gap: 1rem; margin-top: 1.25rem; }

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }

.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.info-block h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 0.4rem;
}
.info-block p { font-size: 0.95rem; }

/* ---------- Admin ---------- */

.admin-wrap { padding: 3.5rem 0 4.5rem; }

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.admin-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.admin-head-actions { display: flex; gap: 0.75rem; align-items: center; }

.admin-section-title {
  font-size: 1.2rem;
  margin: 2.5rem 0 1rem;
}

.table-scroll { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--rule);
  font-size: 0.92rem;
}
.admin-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.admin-table .mono { font-family: var(--font-mono); font-size: 0.8rem; white-space: nowrap; }
.admin-table .cell-message { max-width: 26rem; white-space: pre-line; }
.col-actions { white-space: nowrap; width: 1%; }
.col-actions form { display: inline-block; margin-left: 0.4rem; }

.admin-form,
.admin-login {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1.5rem;
}

.admin-login-wrap {
  padding: 5rem 1.25rem;
  display: flex;
  justify-content: center;
}
.admin-login { width: 100%; max-width: 24rem; }
.admin-login h1 { font-size: 1.6rem; margin-bottom: 1.25rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0f1722;
  color: rgba(246, 245, 239, 0.65);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--paper);
  margin-bottom: 0.75rem;
}
.footer-about p:last-child { font-size: 0.88rem; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 245, 239, 0.5);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col a { color: rgba(246, 245, 239, 0.8); }
.footer-col a:hover { color: var(--white); }
.footer-col p { margin-bottom: 0.75rem; }

.footer-bar {
  border-top: 1px solid rgba(246, 245, 239, 0.12);
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: rgba(246, 245, 239, 0.5);
}
.footer-bar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bar a { color: rgba(246, 245, 239, 0.75); }
.footer-bar a:hover { color: var(--white); }

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.wa-float svg { width: 1.75rem; height: 1.75rem; fill: #fff; }
.wa-float:hover { background: #1fb857; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Exhibits (photography, filed like annexures) ---------- */

.exhibit {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.exhibit-ph {
  background: var(--ink);
  aspect-ratio: 3 / 2;
}
.exhibit-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  mix-blend-mode: luminosity;
  opacity: 0.92;
}
.exhibit figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.exhibit-no {
  color: var(--seal);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.exhibit-wide .exhibit-ph { aspect-ratio: 21 / 8; }
.exhibit-band { padding: 0; }

.why-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
  align-items: stretch;
}
.why-layout .exhibit {
  display: flex;
  flex-direction: column;
  border-color: rgba(246, 245, 239, 0.25);
}
.why-layout .exhibit-ph { aspect-ratio: auto; flex: 1; min-height: 260px; }
.why-layout .why-grid { grid-template-columns: 1fr 1fr; }

.contact-info .exhibit { margin-bottom: 1.5rem; }
.contact-info .exhibit-ph { aspect-ratio: 16 / 9; }

.about-grid + .exhibit-wrap { margin-top: 3rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid, .testimonials-grid, .updates-teaser-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .stats-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .why-layout { grid-template-columns: 1fr; }
  .exhibit-wide .exhibit-ph { aspect-ratio: 16 / 7; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 3.25rem 0; }
  .hero { padding: 3.5rem 0 4rem; }

  .services-grid, .testimonials-grid, .updates-teaser-grid,
  .team-grid, .why-grid, .stats-grid, .steps-grid, .field-row,
  .footer-grid, .why-layout .why-grid { grid-template-columns: 1fr; }
  .exhibit-wide .exhibit-ph { aspect-ratio: 4 / 3; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(246, 245, 239, 0.12);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.8rem 1.25rem; }
  .nav-links a.active { border-bottom: none; border-left: 3px solid var(--seal); }
  .nav-links .btn { margin: 0.5rem 1.25rem 0.75rem; }

  .stamp { right: 0.5rem; }
}
