/* =========================================================
   49PL Website UI Kit — local styles
   Imports the root design tokens and adds component CSS.
   ========================================================= */

@import url("../../colors_and_type.css");

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

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--slate { background: var(--slate-600); color: var(--white); }
.section--paper { background: var(--bg-2); }

.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold-600); margin: 0; }
.section--slate .eyebrow { color: var(--gold-400); }

.gold-rule { width: 56px; height: 2px; background: var(--gold-500); border: 0; margin: 14px 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border-1);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo { display: flex; align-items: center; height: 100%; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 36px; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav__links a, .nav__links button {
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  color: var(--slate-700); background: transparent; border: 0; cursor: pointer;
  padding: 8px 0; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.nav__links a:hover, .nav__links button:hover { color: var(--gold-600); border-bottom-color: var(--gold-500); }
.nav__caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: 100%; left: -16px;
  margin-top: 8px;
  background: var(--white); border: 1px solid var(--border-1);
  border-radius: var(--radius-md); box-shadow: var(--shadow-3);
  min-width: 230px; padding: 8px; opacity: 0; pointer-events: none;
  transform: translateY(-4px); transition: all var(--dur-base) var(--ease-out);
}
/* Invisible bridge so the cursor can cross the visual gap between the
   parent label and the dropdown without losing hover. */
.nav__menu::before {
  content: ""; position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.nav__item.open .nav__menu, .nav__item:hover .nav__menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav__menu a { display: block; padding: 10px 14px; font-size: 14px; color: var(--slate-700); border-bottom: 0; border-radius: var(--radius-sm); }
.nav__menu a:hover { background: var(--slate-50); color: var(--gold-700); }
.nav__cta {
  background: var(--slate-600); color: var(--white) !important;
  padding: 10px 18px !important; border-radius: var(--radius-md);
  border-bottom: 0 !important;
}
.nav__cta:hover { background: var(--slate-700); border-bottom: 0 !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: flex-end;
  color: var(--white);
  background: linear-gradient(160deg, #2a3a4a 0%, #41576C 60%, #5a7388 100%);
  overflow: hidden;
}
.hero__video, .hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  background: transparent;
}
.hero__photo {
  position: absolute; inset: 0;
  /* placeholder photographic feel — slate-toned crosshatch (fallback when no video) */
  background:
    radial-gradient(ellipse at 30% 60%, rgba(207,176,110,0.18), transparent 50%),
    repeating-linear-gradient(125deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #354859 0%, #2a3a4a 100%);
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28,39,51,0.45) 0%, rgba(28,39,51,0.78) 100%);
}
.hero__placeholder-tag {
  position: absolute; top: 24px; right: 32px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.25); padding: 6px 10px; border-radius: var(--radius-sm);
}
.hero__inner { position: relative; z-index: 2; padding: 0 0 96px; max-width: 880px; }
.hero__display { font-family: var(--font-display); font-weight: 300; font-size: 144px; line-height: 0.95; letter-spacing: -0.01em; margin: 24px 0 24px; text-transform: lowercase; color: var(--white); }
.hero__display .accent { color: var(--gold-500); font-weight: 400; }
.hero__lede { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 0 32px; }
.hero__ctas { display: flex; gap: 12px; }
.hero .eyebrow { color: var(--gold-400); }

/* ---------- Buttons (kit) ---------- */
.btn { font-family: var(--font-sans); font-weight: 600; font-size: 14px; padding: 13px 22px; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; letter-spacing: 0.01em; transition: all var(--dur-fast) var(--ease-out); display: inline-flex; align-items: center; gap: 8px; }
.btn--primary { background: var(--slate-600); color: var(--white); }
.btn--primary:hover { background: var(--slate-700); }
.btn--gold { background: var(--gold-500); color: var(--slate-900); }
.btn--gold:hover { background: var(--gold-600); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { border-color: var(--gold-500); color: var(--gold-400); }
.btn--secondary { background: transparent; color: var(--slate-700); border-color: var(--border-2); }
.btn--secondary:hover { border-color: var(--gold-500); color: var(--gold-600); }

/* ---------- Pillar strip ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.pillar__num { font-family: var(--font-display); font-weight: 300; font-size: 56px; line-height: 1; color: var(--gold-500); }
.pillar__title { font-family: var(--font-sans); font-weight: 600; font-size: 22px; color: var(--fg-1); margin: 8px 0 6px; }
.pillar__body { font-size: 15px; color: var(--fg-2); line-height: 1.6; margin: 0; }

/* ---------- Service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--white); border: 1px solid var(--border-1); border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.svc-card:hover { box-shadow: var(--shadow-2); border-color: var(--border-2); transform: translateY(-2px); }
.svc-card__photo {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 3px, transparent 3px 8px),
    linear-gradient(180deg, var(--slate-500), var(--slate-700));
}
.svc-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform var(--dur-slow) var(--ease-out);
}
.svc-card:hover .svc-card__img { transform: scale(1.04); }
.svc-card__photo--gold {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 3px, transparent 3px 8px),
    linear-gradient(180deg, var(--gold-600), var(--gold-700));
}
.svc-card__photo-tag {
  position: absolute; bottom: 12px; left: 14px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(28, 39, 51, 0.55);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9); text-transform: uppercase;
}
.svc-card__body { padding: 24px 26px 28px; }
.svc-card__title { font-family: var(--font-sans); font-weight: 600; font-size: 22px; color: var(--fg-1); margin: 0 0 14px; }
.svc-card__list { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--fg-2); line-height: 1.9; }
.svc-card__list li { display: flex; gap: 10px; }
.svc-card__list li::before { content: ""; width: 12px; height: 1px; background: var(--gold-500); margin-top: 12px; flex-shrink: 0; }

/* ---------- Innovation block (dark slate) ---------- */
.innov { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.innov__heading { font-family: var(--font-display); font-weight: 300; font-size: 88px; line-height: 0.95; text-transform: lowercase; margin: 14px 0 0; color: var(--white); }
.innov__heading .accent { color: var(--gold-500); }
.innov__items { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.innov__item h4 { font-family: var(--font-sans); font-weight: 600; font-size: 18px; color: var(--white); margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
.innov__item p { color: rgba(255,255,255,0.7); font-size: 14.5px; line-height: 1.65; margin: 0; }
.innov__icon { width: 20px; height: 20px; color: var(--gold-500); }

/* Innovation section — full-width photogrammetry background with slate tint.
   The PNG has transparent angular edges, so the slate base shows through
   them naturally — no hard rectangular crop. */
#innovation {
  position: relative;
  background-color: var(--slate-600);
  background-image:
    linear-gradient(180deg, rgba(28, 39, 51, 0.78) 0%, rgba(65, 87, 108, 0.86) 100%),
    url("assets/innovation/photogrammetry.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Faint gold edge glow to give the image more presence inside the section */
#innovation::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(207, 176, 110, 0.08), transparent 60%);
}
#innovation > .container { position: relative; z-index: 1; }

/* Photogrammetry / orthomosaic showcase inside the Innovation block.
   Image has a transparent/black background and an angular crop — sits
   directly on the slate without a frame. */
.innov__figure { margin: 32px 0 0; }
.innov__figure img {
  display: block;
  width: 100%;
  height: auto;
  /* photogrammetry exports include black/transparent edges — let them
     blend with the slate via screen blend on near-black pixels */
  mix-blend-mode: lighten;
  filter: contrast(1.05) saturate(0.95);
}
.innov__figure figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 960px) {
  .innov__figure { margin-top: 24px; }
}

/* ---------- Staff strip ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.staff {
  background: var(--white); border: 1px solid var(--border-1); border-radius: var(--radius-md);
  padding: 24px; text-align: center;
  transition: all var(--dur-base) var(--ease-out);
}
.staff:hover { box-shadow: var(--shadow-2); border-color: var(--border-2); }
.staff__avatar {
  position: relative; overflow: hidden;
  width: 88px; height: 88px; border-radius: 999px;
  background: var(--slate-100); color: var(--slate-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 400; font-size: 36px;
  margin: 0 auto 18px; border: 1px solid var(--border-1);
}
.staff__initials { position: relative; z-index: 1; }
.staff__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2; background: var(--slate-100);
}
.staff__name { font-family: var(--font-sans); font-weight: 600; font-size: 17px; color: var(--fg-1); margin: 0; }
.staff__role { font-family: var(--font-mono); font-size: 11px; color: var(--gold-700); margin: 6px 0 0; letter-spacing: 0.08em; text-transform: uppercase; }
.staff__loc { font-size: 13px; color: var(--fg-3); margin: 8px 0 0; }

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
  position: relative; min-height: 360px;
  display: flex; align-items: flex-end;
  color: var(--white);
  background: linear-gradient(160deg, #2a3a4a 0%, #41576C 60%, #5a7388 100%);
  overflow: hidden;
}
.page-hero__photo {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(207,176,110,0.18), transparent 50%),
    repeating-linear-gradient(125deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #354859 0%, #2a3a4a 100%);
}
.page-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,39,51,0.25) 0%, rgba(28,39,51,0.7) 100%);
}
.page-hero__inner { position: relative; padding: 56px 0; max-width: 880px; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero__title {
  font-family: var(--font-narrow); font-weight: 400; font-size: 84px;
  line-height: 0.95; letter-spacing: -0.01em; margin: 18px 0 14px;
  text-transform: lowercase; color: var(--white);
}
.page-hero__title .accent { color: var(--gold-500); }
.page-hero__lede { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 580px; margin: 0; }

/* ---------- Innovation teaser (homepage band) ---------- */
.innov-teaser__inner { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: center; }
.innov-teaser__heading { font-family: var(--font-narrow); font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -0.01em; text-transform: lowercase; margin: 14px 0 18px; }
.innov-teaser__heading .accent { color: var(--gold-500); }
.innov-teaser__lede { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 620px; margin: 0; line-height: 1.65; }
.innov-teaser__cta { display: flex; justify-content: flex-end; }

/* ---------- Contact block ---------- */
.contact-block__heading { font-family: var(--font-narrow); font-weight: 400; font-size: 64px; line-height: 1; letter-spacing: -0.01em; text-transform: lowercase; margin: 14px 0 14px; color: var(--fg-1); }
.contact-block__lede { font-size: 17px; color: var(--fg-2); margin: 0 0 36px; max-width: 540px; line-height: 1.6; }
.contact-block__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-block__item { padding: 22px 0; border-top: 2px solid var(--slate-200); }
.contact-block__role { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--gold-700); margin: 0 0 12px; }
.contact-block__primary { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 22px; color: var(--fg-1); line-height: 1.25; border-bottom: 0; }
.contact-block__primary:hover { color: var(--gold-700); }
.contact-block__sub { display: block; font-size: 13px; color: var(--fg-3); margin-top: 6px; }

/* svc-card link affordance */
.svc-card { text-decoration: none !important; color: inherit; border-bottom: 0 !important; display: block; }
.svc-card__more { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--gold-700); letter-spacing: 0.01em; transition: color var(--dur-fast) var(--ease-out); }
.svc-card:hover .svc-card__more { color: var(--slate-700); }

/* ---------- Projects page ---------- */
.proj-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 32px;
}
.proj-filter__btn {
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em;
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: transparent; color: var(--slate-600);
  border: 1px solid var(--border-2); cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.proj-filter__btn:hover { border-color: var(--gold-500); color: var(--gold-700); }
.proj-filter__btn.is-active {
  background: var(--slate-600); color: var(--white); border-color: var(--slate-600);
}
.proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.proj-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border-1);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.proj-card:hover { box-shadow: var(--shadow-2); border-color: var(--border-2); }
.proj-card__photo {
  margin: 0; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--slate-900); border-bottom: 1px solid var(--border-1);
}
.proj-card__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.proj-card__photo--contain img { object-fit: contain; }
.proj-card:hover .proj-card__photo img { transform: scale(1.04); }
.proj-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 26px 28px 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-3);
}
.proj-card__loc { color: var(--gold-700); font-weight: 700; }
.proj-card__name {
  font-family: var(--font-sans); font-weight: 700; font-size: 20px;
  line-height: 1.2; color: var(--fg-1); margin: 12px 28px 0;
}
.proj-card__rule { margin: 14px 28px 14px; width: 40px; }
.proj-card__scope {
  font-size: 14.5px; line-height: 1.6; color: var(--fg-2); margin: 0 28px;
  flex: 1 1 auto;
}
.proj-card__foot {
  margin: 20px 28px 24px; padding-top: 16px; border-top: 1px solid var(--border-1);
}
.proj-card__client {
  font-size: 14px; font-weight: 600; color: var(--fg-1); margin: 0 0 12px;
}
.proj-card__client span {
  display: block; font-family: var(--font-sans); font-weight: 700;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 3px;
}
.proj-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--slate-100); color: var(--slate-700);
}
@media (max-width: 960px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .proj-grid { grid-template-columns: 1fr; }
}

/* ---------- Detail page content ---------- */
.detail { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; }
.detail--single { grid-template-columns: 1fr; max-width: 880px; }
.detail--single .detail__list { columns: 2; column-gap: 48px; }
.detail h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0 0 16px; color: var(--fg-1); }
.detail p { font-size: 16px; line-height: 1.7; color: var(--fg-2); }
.detail__list { list-style: none; padding: 0; margin: 24px 0; columns: 2; column-gap: 32px; }
.detail__list li { padding: 10px 0 10px 18px; border-top: 1px solid var(--border-1); font-size: 15px; color: var(--fg-2); position: relative; break-inside: avoid; }
.detail__list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--gold-500); }
.detail__aside { padding: 28px; background: var(--bg-2); border-radius: var(--radius-md); border: 1px solid var(--border-1); align-self: start; }
.detail__aside h4 { font-family: var(--font-sans); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 12px; }
.detail__aside p { font-size: 14.5px; line-height: 1.65; margin: 0 0 14px; }

/* ---------- Commitment block (staff page) ---------- */
.commitment {
  display: grid; grid-template-columns: 2fr 1fr; gap: 64px;
  margin-top: 72px; padding-top: 56px;
  border-top: 1px solid var(--border-1);
}
.commitment__heading {
  font-family: var(--font-narrow); font-weight: 400; font-size: 56px;
  line-height: 1; letter-spacing: -0.01em; text-transform: lowercase;
  margin: 14px 0 24px; color: var(--fg-1);
}
.commitment__heading .accent { color: var(--gold-600); }
.commitment p { font-size: 16px; line-height: 1.7; color: var(--fg-2); margin: 0 0 16px; }

/* Blockquote inside the commitment block — used for cited regulatory text */
.commitment__quote {
  margin: 18px 0 18px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold-500);
  background: var(--bg-2);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.commitment__quote p { font-size: 15.5px; margin: 0 0 10px; color: var(--fg-2); }
.commitment__quote p:last-of-type { margin-bottom: 14px; }
.commitment__cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}
.commitment__cite a { color: var(--gold-700); border-bottom: 0; }
.commitment__cite a:hover { color: var(--slate-700); border-bottom: 1px solid var(--gold-500); }

/* ---------- Offices grid ---------- */
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.office-card {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.office-card:hover { box-shadow: var(--shadow-2); border-color: var(--border-2); }
.office-card__photo {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--slate-100);
  overflow: hidden;
}
.office-card__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.office-card__body { padding: 32px 36px 36px; }
.office-card__role {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: var(--gold-700); margin: 0 0 10px;
}
.office-card__name {
  font-family: var(--font-narrow); font-weight: 400; font-size: 44px; line-height: 1;
  letter-spacing: -0.01em; text-transform: lowercase;
  margin: 0; color: var(--fg-1);
}
.office-card .gold-rule { margin: 18px 0 22px; }
.office-card__address {
  font-size: 15.5px; line-height: 1.65; color: var(--fg-2); margin: 0 0 22px;
}
.office-card__contact {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 18px;
  margin: 0; padding: 18px 0 0; border-top: 1px solid var(--border-1);
}
.office-card__contact dt {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  color: var(--fg-3); padding-top: 2px;
}
.office-card__contact dd {
  margin: 0;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--fg-1);
}
.office-card__contact dd a {
  color: var(--fg-1); border-bottom: 1px solid transparent;
}
.office-card__contact dd a:hover { color: var(--gold-700); border-bottom-color: var(--gold-500); }

@media (max-width: 960px) {
  .offices-grid { grid-template-columns: 1fr; gap: 24px; }
  .office-card__name { font-size: 36px; }
  .office-card__body { padding: 28px 28px 30px; }
}
@media (max-width: 720px) {
  .office-card__body { padding: 24px; }
  .office-card__name { font-size: 32px; }
  .office-card__contact { grid-template-columns: 1fr; gap: 4px 0; }
  .office-card__contact dt { margin-top: 8px; }
  .office-card__contact dt:first-child { margin-top: 0; }
}

/* ---------- Careers page ---------- */
.careers { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.careers__heading {
  font-family: var(--font-narrow); font-weight: 400; font-size: 52px;
  line-height: 1.05; letter-spacing: -0.01em; text-transform: lowercase;
  margin: 0 0 24px; color: var(--fg-1);
}
.careers__body { font-size: 17px; line-height: 1.7; color: var(--fg-2); margin: 0 0 20px; }
.careers__cta { margin-top: 12px; }
.careers__aside {
  padding: 28px; background: var(--white);
  border: 1px solid var(--border-1); border-radius: var(--radius-md);
  align-self: start;
}
.careers__aside h4 {
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-700); margin: 0 0 14px;
}
.careers__aside ul { list-style: none; padding: 0; margin: 0; }
.careers__aside li {
  position: relative;
  font-size: 14.5px; line-height: 1.6; color: var(--fg-2);
  padding: 0 0 12px 18px;
}
.careers__aside li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px; background: var(--gold-500);
}
.careers__aside li:last-child { padding-bottom: 0; }
@media (max-width: 960px) {
  .careers { grid-template-columns: 1fr; gap: 32px; }
  .careers__heading { font-size: 40px; }
}

/* ---------- Corporate Governance & Sustainability — slate panel with gold body ---------- */
.governance { padding: 96px 0; }
.governance__inner { max-width: 880px; margin: 0 auto; }
.governance__intro {
  font-size: 17px; line-height: 1.75; color: var(--gold-400); margin: 0 0 36px;
}
.governance__subhead {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 20px; letter-spacing: 0.01em;
  color: var(--white); margin: 0 0 18px;
}
.governance__list {
  list-style: none; padding: 0; margin: 0 0 40px;
}
.governance__list li {
  position: relative;
  padding: 0 0 16px 22px;
  font-size: 16px; line-height: 1.7; color: var(--gold-400);
}
.governance__list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-500);
}
.governance__list li strong {
  color: var(--white); font-weight: 700;
}
.governance__body {
  font-size: 16px; line-height: 1.75; color: var(--gold-400); margin: 0;
}
@media (max-width: 720px) {
  .governance { padding: 56px 0; }
  .governance__intro { font-size: 16px; }
}

/* ---------- Showcase video band (homepage, under Hero) ---------- */
.showcase { padding: 64px 0; }
.showcase__frame {
  position: relative;
  background: var(--slate-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 9;
}
.showcase__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  background: var(--slate-900);
}
.showcase__embed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.showcase__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(207,176,110,0.12), transparent 50%),
    repeating-linear-gradient(125deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 6px),
    var(--slate-900);
}
.showcase__placeholder code { font-family: var(--font-mono); font-size: 13px; }
@media (max-width: 720px) {
  .showcase { padding: 36px 0; }
}
@media (max-width: 960px) {
  .commitment { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; padding-top: 40px; }
  .commitment__heading { font-size: 44px; }
}
@media (max-width: 720px) {
  .commitment__heading { font-size: 36px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--slate-900); color: rgba(255,255,255,0.7); padding: 72px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand img { height: 44px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__tag { font-family: var(--font-display); font-weight: 300; font-size: 28px; color: var(--white); text-transform: lowercase; margin: 24px 0 14px; line-height: 1.05; }
.footer__tag .accent { color: var(--gold-500); }
.footer__col h5 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; margin: 0 0 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { color: rgba(255,255,255,0.75); border-bottom: 0; }
.footer__col a:hover { color: var(--gold-400); }
.footer__office { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer__office strong { color: var(--white); display: block; font-weight: 600; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 56px; padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,0.45); }
.footer__bottom a { color: rgba(255,255,255,0.55); border-bottom: 0; }
.footer__bottom a:hover { color: var(--gold-400); }

/* =========================================================
   RESPONSIVE — tablet (≤ 960px) and mobile (≤ 720px)
   ========================================================= */

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 48px 0; }

  /* Nav stays horizontal on tablet but tightens up */
  .nav__inner { height: 68px; }
  .nav__logo img { height: 36px; }
  .nav__links { gap: 22px; }
  .nav__links a, .nav__links button { font-size: 13px; }
  .nav__cta { padding: 8px 14px !important; }

  /* Hero */
  .hero { min-height: 520px; }
  .hero__inner { padding-bottom: 64px; }
  .hero__display { font-size: 104px; }
  .hero__lede { font-size: 16.5px; }

  /* Page Hero */
  .page-hero { min-height: 280px; }
  .page-hero__title { font-size: 64px; }
  .page-hero__inner { padding: 40px 0; }

  /* Service grid — 2 cols */
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  /* Pillars — 3 cols still, smaller text */
  .pillars { gap: 32px; padding: 44px 0; }
  .pillar__num { font-size: 44px; }
  .pillar__title { font-size: 19px; }

  /* Innovation block (full page) */
  .innov { grid-template-columns: 1fr; gap: 40px; }
  .innov__heading { font-size: 64px; }
  .innov__items { grid-template-columns: 1fr 1fr; gap: 28px 36px; }

  /* Innovation teaser */
  .innov-teaser__inner { grid-template-columns: 1fr; gap: 28px; }
  .innov-teaser__heading { font-size: 56px; }
  .innov-teaser__cta { justify-content: flex-start; }

  /* Staff */
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  /* Contact */
  .contact-block__heading { font-size: 52px; }
  .contact-block__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-block__item:last-child { grid-column: 1 / -1; }

  /* Detail */
  .detail { grid-template-columns: 1fr; gap: 36px; }
  .detail__list { columns: 1; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 36px 0; }

  /* Nav — collapse desktop list, show hamburger */
  .nav__inner { height: 60px; }
  .nav__logo img { height: 32px; }
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--white);
    border-top: 1px solid var(--border-1);
    border-bottom: 1px solid var(--border-1);
    padding: 16px 18px 24px;
    gap: 0;
    box-shadow: var(--shadow-2);
    max-height: calc(100vh - 60px); overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--border-1); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a, .nav__links button {
    display: flex; width: 100%; padding: 14px 4px;
    font-size: 15px; justify-content: space-between;
    border-bottom: 0;
  }
  .nav__caret { transform: translateY(-1px) rotate(-45deg); border-color: var(--slate-400); }
  /* Submenus expand inline on mobile, not as floating dropdowns */
  .nav__item { position: static; }
  .nav__menu {
    position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px;
    opacity: 1; pointer-events: auto; transform: none;
    background: transparent; min-width: 0;
    max-height: 0; overflow: hidden;
    transition: max-height var(--dur-base) var(--ease-out);
  }
  .nav__item.open .nav__menu { max-height: 400px; }
  .nav__menu a { padding: 10px 4px; font-size: 14px; color: var(--fg-3); }
  .nav__cta {
    margin-top: 12px;
    text-align: center; justify-content: center !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 18px !important;
  }

  /* Hero */
  .hero { min-height: 460px; }
  .hero__photo, .hero__overlay { /* keep */ }
  .hero__placeholder-tag { right: 16px; top: 16px; font-size: 9.5px; }
  .hero__inner { padding-bottom: 48px; }
  .hero__display { font-size: 64px; line-height: 0.96; margin: 18px 0; }
  .hero__lede { font-size: 15.5px; line-height: 1.55; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__ctas .btn { justify-content: center; }

  /* Page hero */
  .page-hero { min-height: 220px; }
  .page-hero__inner { padding: 32px 0; }
  .page-hero__title { font-size: 44px; margin: 14px 0 10px; }
  .page-hero__lede { font-size: 15.5px; }

  /* Pillars stack */
  .pillars { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .pillar__num { font-size: 40px; }

  /* Service grid stack */
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card__body { padding: 20px 22px 24px; }
  .svc-card__title { font-size: 20px; }

  /* Innovation block */
  .innov__heading { font-size: 48px; }
  .innov__items { grid-template-columns: 1fr; gap: 24px; }
  .innov-teaser__heading { font-size: 44px; }
  .innov-teaser__lede { font-size: 15.5px; }

  /* Staff */
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .staff { padding: 18px 14px; }
  .staff__avatar { width: 64px; height: 64px; font-size: 28px; margin-bottom: 12px; }

  /* Contact */
  .contact-block__heading { font-size: 40px; }
  .contact-block__grid { grid-template-columns: 1fr; gap: 4px; }
  .contact-block__item:last-child { grid-column: auto; }
  .contact-block__primary { font-size: 19px; }

  /* Detail page */
  .detail h3 { font-size: 24px; }
  .detail__aside { padding: 22px; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }
  .footer__tag { font-size: 24px; }
  .footer__bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* Hamburger button — only visible on mobile via display flip */
.nav__burger {
  width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
}
@media (min-width: 721px) {
  .nav__burger { display: none; }
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--slate-700); position: relative;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--slate-700);
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__burger span::before { top: -7px; }
.nav__burger span::after  { top:  7px; }
.nav.open .nav__burger span { background: transparent; }
.nav.open .nav__burger span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span::after  { transform: translateY(-7px) rotate(-45deg); }
