/* VASTEC Brand 2026, Navy #0F253E · Copper #D97757 · Bone #F4F1EE */
:root {
  --navy: #0F253E;
  --ink: #16232F;
  --slate: #4A5A68;
  --mist: #9BB0C4;
  --pale: #E3E7EA;
  --bone: #F4F1EE;
  --copper: #D97757;
  --white: #fff;
  --pad: clamp(24px, 5vw, 80px);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px; line-height: 1.6; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.on-navy a:focus-visible, .btn-ghost:focus-visible,
.ftr a:focus-visible, .hero-copy a:focus-visible { outline-color: #fff; }
.shell { max-width: 1440px; margin: 0 auto; background: var(--white); }
.skip { position: absolute; left: -9999px; }
.skip:focus { position: static; display: block; padding: 12px var(--pad); background: var(--navy); color: #fff; }

/* Header */
.hdr {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad); border-bottom: 1px solid var(--pale);
  background: var(--white); position: sticky; top: 0; z-index: 40;
}
.logo img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav a, .nav span { font-size: 14px; color: var(--ink); }
.nav a { position: relative; }
.nav a:hover { color: var(--copper); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px;
  height: 2px; background: var(--copper); transition: right .2s ease;
}
.nav a:hover::after { right: 0; }
.nav [aria-current="page"] { font-weight: 600; color: var(--navy); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--pale);
  padding: 10px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; font-size: 15px; white-space: nowrap; flex: 0 0 auto;
  border: 1px solid transparent; font-family: inherit; line-height: 1.35; cursor: pointer;
}
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--ink); color: #fff !important; }
.btn-copper { background: var(--copper); color: #fff !important; }
.btn-copper:hover { background: #c46848; color: #fff !important; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff !important; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy); color: var(--navy) !important; background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* Type */
h1,h2,h3 { margin: 0; color: var(--navy); line-height: 1.22; text-wrap: pretty; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 400; letter-spacing: -.024em; }
h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.016em; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.008em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--slate); max-width: 40rem; text-wrap: pretty; }
.eyebrow {
  font-size: 13px; color: var(--copper); margin: 0; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.accent-line { display: block; width: 36px; height: 2px; background: var(--copper); margin: 6px 0 10px; }
.accent-line.accent-grey { background: var(--mist); }
.on-navy h1, .on-navy h2 { color: #fff; }
.on-navy .lead { color: rgba(255,255,255,.82); }
.meta { font-size: 13px; color: var(--slate); }
.link-underline { font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; }

/* Split hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; align-items: stretch; }
.hero-copy {
  background: var(--navy); padding: clamp(48px, 6vw, 88px) var(--pad);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.hero-figure { position: relative; margin: 0; background: var(--ink); overflow: hidden; }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.sec { padding: clamp(56px, 7vw, 96px) var(--pad); }
.sec-sand { background: var(--bone); }
.sec-white { background: var(--white); }
.sec-tan { background: var(--bone); color: var(--ink); border-top: 1px solid var(--pale); }
.sec-tan h2 { color: var(--navy); }
.sec-navy { background: var(--navy); color: rgba(255,255,255,.82); }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-navy .eyebrow { color: var(--copper); }
.sec-navy .lead { color: rgba(255,255,255,.82); }

.parea ul.eqtags, .eqtags { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.parea ul.eqtags li, .eqtags li { margin: 0; padding: 5px 10px; border: 1px solid var(--mist); font-size: 13px; line-height: 1.3; color: var(--ink); background: var(--white); }

/* Application areas */
.sec-depth { padding-top: clamp(48px, 5.5vw, 72px); padding-bottom: clamp(48px, 5.5vw, 72px); }
.depth-rows { max-width: var(--max); margin-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.depth { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.75fr) minmax(0,1fr); gap: clamp(24px, 3vw, 44px); align-items: start; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.depth-h { font-size: clamp(20px, 1.9vw, 24px); margin: 0; color: var(--copper) !important; }
.depth-intro { margin: 12px 0 0; max-width: 62ch; font-size: 16px; }
.depth-method { margin: 12px 0 0; max-width: 62ch; font-size: 15px; color: rgba(255,255,255,.66); }
.qlist { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); }
.qlist li { padding: 9px 0; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88); border-bottom: 1px solid rgba(255,255,255,.08); }
.depth-fig { display: flex; gap: 10px; }
.depth-fig :is(img, video) { width: calc(50% - 5px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.depth-fig > :only-child { width: 100%; aspect-ratio: 8 / 5; }
.depth-fig :is(img, video).fit-white { object-fit: contain; background: #fff; padding: 6px; }
.depth-fig :is(img, video).fit-black { object-fit: contain; background: #000; }
@media (max-width: 1040px) {
  .depth { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); }
  .depth > div:first-child, .depth .qlist { grid-column: 1; }
  .depth-fig { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .depth { grid-template-columns: 1fr; gap: 18px; }
  .depth > div:first-child, .depth .qlist, .depth-fig { grid-column: 1; }
  .depth-fig { grid-row: auto; }
  .depth-fig :is(img, video) { aspect-ratio: 4 / 3; }
}

/* Material band */
.matstrip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin: 32px 0 36px; max-width: var(--max);
}
.matstrip img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* Tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: var(--max); }
.tile { background: var(--white); border: 1px solid var(--pale); padding: 26px 28px 28px; }
.tile h3 { margin-bottom: 12px; }
.tile p { margin: 0 0 16px; color: var(--slate); font-size: 15px; }
.tile-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; border: 1px solid var(--pale); display: block; margin-bottom: 18px; }

/* Problem areas, the visually dominant block on the What we do page */
.pareas { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 32px; max-width: var(--max); }
.parea { background: var(--white); border: 1px solid var(--pale); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.parea .imgs {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr; gap: 2px; background: var(--pale); min-height: 360px;
}
.parea .imgs img { width: 100%; height: 100%; object-fit: cover; }
.parea .imgs img:first-child { grid-row: 1 / 3; }
.parea .body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.parea h3 { font-size: 25px; color: var(--copper); line-height: 1.2; margin-bottom: 14px; }
.parea p { margin: 0 0 18px; color: var(--slate); }
.parea ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: 15px; }
.parea ul li { margin: 5px 0; }
@media (max-width: 860px) {
  .parea { grid-template-columns: 1fr; }
  .parea .imgs { min-height: 0; aspect-ratio: 16 / 10; }
  .parea .body { padding: 28px 26px; }
  .parea h3 { font-size: 22px; }
}

/* Method tiles, deliberately lighter than the problem areas above them */
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: var(--max); margin-top: 32px; }
.method { border-top: 2px solid var(--pale); padding-top: 18px; }
.method h3 { font-size: 16px; }
.method p { margin: 8px 0 0; font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.method ul { margin: 12px 0 0; padding-left: 16px; font-size: 14px; color: var(--slate); }
.method li { margin: 5px 0; }
@media (max-width: 980px) { .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 520px) { .methods { grid-template-columns: 1fr; } }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  margin-top: 28px; max-width: var(--max); border-top: 1px solid var(--pale); padding-top: 24px;
}
.step { padding-top: 0; }
.step .n {
  color: var(--copper); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; display: block; margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; color: var(--slate); }

/* Project cards */
.rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: var(--max); }
.rcard {
  border: 1px solid var(--pale); background: var(--white); overflow: hidden;
  display: flex; flex-direction: column; color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rcard img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--white); transition: transform .35s ease;
}
.rcard:hover { transform: translateY(-3px); border-color: var(--mist); box-shadow: 0 14px 28px rgba(15,37,62,.08); }
.rcard:hover img { transform: scale(1.025); }
.rc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
/* No image exists for this subject, so the card is deliberately text-only
   rather than carrying a render of something else. */
.rcard-text { background: var(--navy); border-color: var(--navy); }
.rcard-text .rc-body { padding: 34px 26px; justify-content: center; gap: 14px; }
.rcard-text h3 { color: #fff; font-size: 21px; }
.rcard-text .rc-site { color: rgba(255,255,255,.62); }
.rcard-text:hover { border-color: var(--copper); box-shadow: none; }
.rc-tag { font-size: 12.5px; color: var(--copper); font-weight: 600; }
.rcard h3 { font-size: 18px; }
.rc-note { margin: 0; font-size: 14px; color: var(--slate); line-height: 1.5; }
.rc-site { font-size: 13px; color: var(--slate); }
.rgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .rgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .rgrid, .rgrid-3 { grid-template-columns: 1fr; } }

/* CTA */
.sec-cta { padding: clamp(36px, 4vw, 56px) var(--pad); }
.cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px;
  max-width: var(--max); padding: 30px 34px 30px 31px; background: var(--white);
  border-left: 3px solid var(--copper); box-shadow: 0 10px 28px rgba(15,37,62,.05);
}
.cta > div:first-child { flex: 1 1 420px; }
.cta h2 { font-size: clamp(21px, 2.2vw, 27px); }
.cta p { margin: 12px 0 0; color: var(--slate); max-width: none; font-size: 16px; }
@media (max-width: 900px) {
  .cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta > div:first-child { flex-basis: auto; }
}
@media (max-width: 700px) { .cta { padding: 24px 24px 24px 21px; } }

/* Page-ending note, used where a full CTA card would be too heavy */
.sec-end { padding-top: clamp(30px, 3.5vw, 44px); padding-bottom: clamp(30px, 3.5vw, 44px); }
.endnote { margin: 0; max-width: 68ch; font-size: 16px; color: var(--slate); }
.endnote a { font-weight: 600; border-bottom: 1px solid currentColor; }

/* Interior page hero */
.page-hero { background: var(--navy); padding: clamp(48px, 6vw, 80px) var(--pad); }
.page-hero > * { max-width: var(--max); margin-left: 0; margin-right: 0; }
.page-hero h1 { color: #fff; max-width: 26ch; }
.page-hero .lead { color: rgba(255,255,255,.78); margin-top: 16px; max-width: 62ch; }
.page-hero .eyebrow { display: block; margin-bottom: 12px; }
.page-hero .sub { margin: 14px 0 0; font-size: 15px; color: rgba(255,255,255,.6); letter-spacing: .02em; }

/* Footer */
.ftr {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 48px var(--pad) 28px; font-size: 14px;
}
.ftr-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  align-items: start; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.ftr-brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ftr-slogan { color: rgba(255,255,255,.88); margin: 0; font-size: 14px; }
@media (min-width: 900px) { .ftr-slogan { white-space: nowrap; } }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: rgba(255,255,255,.6); padding-top: 18px; }
.ftr-legal a { color: rgba(255,255,255,.6); }
.ftr-legal a:hover { color: #fff; }
.ftr-legal span.sep { color: rgba(255,255,255,.3); }
.ftr-k {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mist); margin-bottom: 12px;
}
.ftr a { color: rgba(255,255,255,.75); }
.ftr a:hover { color: #fff; }
.ftr-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.ftr-cols p { margin: 0 0 8px; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 13px; }

/* Contact */
.reach {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px; max-width: var(--max); align-items: start;
}
.reach img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.reach-lines { display: flex; flex-direction: column; gap: 4px; }
.reach a.big { font-size: 19px; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.reach a.big:hover { color: var(--copper); }
.reach-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--pale);
}
.reach-k {
  display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 10px;
}
.reach-cols p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.reach-cols div:last-child p { color: var(--slate); }
.reach-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
@media (max-width: 1100px) { .reach-cols { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 860px) {
  .reach { grid-template-columns: 1fr; gap: 32px; }
  .reach img { max-width: 400px; }
}

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: var(--max); align-items: start; }
.prose { max-width: 38rem; }
.prose p { margin: 0 0 16px; }
.prose h2 { margin-top: 32px; }


/* Team, text-only and identical for every member */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; max-width: var(--max); margin-top: 32px; }
.tm { border-top: 2px solid var(--navy); padding-top: 18px; }
.tm .tn { display: block; font-size: 20px; font-weight: 600; color: var(--navy); }
.tm .tr { display: block; font-size: 14px; color: var(--copper); margin-top: 3px; }
.tm .tl { display: block; font-size: 13px; color: var(--slate); margin-top: 6px; }
.tm p { margin: 16px 0 0; font-size: 15px; line-height: 1.65; color: var(--slate); }
.tm .tmail { display: inline-block; margin-top: 16px; font-size: 14px; border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; gap: 30px; } }

/* Projects page */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; max-width: var(--max); }
.filter-row button {
  font: inherit; font-size: 13px; padding: 9px 15px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--pale); background: var(--white); color: var(--ink);
}
.filter-row button:hover { border-color: var(--mist); }
.filter-row button.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
#project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
#project-grid .rc-body { padding: 20px 22px 24px; }
#project-grid .rcard h3 { font-size: 17px; }
@media (max-width: 1040px) { #project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { #project-grid { grid-template-columns: 1fr; } }

/* When clients call us */
.callgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; max-width: var(--max); }
.callcard {
  background: var(--white); border: 1px solid var(--pale); border-top: 2px solid var(--navy);
  padding: 28px 30px 30px; display: flex; flex-direction: column;
}
.callcard h3 { font-size: 20px; margin-bottom: 18px; }
.clist { list-style: none; margin: 0; padding: 0; }
.clist li { font-size: 16px; color: var(--slate); padding: 9px 0; border-top: 1px solid var(--pale); }
.clist li:first-child { border-top: 0; padding-top: 0; }
.cnote { margin: auto 0 0; padding-top: 22px; font-size: 15px; color: var(--navy); }
@media (max-width: 760px) { .callgrid { grid-template-columns: 1fr; } }

/* Case pages, laid out like a short technical note */
.casebody { max-width: var(--max); }
.cblock {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 32px;
  padding: 26px 0; border-top: 1px solid var(--pale);
}
.cblock:first-child { border-top: 2px solid var(--copper); }
.cblock h2 {
  font-size: 13px; color: var(--copper); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
}
.cblock p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--slate); max-width: 62ch; }
.cblock p + p { margin-top: 14px; }
@media (max-width: 760px) { .cblock { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; } }

.cfig-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; max-width: 960px; align-items: start; }
.cfig-grid .cfig { margin: 0; max-width: none; }
.cfig-stack { display: flex; flex-direction: column; gap: 20px; }
.cfig-grid .cfig-tall img { aspect-ratio: 3 / 4; }
@media (max-width: 700px) { .cfig-grid { grid-template-columns: 1fr; } .cfig-grid .cfig-tall img { aspect-ratio: 4 / 3; } }
.cfig { margin: 44px 0 0; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.cfig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--white); border: 1px solid var(--pale); }
.cfig img[src*="sim-"], .cfig img[src*="screw-"] {
  aspect-ratio: 16 / 10; object-fit: contain; background: var(--bone); padding: 10px;
}
.cfig figcaption { font-size: 13px; color: var(--slate); line-height: 1.5; }
.cfig-wide { max-width: var(--max); }
.cfig-wide img { aspect-ratio: 1400 / 358; object-fit: contain; }
.caseback { margin: 44px 0 0; }

/* Responsive */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--pale);
    flex-direction: column; align-items: flex-start; padding: 16px var(--pad) 24px; gap: 16px;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav span { font-size: 16px; padding: 4px 0; }
  .hero, .tiles, .split { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-figure { aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) {
  .hero-figure { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .matstrip { grid-template-columns: 1fr 1fr; }
}

/* Video */
video { max-width: 100%; }
.hero-figure video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.vtoggle {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; padding: 0;
  border: 0; background: rgba(15,37,62,.72); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.vtoggle:hover { background: var(--navy); }
.vtoggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vtoggle svg { width: 13px; height: 13px; display: block; }
.vtoggle .i-play { display: none; }
.vtoggle[aria-pressed="true"] .i-play { display: block; }
.vtoggle[aria-pressed="true"] .i-pause { display: none; }
.cfig video { width: 100%; height: auto; display: block; background: var(--white); border: 1px solid var(--pale); }
.depth-fig video.fit-navy { object-fit: contain; background: #13233A; }
.depth-fig video.fit-crop-right { object-position: 88% center; background: #fff; }
.rcard { -webkit-touch-callout: none; }
.rc-media { position: relative; display: block; overflow: hidden; }
.rc-media img { display: block; }
.rc-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.rcard.is-playing .rc-video { opacity: 1; }
.rc-media[data-motion]::after {
  content: ""; position: absolute; left: 12px; bottom: 12px; width: 30px; height: 30px;
  background: rgba(15,37,62,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 1l6 4-6 4z' fill='%23fff'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: opacity .2s ease;
}
.rcard.is-playing .rc-media::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rc-media[data-motion]::after { display: none; } }
.rcard img.fit-black { object-fit: contain; background: #000; }
.cfig img.fig-black { aspect-ratio: auto; object-fit: contain; background: #000; padding: 0; }

/* Photo with simulation on hover / tap */
.mswap { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 8 / 5; overflow: hidden; -webkit-touch-callout: none; }
.depth-fig .mswap img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.mswap-layer { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.mswap.is-on .mswap-layer { opacity: 1; }
.depth-fig .mswap-layer :is(img, video) { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; padding: 0; background: none; display: block; }
.depth-fig .mswap-layer video.crop-validation { position: absolute; width: 151.5%; height: auto; max-width: none; left: -9.1%; top: -21.7%; object-fit: fill; }
.mswap-chip {
  position: absolute; left: 10px; bottom: 10px; padding: 7px 10px 7px 25px;
  background: rgba(15,37,62,.86) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 1l6 4-6 4z' fill='%23fff'/%3E%3C/svg%3E") 10px center / 9px no-repeat;
  color: #fff; font: 600 12px/1 Arial, Helvetica, sans-serif; letter-spacing: .04em; transition: opacity .2s ease;
}
.mswap.is-on .mswap-chip { opacity: 0; }
.mswap:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* Figures */
.cfig img.fig-white { aspect-ratio: auto; object-fit: contain; background: #fff; }
.cfig-wide { max-width: var(--max); }

/* Team cards */
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: var(--max); }
.tcard { background: var(--white); border: 1px solid var(--pale); display: flex; flex-direction: column; outline: none; }
.tcard[tabindex] { cursor: pointer; }
.tcard[tabindex]:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.tcard-photo { position: relative; aspect-ratio: 1 / 1; background: var(--bone); overflow: hidden; }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 600; color: var(--mist); letter-spacing: .04em; }
.tcard-open .tcard-initials { font-size: 64px; color: var(--copper); }
.tcard-bio {
  position: absolute; inset: 0; background: var(--navy); color: rgba(255,255,255,.9);
  padding: 20px; overflow-y: auto; opacity: 0; transition: opacity .2s ease;
}
.tcard-bio p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.tcard:hover .tcard-bio, .tcard:focus-within .tcard-bio, .tcard.is-open .tcard-bio { opacity: 1; }
.tcard-more {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; background: rgba(15,37,62,.86);
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: opacity .2s ease;
}
.tcard:hover .tcard-more, .tcard:focus-within .tcard-more, .tcard.is-open .tcard-more { opacity: 0; }
.tcard-info { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tcard-info .tn { font-size: 18px; font-weight: 600; color: var(--navy); }
.tcard-info .tr { font-size: 14px; color: var(--copper); margin-top: 3px; }
.tcard-info .tl { font-size: 13px; color: var(--slate); margin-top: 4px; }
.tcard-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--slate); }
.tcard-info .tmail { margin-top: auto; padding-top: 16px; font-size: 13.5px; overflow-wrap: anywhere; }
.tcard-info .tmail { border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tgrid { grid-template-columns: 1fr; } }

/* Contact icons */
.reach a.big { display: inline-flex; align-items: center; gap: 12px; }
.ricon { width: 22px; height: 22px; color: var(--copper); flex: none; display: inline-flex; }
.ricon svg { width: 100%; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reach-cols div:last-child p { color: var(--ink); }

/* Portrait footage letterboxed inside a 16:9 file: crop to the picture */
.cfig-portrait { max-width: 520px; }
.vcrop { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; border: 1px solid var(--pale); }
.vcrop video.crop-portrait, .rc-video.crop-portrait {
  position: absolute; inset: auto; width: 316.8%; max-width: none; height: auto;
  left: -108.4%; top: 50%; transform: translateY(-50%); object-fit: fill; border: 0;
}
.rcard img.fit-white { object-fit: contain; background: #fff; }
.vcrop-slide { aspect-ratio: 1183 / 350; background: #fff; }
.vcrop video.crop-slide { position: absolute; width: 108.2%; max-width: none; height: auto; left: -4.06%; top: -41.4%; border: 0; }
.matstrip video.mat-video { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.reach-media video { width: 100%; max-width: 420px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; justify-self: end; }
.reach-media { display: flex; justify-content: flex-end; }
@media (max-width: 860px) { .reach-media { justify-content: flex-start; } .reach-media video { max-width: 360px; aspect-ratio: 1 / 1; } }
.cfig-narrow { max-width: 280px; }

/* Team hero: faint background image */
.page-hero-team { position: relative; overflow: hidden; }
.page-hero-team::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../photos/team-bg.jpg") right 18% / auto 120% no-repeat;
  opacity: .14; filter: grayscale(1);
  -webkit-mask-image: linear-gradient(to right, transparent 30%, #000 75%); mask-image: linear-gradient(to right, transparent 30%, #000 75%);
}
.page-hero-team > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .page-hero-team::before { display: none; } }
.callcard .cnote { margin: 0; padding-top: 0; font-size: 16px; color: var(--slate); }
.callcard h3 { margin-bottom: 10px; }
.depth-fig .mswap img.zoom-slurry { object-position: 45% 58%; transform: scale(1.9); transform-origin: 45% 58%; }
.matstrip img.mat-slurry { object-position: 50% 70%; }
.rc-media img.fit-white { object-fit: contain; background: #fff; }
.parea .imgs.imgs-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-rows: 1fr; }
.parea .imgs.imgs-two img:first-child { grid-row: auto; }
.parea .imgs img.fit-black { object-fit: contain; background: #000; }
@media (max-width: 860px) { .parea .imgs.imgs-two { grid-template-columns: 1fr; aspect-ratio: auto; } .parea .imgs.imgs-two img { aspect-ratio: 16 / 10; height: auto; } }
.depth.depth-nofig { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 860px) { .depth.depth-nofig { grid-template-columns: 1fr; } }
.parea .imgs.imgs-two { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; align-content: center; background: #000; }
.parea .imgs.imgs-two img { height: auto; }
.parea .imgs.imgs-two img:first-child { aspect-ratio: 16 / 9; object-fit: cover; }
.parea .imgs.imgs-two img.fit-black { aspect-ratio: 1390 / 580; }
@media (max-width: 860px) { .parea .imgs.imgs-two img { aspect-ratio: auto; } .parea .imgs.imgs-two img:first-child { aspect-ratio: 16 / 9; } .parea .imgs.imgs-two img.fit-black { aspect-ratio: 1390 / 580; } }
.depth.depth-nofig > div:first-child { grid-column: 1; grid-row: 1; }
.depth.depth-nofig .qlist { grid-column: 2; grid-row: 1; }
@media (max-width: 860px) { .depth.depth-nofig > div:first-child, .depth.depth-nofig .qlist { grid-column: 1; grid-row: auto; } }
.parea .imgs .mswap { width: 100%; height: 100%; aspect-ratio: auto; }
.parea .imgs .mswap:first-child { grid-row: 1 / 3; }
.parea .imgs.imgs-two .mswap:first-child { grid-row: auto; aspect-ratio: 16 / 9; height: auto; }
.parea .imgs .mswap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parea .imgs .mswap-layer video { width: 100%; height: 100%; object-fit: contain; display: block; }
.has-vctl { position: relative; }
.has-vctl video { cursor: pointer; }
.vctl {
  position: absolute; left: 10px; bottom: 10px; padding: 7px 10px 7px 25px; border: 0; cursor: pointer;
  background: rgba(15,37,62,.86) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 1l6 4-6 4z' fill='%23fff'/%3E%3C/svg%3E") 10px center / 9px no-repeat;
  color: #fff; font: 600 12px/1 Arial, Helvetica, sans-serif; letter-spacing: .04em;
}
.vctl.is-playing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 1h2v8H2zM6 1h2v8H6z' fill='%23fff'/%3E%3C/svg%3E"); }
.vctl:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.cfig.has-vctl .vctl { bottom: auto; top: 10px; }
.depth-fig.has-vctl > video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.casebody.casebody-prose { display: block; max-width: 68ch; }
.casebody.casebody-prose p { margin: 0 0 1.1em; font-size: 18px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.casebody.casebody-prose p:last-child { margin-bottom: 0; }
.tcard-info .tlinks { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tcard-info .tlinks .tmail { margin-top: 0; padding-top: 0; }
.tcard-info .tli { display: flex; color: var(--slate); border: 0; flex: none; }
.tcard-info .tli:hover { color: var(--navy); }
.sec-apstrip { padding-top: 64px; padding-bottom: 64px; }
.apstrip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-apstrip .apstrip-head .link-underline { color: #fff; }
.apstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.aptile { display: flex; flex-direction: column; gap: 12px; color: #fff; text-decoration: none; border: 0; }
.aptile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0b1c30; border: 1px solid rgba(255,255,255,.12); }
.aptile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.aptile-img img.fit-white { object-fit: contain; background: #fff; }
.aptile-img img.fit-black { object-fit: contain; background: #000; }
.aptile:hover .aptile-img img { transform: scale(1.03); }
.aptile-t { font-size: 16px; font-weight: 600; line-height: 1.3; }
.aptile:hover .aptile-t { color: var(--copper); }
@media (max-width: 960px) { .apstrip { gap: 12px; } .aptile-t { font-size: 14px; } }
@media (max-width: 760px) { .apstrip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .apstrip::-webkit-scrollbar { display: none; } .aptile { scroll-snap-align: start; } }
@media (max-width: 600px) { .apstrip { grid-auto-columns: 62%; } .aptile-t { font-size: 15px; } }
.depth[id] { scroll-margin-top: 90px; }
.aptile-img { position: relative; }
.aptile.is-playing .rc-video { opacity: 1; }
.aptile-img .rc-video.crop-validation { inset: auto; width: 151.5%; height: auto; max-width: none; left: -9.1%; top: -21.7%; object-fit: fill; }
.aptile.is-playing .aptile-img > img { opacity: 0; }
.aptile[data-video-crop="validation"] .aptile-img { background: #13233A; }
.aptile[data-video] .aptile-img::after {
  content: ""; position: absolute; left: 8px; bottom: 8px; width: 22px; height: 22px; z-index: 2;
  background: rgba(15,37,62,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1.5v9l7.5-4.5z' fill='%23fff'/%3E%3C/svg%3E") center / 9px no-repeat;
  transition: opacity .2s ease; pointer-events: none;
}
.aptile.is-playing .aptile-img::after { opacity: 0; }
