/* TAG Construction website — built on the TAG Construction Design System
   (tokens: tag-red, tag-ink, tag-concrete, tag-hivis, tag-maroon). One stylesheet for every public page. */

:root {
  --tag-red-200: #ffaaa3;
  --tag-red-300: #ff7a70;
  --tag-red-500: #e31e13;
  --tag-red-600: #c7170d;
  --tag-red-700: #9e1109;
  --tag-ink-100: #e7e6e4;
  --tag-ink-200: #c8c6c3;
  --tag-ink-300: #9c9996;
  --tag-ink-400: #6b6865;
  --tag-ink-500: #45423f;
  --tag-ink-600: #2c2a28;
  --tag-ink-700: #1c1b1a;
  --tag-ink-800: #121110;
  --tag-ink-900: #0a0a09;
  --tag-concrete-50: #fafaf9;
  --tag-concrete-100: #f1f0ee;
  --tag-concrete-200: #e2e1de;
  --tag-concrete-300: #c9c7c3;
  --tag-maroon-100: #f6e8e9;
  --tag-maroon-500: #6b1015;
  --tag-maroon-700: #4a0b0e;
  --stripe-hivis: repeating-linear-gradient(135deg, #ff5a1f 0 12px, #fff 12px 16px, #ff5a1f 16px 28px, #121110 28px 32px);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1280px;
  --gutter: 32px;
  --header-h: 72px;
}
@media (max-width: 720px) { :root { --gutter: 20px; --header-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body { margin: 0; background: var(--tag-concrete-50); color: var(--tag-ink-800); font: 400 16px/1.6 var(--font); }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--tag-red-600); text-underline-offset: 3px; }
a:hover { color: var(--tag-red-700); }
:focus-visible { outline: 2px solid var(--tag-red-500); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1em; }
.t-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tag-red-500); color: #fff; padding: 10px 16px; font-weight: 700; }
.t-skip:focus { top: 16px; color: #fff; }
.t-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.t-stripe { height: 6px; background: var(--stripe-hivis); }
.t-stripe--thick { height: 8px; }

/* small parts */
.t-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tag-red-600); }
.t-tag { display: inline-block; align-self: flex-start; background: var(--tag-red-500); color: #fff; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 10px; }
.t-tag--maroon { background: var(--tag-maroon-500); }
.t-tag--ink { background: var(--tag-ink-800); }
.t-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tag-ink-400); }
.t-more { font-size: 14px; font-weight: 700; color: var(--tag-red-600); text-decoration: none; }
.t-more:hover { text-decoration: underline; }
.t-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: 4px; font: 600 14px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.t-btn--red { background: var(--tag-red-500); color: #fff; }
.t-btn--red:hover { background: var(--tag-red-600); color: #fff; }
.t-btn--ink { background: var(--tag-ink-800); color: #fff; }
.t-btn--ink:hover { background: var(--tag-ink-600); color: #fff; }
.t-btn--outline { border-color: currentColor; color: #fff; background: transparent; }
.t-btn--outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.t-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.t-header { position: sticky; top: 0; z-index: 50; background: var(--tag-ink-800); color: #fff; }
.t-header__in { display: flex; align-items: center; gap: 16px 32px; min-height: var(--header-h); }
.t-logo { display: flex; flex: none; }
.t-logo img { display: block; width: 200px; height: 40px; }
.t-nav { flex: 1 1 auto; }
.t-nav ul { list-style: none; margin: 0; padding: 0; }
.t-nav > ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.t-nav li { position: relative; }
.t-nav a { display: block; color: var(--tag-ink-100); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.t-nav > ul > li > a { padding: 26px 0 23px; border-bottom: 3px solid transparent; }
.t-nav a:hover, .t-nav .is-current > a { color: #fff; }
.t-nav > ul > .is-current > a { border-bottom-color: var(--tag-red-500); }
.t-nav .t-sub { position: absolute; left: -16px; top: 100%; min-width: 260px; background: var(--tag-ink-800); border-top: 3px solid var(--tag-red-500); padding: 8px 0; display: none; box-shadow: 0 12px 32px rgba(18,17,16,0.3); }
.t-nav .t-sub a { padding: 11px 16px; letter-spacing: 0.04em; }
.t-nav .t-sub .is-current > a { color: #fff; box-shadow: inset 3px 0 var(--tag-red-500); }
.t-nav li:hover > .t-sub, .t-nav li:focus-within > .t-sub { display: block; }
.t-sub-btn { display: none; }
.t-header__cta { flex: none; }
.t-nav .t-cta-mobile { display: none; }
.t-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 1px solid var(--tag-ink-500); border-radius: 4px; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1100px) {
  .t-logo img { width: 160px; height: 32px; }
  .t-menu-btn { display: inline-flex; }
  .t-header__cta { display: none; }
  .t-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--tag-ink-800); border-top: 1px solid var(--tag-ink-600); max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px var(--gutter) 24px; }
  .t-header.is-open .t-nav { display: block; }
  .t-nav > ul { display: block; }
  .t-nav > ul > li { border-bottom: 1px solid var(--tag-ink-600); }
  .t-nav > ul > li > a { padding: 14px 48px 14px 0; border: 0; font-size: 15px; }
  .t-nav > ul > .is-current > a { color: #fff; box-shadow: inset 3px 0 var(--tag-red-500); padding-left: 12px; }
  .t-nav .t-sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .t-nav li:hover > .t-sub { display: none; }
  .t-nav li.is-open > .t-sub, .t-nav li:focus-within > .t-sub { display: block; }
  .t-mega { display: none; }
  .t-nav li.is-open > .t-mega { display: block; }
  .t-mega__in { padding: 0; }
  .t-mega__intro, .t-mega__photo { display: none; }
  .t-nav .t-mega .t-sub { display: block; }
  .t-nav .t-mega .t-sub a { display: flex; justify-content: space-between; gap: 12px; }
  .t-nav .t-mega .t-sub .t-mono { color: var(--tag-ink-300); }
  .t-sub-btn { display: inline-flex; position: absolute; right: 0; top: 2px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; cursor: pointer; }
  .t-nav li.is-open > .t-sub-btn svg { transform: rotate(180deg); }
  .t-nav .t-cta-mobile { display: flex; margin-top: 16px; padding: 12px 20px; color: #fff; }
}

/* heroes: a photo or a video, with the text set in the admin over it */
.t-hero { position: relative; display: flex; align-items: flex-end; min-height: 420px; overflow: hidden; background: var(--tag-ink-900); color: #fff; }
.t-hero--video { min-height: min(680px, 82vh); }
.t-hero--centre { align-items: center; text-align: center; }
.t-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,9,var(--shade, .8)) 0%, rgba(10,10,9,calc(var(--shade, .8) * .65)) 55%, rgba(10,10,9,calc(var(--shade, .8) * .25)) 100%); }
.t-hero--video .t-hero__shade, .t-hero--centre .t-hero__shade { background: linear-gradient(180deg, rgba(10,10,9,calc(var(--shade, .8) * .2)) 0%, rgba(10,10,9,var(--shade, .8)) 100%); }
.t-hero__text { position: relative; width: 100%; padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.t-hero--video .t-hero__text { padding-top: 96px; padding-bottom: 64px; gap: 24px; }
.t-hero--centre .t-hero__text { align-items: center; }
.t-hero--centre .t-tag { align-self: center; }
.t-hero__title { font-size: clamp(38px, 5vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; max-width: 960px; overflow-wrap: break-word; }
.t-hero--video .t-hero__title { font-size: clamp(40px, 6vw, 80px); }
.t-hero__intro { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--tag-ink-100); max-width: 640px; }
.t-crumbs { font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tag-ink-200); }
.t-crumbs a { color: var(--tag-ink-200); text-decoration: none; }
.t-crumbs a:hover { color: #fff; text-decoration: underline; }
.t-crumbs [aria-current] { color: #fff; }
.t-hero__pause { position: absolute; right: var(--gutter); bottom: 32px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.6); border-radius: 4px; background: rgba(10,10,9,0.4); color: #fff; cursor: pointer; }
/* play / pause (and mute) buttons on every video: the icon follows the video's state */
.t-vidbtn .t-i-play, .is-paused .t-vidbtn .t-i-pause, .t-mutebtn .t-i-muted, .is-muted .t-mutebtn .t-i-sound { display: none; }
.is-paused .t-vidbtn .t-i-play, .is-muted .t-mutebtn .t-i-muted { display: block; }
/* a video within the page */
.t-video { margin: 0; }
.t-video__frame { position: relative; background: var(--tag-ink-900); overflow: hidden; }
.t-video__media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; cursor: pointer; }
.t-video__big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border: 0; border-radius: 50%; background: var(--tag-red-500); color: #fff; display: none; align-items: center; justify-content: center; padding-left: 4px; cursor: pointer; box-shadow: 0 4px 16px rgba(10,10,9,0.35); }
.t-video.is-paused .t-video__big { display: flex; }
.t-video__bar { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.t-video__bar button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.6); border-radius: 4px; background: rgba(10,10,9,0.55); color: #fff; cursor: pointer; }
.t-video figcaption { margin-top: 8px; }

/* office addresses */
.t-offices { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--tag-ink-800); }
.t-office { display: flex; flex-direction: column; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--tag-concrete-200); }
.t-office h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 24px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.t-office h3 .t-tag { font-size: 10px; padding: 5px 8px; }
.t-office p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--tag-ink-600); }
.t-office__address { margin-bottom: 4px !important; color: var(--tag-ink-800) !important; font-weight: 600; }
.t-office a { color: var(--tag-ink-800); text-decoration-color: var(--tag-red-500); text-underline-offset: 4px; }
.t-office a:hover { color: var(--tag-red-600); }
.t-office__dir { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.t-office__dir svg { color: var(--tag-red-500); transition: transform .15s; }
.t-office__dir:hover svg { transform: translateX(3px); }

/* office map */
.t-map { margin: 0; background: #fff; border: 1px solid var(--tag-concrete-200); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.t-map svg { display: block; width: 100%; height: auto; max-height: 640px; }
.t-map__uk { fill: var(--tag-concrete-200); }
.t-map__ie { fill: var(--tag-concrete-100); }
.t-map__lines path { fill: none; stroke: #c8232c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-map__dot { fill: #fff; stroke: #c8232c; stroke-width: 3.5; }
.t-map__hq { fill: #fff; stroke: #c8232c; stroke-width: 4; }
.t-map__hq-dot { fill: #c8232c; }
.t-map text { font: 700 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; fill: var(--tag-ink-800); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.t-map text.t-map__road { font: 700 10px var(--mono); letter-spacing: 0.04em; fill: var(--tag-ink-500); stroke-width: 3px; }
.t-map text.t-map__note { font-size: 10px; font-weight: 500; fill: var(--tag-red-600); }
.t-map figcaption { border-top: 1px solid var(--tag-concrete-200); padding-top: 12px; }

.t-strip { background: var(--tag-ink-800); color: #fff; }
.t-strip .t-wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 18px; padding-bottom: 18px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }

/* title band (case studies, news, posts, 404) */
.t-band { position: relative; background: var(--tag-ink-700); color: #fff; overflow: hidden; }
.t-band__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-band__photo + .t-band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,9,0.92) 0%, rgba(10,10,9,0.75) 50%, rgba(10,10,9,0.45) 100%); }
.t-band .t-wrap { position: relative; }
.t-band .t-wrap { padding-top: 56px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.t-band h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; max-width: 1000px; }
.t-band__intro { margin: 0; font-size: 19px; line-height: 1.5; color: var(--tag-ink-200); max-width: 700px; }
.t-band__intro p { margin: 0 0 .6em; }
.t-band__intro a { color: #fff; }
.t-tabs { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 16px 0 -48px; }
.t-tabs a { padding: 14px 0; color: var(--tag-ink-200); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.t-tabs a:hover { color: #fff; }
.t-tabs a[aria-current] { color: #fff; font-weight: 700; border-bottom-color: var(--tag-red-500); }
.t-tabs .t-mono { color: var(--tag-ink-300); margin-left: 4px; }

/* page builder: sections, columns, content */
.t-row { padding: 56px 0; }
.t-row + .t-row.t-bg--none, .t-hero + .t-stripe + .t-row, .t-strip + .t-stripe + .t-row { padding-top: 64px; }
.t-row.t-bg--none + .t-row.t-bg--none { padding-top: 0; }
.t-bg--light { background: var(--tag-concrete-100); }
.t-bg--dark { background: var(--tag-ink-800); color: #fff; }
.t-bg--dark .t-text, .t-bg--dark .t-h2 { color: #fff; }
.t-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.t-cols .t-cols { gap: 24px 32px; }
.t-col { grid-column: span var(--span, 12); min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.t-col > * { margin: 0; }
@media (max-width: 900px) {
  .t-col { grid-column: span 12; }
  .t-col--empty, .t-col--hide-sm { display: none; }
  .t-row { padding: 40px 0; }
}
.t-text { font-size: 16px; line-height: 1.65; color: var(--tag-ink-600); max-width: 75ch; }
.t-text--large { font-size: 18px; }
.t-text--office { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--tag-ink-800); }
.t-text > :last-child { margin-bottom: 0; }
.t-text h2, .t-text h3, .t-text h4 { color: var(--tag-ink-800); text-transform: uppercase; font-weight: 800; margin: 1.4em 0 .5em; }
.t-text h2 { font-size: 26px; } .t-text h3 { font-size: 21px; } .t-text h4 { font-size: 17px; }
.t-text > :first-child { margin-top: 0; }
.t-text ul, .t-text ol { padding-left: 1.3em; margin: 0 0 1em; }
.t-text li { margin-bottom: .35em; }
.t-text ul { list-style: none; padding-left: 0; }
.t-text ul > li { position: relative; padding-left: 22px; }
.t-text ul > li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; background: var(--tag-red-500); }
.t-text ol > li::marker { color: var(--tag-red-600); font-weight: 700; }
.t-text a { text-decoration-thickness: 1px; transition: text-decoration-thickness .1s; }
.t-text a:hover { text-decoration-thickness: 2px; }
.t-text strong { color: var(--tag-ink-800); }
/* the first paragraph under a page's banner reads as an introduction */
.t-stripe--thick + .t-row .t-col > .t-text--large:first-child > p:first-child { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--tag-ink-800); }
/* office addresses get the signal-red rule */
.t-text--office { border-left: 3px solid var(--tag-red-500); padding-left: 18px; font-size: 18px; }
.t-text blockquote { margin: 1em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--tag-red-500); font-size: 1.1em; color: var(--tag-ink-800); }
.t-text img { height: auto; }
.t-text img.emoji { display: inline; width: 1em; height: 1em; vertical-align: -0.1em; }
.t-h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; }
.t-h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--tag-red-500); margin-top: 14px; }
.t-center { text-align: center; }
.t-center.t-h2::after { margin-left: auto; margin-right: auto; }
.t-bar { display: flex; align-items: stretch; background: var(--tag-ink-800); color: #fff; }
.t-bar h2, .t-bar h3 { flex: 1 1 auto; padding: 13px 20px; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.t-bar::after { content: ""; width: 18px; flex: none; background: var(--tag-red-500); }
.t-bar a { align-self: center; padding: 0 20px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.t-figure { margin: 0; }
.t-figure img { display: block; }
.t-align-center { text-align: center; } .t-align-center img { margin: 0 auto; }
.t-align-right img { margin-left: auto; }
.t-figure figcaption { margin-top: 8px; }
.t-rule { border: 0; border-top: 1px solid var(--rule, var(--tag-concrete-200)); margin: 8px 0; width: 100%; }
.t-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.t-section-head__titles { display: flex; flex-direction: column; gap: 8px; }
.t-section-head h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }

/* cards */
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 300px)), 1fr)); gap: 32px; }
.t-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tag-concrete-200); color: inherit; text-decoration: none; transition: border-color .15s; }
a.t-card:hover { border-color: var(--tag-ink-800); color: inherit; }
a.t-card .t-card__media img { transition: transform .4s; }
a.t-card:hover .t-card__media img { transform: scale(1.03); }
a.t-card:hover h3 { color: var(--tag-red-600); }
.t-card__media { position: relative; overflow: hidden; background: var(--tag-concrete-100); }
.t-card__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.t-card__media .t-tag { position: absolute; left: 0; top: 16px; font-size: 11px; padding: 6px 10px; }
.t-card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.t-card__body h3 { font-size: 22px; font-weight: 800; line-height: 1.2; text-transform: uppercase; transition: color .15s; }
.t-card__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tag-ink-500); }
.t-card__meta { font-size: 14px; color: var(--tag-ink-400); }
.t-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tag-concrete-200); }
.t-card__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.t-card__facts b { display: block; font-size: 24px; font-weight: 900; }
.t-card__facts .t-mono { font-size: 11px; }
.t-card--case .t-card__media img { aspect-ratio: 16 / 10; }
.t-news { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.t-news img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tag-concrete-100); }
.t-news h3 { font-size: 19px; font-weight: 800; line-height: 1.25; text-transform: uppercase; transition: color .15s; }
.t-news:hover h3 { color: var(--tag-red-600); }
.t-news-lead { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--tag-concrete-200); color: inherit; text-decoration: none; margin-bottom: 48px; }
.t-news-lead img { flex: 3 1 460px; min-width: 0; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.t-news-lead div { flex: 2 1 320px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.t-news-lead h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }
.t-news-lead:hover h2 { color: var(--tag-red-600); }
.t-news-more { margin-top: 48px; }
.t-news-more summary { display: flex; list-style: none; width: max-content; margin: 0 auto; }
.t-news-more summary::-webkit-details-marker { display: none; }
.t-news-more[open] summary { display: none; }
.t-news-list { display: flex; flex-direction: column; gap: 16px; }
.t-news-list a { display: flex; gap: 12px; color: inherit; text-decoration: none; }
.t-news-list img { width: 96px; height: 72px; object-fit: cover; flex: none; }
.t-news-list h3 { margin-top: 2px; font-size: 15px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.t-news-list a:hover h3 { color: var(--tag-red-600); }
.t-panel { background: var(--tag-maroon-500); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.t-panel h3 { font-size: 22px; font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.t-panel a { color: #fff; font-weight: 700; }

/* photo tiles (sectors, "large" photo tiles) */
.t-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.t-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tag-ink-800); color: #fff; text-decoration: none; }
.t-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.t-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,9,0) 35%, rgba(10,10,9,.85) 100%); }
.t-tile div { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; }
.t-tile div::before { content: ""; display: block; width: 24px; height: 2px; background: var(--tag-red-500); margin-bottom: 10px; }
.t-tile h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; }
.t-tile .t-mono { color: var(--tag-ink-200); margin-top: 4px; display: block; }
a.t-tile:hover { color: #fff; }
a.t-tile:hover img { transform: scale(1.04); }
.t-tile--wide { aspect-ratio: 16 / 9; }

/* case study sectors as compact buttons */
.t-sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.t-sector { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 16px 18px; background: var(--tag-ink-800); color: #fff; text-decoration: none; border-left: 4px solid var(--tag-red-500); transition: background-color .15s; }
.t-sector__name { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.t-sector .t-mono { grid-row: 2; color: var(--tag-ink-200); font-size: 11px; }
.t-sector .t-arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--tag-red-500); transition: transform .15s; }
.t-sector:hover { background: var(--tag-maroon-500); color: #fff; }
.t-sector:hover .t-arrow { transform: translateX(3px); color: #fff; }

/* facts row, ISO band, quote, key facts */
.t-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: #fff; border: 1px solid var(--tag-concrete-200); }
.t-facts div { padding: 22px 24px; border-right: 1px solid var(--tag-concrete-200); }
.t-facts div:last-child { border-right: 0; }
.t-facts b { display: block; margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.2; }
.t-iso { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; background: #fff; border: 1px solid var(--tag-concrete-200); padding: 32px; }
.t-iso__head { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
.t-iso__head h2 { font-size: 28px; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
.t-iso__list { flex: 3 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.t-badge { display: flex; align-items: stretch; border: 1px solid var(--tag-maroon-500); color: inherit; text-decoration: none; background: #fff; }
.t-badge__std { flex: none; width: 76px; background: var(--tag-maroon-500); color: #fff; padding: 12px; font-weight: 900; font-size: 15px; line-height: 1.15; display: flex; align-items: center; }
.t-badge__txt { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.t-badge__txt b { font-size: 15px; }
.t-badge__txt .t-mono { font-size: 11px; text-transform: none; }
.t-quote { margin: 0; background: var(--tag-maroon-500); color: #fff; padding: 40px; border-left: 6px solid var(--tag-red-500); display: flex; flex-direction: column; gap: 14px; }
.t-quote p { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: -0.01em; }
.t-quote cite { font: normal 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tag-red-200); }
.t-keyfacts { background: var(--tag-maroon-500); color: #fff; border-top: 2px solid var(--tag-red-500); }
.t-keyfacts .t-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.t-keyfacts div > div { padding: 28px 24px 28px 0; }
.t-keyfacts b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.t-keyfacts .t-mono { color: #e7c9cb; display: block; margin-top: 6px; }

/* case study page */
.t-split { display: flex; flex-wrap: wrap; gap: 56px; }
.t-split__main { flex: 999 1 560px; min-width: 0; }
.t-split__side { flex: 1 1 300px; align-self: flex-start; display: flex; flex-direction: column; gap: 32px; }
.t-facts-card { background: #fff; border: 1px solid var(--tag-concrete-200); }
.t-facts-card dl { margin: 0; padding: 4px 16px 8px; }
.t-facts-card dl div { padding: 12px 0; border-bottom: 1px solid var(--tag-concrete-200); }
.t-facts-card dl div:last-child { border-bottom: 0; }
.t-facts-card dt { font: 500 11px/1.4 var(--mono); text-transform: uppercase; color: var(--tag-ink-400); }
.t-facts-card dd { margin: 2px 0 0; font-weight: 700; }
.t-gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--gap, 8px); }
.t-gallery a, .t-gallery span { display: block; overflow: hidden; background: var(--tag-concrete-100); }
.t-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.t-gallery--squares img { aspect-ratio: 1 / 1; }
.t-gallery a:hover img { transform: scale(1.03); }
.t-gallery--masonry { display: block; columns: var(--cols, 4); column-gap: var(--gap, 8px); }
.t-gallery--masonry a, .t-gallery--masonry span { break-inside: avoid; margin-bottom: var(--gap, 8px); }
.t-gallery--masonry img { aspect-ratio: auto; height: auto; }
@media (max-width: 900px) { .t-gallery { --cols: 2 !important; } }

/* contact block (bottom of every page) */
.t-cta { padding: 96px 0; }
.t-cta__box { display: flex; flex-wrap: wrap; background: var(--tag-maroon-500); color: #fff; }
.t-cta__main { flex: 2 1 420px; padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.t-cta__main .t-eyebrow { color: var(--tag-red-200); }
.t-cta__main h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }
.t-cta__main p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--tag-ink-100); max-width: 540px; }
.t-cta__main .t-btns { margin-top: 8px; }
.t-cta__side { flex: 1 1 300px; padding: 48px; border-left: 1px solid rgba(255,255,255,0.2); display: flex; flex-direction: column; gap: 20px; }
.t-cta__side .t-mono { color: var(--tag-ink-200); display: block; }
.t-cta__side a { color: #fff; }
.t-cta__phone { font-size: 22px; font-weight: 800; text-decoration: none; }
@media (max-width: 720px) { .t-cta { padding: 56px 0; } .t-cta__main, .t-cta__side { padding: 28px 24px; } .t-cta__side { border-left: 0; border-top: 1px solid rgba(255,255,255,0.2); } }

/* footer */
.t-footer { background: var(--tag-ink-900); color: var(--tag-ink-200); font-size: 14px; line-height: 1.7; }
.t-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 32px; }
.t-footer h2 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.t-footer ul { list-style: none; margin: 0; padding: 0; }
.t-footer li { margin-bottom: 6px; }
.t-footer a { color: var(--tag-ink-200); text-decoration: none; }
.t-footer a:hover { color: #fff; text-decoration: underline; }
.t-footer__logo { display: block; width: 180px; height: 36px; margin-bottom: 16px; }
.t-footer__contact a { color: #fff; }
.t-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--tag-ink-600); font-size: 13px; color: var(--tag-ink-300); }
.t-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.t-footer__bottom a { color: var(--tag-ink-300); }

/* forms: grouped fields on a white sheet, labels above, the TAG red for focus and errors */
.t-f { background: #fff; border: 1px solid var(--tag-concrete-200); border-top: 3px solid var(--tag-ink-800); padding: 8px 40px 40px; }
.t-f__group { border: 0; margin: 0; padding: 32px 0 28px; border-bottom: 1px solid var(--tag-concrete-200); min-width: 0; }
.t-f__group legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tag-ink-800); }
.t-f__group legend::before { content: ""; width: 18px; height: 2px; background: var(--tag-red-500); }
.t-f__note { clear: both; margin: -8px 0 16px; font-size: 14px; color: var(--tag-ink-400); }
.t-f__grid { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.t-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t-field--full { grid-column: 1 / -1; }
.t-field[hidden] { display: none; }
.t-field label { font-size: 14px; font-weight: 600; color: var(--tag-ink-800); }
.t-field__opt { font-weight: 400; color: var(--tag-ink-400); }
.t-field input, .t-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--font); color: var(--tag-ink-800); background: var(--tag-concrete-50); border: 1px solid var(--tag-concrete-300); border-radius: 4px; transition: border-color .15s, background-color .15s; }
.t-field textarea { resize: vertical; min-height: 110px; }
.t-field input:hover, .t-field textarea:hover { border-color: var(--tag-ink-400); }
.t-field input:focus, .t-field textarea:focus { outline: 2px solid var(--tag-red-500); outline-offset: 1px; border-color: var(--tag-ink-800); background: #fff; }
.t-field [aria-invalid="true"] { border-color: var(--tag-red-600); background: var(--tag-maroon-100); }
.t-field__error { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--tag-red-700); }
.t-f__add { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: 0; background: none; border: 0; font: 700 14px var(--font); color: var(--tag-red-600); cursor: pointer; }
.t-f__add:hover { text-decoration: underline; }
/* CV upload: one card per kind of document, with a big camera/file button and the files picked */
.t-docs { clear: both; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.t-doc { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border: 2px solid var(--tag-concrete-200); border-radius: 4px; background: var(--tag-concrete-50); transition: border-color .15s, background-color .15s; }
.t-doc.is-over { border-color: var(--tag-red-500); background: #fff; }
.t-doc.has-file { border-color: var(--tag-ink-800); background: #fff; }
.t-doc:has(> .t-field__error) { border-color: var(--tag-red-600); background: var(--tag-maroon-100); }
.t-doc__title { margin: 0; font-size: 20px; font-weight: 800; color: var(--tag-ink-800); }
.t-doc__title .t-field__opt { font-size: 15px; font-weight: 400; }
.t-doc__hint { margin: -6px 0 2px; font-size: 15px; color: var(--tag-ink-500); }
.t-doc__pick { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 18px; border: 2px dashed var(--tag-ink-400); border-radius: 4px; background: #fff; font-size: 17px; font-weight: 700; color: var(--tag-ink-800); text-align: center; cursor: pointer; }
.t-doc__pick svg { flex: none; color: var(--tag-red-500); }
.t-doc__pick:hover { border-color: var(--tag-red-500); }
.t-doc__pick:has(:focus-visible) { outline: 2px solid var(--tag-red-500); outline-offset: 2px; }
.t-doc__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.t-doc.is-busy .t-doc__pick { opacity: .6; pointer-events: none; }
.t-doc.is-busy .t-doc__pick span::after { content: " (getting ready…)"; font-weight: 400; }
.t-doc__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-doc__list:empty { display: none; }
.t-doc__file { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--tag-concrete-200); border-radius: 4px; background: #fff; }
.t-doc__file img, .t-doc__icon { flex: none; width: 52px; height: 52px; border-radius: 3px; object-fit: cover; background: var(--tag-concrete-100); }
.t-doc__icon { display: flex; align-items: center; justify-content: center; color: var(--tag-ink-400); }
.t-doc__name { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.t-doc__name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.t-doc__name small { font-size: 14px; color: var(--tag-ink-400); }
.t-doc__remove { flex: none; min-height: 48px; min-width: 48px; padding: 0 14px; border: 1px solid var(--tag-concrete-300); border-radius: 4px; background: var(--tag-concrete-50); font: 700 15px var(--font); color: var(--tag-red-700); cursor: pointer; }
.t-doc__remove:hover { border-color: var(--tag-red-500); background: var(--tag-maroon-100); }
.t-doc .t-field { margin-top: 4px; }
.t-f__progress { height: 12px; margin-top: 20px; border-radius: 6px; background: var(--tag-concrete-200); overflow: hidden; }
.t-f__progress span { display: block; width: 0; height: 100%; background: var(--tag-red-500); transition: width .2s; }
/* bigger text and boxes, for filling in on a phone on site */
.t-f--easy .t-field label { font-size: 17px; }
.t-f--easy .t-field input, .t-f--easy .t-field textarea { min-height: 56px; font-size: 18px; }
.t-f--easy .t-f__note { font-size: 16px; color: var(--tag-ink-500); }
.t-f--easy .t-f__status:not(:empty) { font-size: 17px; }
.t-f__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 28px; }
.t-f__small { margin: 0; font-size: 14px; color: var(--tag-ink-400); }
.t-f__status:not(:empty) { margin-top: 20px; padding: 12px 16px; border-left: 4px solid var(--tag-ink-800); background: var(--tag-concrete-100); font-weight: 600; }
.t-f__status.is-error { border-left-color: var(--tag-red-500); background: var(--tag-maroon-100); }
.t-f__done { background: #fff; border: 1px solid var(--tag-concrete-200); border-top: 3px solid #1f8a4c; padding: 48px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #1f8a4c; }
.t-f__done h3 { font-size: 28px; font-weight: 900; text-transform: uppercase; color: var(--tag-ink-800); }
.t-f__done p { margin: 0; font-size: 18px; color: var(--tag-ink-600); max-width: 52ch; }
.t-f__done:focus { outline: none; }
.t-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) {
  .t-f { padding: 4px 20px 28px; }
  .t-f__grid, .t-docs { grid-template-columns: minmax(0, 1fr); }
  .t-doc { padding: 16px; }
  .t-f--easy .t-f__foot .t-btn { width: 100%; justify-content: center; }
}

/* larger buttons, with an arrow that nudges forward on hover */
.t-btn--lg { min-height: 52px; padding: 14px 26px; font-size: 15px; gap: 12px; }
.t-btn svg { transition: transform .15s; }
.t-btn:hover svg { transform: translateX(3px); }

/* a sticky panel beside a form */
.t-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.t-text.t-aside__panel { background: var(--tag-ink-800); color: var(--tag-ink-100); padding: 28px; max-width: none; font-size: 15px; }
.t-aside__panel h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 14px; color: #fff; }
.t-aside__panel a { color: #fff; }
.t-aside__panel ul > li { margin-bottom: 8px; }
@media (max-width: 900px) { .t-aside { position: static; } }
.t-aside img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* numbered steps */
.t-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; counter-reset: none; }
.t-steps li { border-top: 2px solid var(--tag-ink-800); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.t-steps__n { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: var(--tag-red-500); }
.t-steps h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.t-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tag-ink-500); }
.t-aside .t-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.t-aside .t-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; }
.t-aside .t-steps__n { grid-row: span 2; font-size: 30px; }
.t-bg--dark .t-steps li { border-top-color: #fff; }
.t-bg--dark .t-steps p { color: var(--tag-ink-200); }

/* ways to contact us */
.t-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.t-way { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--tag-concrete-200); color: var(--tag-ink-800); text-decoration: none; transition: border-color .15s; }
.t-way:hover { border-color: var(--tag-ink-800); color: var(--tag-ink-800); }
.t-way b { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.t-way[href^="mailto:"] b { font-size: 17px; }
.t-way .t-arrow { flex: none; color: var(--tag-red-500); transition: transform .15s; }
.t-way:hover .t-arrow { transform: translateX(3px); }
.t-way__note { font-size: 14px; color: var(--tag-ink-400); }
.t-way:first-child { background: var(--tag-maroon-500); border-color: var(--tag-maroon-500); color: #fff; }
.t-way:first-child .t-mono, .t-way:first-child .t-way__note { color: var(--tag-red-200); }
.t-way:first-child:hover { background: var(--tag-maroon-700); color: #fff; }
.t-way:first-child b { font-size: 24px; }

/* a photo across the full width of the screen */
.t-photoband { position: relative; margin: 0; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(260px, 40vw, 560px); background: var(--tag-ink-900); }
.t-photoband img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-photoband figcaption { position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: 20px; padding: 7px 10px; background: rgba(10,10,9,0.72); color: #fff; }
.t-row:has(> .t-wrap > .t-cols > .t-col > .t-photoband:only-child) { padding: 0; }

/* lightbox */
.t-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,9,0.92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.t-lightbox[hidden] { display: none; }
.t-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.t-lightbox button { position: absolute; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.5); border-radius: 4px; background: rgba(10,10,9,0.5); color: #fff; font-size: 22px; cursor: pointer; }
.t-lightbox__close { top: 16px; right: 16px; }
.t-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.t-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.t-lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--tag-ink-200); font: 500 12px var(--mono); }

/* staff preview notice */
.t-preview-note { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; background: var(--tag-red-500); color: #fff; font: 600 14px var(--font); padding: 10px 16px; text-align: center; }

/* ------------------------------------------------------------------
   Navigation panels, section bar, statement, pathways, clients,
   projects index, previous / next, footer sign-off
   ------------------------------------------------------------------ */

@media (min-width: 1101px) {
  .t-nav li[data-mega] { position: static; }
  .t-mega { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--tag-ink-900); border-top: 1px solid var(--tag-ink-600); box-shadow: 0 32px 64px rgba(10,10,9,0.4); }
  .t-nav li[data-mega]:hover > .t-mega, .t-nav li[data-mega]:focus-within > .t-mega { display: block; }
  .t-nav li[data-mega].is-closed > .t-mega { display: none; }
  .t-nav li[data-mega]:hover > a { color: #fff; border-bottom-color: var(--tag-red-500); }
  .t-mega__in { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 56px; padding-top: 44px; padding-bottom: 48px; }
  .t-mega__intro { display: flex; flex-direction: column; gap: 14px; }
  .t-mega__intro .t-eyebrow { color: var(--tag-red-300); }
  .t-mega__intro p { margin: 0; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
  .t-nav .t-mega__all { margin-top: auto; padding: 0; color: var(--tag-red-300); font-size: 13px; letter-spacing: 0.08em; }
  .t-nav .t-mega__all:hover { color: #fff; }
  .t-nav .t-mega .t-sub { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0 32px; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .t-nav .t-mega .t-sub a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--tag-ink-600); font-size: 14px; letter-spacing: 0.05em; color: var(--tag-ink-100); transition: border-color .15s, color .15s, padding .2s; }
  .t-nav .t-mega .t-sub a:hover, .t-nav .t-mega .t-sub .is-current > a { color: #fff; border-bottom-color: var(--tag-red-500); padding-left: 6px; box-shadow: none; }
  .t-nav .t-mega .t-sub .t-mono { color: var(--tag-ink-300); font-size: 11px; }
  .t-mega__photo { margin: 0; }
  .t-mega__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
}

/* "On this page" */
.t-toc { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--tag-concrete-200); }
.t-toc .t-wrap { display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.t-toc .t-wrap::-webkit-scrollbar { display: none; }
.t-toc .t-mono { flex: none; color: var(--tag-ink-400); font-size: 11px; }
.t-toc ul { display: flex; gap: 0 24px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.t-toc a { display: block; padding: 16px 0 13px; border-bottom: 3px solid transparent; color: var(--tag-ink-500); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: color .15s, border-color .15s; }
.t-toc a:hover { color: var(--tag-ink-800); }
.t-toc a[aria-current] { color: var(--tag-ink-800); border-bottom-color: var(--tag-red-500); }
:root:has(.t-toc) { scroll-padding-top: calc(var(--header-h) + 76px); }

/* section bars are numbered down the page, like a drawing index */
main { counter-reset: tsec; }
.t-row .t-bar h2::before { counter-increment: tsec; content: counter(tsec, decimal-leading-zero); margin-right: 16px; font: 500 12px var(--mono); letter-spacing: 0.08em; color: var(--tag-red-300); vertical-align: 2px; }
.t-aside .t-bar h2::before, .t-facts-card .t-bar h2::before { content: none; }

/* a statement set very large */
.t-statement { display: flex; flex-direction: column; gap: 22px; max-width: 1120px; padding: 16px 0 8px; }
.t-statement__text { margin: 0; font-size: clamp(30px, 4.6vw, 64px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; color: var(--tag-ink-800); text-wrap: balance; }
.t-statement__text em { font-style: normal; color: var(--tag-red-500); }
.t-statement__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--tag-red-500); color: var(--tag-ink-800); font-size: 15px; font-weight: 700; text-decoration: none; }
.t-statement__link:hover { color: var(--tag-red-600); }
.t-statement__link svg, .t-path svg, .t-pn svg { transition: transform .2s; }
.t-statement__link:hover svg { transform: translateX(4px); }

/* pathways: large photo links, the first one biggest */
.t-paths { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, 22vw); }
.t-paths--4 .t-path:first-child { grid-column: span 2; grid-row: span 2; }
.t-paths--4 .t-path:nth-child(2) { grid-column: span 2; }
.t-paths--3 .t-path:first-child { grid-row: span 2; grid-column: span 2; }
.t-paths--3 .t-path:not(:first-child) { grid-column: span 2; }
.t-paths--2 .t-path { grid-column: span 2; grid-row: span 2; }
.t-path { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--tag-ink-900); color: #fff; text-decoration: none; }
.t-path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, 0, 0, 1); }
.t-path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,9,0.05) 30%, rgba(10,10,9,0.86) 100%); }
.t-path::before { content: ""; position: absolute; z-index: 2; left: 0; bottom: 0; width: 0; height: 4px; background: var(--tag-red-500); transition: width .4s cubic-bezier(.2, 0, 0, 1); }
.t-path__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; }
.t-path__n { font: 500 12px var(--mono); letter-spacing: 0.08em; color: var(--tag-red-200); }
.t-path__label { font-size: 14px; color: var(--tag-ink-100); }
.t-path__title { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2vw, 30px); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; }
.t-path:first-child .t-path__title { font-size: clamp(30px, 3.4vw, 48px); }
.t-path__text { max-width: 42ch; font-size: 15px; line-height: 1.5; color: var(--tag-ink-200); }
.t-path:hover { color: #fff; }
.t-path:hover img { transform: scale(1.045); }
.t-path:hover::before { width: 100%; }
.t-path:hover svg { transform: translateX(4px); }
@media (max-width: 900px) {
  .t-paths { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
  .t-paths .t-path { grid-column: auto !important; grid-row: auto !important; }
}

/* contractors we've worked for */
.t-clients { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 40px; padding: 30px 0; border-top: 1px solid var(--tag-concrete-200); border-bottom: 1px solid var(--tag-concrete-200); }
.t-clients__list { flex: 1 1 640px; overflow: hidden; }
/* every name has a square before it; the one starting each line sits outside the box, so no line starts with one */
.t-clients ul { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0 0 0 -38px; padding: 0; list-style: none; }
.t-clients li { font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; color: var(--tag-ink-500); }
.t-clients li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 16px; background: var(--tag-red-500); vertical-align: middle; }

/* projects: search, grid or index */
.t-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 36px; }
.t-search { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #fff; border: 1px solid var(--tag-concrete-300); border-radius: 4px; color: var(--tag-ink-400); transition: border-color .15s; }
.t-search:focus-within { border-color: var(--tag-ink-800); outline: 2px solid var(--tag-red-500); outline-offset: 1px; }
.t-search input { flex: 1; min-width: 0; min-height: 50px; border: 0; outline: 0; background: transparent; font: 400 16px var(--font); color: var(--tag-ink-800); }
.t-toolbar__count { color: var(--tag-ink-400); }
.t-view { display: flex; border: 1px solid var(--tag-ink-800); border-radius: 4px; overflow: hidden; }
.t-view button { min-height: 46px; padding: 0 20px; border: 0; background: #fff; color: var(--tag-ink-800); font: 700 13px var(--font); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.t-view button[aria-pressed="true"] { background: var(--tag-ink-800); color: #fff; }
.t-index { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--tag-ink-800); }
.t-index li { border-bottom: 1px solid var(--tag-concrete-200); }
.t-index a { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1.7fr) minmax(0, 1.1fr) 170px; gap: 24px; align-items: center; padding: 20px 8px; color: var(--tag-ink-800); text-decoration: none; transition: background-color .15s, padding .25s cubic-bezier(.2, 0, 0, 1); }
.t-index__n { font: 500 12px var(--mono); color: var(--tag-red-600); }
.t-index__title { font-size: 19px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.t-index__client { font-size: 15px; color: var(--tag-ink-500); }
.t-index__sector { justify-self: end; }
.t-index__peek { position: absolute; z-index: 2; right: 200px; top: 50%; width: 240px; aspect-ratio: 3 / 2; object-fit: cover; opacity: 0; transform: translateY(-50%) scale(.96); pointer-events: none; box-shadow: 0 16px 40px rgba(10,10,9,0.25); transition: opacity .2s, transform .25s cubic-bezier(.2, 0, 0, 1); }
.t-index a:hover { background: #fff; padding-left: 18px; }
.t-index a:hover .t-index__title { color: var(--tag-red-600); }
.t-index a:hover .t-index__peek { opacity: 1; transform: translateY(-50%) scale(1); }
.t-noresults { margin: 0; padding: 32px 0; font-size: 18px; color: var(--tag-ink-500); }
@media (max-width: 900px) {
  .t-index a { grid-template-columns: 40px minmax(0, 1fr); }
  .t-index__client, .t-index__sector, .t-index__peek { display: none; }
}

/* previous and next project */
.t-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 72px; }
.t-pn__item { position: relative; display: flex; align-items: flex-end; min-height: 320px; overflow: hidden; background: var(--tag-ink-900); color: #fff; text-decoration: none; }
.t-pn__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .3s, transform .8s cubic-bezier(.2, 0, 0, 1); }
.t-pn__prev { border-right: 1px solid rgba(255,255,255,0.15); }
.t-pn__next { justify-content: flex-end; text-align: right; }
.t-pn__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; max-width: 600px; padding: 40px var(--gutter); }
.t-pn__next .t-pn__body { align-items: flex-end; }
.t-pn .t-mono { color: var(--tag-red-200); }
.t-pn b { font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; }
.t-pn__item:hover { color: #fff; }
.t-pn__item:hover img { opacity: .72; transform: scale(1.03); }
@media (max-width: 720px) { .t-pn { grid-template-columns: minmax(0, 1fr); } .t-pn__item { min-height: 200px; } .t-pn__prev { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); } }

/* footer sign-off */
.t-footer__sign { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-top: 80px; padding-bottom: 44px; border-bottom: 1px solid var(--tag-ink-600); }
.t-footer__sign p { margin: 0; font-size: clamp(36px, 6.2vw, 92px); font-weight: 900; line-height: .95; letter-spacing: -0.035em; text-transform: uppercase; color: #fff; }
.t-footer__sign em { font-style: normal; color: var(--tag-red-500); }
.t-footer .t-footer__top { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tag-ink-300); }
.t-footer__cols { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* cookie choice (public/js/consent.js): Accept and Reject look the same */
.t-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; color: var(--tag-ink-800); border-top: 4px solid var(--tag-red-500); box-shadow: 0 -8px 24px rgba(10,10,9,0.18); }
.t-consent[hidden] { display: none; }
.t-consent__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.t-consent__text { flex: 1 1 420px; }
.t-consent h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.t-consent p { margin: 0; font-size: 15px; }
.t-consent__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.t-consent__btns .t-btn { min-width: 220px; }
@media (max-width: 600px) { .t-consent__btns, .t-consent__btns .t-btn { width: 100%; } }

/* the cookie policy's table (src/site/privacy.ts) */
.t-cookies { overflow-x: auto; margin: 24px 0; }
.t-cookies table { width: 100%; border-collapse: collapse; font-size: 15px; }
.t-cookies caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.t-cookies th, .t-cookies td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--tag-ink-100); }
.t-cookies th { background: var(--tag-ink-800); color: #fff; font-weight: 600; }
.t-cookies code { font: 500 14px/1.4 var(--mono); }
.t-footer__cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
