/* =========================================================================
   Oracle Carriers Ltd — Design System v5: "Refined Monochrome"
   No accent color. The palette is ink, paper and steel, full stop — after
   three color/gimmick experiments (orange tech, yellow hazard-stripe), the
   calmer read won: a confident serif display paired with a plain grotesk
   body, generous quiet space, and restraint everywhere else. The subject
   matter (real photography, real freight, real credentials) carries the
   page — the type and layout get out of the way instead of performing.
   ========================================================================= */

:root {
  /* --- Color: ink/paper/steel only. No accent. --- */
  --paper: #fcfcfb;
  --ink: #0a0a0a;
  --steel-700: #4a4e54;
  --steel-300: #d9d9d6;
  --steel-100: #f2f1ee;
  --white: #ffffff;

  /* --- Type --- */
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* --- Layout --- */
  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);

  /* --- Surface: flat, near-sharp panels --- */
  --radius: 2px;
  --radius-sm: 2px;
  --shadow-sm: 0 1px 2px rgba(10,10,10,0.05), 0 1px 1px rgba(10,10,10,0.04);
  --shadow-md: 0 20px 40px -18px rgba(10,10,10,0.28);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 400ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.skip-link:focus {
  left: var(--gutter);
  top: 12px;
}

/* --- Focus states (visible everywhere) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* --- Eyebrow / mono label --- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel-700);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow.on-dark { color: rgba(255,255,255,0.72); }

/* --- Scroll progress: thin live indicator of position on the page --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--ink);
  z-index: 200;
  transition: width 100ms linear;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--steel-300);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header--scrolled { box-shadow: var(--shadow-sm); }
[id] { scroll-margin-top: 100px; }
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
  transition: padding var(--dur) var(--ease);
}
.site-header--scrolled .site-header__row { padding-block: 8px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
  text-decoration: none;
  flex: none;
}
.brand img { height: 72px; width: auto; }
.site-header--scrolled .brand { transform: scale(0.8); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--steel-300);
  border-radius: 2px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.main-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.main-nav__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right var(--dur) var(--ease);
}
.main-nav__links a:hover::after,
.main-nav__links a[aria-current="page"]::after { right: 0; }
.main-nav__links a[aria-current="page"] { font-weight: 600; }

.header-ctas { display: flex; align-items: center; gap: 10px; flex: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn--solid { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--steel-700); border-color: var(--steel-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--on-dark.btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--on-dark.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { padding: 10px 16px; font-size: 0.75rem; }
.btn--invert { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--invert:hover { background: transparent; color: var(--white); border-color: var(--white); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-ctas .btn--sm.call-only-mobile { display: none; }
  .main-nav {
    position: fixed;
    inset: 73px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px var(--gutter) 40px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav__links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--steel-100); }
  .header-ctas { flex-direction: column; align-items: stretch; width: 100%; margin-top: 20px; }
  .header-ctas .btn { justify-content: center; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-color: var(--ink);
  overflow: hidden;
}
@media (min-width: 701px) {
  .hero { align-items: center; }
}
.hero__media {
  position: absolute;
  inset: -8% 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(8%) contrast(1.04) saturate(1.12) brightness(1.32);
  animation: hero-settle 9s var(--ease) forwards;
}
@media (max-width: 700px) {
  .hero__media { background-position: 30% center; }
}
@keyframes hero-settle {
  from { scale: 1.12; }
  to { scale: 1; }
}
.hero__eyebrow, .hero__lede, .hero__actions {
  opacity: 0;
  animation: hero-rise 900ms var(--ease) forwards;
}
.hero__eyebrow { animation-delay: 150ms; }
.hero__lede { animation-delay: 420ms; }
.hero__actions { animation-delay: 560ms; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: none; }
  .hero__eyebrow, .hero__lede, .hero__actions { animation: none; opacity: 1; }
}

/* --- Split-word heading reveal: main.js wraps each word of the hero
   h1 and every [data-reveal] h2 in nested spans so they can rise into
   view one at a time instead of the whole line popping in at once. --- */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.word-inner { display: inline-block; transform: translateY(115%); transition: transform 750ms var(--ease); will-change: transform; }
.is-split-visible .word-inner { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .word-inner { transform: none; transition: none; }
}

.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.2) 32%, rgba(10,10,10,0.55) 100%),
              linear-gradient(90deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.18) 55%, rgba(10,10,10,0.08) 100%);
}
@media (min-width: 701px) {
  /* Text moves to the right on desktop so the truck on the left of
     the photo stays uncovered; the wash flips to match. */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.2) 32%, rgba(10,10,10,0.55) 100%),
                linear-gradient(270deg, rgba(10,10,10,0.56) 0%, rgba(10,10,10,0.2) 52%, rgba(10,10,10,0.05) 100%);
  }
}
.hero__content {
  position: relative;
  width: 100%;
  padding-block: clamp(56px, 8vw, 96px) clamp(36px, 5vw, 60px);
}
@media (min-width: 701px) {
  .hero__content { max-width: 640px; margin-inline: auto 0; }
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-weight: 600;
  font-size: clamp(2.125rem, 4.4vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero__lede {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  max-width: 46ch;
  color: rgba(255,255,255,0.86);
  margin-top: 22px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.7); }
.section--soft { background: var(--steel-100); }
.section--ink { background: var(--ink); color: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 0.94; }
.section-head p { color: var(--steel-700); font-size: 1.0625rem; line-height: 1.6; }
.section--ink .section-head p { color: rgba(255,255,255,0.72); }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

.subpage-hero {
  padding-block: clamp(120px, 16vw, 168px) var(--section-y);
  border-bottom: 1px solid var(--steel-300);
}
.subpage-hero h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 0.94; max-width: 16ch; margin-top: 20px; }
.subpage-hero p { max-width: 60ch; color: var(--steel-700); font-size: 1.0625rem; margin-top: 20px; line-height: 1.65; }
.subpage-hero .hero__actions { margin-top: 30px; }
.subpage-hero--photo { padding-block: clamp(72px, 10vw, 110px); }
.subpage-hero__split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.subpage-hero__split h1 { max-width: none; }
.subpage-hero__split p { max-width: 52ch; }
.subpage-hero__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--steel-100);
}
.subpage-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(8%) contrast(1.05) saturate(1.05); }
.subpage-hero__media .media-curtain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--paper);
  transform: translateX(0%);
  transition: transform 900ms var(--ease) 150ms;
}
.subpage-hero__media.is-visible .media-curtain { transform: translateX(101%); }
@media (prefers-reduced-motion: reduce) {
  .subpage-hero__media .media-curtain { transition: none; transform: translateX(101%); }
}
@media (max-width: 860px) {
  .subpage-hero__split { grid-template-columns: 1fr; }
  .subpage-hero__media { order: -1; aspect-ratio: 16/9; }
}
.notfound-logo { height: 72px; width: auto; margin-bottom: 36px; }

/* --- Placard: elevated card surface for data/contact blocks --- */
.placard {
  position: relative;
  border: 1px solid var(--steel-300);
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
}
.section--ink .placard { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); }

/* --- Manifest card grid (services, credentials, lanes) --- */
.manifest-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
/* Fixed 3-up variant for item counts that don't divide evenly into 4
   (e.g. 5 or 6 items), so the last row doesn't strand a single card. */
.manifest-list--3up { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .manifest-list--3up { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .manifest-list--3up { grid-template-columns: 1fr; } }
.manifest-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--steel-300);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.manifest-row:hover { background: var(--steel-100); border-color: var(--ink); }
.manifest-row__index { display: none; }
.manifest-row h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.manifest-row__desc { color: var(--steel-700); line-height: 1.65; }
.manifest-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--steel-300);
  padding: 6px 12px;
  color: var(--steel-700);
  background: var(--steel-100);
  white-space: nowrap;
}
.manifest-row a.manifest-row__link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap var(--dur) var(--ease);
}
.manifest-row a.manifest-row__link:hover { gap: 11px; }
.section--ink .manifest-row { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); }
.section--ink .manifest-row:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.section--ink .manifest-row__desc { color: rgba(255,255,255,0.72); }
.section--ink .tag { border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.78); background: rgba(255,255,255,0.06); }
.section--ink .manifest-row a.manifest-row__link { color: var(--white); border-color: var(--white); }

/* --- Credentials grid (rounded tiles of certifications) --- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.cred-grid__item {
  background: var(--steel-100);
  border: 1px solid var(--steel-300);
  padding: 18px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cred-grid__item:hover { background: var(--white); border-color: var(--ink); }
.section--ink .cred-grid__item { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.85); }
.cred-grid__item strong { display: block; font-size: 0.9375rem; letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }

/* --- Photo grid --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-grid figure { margin: 0; position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--steel-100); border: 1px solid var(--steel-300); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(8%) contrast(1.05) saturate(1.05); transition: transform 700ms var(--ease), filter 700ms var(--ease); }
.photo-grid a:hover img, .photo-grid a:focus-visible img { transform: scale(1.04); filter: grayscale(0%) contrast(1.05) saturate(1.1); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
}
.photo-grid .span-2 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid .span-2 { grid-column: span 2; grid-row: span 1; aspect-ratio: 2/1; }
}
@media (max-width: 560px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid .span-2 { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
}

/* --- Two-up feature (image + text) --- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature-split__media {
  aspect-ratio: 5/4;
  overflow: hidden;
  position: relative;
  background: var(--steel-100);
  box-shadow: var(--shadow-md);
}
.feature-split__media .media-curtain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--paper);
  transform: translateX(0%);
  transition: transform 900ms var(--ease) 150ms;
}
[data-reveal].is-visible .feature-split__media .media-curtain { transform: translateX(101%); }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(8%) contrast(1.05) saturate(1.05); }
@media (prefers-reduced-motion: reduce) {
  .feature-split__media .media-curtain { transition: none; transform: translateX(101%); }
}
.feature-split.reverse .feature-split__media { order: 2; }
.feature-split h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 18px; }
.feature-split p { color: var(--steel-700); line-height: 1.7; font-size: 1.0625rem; }
@media (max-width: 820px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-split__media { order: 0; }
}

/* --- Equipment cards (photo + specs) --- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.equipment-card {
  margin: 0;
  border: 1px solid var(--steel-300);
  background: var(--white);
}
.equipment-card__media {
  aspect-ratio: 12/5;
  background: var(--steel-100);
  border-bottom: 1px solid var(--steel-300);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.equipment-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(6%) contrast(1.03);
}
.equipment-card figcaption { padding: 20px 24px; }
.equipment-card h3 { font-size: 1.125rem; }
@media (max-width: 900px) {
  .equipment-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

/* --- CTA band --- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(56px, 8vw, 96px);
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); max-width: 20ch; }
.cta-band__body { color: rgba(255,255,255,0.75); margin-top: 14px; max-width: 50ch; font-size: 1.0625rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Paired tag rows (equipment + service area, side by side) --- */
.tag-row-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .tag-row-grid { grid-template-columns: 1fr; gap: 28px; } }

/* --- Form --- */
/* --- Contact page layout --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.contact-card__logo { height: 56px; width: auto; margin-bottom: 24px; }
.contact-card__title { font-size: 1.375rem; margin-bottom: 20px; }
.contact-card__list { display: flex; flex-direction: column; gap: 18px; }
.contact-card__label { margin-bottom: 6px; }
.contact-card__link { font-family: var(--font-mono); text-decoration: none; }
.contact-card__note { margin-top: 26px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote-form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel-700); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 0.9375rem;
  padding: 13px 14px;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8125rem; color: var(--steel-700); margin-top: 16px; }
.form-status { font-family: var(--font-mono); font-size: 0.8125rem; margin-top: 16px; display: none; padding: 12px 14px; border: 1px solid var(--steel-300); }
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #8a1f11; color: #8a1f11; }
.form-status.is-success { border-color: var(--ink); }
@media (max-width: 640px) { .quote-form { grid-template-columns: 1fr; } }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding-block: 64px 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-brand__mark { display: inline-block; margin-bottom: 20px; }
.footer-brand__mark img { height: 64px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 32ch; font-size: 0.9375rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 0.9375rem; color: rgba(255,255,255,0.85); }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Scroll reveal --- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- Staggered reveal: repeating list items cascade in rather than
   popping together as one block --- */
.proof-marks > .proof-mark,
.manifest-list > .manifest-row,
.service-index > .service-index__row,
.cred-grid > .cred-grid__item,
.equipment-grid > .equipment-card,
.bento-grid > figure {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), box-shadow var(--dur) var(--ease);
}
[data-reveal].is-visible .proof-marks > .proof-mark,
[data-reveal].is-visible .manifest-list > .manifest-row,
[data-reveal].is-visible .service-index > .service-index__row,
[data-reveal].is-visible .cred-grid > .cred-grid__item,
[data-reveal].is-visible .equipment-grid > .equipment-card,
[data-reveal].is-visible .bento-grid > figure {
  opacity: 1;
  transform: none;
}
.bento-grid > figure .media-curtain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--paper);
  transform: translateX(0%);
  transition: transform 650ms var(--ease);
}
[data-reveal].is-visible .bento-grid > figure .media-curtain { transform: translateX(101%); }
.bento-grid > figure:nth-child(1) .media-curtain { transition-delay: 0ms; }
.bento-grid > figure:nth-child(2) .media-curtain { transition-delay: 60ms; }
.bento-grid > figure:nth-child(3) .media-curtain { transition-delay: 120ms; }
.bento-grid > figure:nth-child(4) .media-curtain { transition-delay: 180ms; }
.bento-grid > figure:nth-child(5) .media-curtain { transition-delay: 240ms; }
.bento-grid > figure:nth-child(6) .media-curtain { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .bento-grid > figure .media-curtain { transition: none; transform: translateX(101%); }
}
.proof-marks > .proof-mark:nth-child(1), .manifest-list > .manifest-row:nth-child(1), .service-index > .service-index__row:nth-child(1), .cred-grid > .cred-grid__item:nth-child(1), .equipment-grid > .equipment-card:nth-child(1), .bento-grid > figure:nth-child(1) { transition-delay: 0ms; }
.proof-marks > .proof-mark:nth-child(2), .manifest-list > .manifest-row:nth-child(2), .service-index > .service-index__row:nth-child(2), .cred-grid > .cred-grid__item:nth-child(2), .equipment-grid > .equipment-card:nth-child(2), .bento-grid > figure:nth-child(2) { transition-delay: 60ms; }
.proof-marks > .proof-mark:nth-child(3), .manifest-list > .manifest-row:nth-child(3), .service-index > .service-index__row:nth-child(3), .cred-grid > .cred-grid__item:nth-child(3), .equipment-grid > .equipment-card:nth-child(3), .bento-grid > figure:nth-child(3) { transition-delay: 120ms; }
.proof-marks > .proof-mark:nth-child(4), .manifest-list > .manifest-row:nth-child(4), .service-index > .service-index__row:nth-child(4), .cred-grid > .cred-grid__item:nth-child(4), .bento-grid > figure:nth-child(4) { transition-delay: 180ms; }
.proof-marks > .proof-mark:nth-child(5), .manifest-list > .manifest-row:nth-child(5), .service-index > .service-index__row:nth-child(5), .cred-grid > .cred-grid__item:nth-child(5), .bento-grid > figure:nth-child(5) { transition-delay: 240ms; }
.proof-marks > .proof-mark:nth-child(6), .manifest-list > .manifest-row:nth-child(6), .service-index > .service-index__row:nth-child(6), .cred-grid > .cred-grid__item:nth-child(6), .bento-grid > figure:nth-child(6) { transition-delay: 300ms; }
.proof-marks > .proof-mark:nth-child(7), .cred-grid > .cred-grid__item:nth-child(7) { transition-delay: 360ms; }
.proof-marks > .proof-mark:nth-child(8), .cred-grid > .cred-grid__item:nth-child(8) { transition-delay: 420ms; }
@media (prefers-reduced-motion: reduce) {
  .proof-marks > .proof-mark,
  .manifest-list > .manifest-row,
  .service-index > .service-index__row,
  .cred-grid > .cred-grid__item,
  .equipment-grid > .equipment-card,
  .bento-grid > figure {
    opacity: 1; transform: none; transition: none;
  }
}

/* --- Hover lift: specificity matched to beat the reveal's resting
   transform so cards still feel interactive after they've settled in --- */
[data-reveal].is-visible .manifest-list > .manifest-row:hover,
[data-reveal].is-visible .cred-grid > .cred-grid__item:hover,
[data-reveal].is-visible .service-index > .service-index__row:hover,
[data-reveal].is-visible .equipment-grid > .equipment-card:hover,
[data-reveal].is-visible .proof-marks > .proof-mark:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  transition-delay: 0ms;
}
[data-reveal].is-visible .proof-marks > .proof-mark:hover { background: rgba(255,255,255,0.06); }


/* =========================================================================
   Home page — three structurally distinct blocks (not three more
   eyebrow+heading+grid sections). Each composes differently on purpose.
   ========================================================================= */

/* --- Proof: statement + a single dense column of every credential and
   capability, side by side. Replaces three separate boxed sections. --- */
.proof {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.proof__statement h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.06; }
.proof__statement p { margin-top: 22px; color: rgba(255,255,255,0.72); font-size: 1.0625rem; line-height: 1.7; max-width: 46ch; }
.proof-marks { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 4px; }
.proof-mark {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.proof-mark strong { font-size: 0.9375rem; font-weight: 600; color: var(--white); }
.proof-mark span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .proof { grid-template-columns: 1fr; }
}

/* --- Service index: an editorial list, not a grid of cards. --- */
.service-index { border-top: 1px solid var(--steel-300); }
.service-index__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding-block: clamp(20px, 2.6vw, 28px);
  border-bottom: 1px solid var(--steel-300);
  transition: background var(--dur) var(--ease);
}
.service-index__row:hover { background: var(--steel-100); }
.service-index__row h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
.service-index__row p { color: var(--steel-700); margin-top: 8px; max-width: 62ch; line-height: 1.55; font-size: 0.9375rem; }
.service-index__link {
  margin-top: 14px;
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.service-index__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 220px;
  padding-top: 8px;
}
@media (max-width: 700px) {
  .service-index__row { grid-template-columns: 1fr; }
  .service-index__tags { justify-content: flex-start; max-width: none; padding-top: 4px; }
}

/* --- Bento: one large lead photo with an overlay statement, plus a
   scatter of smaller photos. Replaces a feature-split + a photo-grid. --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(110px, 13vw, 160px);
  gap: 14px;
}
.bento-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--steel-100); border: 1px solid var(--steel-300); }
.bento-grid img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(8%) contrast(1.05) saturate(1.05); transition: transform 700ms var(--ease); }
.bento-grid a { display: block; height: 100%; }
.bento-grid a:hover img, .bento-grid a:focus-visible img { transform: scale(1.045); }
.bento-lead { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 4; }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lead { grid-column: span 2; }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-lead { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; height: auto; }
  .bento-wide { grid-column: span 1; }
}

/* --- Utility --- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
