/* ==========================================================================
   DJN Services Ltd. — site styles
   Photo-led layout: full-bleed image bands, image tiles, alternating rows.
   ========================================================================== */

:root {
  /* Cool slate neutrals, in the manner of a heavy-civil contractor site */
  --ink:        #1c1c1a;
  --ink-2:      #2c353e;   /* dark slate — nav bar and dark bands */
  --ink-3:      #3f4a55;
  --slate:      #777777;
  --line:       #e6e6e6;
  --paper:      #ffffff;
  --paper-2:    #f5f5f5;
  --paper-3:    #e6e6e6;

  --red:        #e41f18;
  --red-dark:   #b3140e;

  --shell:      1240px;
  --gutter:     clamp(20px, 5vw, 56px);

  --display: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --body:    "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --label:   "Oswald", "Helvetica Neue", Arial, sans-serif;

  --band:  clamp(4rem, 9vw, 7.5rem);
  --shadow: 0 18px 40px rgba(23,24,26,.13);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: #444;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.18;
  letter-spacing: normal;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.08; text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 500; }
h4 { font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 920px; }

.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.band--tint { background: var(--paper-2); }
.band--ink { background: var(--ink-2); color: #c4cad0; }
.band--ink h2, .band--ink h3, .band--ink h4 { color: #fff; }

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

.label {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
  font-size: .82rem;
  color: var(--red);
  margin: 0 0 1.1rem;
}
.band--ink .label { color: var(--red); }

.lede { font-size: 1.2rem; line-height: 1.65; color: var(--slate); max-width: 64ch; }
.band--ink .lede { color: #a8abb0; }

.pull {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: normal;
  border-left: 4px solid var(--red);
  padding-left: 1.1rem;
  margin: 0 0 1.5rem;
}

.rule { height: 4px; width: 62px; background: var(--red); border: 0; margin: 0 0 1.6rem; }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
  padding: .8rem 1.9rem;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--red-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* --- Header: white utility bar over a dark slate nav bar ----------------- */

.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar .shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.topbar__meta {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: .86rem;
  color: var(--slate);
}
.topbar__meta a { color: var(--ink); text-decoration: none; }
.topbar__meta a:hover { color: var(--red); }
.topbar__note { display: none; }

/* The phone number as a red pill — the one loud element in the white bar. */
.phonepill {
  background: var(--red);
  color: #fff !important;
  font-family: var(--label);
  font-weight: 500;
  letter-spacing: .05em;
  font-size: .92rem;
  padding: .4rem 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
}
.phonepill:hover { background: var(--red-dark); color: #fff !important; }

.brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand__logo { width: auto; height: 56px; }
@media (max-width: 520px) { .brand__logo { height: 42px; } }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink-2);
}
.masthead .shell {
  min-height: 56px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
}

.nav { display: flex; align-items: stretch; gap: 0; }
.nav__link, .nav__toggle {
  font-family: var(--label);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .06em;
  font-size: .92rem;
  color: #fff;
  background: none;
  border: 0;
  text-decoration: none;
  padding: 1rem 1.05rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.nav__link:hover, .nav__toggle:hover { background: rgba(255,255,255,.09); }
.nav__link[aria-current="page"] { background: rgba(255,255,255,.13); }
.nav__toggle svg { width: 9px; height: 9px; transition: transform .18s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__group { position: relative; display: flex; }
.nav__menu {
  position: absolute; top: 100%; left: 0;
  min-width: 255px;
  background: #fff;
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0; padding: .3rem;
  display: none;
  z-index: 5;
}
.nav__group--open .nav__menu { display: block; }
.nav__menu a {
  display: block;
  padding: .6rem .85rem;
  font-size: .92rem;
  text-decoration: none;
  color: var(--ink-2);
}
.nav__menu a:hover { background: var(--paper-2); color: var(--red); }

/* Quote CTA as a solid red block in the nav bar. */
.nav__cta {
  border-radius: 0;
  padding: 1rem 1.5rem;
  font-size: .92rem;
  border: 0;
  align-self: stretch;
}

.burger {
  display: none;
  width: 52px;
  background: none;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.16);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 22px; height: 2px; background: #fff; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff;
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }

/* On phones the utility bar keeps only the phone pill. */
@media (max-width: 640px) {
  .topbar__meta a:not(.phonepill) { display: none; }
  .topbar .shell { flex-wrap: nowrap; gap: .6rem; }
  .phonepill { font-size: .86rem; padding: .35rem .9rem; }
}

@media (max-width: 1120px) {
  .topbar .shell { min-height: 68px; }
  .masthead .shell { justify-content: flex-end; }
  .burger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--ink-2);
    box-shadow: var(--shadow);
    padding: .25rem 0 1rem;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  .nav--open { display: flex; }
  .nav__link, .nav__toggle {
    width: 100%; justify-content: space-between;
    padding: .9rem var(--gutter); font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav__group { display: block; }
  .nav__menu {
    position: static; display: none; box-shadow: none;
    border-top: 0; background: rgba(0,0,0,.22);
    padding: .2rem 0 .5rem;
  }
  .nav__group--open .nav__menu { display: block; }
  .nav__menu a { color: #dfe3e7; padding-inline: calc(var(--gutter) + 1rem); }
  .nav__menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav__cta { margin: .8rem var(--gutter) 0; border-radius: 999px; justify-content: center; }
}

/* --- Photo frames --------------------------------------------------------- */

.frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
/* Absolute fill so the photo covers the whole frame however tall the row grows,
   instead of leaving a strip of backing colour beneath it. */
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder that reads as a deliberate panel until a photo lands in it. */
.frame--empty {
  background:
    repeating-linear-gradient(135deg, rgba(228,31,24,.10) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #2a2d31 0%, #17181a 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.frame--empty span {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 600;
  color: rgba(255,255,255,.42);
  max-width: 22ch;
  line-height: 1.7;
}
.frame--empty::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.13);
  pointer-events: none;
}

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

.hero {
  position: relative;
  min-height: clamp(440px, 68vh, 660px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Video sits over the poster and fades in once it can actually play, so there
   is never a black or empty frame while it loads. */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero__video--ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__media--empty {
  background:
    repeating-linear-gradient(135deg, rgba(228,31,24,.12) 0 20px, transparent 20px 40px),
    radial-gradient(120% 100% at 75% 0%, #333a40 0%, #17181a 62%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,16,18,.92) 0%, rgba(15,16,18,.72) 45%, rgba(15,16,18,.45) 100%);
}
.hero .shell { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: .5rem; }
.hero h1 em {
  font-style: normal;
  color: #fff;
  background: var(--red);
  padding: 0 .18em .06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: #d8dde2;
  max-width: 56ch;
  margin-top: 1.3rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.3rem; }

/* Interior page header */
.pagehead {
  position: relative;
  min-height: clamp(240px, 34vw, 380px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.pagehead__media { position: absolute; inset: 0; z-index: -2; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__media--empty {
  background:
    repeating-linear-gradient(135deg, rgba(228,31,24,.12) 0 18px, transparent 18px 36px),
    radial-gradient(120% 110% at 80% 0%, #32383e 0%, #17181a 60%);
}
.pagehead::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,16,18,.88) 0%, rgba(15,16,18,.55) 60%, rgba(15,16,18,.3) 100%);
}
.pagehead .shell { padding-block: clamp(2.2rem, 5vw, 3.4rem); position: relative; }
.pagehead h1 { color: #fff; margin-bottom: .35rem; font-size: clamp(2.1rem, 5vw, 3.5rem); }
.pagehead p { color: #ccd2d8; max-width: 62ch; margin: 0; }

.crumbs {
  font-family: var(--label);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8b8e93;
  margin: 0 0 .9rem;
}
.crumbs a { color: #d3d5d8; text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin-inline: .55rem; opacity: .55; }

/* --- Section heading ------------------------------------------------------ */

.head { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); max-width: 68ch; }
.head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}
.head--split > div { max-width: 62ch; }

/* --- Service tiles (image cards) ----------------------------------------- */

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px)  { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--ink-2);
  isolation: isolate;
}
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.tile__media--empty {
  background:
    repeating-linear-gradient(135deg, rgba(228,31,24,.11) 0 14px, transparent 14px 28px),
    linear-gradient(165deg, #2c2f34 0%, #17181a 100%);
}
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(15,16,18,.90) 0%, rgba(15,16,18,.42) 48%, rgba(15,16,18,.18) 100%);
  transition: background .3s;
}
.tile:hover .tile__media img { transform: scale(1.05); }
.tile:hover::after { background: linear-gradient(0deg, rgba(140,12,8,.92) 0%, rgba(15,16,18,.5) 55%, rgba(15,16,18,.2) 100%); }
.tile:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.tile__body { position: relative; padding: 1.6rem; width: 100%; }
.tile__body h3 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 600; }
.tile__body p { color: rgba(255,255,255,.82); font-size: .95rem; margin: 0; }
.tile__more {
  display: inline-block;
  margin-top: .9rem;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .88rem;
  color: var(--red);
}
.tile:hover .tile__more { color: #fff; }

/* --- Alternating image / text rows --------------------------------------- */

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}
.row + .row { margin-top: clamp(3rem, 7vw, 5.5rem); }
.row__media .frame { height: 100%; min-height: 320px; }

@media (min-width: 900px) {
  .row { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .row--flip .row__media { order: 2; }
  .row__body { align-self: center; }
  .row__media .frame { min-height: 440px; }
}

.row__body h2 { margin-bottom: .7rem; }

/* --- Lists ---------------------------------------------------------------- */

.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--slate); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; background: var(--red);
}
.band--ink .ticks li { color: #a8abb0; }

.ticks--two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem 1.8rem; }

/* --- Stats --------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid rgba(255,255,255,.16);
}
.stat { padding: 1.7rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1;
  color: #fff;
}
.stat span {
  display: block;
  margin-top: .55rem;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: #8f9297;
}

/* --- Plain cards --------------------------------------------------------- */

.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.7rem;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--slate); font-size: .97rem; }
.band--tint .card { background: #fff; }
.band--ink .card { background: var(--ink-2); border-color: #34373c; }
.band--ink .card p { color: #a8abb0; }

/* --- Equipment blocks / tables ------------------------------------------- */

.spec {
  border: 1px solid var(--line);
  background: #fff;
  /* Column layout so every card in a row is the same height and the black
     header bars line up, whatever the title length. */
  display: flex;
  flex-direction: column;
}
.spec__head {
  background: var(--ink);
  color: #fff;
  padding: .95rem 1.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  min-height: 3.4rem;
  line-height: 1.25;
}
.spec__head em {
  font-style: normal;
  font-family: var(--label);
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--red);
  /* The tag is a short phrase - never let it break across lines. */
  white-space: nowrap;
  flex: none;
}
.spec__body { padding: 1.4rem; flex: 1 1 auto; }
.spec__body ul { margin: 0; padding-left: 1.15rem; color: var(--slate); }
.spec__body li { margin-bottom: .38rem; }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); font-size: .97rem; }
thead th {
  background: var(--paper-2);
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .92rem;
  color: var(--ink);
}
tbody tr:last-child td { border-bottom: 0; }

/* --- Photo strip (service pages) ----------------------------------------- */

.strip { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 640px)  { .strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip--3 { grid-template-columns: repeat(3, 1fr); } }
.strip .frame { aspect-ratio: 3 / 2; }

/* --- Definition panel (resource centre company details) ------------------ */

.facts {
  border-top: 3px solid var(--ink);
  margin: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: .1rem .8rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 480px) { .facts > div { grid-template-columns: 9.5rem 1fr; } }
.facts dt {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--red);
}
.facts dd { margin: 0; color: var(--ink-2); }

/* --- Featured band (full-bleed photo + statement) ------------------------ */

.feature { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.feature__media { position: absolute; inset: 0; z-index: -2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,16,18,.92) 0%, rgba(15,16,18,.72) 45%, rgba(15,16,18,.35) 100%);
}
.feature .shell { padding-block: clamp(3.4rem, 7vw, 5.6rem); }
.feature__body { max-width: 56ch; color: #c3c6ca; }
.feature__body h2 { color: #fff; }

/* --- Work showcase (dark band, 2x2 photo grid, vertical wordmark) --------- */

.showcase {
  background: var(--ink-2);
  padding: clamp(1.4rem, 3vw, 2.6rem);
}
.showcase__inner {
  position: relative;
  border: 1px solid rgba(255,255,255,.42);
  padding: clamp(1rem, 2.2vw, 1.9rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}
@media (min-width: 900px) {
  .showcase__inner { grid-template-columns: minmax(0, 1fr) 190px; }
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 620px) {
  .showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pcard {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  text-decoration: none;
  outline-offset: 3px;
}
.pcard img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pcard:hover img { transform: scale(1.04); }
.pcard:focus-visible { outline: 3px solid var(--red); }
.pcard__label {
  position: absolute;
  left: 0; bottom: clamp(.9rem, 2vw, 1.6rem);
  background: var(--red);
  color: #fff;
  font-family: var(--label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(.82rem, 1.1vw, .98rem);
  line-height: 1.35;
  padding: .7rem 1.15rem;
  max-width: 82%;
}

/* Right-hand rail: oversized vertical wordmark, CTA pinned to the bottom. */
.showcase__rail {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 120px;
  overflow: hidden;
}
.showcase__word {
  position: absolute;
  top: 0; right: 0;
  writing-mode: vertical-rl;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  line-height: 1;
  color: rgba(255,255,255,.30);
  margin: 0;
  pointer-events: none;
  user-select: none;
}
.showcase__cta {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  line-height: 1.4;
  text-align: center;
  padding: 1rem 1.4rem;
  text-decoration: none;
  transition: background-color .18s;
  width: 100%;
}
.showcase__cta:hover { background: var(--red-dark); }

@media (max-width: 899px) {
  .showcase__word {
    position: static;
    writing-mode: horizontal-tb;
    font-size: clamp(2rem, 9vw, 3rem);
    color: rgba(255,255,255,.28);
    margin-bottom: .8rem;
  }
  .showcase__rail { flex-direction: column; align-items: stretch; }
}

/* --- Jobs ---------------------------------------------------------------- */

.job { background: #fff; border: 1px solid var(--line); padding: 1.9rem; }
.job h3 { margin-bottom: .25rem; }
.job__meta {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

/* --- Forms --------------------------------------------------------------- */

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}
.field .hint {
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: .82rem;
  color: var(--slate);
}
input, select, textarea {
  font: inherit; font-size: 1rem;
  color: var(--ink);
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  width: 100%;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(228,31,24,.2);
}
textarea { min-height: 155px; resize: vertical; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.15rem; }
.form__note { font-size: .87rem; color: var(--slate); }

/* --- Contact / misc ------------------------------------------------------ */

.dl { margin: 0; display: grid; gap: 1.3rem; }
.dl dt {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .82rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: .2rem;
}
.dl dd { margin: 0; }
.dl a { text-decoration: none; font-weight: 600; }
.dl a:hover { color: var(--red); }

.note {
  border-left: 4px solid var(--red);
  background: var(--paper-2);
  padding: 1.3rem 1.5rem;
  color: var(--slate);
}
.band--ink .note { background: var(--ink-2); color: #a8abb0; }

/* --- Closing CTA --------------------------------------------------------- */

.cta {
  background: var(--red);
  color: #fff;
}
.cta .shell {
  padding-block: clamp(2.8rem, 6vw, 4.2rem);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.8rem;
}
.cta h2 { color: #fff; margin-bottom: .35rem; }
.cta p { color: rgba(255,255,255,.9); margin: 0; max-width: 54ch; }
.cta__actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.cta .btn--light:hover { color: var(--red-dark); }

/* --- Footer -------------------------------------------------------------- */

.footer { background: var(--ink-2); color: #a7aeb5; font-size: .95rem; padding-top: clamp(3.2rem, 6vw, 4.6rem); }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .16em; margin-bottom: 1.05rem; }
.footer a { color: #cbcdd1; text-decoration: none; }
.footer a:hover { color: var(--red); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; } }
.footer__logo { width: auto; height: 48px; margin-bottom: 1.3rem; }
.footer__brand p { max-width: 34ch; }
.cor { width: auto; height: 68px; margin-top: 1.5rem; }
.footer__bar {
  margin-top: 3.2rem;
  border-top: 1px solid rgba(255,255,255,.11);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: .85rem;
  color: #6f7277;
}


/* Footer and contact links are small inline text; on touch screens give them a
   taller hit area without changing how they look. */
@media (max-width: 460px) {
  .spec__head { flex-direction: column; align-items: flex-start; gap: .3rem; }
}

@media (max-width: 760px) {
  .footer ul a,
  .footer__brand a,
  .dl a { display: inline-block; padding-block: .4rem; }
  .footer ul { gap: .3rem; }
}

/* --- Mobile call bar ----------------------------------------------------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none;
  background: var(--ink);
  border-top: 3px solid var(--red);
}
.callbar a {
  flex: 1; text-align: center;
  padding: .95rem .5rem;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
}
.callbar a + a { background: var(--red); }
@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 56px; }
}

/* --- Utilities ----------------------------------------------------------- */

.skip { position: absolute; left: -9999px; background: var(--red); color: #fff; padding: .8rem 1.2rem; z-index: 100; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }

.mt { margin-top: 2rem; }
.stack > * + * { margin-top: 1.2rem; }
.grid-2 { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

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