/* QED Specialist Scaffolding Services, holding site. Brand tokens from brand/brand.css.
   Rule of the house: brand orange #ED7D31 decorates on white (rules, numbers, buttons).
   Orange TEXT on white is #C05811. On dark (#141414 / #404042) brand orange may be text. */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ED7D31;
  --orange-deep: #C05811;
  --ink: #404042;
  --black: #141414;
  --white: #ffffff;
  --muted: #5f5f64;
  --line: #e3e3e6;
  --soft: #f5f5f6;
  --dark-text: #e9e9eb;
  --dark-muted: #c0c0c4;
  --font: "Jost", "Century Gothic", "Poppins", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(20, 20, 20, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.dark :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--black); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); letter-spacing: .015em; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 74px); font-weight: 800; line-height: 1.02; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.08; text-transform: uppercase; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

/* Signature rule: exactly the width of the heading text, never a short dash. */
.underline { display: inline-block; padding-bottom: 10px; border-bottom: 3px solid var(--orange); }

.kicker {
  display: block; font-weight: 600; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.dark .kicker { color: var(--orange); }

.lede { font-size: 20px; line-height: 1.5; max-width: 60ch; }
.muted { color: var(--muted); }
.dark .muted { color: var(--dark-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 5px;
  font-family: var(--font); font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.1;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover { background: #f08a44; border-color: #f08a44; }
.btn-black { background: var(--black); color: #fff; border-color: var(--black); }
.btn-black:hover { background: #2a2a2b; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tight { padding: clamp(44px, 5vw, 70px) 0; }
.dark { background: var(--black); color: var(--dark-text); }
.charcoal { background: var(--ink); color: var(--dark-text); }
.soft { background: var(--soft); }
.dark a:not(.btn), .charcoal a:not(.btn) { color: var(--orange); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 20, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand span { font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
.brand small { display: block; font-weight: 400; font-size: 11px; letter-spacing: .12em; color: var(--dark-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: #fff; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 4px; letter-spacing: .02em; white-space: nowrap;
}
@media (max-width: 1100px) and (min-width: 901px) {
  .nav-links a { padding: 10px 8px; font-size: 14px; }
  .brand small { display: none; }
}
.nav-links a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.nav-links .btn { padding: 10px 16px; font-size: 13px; margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 2px solid rgba(255, 255, 255, .5); color: #fff; border-radius: 5px;
  padding: 8px 10px; cursor: pointer; font-family: var(--font); font-weight: 600; letter-spacing: .08em; font-size: 13px;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--black); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 10px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links .btn { margin: 14px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  color: #fff; background: var(--black); overflow: hidden; isolation: isolate;
}
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero picture img { object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, .55) 0%, rgba(20, 20, 20, .15) 35%, rgba(20, 20, 20, .35) 60%, rgba(20, 20, 20, .92) 100%),
    linear-gradient(90deg, rgba(20, 20, 20, .55) 0%, rgba(20, 20, 20, 0) 60%);
}
.hero .wrap { position: relative; padding: 120px 0 64px; width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.hero-lockup { width: clamp(150px, 16vw, 210px); margin-bottom: clamp(28px, 4vw, 48px); }
.hero h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { color: #f1f1f2; margin-top: 22px; max-width: 54ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero h1.underline { padding-bottom: 14px; }
.qed-latin.underline { padding-bottom: 14px; }
@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .hero .wrap { padding-top: 90px; }
  .hero picture img { object-position: 50% 50%; }
}

/* ---------- stat strip ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 34px 24px; text-align: center; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stat { display: block; font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); color: var(--orange); line-height: 1; }
.stat-label { display: block; margin-top: 8px; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 26px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- since 1995 ---------- */
.since-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.since-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.since-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.since-big { font-weight: 800; font-size: clamp(64px, 9vw, 120px); line-height: .9; color: var(--orange); letter-spacing: -.01em; }
.since-big small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.timeline { margin-top: 36px; border-left: 3px solid var(--orange); padding-left: 24px; display: grid; gap: 18px; }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -31px; top: 9px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--orange);
}
.timeline b { display: block; font-weight: 700; font-size: 18px; color: var(--ink); }
.timeline span { color: var(--muted); }
@media (max-width: 860px) { .since-grid { grid-template-columns: 1fr; } }

/* ---------- fleet ---------- */
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.fleet-points { margin-top: 22px; display: grid; gap: 14px; }
.fleet-points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.fleet-points svg { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.fleet-points b { color: #fff; font-weight: 600; }
.photo-stack { display: grid; gap: 14px; }
.photo-stack figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #222; }
.photo-stack img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-stack figcaption { font-size: 13px; letter-spacing: .04em; color: var(--dark-muted); padding: 8px 12px; background: #1d1d1e; }
.photo-stack .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack .pair img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .fleet-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .photo-stack .pair { grid-template-columns: 1fr; } }

/* ---------- sectors ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; align-self: flex-start; padding-bottom: 8px; border-bottom: 3px solid var(--orange); }
.card p { margin: 0; color: var(--ink); }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.card .tags li { font-size: 13px; letter-spacing: .03em; color: var(--muted); background: var(--soft); padding: 4px 9px; border-radius: 3px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- QED meaning ---------- */
.qed { position: relative; overflow: hidden; }
.qed-latin {
  font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.005em;
  font-size: clamp(40px, 8.5vw, 120px); color: #fff; margin: 0;
}
.qed-latin span { display: block; color: var(--orange); }
.qed-trans { font-size: clamp(18px, 2vw, 22px); color: var(--dark-muted); margin: 18px 0 0; }
.qed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.doubts { display: grid; gap: 22px; }
.doubts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.doubts .n { font-weight: 800; font-size: 34px; color: var(--orange); line-height: 1; }
.doubts q { quotes: "\201C" "\201D"; font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; color: #fff; line-height: 1.3; }
.doubts q::before, .doubts q::after { color: var(--orange); }
.then { margin-top: 30px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: #fff; line-height: 1.35; }
.then b { color: var(--orange); font-weight: 800; }
.proof-visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.proof-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof-visual .drawing { object-fit: cover; object-position: 12% center; filter: contrast(1.08); }
.proof-visual .built {
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 66%);
  mask-image: linear-gradient(100deg, transparent 40%, #000 66%);
}
.proof-visual figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between;
  padding: 10px 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(20, 20, 20, .85)); color: #fff;
}
.proof-visual figcaption span:first-child { color: var(--ink); }
.proof-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.proof-col { border-top: 3px solid var(--orange); padding-top: 18px; }
.proof-col h3 { color: #fff; font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: .04em; }
.proof-col p { color: var(--dark-text); margin: 10px 0 0; }
.proof-col ul { margin-top: 10px; display: grid; gap: 5px; color: var(--dark-muted); font-size: 15px; }
.proof-col ul li { padding-left: 18px; position: relative; }
.proof-col ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 3px; background: var(--orange); }
@media (max-width: 860px) { .qed-grid { grid-template-columns: 1fr; } .proof-cols { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .qed-latin { font-size: 8.4vw; } }
@media (max-width: 420px) { .brand small { display: none; } }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project .pb { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project .kicker { margin-bottom: 0; }
.project h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.project ul { display: grid; gap: 4px; color: var(--ink); font-size: 15.5px; }
.project ul li { padding-left: 16px; position: relative; }
.project ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 3px; background: var(--orange); }
.project .credit { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.project .more {
  position: absolute; top: 12px; right: 12px; background: rgba(20, 20, 20, .8); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px;
}
@media (max-width: 960px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.lightbox::backdrop { background: rgba(10, 10, 10, .94); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; color: #fff; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 56px 72px 12px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-meta { padding: 10px 24px 28px; text-align: center; }
.lb-meta b { display: block; font-size: 20px; font-weight: 700; }
.lb-meta span { color: var(--dark-muted); font-size: 15px; }
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-family: var(--font); font-size: 26px; line-height: 1;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 14px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-stage { padding: 60px 10px 10px; } .lb-prev, .lb-next { top: auto; bottom: 86px; transform: none; } }

/* ---------- accreditations ---------- */
.accreds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.accred { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.accred img { width: 100%; aspect-ratio: 700 / 990; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.accred img.short { aspect-ratio: auto; }
.accred b { font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.accred span { color: var(--muted); font-size: 15px; }
.accred-strip { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.accred-strip img { max-width: 720px; width: 100%; }
.accred-strip p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .accreds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .accreds { grid-template-columns: 1fr; } }

/* ---------- people ---------- */
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.people-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.people-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ladder { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; align-items: center; }
.ladder li { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 3px; }
.ladder li.arrow { background: none; color: var(--orange); font-size: 22px; padding: 0 2px; }
.people-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.people-stats li { border-left: 3px solid var(--orange); padding-left: 14px; }
.people-stats .stat { font-size: 36px; }
.people-stats .stat-label { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; color: var(--ink); margin-top: 4px; }
@media (max-width: 860px) { .people-grid { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
/* LinkedIn-style profile cards: dark banner, big circular photo overlapping it, name, title, link */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.team > li { flex: 0 0 calc((100% - 3 * 22px) / 4); display: flex; }
.team > li > .profile { width: 100%; }
.profile {
  display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; padding: 0 18px 22px; color: var(--ink); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.profile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.profile .banner { display: block; width: calc(100% + 36px); margin: 0 -18px; height: 72px; background: var(--black); border-bottom: 3px solid var(--orange); }
.profile .pic {
  width: 128px; height: 128px; border-radius: 50%; margin-top: -64px; background: var(--black); border: 4px solid #fff; box-shadow: 0 2px 10px rgba(20, 20, 20, .18);
  display: grid; place-items: center; overflow: hidden; color: var(--orange); font-weight: 800; font-size: 40px; letter-spacing: .04em;
}
.profile .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile b { display: block; font-weight: 700; font-size: 20px; line-height: 1.2; margin-top: 14px; }
.profile .role { display: block; color: var(--muted); font-size: 15.5px; margin-top: 4px; min-height: 2.6em; }
.profile .view {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.profile .view svg { width: 16px; height: 16px; }
.profile:hover .view { background: var(--ink); color: #fff; }
@media (max-width: 1100px) { .team > li { flex-basis: calc((100% - 2 * 22px) / 3); } }
@media (max-width: 760px) { .team { gap: 14px; } .team > li { flex-basis: calc((100% - 14px) / 2); } .profile { padding: 0 12px 18px; } .profile .banner { width: calc(100% + 24px); margin: 0 -12px; } .profile .pic { width: 104px; height: 104px; margin-top: -52px; font-size: 32px; } .profile b { font-size: 17px; } }
@media (max-width: 420px) { .team > li { flex-basis: 100%; } }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.news-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; background: #1f1f20; color: #fff;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px 24px; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.news-card:hover { border-color: var(--orange); transform: translateY(-2px); text-decoration: none; }
.news-card svg { width: 56px; height: 56px; }
.news-card b { display: block; font-size: 20px; font-weight: 700; }
.news-card span { color: var(--dark-muted); font-size: 15px; }
.news-card .go { color: var(--orange); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.news-embeds { margin-top: 28px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.news-embeds iframe { width: 100%; border-radius: var(--radius); background: #fff; }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } .news-card { grid-template-columns: 48px 1fr; } .news-card .go { grid-column: 2; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 22px; margin-top: 26px; }
.contact-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 26px; height: 26px; color: var(--orange); margin-top: 3px; }
.contact-list b { display: block; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a { font-size: 20px; font-weight: 600; color: var(--ink); }
.contact-list .addr { font-size: 18px; line-height: 1.4; }
.contact-list .small { font-size: 15px; color: var(--muted); }
.contact-aside { background: var(--black); color: var(--dark-text); border-radius: var(--radius); padding: 30px 30px 34px; }
.contact-aside h3 { color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; font-size: 20px; }
.contact-aside p { margin: 12px 0 0; }
.contact-aside .btn { margin-top: 22px; }
.contact-aside ul { margin-top: 16px; display: grid; gap: 6px; color: var(--dark-muted); }
.contact-aside ul li { padding-left: 18px; position: relative; }
.contact-aside ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 3px; background: var(--orange); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--dark-muted); padding: 56px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer-grid img.lockup { width: 150px; }
.footer-strip { background: #fff; border-radius: 4px; padding: 10px 14px; width: fit-content; }
.footer-strip img { width: 300px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.footer-links a { color: #fff; font-weight: 500; }
.legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 6px; }
.legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .project, .btn, .news-card { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- small pages (privacy, 404) ---------- */
.page { padding: clamp(48px, 7vw, 96px) 0; }
.page .prose { max-width: 70ch; }
.page .prose h2 { font-size: 24px; margin-top: 34px; }
.page .prose ul { list-style: disc; padding-left: 22px; margin: 10px 0 18px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-weight: 800; font-size: clamp(90px, 20vw, 220px); line-height: .9; color: var(--orange); }
