/* ─────────────────────────────────────────────────────────────
   Keytone — global stylesheet
   Inter only · Navy hero / white body · forest green accent
   Lifted from the design reference and combined into one file.
   ───────────────────────────────────────────────────────────── */

:root {
  --navy: #0e0e0e;
  --navy-deep: #000000;
  --navy-mid: #1a1a1a;
  --white: #ffffff;
  --paper: #fafaf8;
  --paper-warm: #fafaf8;
  --ink: #0e0e0e;
  --ink-soft: #4a4a4a;
  --gray: #8a8e8c;
  --gray-light: #d5d5d5;
  --green: #1b7a67;
  --green-bright: #1b7a67;
  --rule: rgba(14, 14, 14, 0.1);
  --rule-dark: rgba(255, 255, 255, 0.1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-brand: 'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --maxw: 1320px;
  --gutter: 48px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
img,
svg {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── LAYOUT ─────────────────────────────────────────── */

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.accent-bar {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--green);
  margin: 18px auto 0;
}
.accent-bar.left {
  margin-left: 0;
  margin-right: 0;
}

.label {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.label--light {
  color: rgba(255, 255, 255, 0.7);
}
.label--gray {
  color: var(--gray);
}

p {
  margin: 0 0 1em;
}

/* ─── NAV ─────────────────────────────────────── */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  padding: 28px 0;
}
.nav.solid {
  position: sticky;
  background: var(--navy);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}
.brand-stone svg {
  display: block;
}
.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-mark .word {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.035em;
  color: var(--white);
}
.brand-mark .word .accent {
  color: var(--green-bright);
}
.brand-mark .sub {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 0;
  position: relative;
  transition: color 0.18s ease;
}
.nav-link:hover {
  color: var(--white);
}
.nav-link.active {
  color: var(--white);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--green-bright);
}
.nav-side {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 0;
  transition: background 0.18s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--green-bright);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.nav-open {
  overflow: hidden;
}

/* ─── BUTTONS ──────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-bright);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--green);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ─── IMAGE PLACEHOLDERS ───────────────────────────── */

.ph {
  position: relative;
  background-color: var(--navy-mid);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 12px
  );
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
}
.ph--paper {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(26, 31, 46, 0.06) 0px,
    rgba(26, 31, 46, 0.06) 1px,
    transparent 1px,
    transparent 12px
  );
  color: rgba(26, 31, 46, 0.4);
}
.ph--green {
  background-color: var(--green);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 12px
  );
  color: rgba(255, 255, 255, 0.7);
}
.ph-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
}
.ph-meta {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
}
.ph-watermark {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ph-watermark .accent {
  color: var(--green-bright);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: -36px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 40px;
  transform: rotate(45deg);
  transform-origin: center;
  z-index: 2;
}
.ribbon--complete {
  background: var(--green);
}
.ribbon--on-site {
  background: #e5a23d;
}
.ribbon--archive {
  background: #4a5060;
}

/* ─── FOOTER ────────────────────────────────────────── */

.foot {
  background: var(--navy);
  color: var(--white);
  margin-top: 0;
}
.foot-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter) 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
}
.foot-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.foot-word {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 1;
}
.foot-word .accent {
  color: var(--green-bright);
}
.foot-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}
.foot-tag {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 24px;
  max-width: 320px;
}
.foot h4 {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0 0 18px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot ul li {
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.foot ul li a:hover {
  color: var(--green-bright);
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.foot-bottom a:hover {
  color: var(--white);
}

/* ─── HERO (homepage full-bleed) ──────────────────── */

.hero {
  position: relative;
  min-height: 760px;
  padding: 200px var(--gutter) 120px;
  background: var(--navy);
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.hero .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.hero .ph.ph--has-image {
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 31, 46, 0.5) 0%, rgba(26, 31, 46, 0.85) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--white);
  text-wrap: balance;
}
.hero .tagline {
  margin: 40px auto 0;
  max-width: 540px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll .tick {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
}

/* ─── HERO BANNER (sub pages) ────────────────────── */

.hero-banner {
  position: relative;
  min-height: 480px;
  padding: 200px var(--gutter) 120px;
  background: var(--navy);
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.hero-banner .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 31, 46, 0.6), rgba(26, 31, 46, 0.9));
  pointer-events: none;
}
.hero-banner > .inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.hero-banner h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  color: var(--white);
}
.hero-banner p {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

/* ─── HOME · LOGO STRIP ──────────────────────────── */

.logos {
  background: var(--paper);
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.logos-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-item {
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--gray);
  opacity: 0.75;
  transition:
    opacity 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
}
.logo-item:hover {
  opacity: 1;
  color: var(--ink);
}
.logo-item .italic {
  font-style: italic;
  font-weight: 400;
}

/* ─── HOME · WHY ─────────────────────────────────── */

.why {
  padding: 120px 0;
  background: var(--white);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--ink);
}
.why .accent-bar {
  margin-left: 0;
  margin-top: 18px;
}
.why p {
  margin: 32px 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 460px;
}
.why .actions {
  margin-top: 32px;
}
.why-portrait {
  position: relative;
}
.why-portrait .ph {
  width: 100%;
  height: 480px;
}
.pcard.pcard--why .ph,
.pcard.pcard--bio .ph {
  height: auto;
  min-height: 320px;
  background: transparent;
  background-image: none;
}
.pcard.pcard--why .ph.ph--has-image .card-img,
.pcard.pcard--bio .ph.ph--has-image .card-img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 20px 24px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.why-card .name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.why-card .role {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.why-card .contact {
  display: flex;
  gap: 22px;
  font-size: 12.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.why-card .contact .row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.why-card .contact .row svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.why-card .pic {
  width: 56px;
  height: 56px;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(26, 31, 46, 0.07) 0px,
    rgba(26, 31, 46, 0.07) 1px,
    transparent 1px,
    transparent 8px
  );
  flex-shrink: 0;
}

/* ─── HOME · SERVICES (dark band) ────────────────── */

.services {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0;
  position: relative;
}
.services-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.services-head .label {
  color: rgba(255, 255, 255, 0.7);
}
.services-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--white);
}
.services-head .accent-bar {
  background: var(--green-bright);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.svc {
  text-align: center;
}
.svc-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green-bright);
  color: var(--green-bright);
}
.svc-icon svg {
  width: 22px;
  height: 22px;
}
.svc h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--white);
}
.svc .bar {
  width: 32px;
  height: 2px;
  background: var(--green-bright);
  margin: 0 auto 18px;
}
.svc p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
  max-width: 240px;
}

/* ─── HOME · TRACK RECORD ────────────────────────── */

.track {
  padding: 120px 0;
  background: var(--white);
}
.track-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.track-photo .ph {
  width: 100%;
  height: auto;
  min-height: 320px;
}
.track-photo .ph.ph--has-image .card-img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
}
.track h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.track .accent-bar {
  margin-left: 0;
  margin-top: 18px;
}
.track p {
  margin: 32px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 480px;
}
.track-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
  max-width: 460px;
}
.track-stat .v {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.track-stat .v .accent {
  color: var(--green);
}
.track-stat .v svg {
  width: 40px;
  height: 40px;
  color: var(--green);
}
.track-stat .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 8px;
}

/* ─── HOME · FEATURED PROJECTS ───────────────────── */

.features {
  padding: 0 0 120px;
  background: var(--white);
}
.features-head {
  text-align: center;
  margin-bottom: 56px;
}
.features-head .label {
  color: var(--green);
}
.features-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.features-foot {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ─── PROJECTS · MAIN + GRID ─────────────────────── */

.page-projects-bg {
  background: var(--paper);
}
.projects-main {
  background: var(--paper);
  padding: 64px 0 120px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.filter-group {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter .lbl {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}
.results-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.results-meta strong {
  color: var(--ink);
  font-weight: 700;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pcard {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  overflow: hidden;
  display: block;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 31, 46, 0.1);
}
.pcard .ph {
  width: 100%;
  height: 240px;
  position: relative;
}
.ph--has-image {
  overflow: hidden;
}
.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pcard .ph.ph--has-image {
  background-color: var(--navy-mid);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(27, 122, 103, 0.28) 0px,
    rgba(27, 122, 103, 0.28) 1px,
    transparent 1px,
    transparent 12px
  );
}
.pcard .ph.ph--has-image .card-img {
  object-fit: contain;
}
.ph--has-image .ribbon {
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  transform: none;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.pcard .tag-label {
  position: absolute;
  left: 16px;
  top: 16px;
  max-width: 70%;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}
.pcard .tag-label .sub {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--green-bright);
  margin-top: 4px;
}
.pcard .body {
  padding: 22px 24px 24px;
}
.pcard h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
}
.pcard .loc {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.pcard .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pcard .meta .sector {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pcard .meta .sector .dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}
.pcard .meta .year {
  color: var(--ink);
  font-weight: 700;
}

/* ─── ABOUT · BIO ──────────────────────────────── */

.bio {
  padding: 120px 0;
}
.bio-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.bio-photo .ph {
  width: 100%;
  height: 580px;
}
.bio h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.bio .accent-bar {
  margin-left: 0;
  margin-top: 18px;
}
.bio p {
  margin: 28px 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 540px;
}
.bio .sig {
  margin-top: 28px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.bio .sig .role {
  display: block;
  font-weight: 500;
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ─── ABOUT · APPROACH (dark band) ─────────────── */

.approach {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0;
}
.approach-head {
  text-align: center;
  margin: 0 auto 72px;
  max-width: 720px;
}
.approach-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--white);
}
.approach-head .accent-bar {
  background: var(--green-bright);
}
.approach-head p {
  margin: 28px auto 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  max-width: 540px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.apch {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 32px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.apch:hover {
  border-color: var(--green-bright);
  background: rgba(45, 122, 79, 0.06);
}
.apch .num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--green-bright);
  margin-bottom: 24px;
}
.apch h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--white);
}
.apch p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ─── ABOUT · QUOTE BAND ────────────────────────── */

.quote-band {
  background: var(--white);
  padding: 120px 0;
  text-align: center;
}
.quote-band .inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.quote-band blockquote {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.quote-band blockquote .accent {
  color: var(--green);
}
.quote-band .attrib {
  margin-top: 32px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
.quote-band .open-quote {
  font-family: var(--font);
  font-weight: 700;
  font-size: 88px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

/* ─── ABOUT · CV ────────────────────────────────── */

.cv {
  padding: 120px 0;
  background: var(--white);
}
.cv-head {
  text-align: center;
  margin-bottom: 64px;
}
.cv-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.cv-row {
  display: grid;
  grid-template-columns: 140px 200px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.cv-row:last-child {
  border-bottom: 1px solid var(--rule);
}
.cv-row .year {
  font-family: var(--font);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.cv-row .year .accent {
  color: var(--green);
}
.cv-row .tag {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.cv-row .body h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}
.cv-row .body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 560px;
}

/* ─── ABOUT · CREDENTIALS ───────────────────────── */

.creds {
  padding: 96px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.creds-head {
  text-align: center;
  margin-bottom: 56px;
}
.creds-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
}
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cred {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 28px 24px;
  text-align: center;
}
.cred .icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred .icon svg {
  width: 18px;
  height: 18px;
}
.cred .name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.cred .sub {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─── CONTACT · MAIN + FORM ─────────────────────── */

.contact-main {
  padding: 96px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}
.form-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
}
.form-head .accent-bar {
  margin-left: 0;
  margin-top: 18px;
  margin-bottom: 32px;
}
.form-head p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 0 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 122, 103, 0.12);
}
.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.form-foot .note {
  font-size: 12px;
  color: var(--gray);
  max-width: 380px;
}
.form-status {
  display: none;
  margin-top: 24px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-status.is-success,
.form-status.is-error {
  display: block;
}
.form-status.is-success {
  background: rgba(27, 122, 103, 0.08);
  border-color: var(--green);
  color: var(--green);
}
.form-status.is-error {
  background: rgba(180, 35, 24, 0.08);
  border-color: #b42318;
  color: #b42318;
}

/* ─── CONTACT · SIDE CARDS ──────────────────────── */

.side h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 14px 0 18px;
}
.side-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 28px 28px;
  margin-bottom: 16px;
}
.side-card .icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.side-card .ico {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-card .ico svg {
  width: 16px;
  height: 16px;
}
.side-card .kind {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}
.side-card .v {
  font-family: var(--font);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.4;
}
.side-card .v a:hover {
  color: var(--green);
}
.side-card .v.small {
  font-size: 16px;
  font-weight: 600;
}
.side-card .hours {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}
.side-card .hours .d {
  color: var(--gray);
}

/* ─── PROJECT DETAIL ────────────────────────────── */

.project-detail {
  padding: 96px 0 120px;
}
.project-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.project-detail .media .ph {
  width: 100%;
  height: auto;
  min-height: 320px;
}
.project-detail .media img {
  width: 100%;
  height: auto;
  display: block;
}
.project-detail .body h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
}
.project-detail .body .accent-bar {
  margin-left: 0;
  margin-top: 18px;
  margin-bottom: 28px;
}
.project-detail .body .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.project-detail .body .meta strong {
  color: var(--ink);
  font-weight: 700;
}
.project-detail .body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.project-detail .body .back {
  display: inline-block;
  margin-top: 28px;
}

/* ─── LEGAL (privacy etc.) ──────────────────────── */

.legal {
  padding: 72px 0 96px;
}
.legal-inner {
  max-width: 720px;
}
.legal-inner .legal-meta {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 32px;
}
.legal-inner h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--ink);
}
.legal-inner p,
.legal-inner ul {
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.7;
}
.legal-inner ul {
  padding-left: 22px;
}
.legal-inner li {
  margin-bottom: 6px;
}
.legal-inner a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-inner a:hover {
  color: var(--ink);
}

/* ─── RESPONSIVE OVERRIDES ───────────────────────── */

@media (max-width: 1023px) {
  :root {
    --gutter: 24px;
  }
  .nav-toggle {
    display: flex;
    justify-self: end;
    position: relative;
    z-index: 101;
  }
  .nav-inner {
    grid-template-columns: 1fr auto;
  }
  .nav-side {
    display: none;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 0 24px;
    z-index: 99;
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
  }
  .nav.mobile-open .nav-links {
    clip-path: circle(150% at calc(100% - 44px) 44px);
    pointer-events: auto;
  }
  .nav-links .nav-link {
    font-family: var(--font-brand);
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease,
      color 0.18s ease;
  }
  .nav.mobile-open .nav-links .nav-link {
    opacity: 1;
    transform: translateY(0);
  }
  .nav.mobile-open .nav-links .nav-link:nth-child(1) {
    transition-delay: 0.15s;
  }
  .nav.mobile-open .nav-links .nav-link:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav.mobile-open .nav-links .nav-link:nth-child(3) {
    transition-delay: 0.25s;
  }
  .nav.mobile-open .nav-links .nav-link:nth-child(4) {
    transition-delay: 0.3s;
  }
  .nav.mobile-open .nav-links .nav-link:nth-child(5) {
    transition-delay: 0.35s;
  }
  .nav.mobile-open .nav-links .nav-link:nth-child(6) {
    transition-delay: 0.4s;
  }
  .nav-links .nav-link.active {
    color: var(--green-bright);
  }
  .nav-links .nav-link.active::after {
    display: none;
  }
  .why-inner,
  .track-inner,
  .bio-inner,
  .contact-grid,
  .project-detail-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .approach-grid,
  .features-grid,
  .grid,
  .creds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .cv-row {
    grid-template-columns: 80px 1fr;
    gap: 16px 32px;
  }
  .cv-row .tag {
    grid-column: 2;
    margin-top: -8px;
  }
  .cv-row .body {
    grid-column: 2;
  }
  .why-card {
    grid-template-columns: auto 1fr;
  }
  .why-card .contact {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
  .hero {
    min-height: 580px;
    padding: 140px var(--gutter) 80px;
  }
  .hero-banner {
    min-height: 360px;
    padding: 140px var(--gutter) 80px;
  }
  .hero-banner h1 {
    font-size: 48px;
  }
  .toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 639px) {
  .services-grid,
  .approach-grid,
  .features-grid,
  .grid,
  .creds-grid {
    grid-template-columns: 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
    padding: 48px var(--gutter) 32px;
    gap: 32px 24px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .foot-logo {
    width: 160px;
    margin-bottom: 14px;
  }
  .foot-tag {
    margin-top: 14px;
    font-size: 13px;
    max-width: none;
  }
  .foot h4 {
    margin-bottom: 12px;
    font-size: 12px;
  }
  .foot ul li {
    padding: 3px 0;
    font-size: 13px;
  }
  .track-stats {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero .tagline {
    font-size: 15px;
  }
  .hero-banner h1 {
    font-size: 36px;
  }
  .why h2,
  .track h2,
  .bio h2 {
    font-size: 30px;
  }
  .services-head h2,
  .approach-head h2 {
    font-size: 34px;
  }
  .cv-row .year {
    font-size: 36px;
  }
  .quote-band blockquote {
    font-size: 26px;
  }
  .foot-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 18px var(--gutter);
    font-size: 11px;
  }
}
