/* =====================================================================
   Ghimire's Law Center — main stylesheet
   ---------------------------------------------------------------------
   Colours are taken from the logo (walnut brown + brass gold on cream),
   with a deep "justice green" as a supporting accent.
   Change a colour once here and it updates across the whole site.
   ===================================================================== */

:root {
  /* Logo-derived */
  --primary: #4a2a16;          /* walnut — "GHIMIRE'S" lettering */
  --primary-700: #3a2011;
  --dark: #231309;             /* darkest gavel wood */
  --secondary: #9a7134;        /* brass gold — "LAW CENTER" */
  --secondary-text: #7a5822;   /* gold dark enough for small text */
  --accent: #c9a15a;           /* light brass — ornament rules */
  --cream: #f3e4c8;            /* logo background */
  --light: #fbf7ef;            /* page ivory */
  --paper: #fffdf8;

  /* Supporting green: trust, growth, stability */
  --green: #2f5e4a;
  --green-dark: #22463a;
  --green-soft: #e7efe9;

  /* Text + lines */
  --text: #2a201a;
  --muted: #6b5e53;
  --border: #e6d9c3;
  --border-strong: #d6c3a1;

  /* Type */
  --font-serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape + depth */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(35, 19, 9, .06);
  --shadow: 0 10px 30px -12px rgba(35, 19, 9, .22);
  --container: 1200px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; color: var(--primary); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.2em; }
.icon--sm { width: 1em; height: 1em; vertical-align: -0.12em; }
.icon--xl { width: 2.5rem; height: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .95rem/1.2 var(--font-sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-700); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--gold { background: var(--accent); color: var(--dark); }
.btn--gold:hover { background: #d8b36f; color: var(--dark); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost-light { border-color: rgba(243, 228, 200, .55); color: var(--cream); background: transparent; }
.btn--ghost-light:hover { border-color: var(--cream); color: #fff; }
.btn--block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; color: var(--green); text-decoration: none; letter-spacing: .02em; }
.text-link .icon { transition: transform .2s; }
a.text-link:hover .icon, .service-card:hover .text-link .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: var(--cream); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--accent); }
.topbar__place { display: inline-flex; align-items: center; gap: 7px; }
.topbar__link { border-left: 1px solid rgba(243, 228, 200, .25); padding-left: 18px; font-weight: 600; letter-spacing: .03em; }

/* ---------- Header + navigation ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 62px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link {
  display: block; padding: 10px 10px; font-size: .84rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav__item:hover > .site-nav__link, .site-nav__item.is-active > .site-nav__link { color: var(--green); }
.site-nav__item.is-active > .site-nav__link { border-bottom-color: var(--accent); }
.site-nav__expand { display: none; }
.dropdown {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--paper); border: 1px solid var(--border); border-top: 2px solid var(--accent);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 60;
}
.has-dropdown--wide .dropdown { columns: 2; column-gap: 0; min-width: 520px; }
.site-nav__item:last-child .dropdown, .site-nav__item:nth-last-child(2) .dropdown { left: auto; right: 0; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown li { break-inside: avoid; }
.dropdown a { display: block; padding: 8px 20px; font-size: .92rem; color: var(--text); text-decoration: none; }
.dropdown a:hover { background: var(--light); color: var(--green); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: var(--radius); width: 46px; height: 46px; color: var(--primary); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

@media (max-width: 1240px) {
  .site-nav__link { padding: 10px 7px; font-size: .78rem; letter-spacing: .06em; }
  .brand img { height: 54px; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; top: var(--header-offset, 128px); width: min(100%, 420px);
    flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    border-left: 1px solid var(--border); padding: 12px 0 28px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .site-nav.is-open { transform: none; visibility: visible; box-shadow: var(--shadow); }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .site-nav__link { flex: 1; padding: 14px 24px; font-size: .9rem; border-bottom: 0; }
  .site-nav__item.is-active > .site-nav__link { border-bottom: 0; box-shadow: inset 3px 0 0 var(--accent); }
  .site-nav__expand {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; align-self: stretch;
    background: none; border: 0; border-left: 1px solid var(--border); color: var(--primary); cursor: pointer;
  }
  .site-nav__expand[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .dropdown, .has-dropdown--wide .dropdown {
    position: static; width: 100%; min-width: 0; columns: 1; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-top: 1px solid var(--border); background: var(--light); display: none; padding: 6px 0;
  }
  .has-dropdown:hover > .dropdown { display: none; }
  .has-dropdown.is-expanded > .dropdown { display: block; }
  .dropdown a { padding: 10px 24px 10px 40px; }
  .site-nav__cta { margin: 20px 24px 0; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .topbar__contact li:not(:first-child), .topbar__social li:not(:last-child) { display: none; }
  .topbar__link { border-left: 0; padding-left: 0; }
  .site-header__inner { min-height: 74px; }
  .brand img { height: 44px; }
}

/* ---------- Notices ---------- */
.notice { margin: 20px 0; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--paper); }
.notice--success { border-color: #b8d3c2; background: var(--green-soft); color: var(--green-dark); }
.notice--error { border-color: #e2b8ae; background: #fbefec; color: #7c2b1b; }
.notice--info { border-color: var(--border-strong); background: var(--cream); color: var(--primary); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-soft); }
.section--dark { background: var(--dark); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--secondary-text);
  font: 600 .78rem/1.2 var(--font-sans); letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .eyebrow::before { background: var(--accent); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: .35em; }
.section-lead { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section--dark .section-lead { color: rgba(243, 228, 200, .8); }
.section-foot { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.section-head--center + * + .section-foot, .section-foot--center { justify-content: center; }

.ornament { display: flex; align-items: center; gap: 10px; color: var(--accent); margin: 22px 0; }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 0 0 60px; background: linear-gradient(90deg, transparent, var(--accent)); }
.ornament::after { transform: scaleX(-1); }
.ornament span { width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } .section { padding: 68px 0; } }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(120% 90% at 85% 40%, rgba(47, 94, 74, .28), transparent 55%),
    radial-gradient(80% 80% at 10% 0%, rgba(154, 113, 52, .18), transparent 60%),
    var(--dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M0 22 22 0l22 22-22 22z' fill='none' stroke='%23c9a15a' stroke-opacity='.16' stroke-width='.8'/%3E%3Ccircle cx='22' cy='22' r='1.3' fill='%23c9a15a' fill-opacity='.22'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; padding: 104px var(--gutter) 112px; }
.hero__eyebrow { color: var(--accent); }
.hero__eyebrow::before { background: var(--accent); }
.hero__title { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; color: #fff; font-weight: 500; margin-bottom: 24px; letter-spacing: -.005em; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__text { font-size: 1.15rem; line-height: 1.7; color: rgba(243, 228, 200, .86); max-width: 38em; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 400px; }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  border: 1px solid rgba(201, 161, 90, .55); padding: 12px; background: rgba(35, 19, 9, .4);
}
.arch__inner { height: 100%; border-radius: 190px 190px 2px 2px; overflow: hidden; background: linear-gradient(180deg, #3a2011 0%, #2a170c 100%); border: 1px solid rgba(201, 161, 90, .25); }
.arch__inner img { width: 100%; height: 100%; object-fit: cover; }
.arch__inner svg { width: 100%; height: 100%; }
.hero__caption { position: absolute; left: -28px; bottom: 36px; background: var(--paper); color: var(--primary); padding: 16px 20px; border-left: 3px solid var(--green); box-shadow: var(--shadow); max-width: 240px; }
.hero__caption strong { display: block; font: 500 1.9rem/1 var(--font-serif); color: var(--primary); }
.hero__caption span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 72px; padding-bottom: 80px; gap: 48px; }
  .hero__visual { max-width: 320px; }
  .hero__caption { left: -12px; }
}

/* Credentials strip under hero */
.pillars { background: var(--paper); border-bottom: 1px solid var(--border); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 30px 28px; border-right: 1px solid var(--border); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar .icon { width: 32px; height: 32px; color: var(--green); margin-top: 4px; }
.pillar h3 { font-size: 1.25rem; margin: 0 0 4px; }
.pillar p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar:first-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: 0; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; color: var(--cream); padding: 64px 0 60px; overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, rgba(47, 94, 74, .35), transparent 60%), var(--primary);
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M0 22 22 0l22 22-22 22z' fill='none' stroke='%23c9a15a' stroke-opacity='.14' stroke-width='.8'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner__title { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 0; }
.page-banner__lead { margin: 14px 0 0; max-width: 46em; color: rgba(243, 228, 200, .85); font-size: 1.1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; font-size: .85rem; letter-spacing: .04em; }
.breadcrumbs li { color: var(--accent); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(243, 228, 200, .45); }
.breadcrumbs a { color: rgba(243, 228, 200, .85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Cards ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 28px;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.service-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 6px; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__title { font-size: 1.4rem; margin: 0; }
.service-card__title a { color: var(--primary); text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; }
.service-card__text { color: var(--muted); font-size: .98rem; margin: 0 0 6px; flex: 1; }

.article-card, .program-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.article-card:hover, .program-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card__media, .program-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--cream); overflow: hidden; }
.article-card__media img, .program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover img, .program-card:hover img { transform: scale(1.03); }
.media-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--secondary);
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(154, 113, 52, .07) 14px 15px), var(--cream); }
.media-placeholder--green { color: var(--green); background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(47, 94, 74, .07) 14px 15px), var(--green-soft); }
.article-card__body, .program-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card__title, .program-card__title { font-size: 1.32rem; margin: 0; }
.article-card__title a, .program-card__title a { color: var(--primary); text-decoration: none; }
.article-card__title a:hover, .program-card__title a:hover { color: var(--green); }
.article-card__text { color: var(--muted); font-size: .96rem; margin: 0; }
.article-card--compact { border-width: 0 0 1px; border-radius: 0; background: transparent; }
.article-card--compact:hover { box-shadow: none; transform: none; }
.article-card--compact .article-card__body { padding: 18px 0; }
.article-card--compact .article-card__title { font-size: 1.15rem; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
.tag { display: inline-block; font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.tag:hover { color: var(--primary); }
.status { font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.status--upcoming { background: var(--green); color: #fff; }
.status--completed { background: var(--cream); color: var(--secondary-text); }
.date-badge { position: absolute; left: 16px; bottom: 16px; background: var(--paper); text-align: center; padding: 8px 12px; border-top: 2px solid var(--accent); box-shadow: var(--shadow-sm); }
.date-badge__day { display: block; font: 500 1.6rem/1 var(--font-serif); color: var(--primary); }
.date-badge__month { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.program-card__loc { display: flex; gap: 6px; align-items: center; margin: 0; font-size: .92rem; color: var(--muted); }
.program-card__loc .icon { color: var(--secondary); }

/* Team */
.team-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-card__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.team-photo { width: 100%; height: 100%; object-fit: cover; }
.team-photo--placeholder {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 38%, rgba(201, 161, 90, .28), transparent 60%), linear-gradient(160deg, var(--cream), #ead6b2);
}
.team-photo--placeholder span {
  display: flex; align-items: center; justify-content: center; width: 42%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--secondary); color: var(--secondary-text); font: 500 clamp(1.6rem, 3vw, 2.4rem)/1 var(--font-serif); letter-spacing: .06em;
  box-shadow: 0 0 0 6px rgba(255, 253, 248, .45);
}
.team-card__body { padding: 20px 22px 24px; border-top: 2px solid var(--accent); }
.team-card__role { margin: 0 0 4px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.team-card__name { font-size: 1.35rem; margin: 0; }
.team-card__name a { color: var(--primary); text-decoration: none; }
.team-card__bio { margin: 10px 0 0; font-size: .94rem; color: var(--muted); }

/* ---------- Founder / legacy ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: center; }
.founder__portrait { position: relative; }
.founder__portrait .team-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.founder__portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.founder__portrait-wrap { position: relative; z-index: 0; }
.founder__role { color: var(--green); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 6px; }
.founder__name { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.founder blockquote, .pull-quote {
  margin: 0 0 26px; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent);
  font: italic 400 1.3rem/1.55 var(--font-serif); color: var(--primary);
}
.section--dark .founder blockquote { color: var(--cream); }
@media (max-width: 900px) { .founder { grid-template-columns: minmax(0, 1fr); gap: 48px; } .founder__portrait { max-width: 340px; } }

/* ---------- Why choose us ---------- */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: why; }
.why-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(243, 228, 200, .14); counter-increment: why; }
.why-list li:first-child { padding-top: 0; }
.why-list li::before { content: counter(why, decimal-leading-zero); font: 500 1.5rem/1 var(--font-serif); color: var(--accent); padding-top: 4px; }
.why-list h3 { font-size: 1.3rem; margin: 0 0 4px; }
.why-list p { margin: 0; color: rgba(243, 228, 200, .78); }

/* ---------- Client support ---------- */
.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--paper); border: 1px solid #cfe0d4; border-radius: var(--radius-lg); overflow: hidden; }
.support__text { padding: 56px; }
.support__steps { background: var(--green); color: #fff; padding: 56px; }
.support__steps h3 { color: #fff; font-size: 1.4rem; }
.support__steps ol { list-style: none; margin: 0; padding: 0; }
.support__steps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.support__steps li:last-child { border-bottom: 0; }
.support__steps .num { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: flex; align-items: center; justify-content: center; font: 500 1.05rem/1 var(--font-serif); }
.support__steps strong { display: block; }
.support__steps span.small { font-size: .92rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 900px) { .support { grid-template-columns: minmax(0, 1fr); } .support__text, .support__steps { padding: 36px 26px; } }

/* ---------- Law update platform ---------- */
.platform { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; }
.category-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.category-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--primary); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s; }
.category-list a:hover { border-color: var(--green); color: var(--green); }
.category-list .count { font-weight: 400; color: var(--muted); font-size: .82rem; }
.update-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.update-col h3 { font-size: 1.35rem; padding-bottom: 12px; border-bottom: 2px solid var(--accent); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.update-col h3 a { font: 600 .8rem var(--font-sans); letter-spacing: .06em; color: var(--green); text-decoration: none; white-space: nowrap; }
@media (max-width: 1000px) { .platform, .update-columns { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .category-list { grid-template-columns: minmax(0, 1fr); } }

/* Initiatives (programs) */
.initiatives { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); }
.initiatives li { padding: 26px 22px; border-right: 1px solid var(--border); }
.initiatives li:last-child { border-right: 0; }
.initiatives .icon { width: 30px; height: 30px; color: var(--green); margin-bottom: 12px; }
.initiatives h3 { font-size: 1.15rem; margin: 0; }
@media (max-width: 1000px) { .initiatives { grid-template-columns: repeat(2, minmax(0, 1fr)); } .initiatives li { border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .initiatives { grid-template-columns: minmax(0, 1fr); } .initiatives li { border-right: 0; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-dark); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M0 22 22 0l22 22-22 22z' fill='none' stroke='%23c9a15a' stroke-opacity='.14' stroke-width='.8'/%3E%3C/svg%3E"); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 60px; padding-bottom: 60px; }
.cta-band__title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 800px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Prose (article/service bodies) ---------- */
.prose { font-size: 1.08rem; line-height: 1.75; max-width: 46em; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); font: italic 1.25rem/1.6 var(--font-serif); color: var(--primary); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose th { background: var(--cream); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.lead { font-size: 1.22rem; line-height: 1.65; color: var(--primary); font-family: var(--font-serif); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
@media (max-width: 960px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr); } }
.sidebar-box { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.sidebar-box h2 { font-size: 1.3rem; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .96rem; }
.sidebar-box li:last-child a { border-bottom: 0; }
.sidebar-box li a:hover, .sidebar-box li a[aria-current] { color: var(--green); }
.sidebar-box--green { background: var(--green); border-color: var(--green); color: rgba(255, 255, 255, .88); }
.sidebar-box--green h2 { color: #fff; }

.article-header { margin-bottom: 32px; }
.article-header .meta { margin-bottom: 16px; }
.featured-image { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.documents { margin-top: 40px; padding: 24px; border: 1px solid var(--border); background: var(--paper); border-radius: var(--radius); }
.documents h2 { font-size: 1.35rem; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { border-bottom: 1px solid var(--border); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--primary); font-weight: 600; }
.doc-list a .icon { color: var(--green); }
.doc-list small { margin-left: auto; font-weight: 400; color: var(--muted); white-space: nowrap; }
.back-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 36px; }

.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .icon { color: var(--green); margin-top: 3px; }

/* ---------- Filters / search ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-block; padding: 7px 14px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .86rem; text-decoration: none; color: var(--primary); background: var(--paper); }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.search-form { display: flex; min-width: 0; flex: 0 1 320px; }
.search-form input { flex: 1; min-width: 0; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.search-form button { border-radius: 0 var(--radius) var(--radius) 0; padding: 0 16px; }

.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 48px 0 0; justify-content: center; }
.pagination a, .pagination span { display: inline-block; min-width: 42px; padding: 9px 13px; text-align: center; border: 1px solid var(--border-strong); border-radius: var(--radius); text-decoration: none; color: var(--primary); background: var(--paper); }
.pagination span[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a:hover { border-color: var(--green); color: var(--green); }

.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); background: var(--paper); }
.empty-state .icon { color: var(--accent); margin: 0 auto 12px; }
.empty-state p { margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .form-card { padding: 26px 20px; } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--primary); }
.field .req { color: #9b3b22; }
.field .hint { display: block; font-size: .84rem; color: var(--muted); margin-top: 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="date"], input[type="password"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 94, 74, .15); }
textarea { min-height: 150px; resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color: #b4472c; }
.field-error { color: #9b3b22; font-size: .86rem; margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.disclaimer-note { display: flex; gap: 10px; padding: 14px 16px; background: var(--cream); border-left: 3px solid var(--secondary); font-size: .92rem; color: var(--primary); border-radius: 0 var(--radius) var(--radius) 0; }
.disclaimer-note .icon { color: var(--secondary); margin-top: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; }
legend { font: 500 1.45rem var(--font-serif); color: var(--primary); padding: 0 0 12px; margin-bottom: 18px; border-bottom: 1px solid var(--border); width: 100%; }

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-list .icon-wrap { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.map-embed { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- About page ---------- */
.about-visual { position: relative; }
.about-visual__frame { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.about-visual__frame img { width: 100%; height: 100%; object-fit: cover; }
.about-visual__badge { position: absolute; right: -16px; bottom: -24px; background: var(--primary); color: var(--cream); padding: 22px 26px; max-width: 250px; border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.about-visual__badge strong { display: block; font: 500 2.4rem/1 var(--font-serif); color: #fff; }
@media (max-width: 640px) { .about-visual__badge { right: 12px; } }
.value-card { padding: 30px 26px; border-top: 2px solid var(--accent); background: var(--paper); }
.value-card .icon { width: 32px; height: 32px; color: var(--green); margin-bottom: 12px; }
.value-card h3 { font-size: 1.35rem; }
.value-card p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item { margin: 0; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.gallery-item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item a:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: 12px 14px; font-size: .92rem; }
.gallery-item figcaption strong { display: block; color: var(--primary); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20, 11, 5, .92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; }
.lightbox p { color: var(--cream); text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; top: 18px; right: 18px; background: none; border: 1px solid rgba(243, 228, 200, .4); color: var(--cream); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(243, 228, 200, .78); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 72px; padding-bottom: 56px; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.footer-logo { display: inline-block; background: var(--cream); padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; }
.footer-logo img { height: 58px; width: auto; }
.footer-title { color: #fff; font-size: 1.25rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(201, 161, 90, .35); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.site-footer a { color: rgba(243, 228, 200, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact .icon { color: var(--accent); margin-top: 4px; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 18px 0 0; }
.social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(201, 161, 90, .4); border-radius: 50%; }
.social a:hover { background: var(--green); border-color: var(--green); }
.site-footer__bottom { border-top: 1px solid rgba(201, 161, 90, .2); background: #1a0e06; font-size: .84rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__disclaimer { max-width: 620px; color: rgba(243, 228, 200, .6); }
.site-footer__credit { margin: 0 auto; padding-top: 12px; padding-bottom: 16px; border-top: 1px solid rgba(201, 161, 90, .1); text-align: center; font-size: .75rem; color: rgba(243, 228, 200, .45); }
.site-footer__credit a { color: inherit; text-decoration: none; }
.site-footer__credit a:hover { color: rgba(243, 228, 200, .8); }

/* Floating quick contact */
.quick-contact { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 40; }
.quick-contact__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); }
.quick-contact__btn--call { background: var(--primary); }
.quick-contact__btn--wa { background: var(--green); }
.quick-contact__btn:hover { color: #fff; transform: translateY(-1px); }
@media (max-width: 640px) { .quick-contact__btn span { display: none; } .quick-contact__btn { padding: 14px; } }

/* Reveal-on-scroll (subtle; disabled for reduced motion) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .quick-contact, .cta-band { display: none; }
  body { background: #fff; }
}

/* Small fixes */
.team-card__photo, .article-card__media, .program-card__media { text-decoration: none; }
.founder__portrait .team-photo--placeholder { border: 1px solid var(--border-strong); }
