/* C2 Civil: site styles

   Type: Chakra Petch for headings (squared, cut-corner letterforms that match the
   C2 logo) and Hanken Grotesk for reading text. Sizes stay modest; the photography
   and video carry the scale.
   Colour: asphalt and concrete surfaces, C2 blue from the logo. */

:root {
  --asphalt: #1B1F23;
  --asphalt-2: #23292F;
  --concrete: #E4E5E1;
  --concrete-2: #D7D9D4;

  --bone: #ECF0F2;          /* text on asphalt */
  --steel: #A3AEB7;         /* secondary on asphalt, 7.4:1 */
  --ink: #16191C;           /* text on concrete */
  --ink-2: #4A535B;         /* secondary on concrete, 6.4:1 */

  --rule-dark: #363D44;
  --rule-light: #C3C6C0;

  --c2-blue: #219BDB;
  --blue-ink: #11618F;      /* blue text on concrete, 5.3:1 */
  --blue-night: #0A2A3D;    /* hero tint */
  --on-blue: #0B1A24;

  --display: "Chakra Petch", "Arial Narrow", sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

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

img, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--c2-blue);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--c2-blue);
  color: var(--on-blue);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */

.section-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.625rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: clamp(32px, 4vw, 56px);
}
/* small slanted bar before each section title, taken from the slash in the logo */
.section-title::before {
  content: "";
  display: inline-block;
  width: 5px; height: .78em;
  margin-right: .45em;
  vertical-align: -.02em;
  background: var(--c2-blue);
  transform: skewX(-18deg);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn-lg { min-height: 52px; padding: 13px 26px; }

.btn-solid {
  background: var(--c2-blue);
  color: var(--on-blue);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-solid:hover { background: #4FB3E6; }
.btn-solid:active { background: #1A86BF; }

.btn-ghost {
  background: rgba(10, 20, 28, .35);
  color: var(--bone);
  border-color: rgba(236, 240, 242, .65);
}
.btn-ghost:hover { background: var(--bone); color: var(--asphalt); border-color: var(--bone); }

.text-link {
  display: inline-block;
  padding-block: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--c2-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .2s var(--ease-out);
}
.text-link:hover { color: var(--c2-blue); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(27, 31, 35, .97);
  box-shadow: 0 1px 0 var(--rule-dark);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(27, 31, 35, .86); backdrop-filter: blur(10px); }
}

.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }

.brand { display: block; flex: 0 0 auto; padding-block: 8px; }
.brand img { width: 144px; height: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 10px 14px;
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  transition: color .2s var(--ease-out);
}
.site-nav a:hover,
.site-nav a[aria-current="true"] { color: var(--c2-blue); }
.nav-contact-mobile { display: none; }

.header-cta { min-height: 42px; padding: 9px 18px; font-size: .875rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--bone);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 12px;
  width: 24px; height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease-out), background-color .2s;
}
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { content: ""; left: 0; top: -8px; }
.nav-toggle-bars::after { content: ""; left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); background: var(--bone); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); background: var(--bone); }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand img { width: 124px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-contact-mobile { display: block; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: rgba(27, 31, 35, .98);
    border-bottom: 1px solid var(--rule-dark);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a {
    padding: 16px 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--rule-dark);
  }
  .site-nav li:last-child a { border-bottom: 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: clamp(104px, 13vw, 168px);
  overflow: hidden;
  isolation: isolate;
  background: var(--blue-night);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media picture,
.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity .8s var(--ease-out); }
.hero-video.is-playing { opacity: 1; }

/* C2-blue wash over the footage, darker toward the copy */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,42,61,.72) 0%, rgba(10,42,61,0) 24%),
    linear-gradient(0deg, rgba(14,22,28,.92) 0%, rgba(10,42,61,.55) 45%, rgba(10,42,61,.25) 100%),
    linear-gradient(90deg, rgba(10,42,61,.55) 0%, rgba(10,42,61,0) 65%);
}

.hero-title {
  display: grid;
  font-family: var(--display);
  font-size: clamp(2.5rem, 1.5rem + 4.6vw, 5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
}
/* Outline / solid lines, after the Snyder example */
@supports (-webkit-text-stroke: 1px #fff) {
  .ht-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--bone);
  }
}

.hero-lead {
  max-width: 40ch;
  margin-top: clamp(18px, 2.2vw, 26px);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  color: #DCE3E8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(22px, 3vw, 32px);
}
@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(84px, 10vw, 136px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  background: rgba(10, 20, 28, .45);
  border: 1px solid rgba(236, 240, 242, .4);
  color: var(--bone);
  font-family: var(--text);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
}
.video-toggle:hover { background: rgba(10, 20, 28, .7); }
.vt-icon {
  width: 10px; height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.video-toggle[aria-pressed="true"] .vt-icon {
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}
@media (max-width: 599px) {
  .video-toggle { top: calc(var(--header-h) + 12px); bottom: auto; }
}

/* Signature: rough ground at the base of the hero is trimmed flat to level. */
.trim {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: clamp(48px, 7vw, 104px);
  pointer-events: none;
}
.trim-svg { display: block; width: 100%; height: 100%; }
.trim-fill { fill: var(--asphalt); }
.trim-line {
  fill: none;
  stroke: var(--c2-blue);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

/* ---------- Facts band ---------- */

.facts { padding-block: 4px clamp(48px, 6vw, 80px); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
.fact {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: clamp(22px, 2.6vw, 34px) 14px;
  background: var(--asphalt);
}
.fact-num {
  font-family: var(--display);
  font-size: min(5.9vw, clamp(1.5rem, 1.05rem + 1.3vw, 2.25rem));
  font-weight: 600;
  line-height: 1;
  color: var(--c2-blue);
}
.fact-txt { color: var(--steel); font-size: .9375rem; line-height: 1.45; max-width: 26ch; }

/* Hover: a blue level line is drawn across the top of the box, the value word
   picks up the logo slash and the line of text brightens. Mouse and trackpad only;
   on touch screens everything is simply shown. */
.fact { position: relative; transition: background-color .35s var(--ease-out); }
.fact::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 3px;
  background: var(--c2-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.fact-num { display: inline-flex; align-items: center; transition: color .3s var(--ease-out); }
.fact-num::before {
  content: "";
  width: 0; height: .8em;
  background: var(--bone);
  transform: skewX(-18deg);
  transition: width .35s var(--ease-out), margin-right .35s var(--ease-out);
}
.fact-txt { transition: color .3s var(--ease-out); }
@media (hover: hover) {
  .fact:hover { background: var(--asphalt-2); }
  .fact:hover::before { transform: scaleX(1); }
  .fact:hover .fact-num::before { width: 5px; margin-right: .35em; }
  .fact:hover .fact-txt { color: var(--bone); }
}
@media (min-width: 900px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 26px 26px 28px; }
}

/* ---------- Our work (concrete) ---------- */

.services { background: var(--concrete); color: var(--ink); }

.work-types { display: grid; gap: clamp(44px, 6vw, 96px); }

.wt { display: grid; gap: 18px; }
.wt-photo { overflow: hidden; background: var(--concrete-2); }
.wt-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.wt:hover .wt-photo img { transform: scale(1.03); }

.wt-body { border-top: 2px solid var(--ink); padding-top: 16px; }
.wt-name {
  font-family: var(--display);
  font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
/* description under each work type: set in the heading font so it has the same character */
.wt-body p {
  max-width: 32ch;
  margin-top: 12px;
  color: var(--ink-2);
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .005em;
}

@media (min-width: 960px) {
  .wt {
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    align-items: end;
  }
  .wt-photo { grid-column: 1 / span 8; grid-row: 1; }
  .wt-body {
    grid-column: 8 / span 5;
    grid-row: 1;
    position: relative;
    z-index: 1;
    margin-bottom: -1px;
    padding: 26px 30px 30px;
    background: var(--concrete);
    border-top: 0;
    border-left: 2px solid var(--ink);
  }
  .wt:nth-child(even) .wt-photo { grid-column: 5 / span 8; }
  .wt:nth-child(even) .wt-body { grid-column: 1 / span 5; border-left: 0; border-right: 2px solid var(--ink); text-align: right; }
  .wt:nth-child(even) .wt-body p { margin-left: auto; }
  .wt-photo img { aspect-ratio: 16 / 9; }
}

/* Work type hover: a blue line draws under the name, the edge bar turns blue
   and the text darkens. The photo already zooms slightly. */
.wt-name { position: relative; display: inline-block; padding-bottom: 8px; }
.wt-name::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--c2-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.wt-body { transition: border-color .35s var(--ease-out); }
.wt-body p { transition: color .3s var(--ease-out); }
@media (hover: hover) {
  .wt:hover .wt-name::after { transform: scaleX(1); }
  .wt:hover .wt-body { border-color: var(--c2-blue); }
  .wt:hover .wt-body p { color: var(--ink); }
}
@media (min-width: 960px) {
  .wt:nth-child(even) .wt-name::after { transform-origin: right; }
}

/* ---------- About (asphalt + contours) ---------- */

.about { background: var(--asphalt) url("../img/contours.svg") center / cover no-repeat; }

.about-grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  /* longer story: photo stays in view beside the text */
  .about-grid { grid-template-columns: 5fr 6fr; align-items: start; }
  .directors { position: sticky; top: calc(var(--header-h) + 32px); }
}

.directors { position: relative; z-index: 0; }
.directors img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
}
.directors::after {
  content: "";
  position: absolute;
  inset: 14px -14px 36px 14px;
  z-index: -1;
  border: 2px solid var(--c2-blue);
}
.directors figcaption { margin-top: 14px; color: var(--steel); font-size: .875rem; }

.about-text { max-width: 60ch; }
.about-text p {
  color: #CDD4D9;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.about-text p + p { margin-top: 16px; }
.about-text .about-lead {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem);
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Projects (concrete) ---------- */

.projects { background: var(--concrete); color: var(--ink); padding-bottom: clamp(48px, 6vw, 80px); }

.job-list { border-top: 2px solid var(--ink); }
.job {
  display: grid;
  gap: 2px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-light);
}
.job-name {
  font-family: var(--display);
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
}
/* Project row hover: the row tints and the name slides in behind a blue bar */
.job { position: relative; transition: background-color .3s var(--ease-out), padding-left .35s var(--ease-out), padding-right .35s var(--ease-out); }
.job::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c2-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease-out);
}
@media (hover: hover) {
  .job:hover { background: var(--concrete-2); padding-left: 20px; padding-right: 16px; }
  .job:hover::before { transform: scaleY(1); }
}
.job-place { color: var(--ink-2); }
.job-type { color: var(--blue-ink); font-weight: 600; font-size: .9375rem; }

@media (min-width: 900px) {
  .job {
    grid-template-columns: 6fr 3fr 3fr;
    gap: 24px;
    align-items: baseline;
    padding: 24px 0;
  }
  .job-type { text-align: right; }
}

/* ---------- Clients: sliding logo banner ---------- */

.clients {
  padding-block: 0 clamp(56px, 7vw, 96px);
  background: var(--concrete);
  color: var(--ink);
}
.clients-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.clients-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
}

.marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--rule-light);
  color: var(--ink-2);
  font-family: var(--text);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
}
.marquee-toggle:hover { border-color: var(--ink-2); color: var(--ink); }
.marquee-toggle[aria-pressed="true"] .vt-icon {
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--rule-light);
  /* fade the logos in and out at the edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
}
.marquee.is-running .marquee-track { animation: marquee var(--marquee-duration, 40s) linear infinite; }
.marquee.is-running:hover .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(84px, 9vw, 112px);
  padding-inline: clamp(28px, 4vw, 56px);
  border-right: 1px solid var(--rule-light);
}
/* Logos are pre-converted to one grey so the row reads as a set */
.client img {
  height: clamp(30px, 3.2vw, 44px);
  width: auto;
  max-width: 170px;
  object-fit: contain;
  opacity: .8;
  transition: opacity .3s var(--ease-out);
}
.client:hover img { opacity: 1; }
/* compact or stacked logos need more height to read at the same visual weight */
.client-lg img { height: clamp(40px, 4.2vw, 58px); }
.client-xl img { height: clamp(56px, 6vw, 80px); max-width: 130px; }
.wordmark {
  font-family: var(--display);
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #5C656D;
  transition: color .3s var(--ease-out);
}
.client:hover .wordmark { color: var(--ink); }

/* No motion: show the names as a still, wrapping row */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-toggle { display: none; }
}

/* ---------- Contact (asphalt) ---------- */

.contact {
  position: relative;
  padding-block: var(--section-y);
  background: var(--asphalt);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c2-blue);
}
.contact .section-title { margin-bottom: 0; }

.contact-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 4fr 8fr; align-items: start; }
}

.contact-row {
  display: grid;
  gap: 2px;
  padding: 18px 0;
  border-top: 1px solid var(--rule-dark);
  text-decoration: none;
}
.contact-row:last-child { border-bottom: 1px solid var(--rule-dark); }
.contact-label { color: var(--steel); font-size: .9375rem; }
.contact-value {
  font-family: var(--display);
  font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition: color .2s var(--ease-out);
}
.contact-row:hover .contact-value { color: var(--c2-blue); }
@media (min-width: 640px) {
  .contact-row { grid-template-columns: 11rem 1fr; gap: 24px; align-items: baseline; }
}

/* ---------- Footer: drawing title block ---------- */

.site-footer { padding-block: 0 40px; }

.title-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--rule-dark);
}
.tb-cell {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  font-size: .8125rem;
}
.tb-cell:nth-child(2n + 1) { border-right: 0; }
.tb-logo { grid-column: 1 / -1; border-right: 0; padding: 18px 14px; }
.tb-logo img { width: 140px; }
.tb-k { color: var(--steel); font-size: .6875rem; letter-spacing: .02em; }
.tb-v { color: var(--bone); font-weight: 600; }

@media (min-width: 900px) {
  .title-block { grid-template-columns: 1.4fr 1fr .9fr 1.8fr 1.2fr .6fr; }
  .tb-logo { grid-column: auto; display: flex; align-items: center; }
  .tb-cell { border-bottom: 0; border-right: 1px solid var(--rule-dark) !important; }
  .tb-cell:last-child { border-right: 0 !important; }
}

.footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; }
.footer-links .text-link { color: var(--bone); font-size: .875rem; }
.back-top { color: var(--bone); font-size: .875rem; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ---------- Work with us (hiring) ---------- */
.hiring {
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--c2-blue);
  color: var(--on-blue);
}
.hiring .section-title { margin-bottom: 0; color: var(--on-blue); }
.hiring .section-title::before { background: var(--on-blue); color: var(--on-blue); }
.hiring-grid { display: grid; gap: clamp(20px, 4vw, 48px); }
@media (min-width: 960px) {
  .hiring-grid { grid-template-columns: 4fr 8fr; align-items: start; }
}
.hiring-lead {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}
.hiring-body p + p { max-width: 44ch; margin-top: 12px; font-size: 1.0625rem; font-weight: 500; }
.hiring-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-dark {
  background: var(--on-blue);
  color: var(--bone);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-dark:hover { background: var(--asphalt-2); }
.btn-dark-line { color: var(--on-blue); border-color: var(--on-blue); }
.btn-dark-line:hover { background: rgba(11, 26, 36, .12); }
@media (max-width: 479px) {
  .hiring-actions .btn { width: 100%; }
}

/* ---------- Moving "We're hiring" banner under the hero ---------- */
.ticker {
  display: block;
  overflow: hidden;
  padding-block: 13px;
  background: var(--c2-blue);
  color: var(--on-blue);
  text-decoration: none;
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-half { display: flex; align-items: center; flex: none; }
.ticker-item {
  font-family: var(--display);
  font-size: clamp(.9375rem, .85rem + .4vw, 1.125rem);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-item-alt { font-weight: 500; }
.ticker-slash {
  flex: none;
  width: 4px; height: 1em;
  margin-inline: clamp(18px, 2.4vw, 32px);
  background: var(--on-blue);
  transform: skewX(-18deg);
}
.ticker:hover .ticker-track,
.ticker:focus-visible .ticker-track { animation-play-state: paused; }
.ticker:focus-visible { outline: 3px solid var(--bone); outline-offset: -3px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker + .facts { padding-top: clamp(28px, 4vw, 48px); }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
}
