/* =========================================================================
   Shepherd Industries PLC — site styles
   Plain CSS, no build step. Colours come from the logo (blue) and the
   original site's green.
   ========================================================================= */

:root {
  --green-900: #0a2a1d;
  --green-800: #0d3b28;
  --green-700: #0f5a37;
  --green-600: #12764a;
  --green-500: #17925c;
  --green-100: #dff1e7;
  --green-50:  #f0f8f3;
  --blue-700:  #174f96;
  --blue-600:  #1f61b4;
  --blue-50:   #edf3fb;
  --gold:      #f0b23f;

  --ink:   #0f1d17;
  --text:  #2b3a34;
  --muted: #5e6f67;
  --line:  #e1e8e4;
  --soft:  #f5f8f6;
  --white: #ffffff;
  --danger: #b42318;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 23, .06), 0 1px 3px rgba(15, 29, 23, .08);
  --shadow-md: 0 8px 24px -8px rgba(15, 29, 23, .18);
  --shadow-lg: 0 24px 48px -16px rgba(15, 29, 23, .28);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.2rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--green-900); color: #d6e6dd; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 6px 18px -8px rgba(18, 118, 74, .8); }
.btn--primary:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-50); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--green-600); color: var(--green-700); }
.btn--sm { padding: .5rem .9rem; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-900); color: #b9d2c5; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a { color: #e6f2eb; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__group { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar__ticker { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__ticker b { color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }
@media (max-width: 760px) { .topbar__contact { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(15, 29, 23, .25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
#site-header { min-height: calc(var(--header-h) + 38px); }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .01em; white-space: nowrap; }
.nav__cta .btn { white-space: nowrap; }
.brand__tag { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .8rem; border-radius: 10px; border: 0; background: none;
  font: inherit; font-size: .93rem; font-weight: 600; color: var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__toggle { background: var(--green-50); color: var(--green-700); }
.nav__link[aria-current="page"], .nav__toggle.is-current { color: var(--green-600); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__menu {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  list-style: none; margin: 0; padding: .45rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__menu a { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .92rem; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--green-50); color: var(--green-700); }
.nav__item.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1201px) {
  .nav__item:hover > .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__item:hover > .nav__toggle svg { transform: rotate(180deg); }
}
.nav__cta { margin-left: .5rem; }
.menu-button {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.menu-button svg { width: 22px; height: 22px; }

@media (max-width: 1200px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-button { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, calc(var(--header-h) + 38px)); z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem var(--gutter) 2rem; overflow-y: auto; border-top: 1px solid var(--line);
    transform: translateX(100%); transition: transform .25s ease, visibility .25s; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: .9rem .5rem; font-size: 1.02rem; border-radius: 8px; border-bottom: 1px solid var(--line); }
  .nav__menu {
    position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__item.is-open > .nav__menu { display: block; }
  .nav__cta { margin: 1.25rem 0 0; }
  .nav__cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) { .brand__tag { display: none; } .brand img { width: 40px; height: 40px; } }
@media (max-width: 380px) { .brand__name { white-space: normal; font-size: .95rem; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--green-900); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 33, 23, .94) 0%, rgba(8, 33, 23, .82) 38%, rgba(8, 33, 23, .35) 75%, rgba(8, 33, 23, .15) 100%),
    linear-gradient(0deg, rgba(8, 33, 23, .55), transparent 40%);
}
.hero .container { padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(7rem, 13vw, 9rem); }
.hero__content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero .lead { color: #d3e4da; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 600px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.4rem;
  padding: .4rem .85rem .4rem .45rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; color: #e3efe8;
}
.hero__badge span { background: var(--gold); color: var(--green-900); font-weight: 800; border-radius: 999px; padding: .15rem .55rem; font-size: .75rem; letter-spacing: .05em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.stats {
  position: relative; z-index: 2; margin-top: clamp(-5rem, -8vw, -4rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.stat { padding: 1.6rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); line-height: 1.1; }
.stat__value small { font-size: .5em; font-weight: 700; color: var(--muted); margin-left: .2rem; }
.stat__label { color: var(--muted); font-size: .9rem; margin-top: .35rem; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat { padding: 1.1rem .9rem; }
  .stat__value small { display: block; margin: .2rem 0 0; font-size: .45em; }
  .stat__label { font-size: .82rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--green-900); color: #d3e4da; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 33, 23, .95), rgba(8, 33, 23, .75) 55%, rgba(8, 33, 23, .45)); }
.page-hero .container { padding-block: clamp(3rem, 8vw, 5.5rem); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
.page-hero p { max-width: 640px; font-size: 1.08rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .85rem; }
.breadcrumb a { color: #b9d2c5; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: rgba(255, 255, 255, .35); }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.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--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media-frame--wide img { aspect-ratio: 16 / 9; }
.media-tag {
  position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 255, 255, .94); color: var(--ink);
  border-radius: 12px; padding: .7rem 1rem; font-size: .85rem; box-shadow: var(--shadow-sm); max-width: calc(100% - 2rem);
}
.media-tag strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }

.prose { max-width: 760px; }
.prose p, .prose li { color: var(--text); }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5a37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 700px) { .checklist--2 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card--soft { background: var(--soft); box-shadow: none; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600); margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }

.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0d6; color: inherit; }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.service-card__body h3 { margin: 0; font-size: 1.1rem; }
.service-card__meta { color: var(--muted); font-size: .9rem; }
.service-card__capacity { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--green-700); font-size: .92rem; }

.company-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; padding: 0; }
.company-card img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.company-card__body { padding: 1.5rem 1.6rem; }
@media (max-width: 640px) { .company-card { grid-template-columns: 1fr; } .company-card img { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- Services detail ---------- */
.service-block { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
@media (min-width: 901px) {
  .service-block.split { align-items: start; }
  .service-block.split > :first-child { position: sticky; top: calc(var(--header-h) + 5rem); }
}
.capacity-pill {
  display: inline-flex; align-items: baseline; gap: .4rem; margin: .4rem 0 1.2rem;
  background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100);
  border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .92rem;
}
.capacity-pill strong { font-family: var(--font-display); font-size: 1.15rem; }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .6rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px; text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 600; }
.subnav a:hover, .subnav a.is-active { background: var(--green-50); color: var(--green-700); }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--soft); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: ""; position: absolute; inset: 0; background: rgba(8, 33, 23, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 34px no-repeat;
  opacity: 0; transition: opacity .25s, background-color .25s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; background-color: rgba(8, 33, 23, .35); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 15, 10, .9); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox__figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox__figure img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__figure figcaption { color: #d7e5dd; margin-top: .9rem; font-size: .95rem; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- People ---------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.person__photo { aspect-ratio: 4 / 5; background: linear-gradient(180deg, var(--green-50), #e7efe9); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__body { padding: 1.1rem 1.25rem 1.3rem; }
.person__name { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.08rem; margin: 0; }
.person__role { color: var(--green-600); font-weight: 600; font-size: .9rem; margin: .2rem 0 0; }
.person__contact { margin-top: .6rem; font-size: .88rem; }
.person__contact a { word-break: break-all; }

.profile { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: start; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.profile:first-child { border-top: 0; padding-top: 0; }
.profile__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); box-shadow: var(--shadow-sm); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .2rem; }
.profile__role { color: var(--green-600); font-weight: 700; margin-bottom: 1rem; }
.profile__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
@media (max-width: 700px) { .profile { grid-template-columns: 1fr; } .profile__photo { max-width: 240px; } }

.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); white-space: nowrap; }
.badge--blue { background: var(--blue-50); color: var(--blue-700); border-color: #d6e3f5; }

/* ---------- Quote ---------- */
.quote { position: relative; background: var(--green-900); color: #e3efe8; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.quote::before { content: "\201C"; position: absolute; right: 1.5rem; top: -1.5rem; font-family: Georgia, serif; font-size: 12rem; line-height: 1; color: rgba(255, 255, 255, .06); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; font-weight: 600; color: #fff; }
.quote__author { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.quote__author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(255, 255, 255, .3); }
.quote__author strong { display: block; color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-700), var(--green-600) 55%, var(--blue-700)); color: #e7f3ec; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.25rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Documents ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.doc-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; padding: .95rem 1.15rem; border-top: 1px solid var(--line); }
.doc-row:first-child { border-top: 0; }
.doc-row:hover { background: #fafcfb; }
.doc-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: #b42318; background: #fdecea; }
.doc-icon--img { color: var(--blue-700); background: var(--blue-50); }
.doc-title { font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.4; }
.doc-title:hover { color: var(--green-700); text-decoration: underline; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: center; margin-top: .3rem; font-size: .83rem; color: var(--muted); }
.doc-actions { display: flex; gap: .4rem; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); background: #fff; text-decoration: none; }
.icon-btn:hover { border-color: var(--green-600); color: var(--green-700); background: var(--green-50); }
.icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .doc-row { grid-template-columns: 36px 1fr; } .doc-icon { width: 36px; height: 36px; } .doc-actions { grid-column: 2; } }

.doc-center__toolbar { display: grid; grid-template-columns: 1fr 180px; gap: .75rem; margin-bottom: 1rem; }
@media (max-width: 640px) { .doc-center__toolbar { grid-template-columns: 1fr; } }
.field { position: relative; }
.field svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input, .select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.input--icon { padding-left: 2.6rem; }
.input:focus, .select:focus { outline: 0; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(23, 146, 92, .15); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer;
}
.chip span { font-size: .75rem; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--green-500); }
.chip[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip[aria-pressed="true"] span { color: #bfe0cd; }
.doc-year { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 2rem 0 .75rem; display: flex; align-items: center; gap: .75rem; }
.doc-year::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.doc-year:first-child { margin-top: 0; }
.doc-summary { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.doc-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.doc-warning { background: #fef3f2; border: 1px solid #fecdca; color: var(--danger); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.25rem; font-size: .92rem; }
.doc-warning ul { margin: .4rem 0 0; }

.featured-docs .card { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.featured-docs .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0d6; }
.featured-docs .card__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-600); }
.featured-docs .card__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.35; }
.featured-docs .card__meta { margin-top: auto; padding-top: .6rem; font-size: .83rem; color: var(--muted); }

.year-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.year-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px;
  padding: 1.1rem; border-radius: var(--radius); text-decoration: none; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--green-700), var(--green-900));
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.year-tile:nth-child(3n+2) { background: linear-gradient(150deg, var(--blue-600), #0f3566); }
.year-tile:nth-child(3n+3) { background: linear-gradient(150deg, #24735a, #0e3b2f); }
.year-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: #fff; }
.year-tile__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.year-tile__year { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.year-tile__size { font-size: .78rem; opacity: .75; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: start; }
.info-list .icon-badge { width: 40px; height: 40px; border-radius: 12px; margin: 0; }
.info-list .icon-badge svg { width: 20px; height: 20px; }
.info-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.info-list a { word-break: break-word; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.25rem; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .kv { grid-template-columns: 1fr; gap: .1rem; }
  .kv dd { margin-bottom: .6rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.contact-card { padding: 1.25rem 1.35rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.contact-card p { margin: 0; font-size: .93rem; }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #a9c4b6; font-size: .93rem; margin-top: 0; }
.site-footer a { color: #d6e7de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand img { width: 48px; height: 48px; }
.footer-brand strong { font-family: var(--font-display); color: #fff; font-size: 1.1rem; line-height: 1.2; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; font-size: .85rem; }
.footer-address { font-style: normal; display: grid; gap: .9rem; }
.footer-address strong { color: #fff; display: block; font-size: .9rem; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.notice { display: flex; gap: .9rem; align-items: flex-start; background: var(--blue-50); border: 1px solid #d6e3f5; color: #173a66; border-radius: 14px; padding: 1rem 1.2rem; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.logo-wall { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.logo-wall img { margin-inline: auto; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mt-1 { margin-top: 1rem; } .mb-0 { margin-bottom: 0; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--green-100); }

/* Reveal-on-scroll (only when JS is running and motion is allowed) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  #site-header, #site-footer, .subnav, .cta-band, .hero__actions, .doc-actions { display: none !important; }
  .hero, .page-hero { color: #000; background: none; }
  .hero h1, .page-hero h1 { color: #000; }
  .hero::after, .page-hero::after, .hero__media, .page-hero__media { display: none; }
}
