/* ==========================================================================
   P.L. Consultants — site styles
   Environmental, Civil & Structural Consulting Firm, Kuching, Sarawak
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #06181e;
  --deep:       #0a2e38;
  --deep-2:     #0e3d49;
  --deep-3:     #14515f;
  --teal:       #0f766e;
  --teal-lite:  #16a394;
  --green:      #4ea172;
  --amber:      #c2882c;

  /* Neutrals */
  --paper:      #ffffff;
  --sand:       #f7f5f0;
  --sand-2:     #efece4;
  --line:       #e2ded4;
  --line-soft:  #ede9e0;
  --body:       #33474d;
  --muted:      #647a80;

  /* Type */
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space + shape */
  --wrap: 1180px;
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(6, 24, 30, .06), 0 2px 8px rgba(6, 24, 30, .04);
  --shadow:    0 2px 4px rgba(6, 24, 30, .06), 0 12px 28px rgba(6, 24, 30, .08);
  --shadow-lg: 0 4px 8px rgba(6, 24, 30, .07), 0 24px 60px rgba(6, 24, 30, .14);
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep-2); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--deep);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 650; letter-spacing: -.005em; }
p  { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

::selection { background: var(--teal); color: #fff; }

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

/* ------------------------------------------------------------ utilities -- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 800px); margin-inline: auto; }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--sand { background: var(--sand); }
.section--line { border-top: 1px solid var(--line-soft); }

/* Visually hidden without pushing the page sideways. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip {
  position: absolute; left: 0; top: 0; z-index: 999;
  background: var(--deep); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
  transform: translateY(-140%);
  transition: transform .15s;
}
.skip:focus { transform: translateY(0); color: #fff; }

.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--amber);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 68ch; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------------------------------------------------------------- btns -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-lite); color: #fff; box-shadow: var(--shadow); }

.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.btn--outline { border-color: var(--line); color: var(--deep); background: #fff; }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 20px rgba(6,24,30,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand__mark {
  width: 38px; height: 44px; flex: none;
  object-fit: contain;
  object-position: center;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -.02em;
}
.brand__sub {
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-size: .93rem;
  font-weight: 550;
  color: var(--body);
  text-decoration: none;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--deep); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 650; }
.nav .btn { margin-left: .6rem; padding: .7rem 1.15rem; }
.nav .btn:hover { background: var(--teal-lite); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; color: var(--deep);
}
.nav-toggle span {
  display: block; position: relative;
  width: 19px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .22s, background-color .22s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 19px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .22s, top .22s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .75rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: .9rem .6rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; border-bottom: none; }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--deep) 0%, #0b3440 45%, #0a2731 100%);
  color: #e8f0f1;
  overflow: hidden;
  isolation: isolate;
}
.hero__contours,
.page-hero__contours,
.cta__contours {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/contours.svg") center / cover no-repeat;
}
.hero__contours { opacity: .55; }
.hero::after {
  content: "";
  position: absolute;
  right: -12%; top: -30%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(22,163,148,.22) 0%, rgba(22,163,148,0) 62%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4.5rem); max-width: 780px; }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--teal-lite);
  display: block;
}
.hero .eyebrow { color: #7fd8cc; }
.hero .eyebrow::before { background: var(--amber); }
.hero__lede {
  font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem);
  color: rgba(232,240,241,.82);
  max-width: 60ch;
  margin-top: 1.4rem;
}

/* registration chips */
.reg-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.reg-chip {
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(232,240,241,.9);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .45rem .95rem;
}

/* stat band */
.stats {
  background: rgba(255,255,255,.045);
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 1;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.stat {
  padding: 1.9rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat__num span { color: var(--teal-lite); }
.stat__label {
  font-size: .78rem;
  letter-spacing: .05em;
  color: rgba(232,240,241,.62);
  margin-top: .6rem;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--deep) 0%, #0b3440 60%, #0a2731 100%);
  color: #e8f0f1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__contours { opacity: .45; }
.page-hero__inner { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(232,240,241,.8); font-size: 1.08rem; max-width: 58ch; margin: 0; }
.page-hero .eyebrow { color: #7fd8cc; }

.crumbs {
  font-size: .82rem;
  color: rgba(232,240,241,.55);
  padding-top: 1.6rem;
  display: flex; gap: .5rem; align-items: center;
}
.crumbs a { color: rgba(232,240,241,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------- cards -- */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.9rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card--hover:hover { border-color: rgba(15,118,110,.35); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

.card__icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(15,118,110,.12), rgba(78,161,114,.14));
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 23px; height: 23px; }

/* two big pillars */
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--green));
}
.pillar--env::before { background: linear-gradient(180deg, var(--green), var(--amber)); }
.pillar h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.pillar__no {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: .08em;
  display: block;
  margin-bottom: .8rem;
}

/* checked list */
.list-check { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.list-check li {
  position: relative;
  padding-left: 1.85rem;
  font-size: .96rem;
  color: var(--body);
}
.list-check li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--teal);
  transform: rotate(45deg);
  opacity: .85;
}
.list-check--amber li::before { background: var(--amber); }

/* plain bullet list */
.list-plain { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.list-plain li { position: relative; padding-left: 1.15rem; font-size: .95rem; color: var(--muted); }
.list-plain li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--line);
}

/* --------------------------------------------------- highlight projects -- */

.hl {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.hl__item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 1.75rem;
  align-items: start;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.hl__year {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--amber);
  font-weight: 600;
  padding-top: .1rem;
}
.hl__body h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.hl__body p { color: var(--muted); font-size: .95rem; margin: 0; }
.hl__meta {
  text-align: right;
  font-size: .82rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: .25rem;
}
.hl__value {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--deep);
  font-weight: 600;
}
@media (max-width: 720px) {
  .hl__item { grid-template-columns: 1fr; gap: .5rem; }
  .hl__meta { text-align: left; padding-top: .5rem; }
}

/* --------------------------------------------------------------- tags -- */

.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 4px;
  background: var(--sand-2);
  color: var(--muted);
  white-space: nowrap;
}
.tag--cs   { background: rgba(15,118,110,.11);  color: #0c5f59; }
.tag--eia  { background: rgba(78,161,114,.14);  color: #2f6d4a; }
.tag--emp  { background: rgba(194,136,44,.14);  color: #8a5f14; }
.tag--escp { background: rgba(20,81,95,.11);    color: var(--deep-3); }

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ------------------------------------------------------ projects filter -- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .5rem;
}
.filter-btn {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all .16s;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }

.search-field { position: relative; flex: 1 1 220px; min-width: 200px; }
.search-field input {
  width: 100%;
  font-family: var(--sans);
  font-size: .9rem;
  padding: .6rem 1rem .6rem 2.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
}
.search-field input::placeholder { color: #9aa9ae; }
.search-field svg {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: #9aa9ae;
}

.result-count { font-size: .85rem; color: var(--muted); margin: 1.25rem 0 1.5rem; }

/* project rows */
.proj-list { border-top: 1px solid var(--line); }
.proj {
  display: grid;
  grid-template-columns: 72px 1fr 210px;
  gap: 1.5rem;
  align-items: start;
  padding: 1.4rem .25rem;
  border-bottom: 1px solid var(--line-soft);
}
.proj:hover { background: var(--sand); }
.proj__year { font-family: var(--serif); font-size: .98rem; color: var(--amber); font-weight: 600; }
.proj__name { font-size: .99rem; color: var(--deep); font-weight: 550; line-height: 1.45; margin: 0 0 .4rem; }
.proj__role { font-size: .85rem; color: var(--muted); margin: 0; }
.proj__client { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.proj__client strong { display: block; color: var(--body); font-weight: 600; font-size: .84rem; }
@media (max-width: 820px) {
  .proj { grid-template-columns: 60px 1fr; gap: .35rem 1rem; }
  .proj__client { grid-column: 2; }
}

.empty-state { padding: 3.5rem 1rem; text-align: center; color: var(--muted); }

/* --------------------------------------------------------------- team -- */

.person {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.person:last-child { border-bottom: none; }
.person__avatar {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 5%;
  background: var(--sand-2);
  box-shadow: var(--shadow);
  border: 3px solid #fff;
  outline: 1px solid var(--line);
}
.person__role {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 .35rem;
}
.person h3 { margin-bottom: .6rem; }
@media (max-width: 640px) {
  .person { grid-template-columns: 1fr; gap: 1.25rem; }
  .person__avatar { width: 88px; height: 88px; font-size: 1.7rem; }
}

/* leadership row (home page) */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.leader { text-align: center; }
.leader img {
  width: 168px; height: 168px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 5%;
  margin: 0 auto 1.25rem;
  background: var(--sand-2);
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  outline: 1px solid var(--line);
}
.leader h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.leader p { font-size: .88rem; color: var(--muted); margin: 0; }
.leader a { font-size: .86rem; font-weight: 600; text-decoration: none; }
.leader a:hover { text-decoration: underline; }

/* definition rows */
.dl { margin: 1.5rem 0 0; display: grid; gap: 0; }
.dl__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.25rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: .93rem;
}
.dl__row dt { color: var(--muted); font-weight: 600; }
.dl__row dd { margin: 0; color: var(--body); }
@media (max-width: 560px) {
  .dl__row { grid-template-columns: 1fr; gap: .2rem; }
}

/* ------------------------------------------------------- credentials -- */

.cred {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.cred__body strong { display: block; color: var(--deep); font-size: .97rem; font-weight: 620; }
.cred__body span { font-size: .85rem; color: var(--muted); }
.cred__no {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .82rem;
  color: var(--teal);
  background: rgba(15,118,110,.07);
  padding: .35rem .7rem;
  border-radius: 4px;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .cred { grid-template-columns: 1fr; }
  .cred__no { justify-self: start; }
}

/* numbered feature blocks */
.metric {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.metric__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 600;
  color: var(--deep);
  line-height: 1;
  display: block;
  letter-spacing: -.02em;
}
.metric__num span { color: var(--teal); }
.metric__label { font-size: .88rem; color: var(--muted); margin-top: .7rem; display: block; line-height: 1.45; }

/* award / timeline list */
.awards { list-style: none; padding: 0; margin: 0; }
.awards li {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
}
.awards li:first-child { border-top: 1px solid var(--line); }
.awards .yr { font-family: var(--serif); color: var(--amber); font-weight: 600; }
.awards .who { font-size: .84rem; color: var(--muted); text-align: right; white-space: nowrap; }
@media (max-width: 700px) {
  .awards li { grid-template-columns: 60px 1fr; }
  .awards .who { grid-column: 2; text-align: left; }
}

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

.cta {
  background: linear-gradient(150deg, var(--deep) 0%, #0d3b47 55%, #0a2731 100%);
  color: #e8f0f1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta__contours { opacity: .38; }
.cta__inner {
  padding: clamp(3rem, 6vw, 5rem) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { color: rgba(232,240,241,.78); margin: 0; max-width: 52ch; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- forms -- */

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 620; color: var(--deep); }
.field label .req { color: var(--amber); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: .97rem;
  color: var(--body);
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  width: 100%;
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,118,110,.13);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); }
.hp {
  position: absolute;
  width: 1px; height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* contact info blocks */
.contact-block { display: grid; gap: .3rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-block:first-of-type { border-top: 1px solid var(--line); }
.contact-block dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted);
}
.contact-block dd { margin: 0; font-size: 1rem; color: var(--deep); }
.contact-block dd a { font-weight: 550; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: rgba(232,240,241,.62);
  font-size: .9rem;
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin: 0 0 1.1rem;
}
.site-footer a { color: rgba(232,240,241,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: rgba(255,255,255,.45); }
.footer-brand p { margin-top: 1.1rem; max-width: 34ch; line-height: 1.6; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(232,240,241,.42);
}

/* ------------------------------------------------------- reveal on scroll -- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- print -- */

@media print {
  .site-header, .cta, .nav-toggle, .filters, .btn-row { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero, .page-hero, .site-footer { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
