/* ==========================================================================
   Construction Irish — faithful rebuild of the current site.
   Clean white/black, Acumin Pro (served as Source Sans 3 — closest free match).
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --fg:        #000000;
  --muted:     #5c5c5c;   /* mission/approach body copy */
  --line:      #e6e6e6;
  --footer-bg: #000000;
  --footer-fg: #ffffff;
  --field-bg:  #f7f7f7;
  --field-bd:  #cfcfcf;
  --accent:    #1f4a37;   /* deep construction green — brand accent, used sparingly */
  --accent-deep:#163528;

  --font: "acumin-pro", "Source Sans 3", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --measure: 1200px;
  --gap: 2rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  line-height: 1.12;
}
.section--tight { padding-block: 3rem; }

a { color: inherit; }

/* --- Skip link + focus ------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: #000; color: #fff;
  padding: 0.5rem 1rem; z-index: 200; text-decoration: none;
  transition: top 150ms ease;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Layout ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: 2rem; }
.section { padding-block: 5rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--fg); }
.brand img { width: 150px; height: auto; }
.brand .wordmark { display: none; } /* shown only if using the text fallback */

.mainnav { justify-self: center; }
.mainnav ul { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.mainnav a {
  text-decoration: none;
  font-size: 1.0625rem;
  color: var(--fg);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.mainnav a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.mainnav a[aria-current="page"] { border-bottom-color: var(--accent); }
.mainnav .mobile-only { display: none; }

.social { justify-self: end; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--fg); border-radius: 4px;
  color: var(--fg);
}
.social a:hover { background: var(--fg); color: #fff; }
.social svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  justify-self: end;
  background: none; border: 1px solid var(--fg); border-radius: 4px;
  padding: 0.4rem 0.7rem; font-size: 0.95rem; cursor: pointer; color: var(--fg);
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  min-height: 56vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding-block: 4rem 3rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 3.9rem);
  font-weight: 500;
  max-width: 20ch;
  margin: 0 auto;
  line-height: 1.2;
}
.hero .sub {
  color: var(--muted);
  max-width: 58ch;
  margin: 1.4rem auto 0;
  font-size: 1.15rem;
}

/* Shared section helpers */
.kicker {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 1rem;
}
.hero .kicker { margin-bottom: 1.1rem; }
.sec-intro { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.sec-intro h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 0.75rem; }
.sec-intro p { color: var(--muted); margin: 0; }

.mission { text-align: center; padding-block: 3.5rem; }
.mission h2 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
  margin-bottom: 1.5rem;
}
.mission p {
  color: var(--muted);
  max-width: 70ch;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* Our Approach — image left, text right */
.approach { padding-block: 3.5rem; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.split-text h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); margin-bottom: 1.25rem; }
.split-text p { color: var(--muted); font-size: 1.0625rem; margin: 0; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.about-grid h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem); }
.about-grid .prose p { color: var(--muted); font-size: 1.0625rem; margin: 0 0 1.4rem; }
.about-grid .prose p:first-child { color: var(--fg); }

/* ==========================================================================
   Contact
   ========================================================================== */
.join-grid, .location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.join-grid h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.join-grid p { color: var(--muted); max-width: 46ch; }
.join-grid .social { justify-self: start; margin-top: 1.5rem; }

.form-field { margin-bottom: 1.25rem; }
.form-field > label,
.field-group > legend {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.req { color: var(--muted); font-size: 0.85rem; }
.field-group { border: 0; padding: 0; margin: 0 0 1.25rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.name-row .sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.25rem; display: block; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font: inherit;
  color: var(--fg);
  background: var(--field-bg);
  border: 1px solid var(--field-bd);
  border-radius: 2px;
  padding: 0.7rem 0.8rem;
}
input:focus, textarea:focus { outline: 2px solid #000; outline-offset: 1px; border-color: #000; }
textarea { min-height: 140px; resize: vertical; }

.file-drop {
  border: 1px dashed var(--field-bd);
  border-radius: 2px;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.file-drop input { display: block; margin: 0.5rem auto 0; }

.btn-submit {
  font: inherit;
  background: #000; color: #fff;
  border: 1px solid #000; border-radius: 2px;
  padding: 0.6rem 1.4rem; cursor: pointer;
}
.btn-submit:hover { background: #fff; color: #000; }
.apply-form { max-width: 620px; margin: 0 auto; }

.location-grid { margin-top: 4rem; }
.location-grid h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); }
.location-grid dl { margin: 0; }
.location-grid dt { font-weight: 700; margin-top: 1.2rem; }
.location-grid dd { margin: 0.2rem 0 0; color: var(--muted); }
.map-embed {
  width: 100%; aspect-ratio: 4 / 3; border: 0;
}

/* ==========================================================================
   Employer CTA (links to the job-intake form)
   ========================================================================== */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 0.75rem 1.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.btn:hover { background: #fff; color: #000; }

.employer-band { padding-top: 1rem; }
.employer-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}
.cta { display: inline-flex; align-items: center; gap: 0.6rem; position: relative; }

/* Info popover (replaces the CTA heading/paragraph) */
.info { position: static; }
.info > summary {
  list-style: none;
  cursor: pointer;
  width: 26px; height: 26px;
  border: 1px solid var(--field-bd);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic; font-size: 0.95rem; line-height: 1;
  color: var(--muted);
  transition: border-color 150ms ease, color 150ms ease;
}
.info > summary::-webkit-details-marker { display: none; }
.info > summary::marker { content: ""; }
.info > summary:hover,
.info[open] > summary { border-color: var(--accent); color: var(--accent); }
.info-pop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(300px, 84vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
  z-index: 30;
}

/* ==========================================================================
   Capability sections (stats, lists, desks, process, projects)
   ========================================================================== */

/* Stats bar */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 3.25rem 0; text-align: center;
}
.stat { padding-inline: 1.5rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 2rem + 3vw, 4.2rem); font-weight: 500;
  color: var(--accent);
  line-height: 1; letter-spacing: -0.02em;
}
.stat .lbl { color: var(--muted); margin: 0.8rem auto 0; font-size: 0.95rem; max-width: 26ch; }

/* Two-column lists (who we place / sectors) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.two-col h3 { font-size: 1.15rem; margin: 0 0 1rem; }
.tick-list { list-style: none; padding: 0; margin: 0; max-width: none; }
.tick-list li {
  padding: 0.7rem 0; border-top: 1px solid var(--line); color: var(--fg); font-size: 1.02rem;
}

/* Desk cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  border: 1px solid var(--line); border-radius: 6px; padding: 1.9rem 1.6rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.4);
  border-color: var(--field-bd);
}
.card .kicker { color: var(--accent); }
.card h3 { font-size: 1.3rem; margin: 0 0 0.6rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step .n {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 500; color: var(--accent);
  line-height: 1; letter-spacing: -0.02em; display: block; margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Project experience grid */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.proj {
  border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem 1.4rem;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}
.proj:hover { border-color: var(--field-bd); box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.32); }
.proj .ptag {
  font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 0.7rem; font-weight: 600;
}
.proj .val { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.01em; margin: 0; line-height: 1; }
.proj .pname { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--fg); }
.projects-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 2rem; }

/* Why-us grid (About) */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 3rem; list-style: none; padding: 0; margin: 0; }
.why-grid li { margin: 0; }
.why-grid strong { display: block; margin-bottom: 0.25rem; font-weight: 700; }
.why-grid span { color: var(--muted); }

/* Founder / offices block */
.founder { border-top: 1px solid var(--line); padding-top: 2.5rem; }
.founder .name { font-size: 1.4rem; font-weight: 600; margin: 0; }
.founder .role { color: var(--muted); margin: 0.15rem 0 1.25rem; }
.founder .offices {
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-top: 1.25rem;
}

/* ==========================================================================
   "What we do" — improved Who we place / Sectors
   ========================================================================== */
.whatwedo { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
.whatwedo h3 { font-size: 1.15rem; margin: 0 0 1.25rem; }
.role-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.75rem;
}
.role-grid li {
  position: relative; padding: 0.65rem 0 0.65rem 1.6rem;
  border-bottom: 1px solid var(--line); font-size: 0.98rem;
  transition: color 0.15s ease;
}
.role-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.role-grid li:hover { color: var(--accent); }
.sector-stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.sector-stack li {
  border: 1px solid var(--line); border-radius: 6px; padding: 0.95rem 1.15rem;
  font-size: 0.98rem; font-weight: 500;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.sector-stack li:hover {
  border-color: var(--accent); color: var(--accent); transform: translateX(4px);
  box-shadow: 0 8px 20px -16px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Job board
   ========================================================================== */
.center-text { text-align: center; }
.jobs-viewall { margin-top: 2.25rem; }
.page-lead { max-width: 60ch; color: var(--muted); font-size: 1.15rem; }
.mt-3 { margin-top: 1.5rem; }
.mx-auto { margin-inline: auto; }

.jobs-controls { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.jobs-controls .field { display: flex; flex-direction: column; gap: 0.4rem; }
.jobs-controls label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.jobs-controls input, .jobs-controls select {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--fg);
  background: var(--field-bg); border: 1px solid var(--field-bd); border-radius: 4px;
  padding: 0.7rem 0.8rem;
}
.jobs-controls input:focus, .jobs-controls select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.jobs-count { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }

.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.job-card {
  border: 1px solid var(--line); border-radius: 6px; display: block;
  text-decoration: none; color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.job-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.4); border-color: var(--field-bd); }
.job-card__btn {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 1.5rem 1.6rem; cursor: pointer; font: inherit; color: inherit;
}
.job-card__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin: 0 0 0.4rem; }
.job-card__meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.6rem; }
.job-card__salary { color: var(--accent); font-weight: 600; font-size: 1rem; margin: 0 0 0.6rem; }
.job-card__foot { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); margin: 0; }

.jobs-state { border: 1px solid var(--line); border-radius: 6px; padding: 3rem 2rem; text-align: center; color: var(--muted); }
.jobs-state .kicker { display: block; }
.jobs-state--error { border-color: var(--accent); }
.skeleton-row {
  height: 1em; border-radius: 4px; margin: 0 auto 0.8rem; max-width: 60%;
  background: linear-gradient(90deg, var(--field-bg), #ececec, var(--field-bg));
  background-size: 200% 100%; animation: shimmer 1.4s infinite linear;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.jobmodal[hidden] { display: none; }
.jobmodal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 1.5rem; overflow-y: auto; }
.jobmodal__backdrop { position: fixed; inset: 0; background: rgba(22, 53, 40, 0.55); }
.jobmodal__panel {
  position: relative; background: var(--bg); border-radius: 8px; max-width: 680px; width: 100%;
  margin: 3rem auto; padding: 2.5rem; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}
.jobmodal__close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: 1px solid var(--field-bd);
  border-radius: 4px; padding: 0.4rem 0.7rem; cursor: pointer; font: inherit; font-size: 0.85rem;
}
.jobmodal__close:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.jobmodal__salary { color: var(--accent); font-weight: 600; }
.jobmodal__desc { margin-top: 1.25rem; color: var(--muted); }
.jobmodal__desc .jd-h { font-weight: 700; font-size: 1rem; color: var(--fg); margin: 1.15rem 0 0.4rem; }
.jobmodal__desc .jd-h:first-child { margin-top: 0; }
.jobmodal__desc .jd-p { margin: 0 0 0.7rem; }
.jobmodal__desc .jd-list { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.jobmodal__desc .jd-list li { list-style: disc; margin: 0 0 0.35rem; }

@media (max-width: 800px) {
  .whatwedo { grid-template-columns: 1fr; gap: 2.5rem; }
  .role-grid { grid-template-columns: 1fr; }
}
@media (max-width: 950px) { .jobs-controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .jobs-controls { grid-template-columns: 1fr; } }

/* Latest-roles marquee (homepage) — slow auto-scroll, pauses on hover */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee .job-card { flex: 0 0 320px; width: 320px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .marquee .job-card { flex-basis: 80vw; width: 80vw; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Motion — JS-enhanced reveals + sticky header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px -6px rgba(0, 0, 0, 0.12); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.07s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.14s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.21s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: 0.35s; }
.js .reveal-stagger.in > *:nth-child(7) { transition-delay: 0.42s; }
.js .reveal-stagger.in > *:nth-child(8) { transition-delay: 0.49s; }
.js .reveal-stagger.in > *:nth-child(9) { transition-delay: 0.56s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 800px) {
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--accent-deep);
  color: #fff;
  margin-top: 6rem;
  padding-block: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 500; line-height: 1.12; margin: 0 0 1rem;
}
.footer-tag { color: rgba(255, 255, 255, 0.7); max-width: 34ch; margin: 0 0 1.1rem; font-size: 0.98rem; }
.footer-offices {
  color: rgba(255, 255, 255, 0.55); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0;
}
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-head {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); margin: 0 0 0.4rem; font-weight: 600;
}
.footer-col a, .footer-col span { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.98rem; }
.footer-col a { transition: color 0.15s ease; width: fit-content; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.5rem 2rem;
  color: rgba(255, 255, 255, 0.5); font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); display: inline-flex; align-items: center; transition: color 0.15s ease; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom svg { width: 18px; height: 18px; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 800px) {
  .site-header .inner { grid-template-columns: auto auto; }
  .mainnav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding-top: 1rem;
  }
  .mainnav[data-open="true"] { display: block; }
  .mainnav ul { flex-direction: column; gap: 1rem; }
  .social { display: none; } /* LinkedIn moves into the mobile menu */
  .mainnav .mobile-only { display: block; }
  .nav-toggle { display: inline-block; }

  .about-grid, .join-grid, .location-grid, .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-img { aspect-ratio: 4 / 3; }
  .name-row { grid-template-columns: 1fr; }
  .section { padding-block: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
