/* ============================================================
   AXISWORKS ENGINEERING — steel-assembly world
   THESIS: the page is a fabricated steel structure: big members
   joined by visible connection details, annotated in the
   drawing-instrument language the logo already speaks.
   ============================================================ */

:root {
  --steel: #2b4a6e;
  --steel-bright: #4f77a3;   /* steel on navy grounds — large/bold text and graphics only (3.2:1) */
  --navy: #16273d;
  --navy-2: #1d3350;
  --ink: #1c2126;
  --charcoal: #33383e;
  --grey: #5a6472;
  --paper: #f4f6f8;
  --line: #d7dde4;
  --line-dark: rgba(255, 255, 255, 0.16);
  --arc: #f2600c;
  --arc-deep: #d4520a;
  --white: #ffffff;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-anno: "Chivo Mono", "Courier New", monospace;
  --font-logo: "Montserrat", "Futura", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --frame-x: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--steel); }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; }

p { margin: 0 0 1.1em; max-width: 68ch; }

:focus-visible {
  outline: 3px solid var(--arc);
  outline-offset: 2px;
}

::selection { background: var(--steel); color: #fff; }

/* ---------- drawing-language atoms ---------- */

.anno {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-anno);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-transform: uppercase;
}

.dark .anno { color: #8fb1d6; }

/* weld-seam rule under section headings: a run of beads */
.seam {
  display: inline-block;
  position: relative;
  padding-bottom: 0.85rem;
}
.seam::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 6.5rem;
  transition: clip-path 0.9s var(--ease-out) 0.25s;
  clip-path: inset(0 0 0 0);
  height: 5px;
  background-image: radial-gradient(circle at 4px 2.5px, var(--steel) 2.4px, transparent 2.6px);
  background-size: 9px 5px;
  background-repeat: repeat-x;
}
.dark .seam::after {
  background-image: radial-gradient(circle at 4px 2.5px, var(--arc) 2.4px, transparent 2.6px);
}

.reveal:not(.in) .seam::after { clip-path: inset(0 100% 0 0); }

/* display type */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h2.display { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3.display { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 600; }

.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--charcoal); }
.dark .lede { color: #c3cede; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.btn-arc {
  background: var(--arc);
  color: #fff;
}
.btn-arc:hover {
  background: var(--arc-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(242, 96, 12, 0.65);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,0.08); }
.btn-steel {
  background: var(--steel);
  color: #fff;
}
.btn-steel:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(43, 74, 110, 0.8);
}
.btn:active { transform: translateY(0) scale(0.98); }

/* ---------- header: the drawing frame ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--white), 0 4px 18px -12px rgba(22, 39, 61, 0.35);
}
.site-header::after {
  /* double hairline — drawing frame */
  content: "";
  display: block;
  height: 3px;
  border-top: 1px solid var(--line);
  margin-top: 3px;
  border-bottom: 2px solid var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem var(--frame-x);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand svg { flex: none; }
.brand svg > g:first-of-type {
  transform-origin: 60px 60px;
  transition: transform 0.8s var(--ease-out);
}
.brand:hover svg > g:first-of-type { transform: rotate(150deg); }

.wordmark {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.05em;
  color: var(--steel);
  line-height: 1;
}
.wordmark b { color: var(--charcoal); font-weight: 800; }
.wordmark small {
  display: block;
  font-family: var(--font-anno);
  font-weight: 400;
  font-size: 0.5rem;
  letter-spacing: 0.42em;
  color: var(--charcoal);
  margin-top: 0.28rem;
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding: 0.35rem 0;
  transition: color 0.15s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--arc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.site-nav a:hover { color: var(--steel); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--steel); }
.site-nav .btn { padding: 0.55rem 1.15rem; font-size: 0.95rem; }

.nav-sub { position: relative; display: flex; align-items: center; }
.nav-sub > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-sub .caret { transition: transform 0.25s var(--ease-out); }
.nav-sub:hover .caret, .nav-sub:focus-within .caret { transform: rotate(180deg); }
.nav-sub-menu {
  position: absolute;
  top: 100%;
  left: -1.1rem;
  min-width: 235px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  box-shadow: 0 20px 44px -18px rgba(22, 39, 61, 0.45);
  padding: 0.4rem 0;
  display: none;
  flex-direction: column;
}
.nav-sub:hover .nav-sub-menu,
.nav-sub:focus-within .nav-sub-menu { display: flex; }
.nav-sub-menu a { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.nav-sub-menu a::after { content: none; }
.nav-sub-menu a:hover { background: var(--paper); }
.nav-sub-menu a[aria-current="page"] { color: var(--arc-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-sub { display: block; }
  .nav-sub > a { display: flex; justify-content: space-between; width: 100%; }
  .nav-sub .caret { display: none; }
  .nav-sub-menu {
    position: static;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: none;
    border-top: none;
    box-shadow: none;
    padding: 0 0 0 1.1rem;
    background: transparent;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 2px solid var(--navy);
    padding: 0.5rem var(--frame-x) 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero.hero-sub { min-height: clamp(340px, 48vh, 480px); }

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(13, 22, 35, 0.92) 0%, rgba(16, 28, 44, 0.55) 45%, rgba(22, 39, 61, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(3rem, 8vw, 6rem) var(--frame-x) clamp(2.5rem, 6vw, 4.5rem);
}

.hero .anno,
.cta-close .anno {
  color: #dce8f6;
  text-shadow: 0 1px 10px rgba(8, 15, 26, 0.9);
}

/* hero content enters with a quiet stagger */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-inner > * { animation: hero-rise 0.7s var(--ease-out) backwards; }
.hero-inner > .anno { animation-delay: 0.05s; }
.hero-inner > h1 { animation-delay: 0.15s; }
.hero-inner > .lede { animation-delay: 0.28s; }
.hero-inner > .hero-cta { animation-delay: 0.42s; }


.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6.5vw, 5.25rem);
  letter-spacing: 0.01em;
  max-width: 17ch;
  text-wrap: balance;
  margin: 0.9rem 0 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.hero .lede { color: #d7e0ec; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }



/* ---------- splice-plate divider (section connection) ---------- */

.splice {
  display: block;
  width: 100%;
  height: 24px;
  background-color: var(--navy-2);
  background-image:
    radial-gradient(circle at 14px 12px, rgba(255, 255, 255, 0.32) 3.4px, rgba(255, 255, 255, 0.08) 3.6px 4.6px, transparent 5px);
  background-size: 64px 24px;
  border-top: 2px solid rgba(9, 16, 26, 0.55);
  border-bottom: 2px solid rgba(9, 16, 26, 0.55);
}

/* ---------- trust bar ---------- */

.trustbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem clamp(1.4rem, 3.5vw, 3rem);
  padding: 0.6rem var(--frame-x);
  background: var(--navy-2);
  border-top: 1px solid rgba(9, 16, 26, 0.6);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c9d7e8;
  white-space: nowrap;
}
.trust-item svg { flex: none; }
@media (max-width: 700px) {
  .trustbar { gap: 0.35rem 1.4rem; padding: 0.55rem 1rem; }
  .trust-item { font-size: 0.72rem; letter-spacing: 0.05em; gap: 0.4rem; }
  .trust-item svg { width: 12px; height: 12px; }
}

/* ---------- sections ---------- */

.section { padding: var(--section-y) var(--frame-x); }
.section-tight { padding-top: calc(var(--section-y) * 0.6); }

.dark {
  background: var(--navy);
  color: #e8edf4;
}
.dark p { color: #c3cede; }
.dark h2, .dark h3 { color: #fff; }

.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head .anno { display: block; margin-bottom: 0.65rem; }

.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 820px; margin: 0 auto; }

/* ---------- service bays ---------- */

.bays {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.bay {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.bay:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(22, 39, 61, 0.4);
}
.bay figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.bay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.bay:hover img { transform: scale(1.045); }
.bay .mark {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-anno);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.55rem;
}
.bay-body { padding: 1.3rem 1.4rem 1.5rem; }
.bay-body h3 { margin-bottom: 0.5rem; }
.bay-body p { margin: 0; font-size: 0.98rem; color: var(--grey); }
.bay-body .more {
  display: inline-block;
  transition: transform 0.25s var(--ease-out), color 0.15s;
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--steel);
}
.bay:hover .more { color: var(--arc-deep); transform: translateX(5px); }

/* ---------- member rows (services page) ---------- */

.member {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}
.member:first-of-type { border-top: 0; }
.member figure { margin: 0; position: relative; }
.member img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.member figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-anno);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem;
}
.member:nth-child(even) figure { order: 2; }
.member h3 { margin-bottom: 0.75rem; }
.member ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.member li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.6rem;
  color: var(--charcoal);
}
.member li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(45deg, transparent 42%, var(--steel) 42%, var(--steel) 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--steel) 42%, var(--steel) 58%, transparent 58%);
}

@media (max-width: 860px) {
  .member { grid-template-columns: 1fr; }
  .member:nth-child(even) figure { order: 0; }
}

/* ---------- portfolio ---------- */

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.plate {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  color: inherit;
}
.plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.plate:hover img { transform: scale(1.05); }
.plate-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}
.plate-caption strong {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.02rem;
}
.plate-caption span {
  font-family: var(--font-anno);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--grey);
  white-space: nowrap;
}

/* horizontal strip on home */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 30vw, 400px);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--steel) transparent;
}
.strip .plate { scroll-snap-align: start; }
.strip .plate img { aspect-ratio: 4 / 3; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 22, 35, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.lightbox figcaption {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: #d7e0ec;
  font-family: var(--font-anno);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.lightbox-close:hover { border-color: #fff; }

/* ---------- process: the dimension line ---------- */

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  counter-reset: step;
}
.process::before {
  /* datum line connecting the three stations */
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: var(--line-dark);
}
.step { position: relative; padding-top: 2rem; }
.step::before {
  /* dimension tick */
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  width: 1px;
  height: 17px;
  background: var(--steel-bright);
}
.step::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 9px;
  height: 9px;
  background: var(--arc);
  transform: rotate(45deg);
}
.step img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 1.1rem; }
.step h3 { margin-bottom: 0.5rem; }
.step h3 .anno { display: block; font-size: 0.7rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.98rem; margin: 0; }

@media (max-width: 800px) {
  .process { grid-template-columns: 1fr; }
  .process::before { display: none; }
  .step { padding-top: 0; }
  .step::before, .step::after { display: none; }
}

/* ---------- capability plate (title-block table) ---------- */

.cap-plate {
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.cap-plate > div {
  padding: 1.25rem 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cap-plate dt {
  font-family: var(--font-anno);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.4rem;
}
.cap-plate dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: 0.03em;
}

/* ---------- CTA close ---------- */

.cta-close {
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) var(--frame-x);
  overflow: hidden;
}
.cta-close .hero-img { z-index: -2; }
.cta-close::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(13, 22, 35, 0.82);
}
.cta-close h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 20ch;
  margin: 0.75rem auto 1rem;
  text-wrap: balance;
}
.cta-close p { margin: 0 auto 2rem; color: #c3cede; }
.cta-close .hero-cta { justify-content: center; }

/* ---------- forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-family: var(--font-anno);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9c2cc;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(43, 74, 110, 0.18);
}
textarea { min-height: 140px; resize: vertical; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- footer: the title block ---------- */

.site-footer {
  background: var(--navy);
  color: #c3cede;
  border-top: 4px solid var(--steel);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 4rem) var(--frame-x);
}
.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.45rem 0; }
.site-footer a { color: #c3cede; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 0.9rem; margin-top: 1.1rem; }
.socials a {
  color: #8fa2b8;
  display: inline-flex;
  padding: 0.15rem;
  transition: color 0.2s, transform 0.2s var(--ease-out);
}
.socials a:hover { color: #fff; transform: translateY(-2px); }

.site-footer .wordmark { color: var(--steel-bright); }
.site-footer .wordmark b { color: #e8edf4; }
.site-footer .wordmark small { color: #8fa2b8; }

.title-block {
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  font-family: var(--font-anno);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.title-block > div {
  padding: 0.8rem var(--frame-x);
  border-right: 1px solid var(--line-dark);
  color: #8fa2b8;
}
.title-block b { color: #d7e0ec; font-weight: 500; display: block; margin-top: 0.2rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- reveal (single shared entrance) ---------- */

.reveal {
  opacity: 0.001;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-inner > * { animation: none; }
  .reveal:not(.in) .seam::after { clip-path: inset(0 0 0 0); }
  .seam::after { transition: none; }
  .site-nav a::after { transition: none; }
  .brand svg > g:first-of-type { transition: none; }
  .bay-body .more { transition: none; }
  .bay img, .plate img { transition: none; }
}

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

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  /* contact: trade visitors want the phone number before the 7-field form */
  #quote .two-col > div:first-child { order: 2; }
}

.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.dark .checklist li { border-color: var(--line-dark); }
.checklist svg { margin-top: 0.3rem; flex: none; }
.checklist strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.1rem; }
.checklist span { color: var(--grey); font-size: 0.98rem; }
.dark .checklist span { color: #c3cede; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}
.contact-card + .contact-card { margin-top: 1.25rem; }
.contact-card .anno { display: block; margin-bottom: 0.35rem; }
.contact-card a.big {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--navy);
}
.contact-card a.big:hover { color: var(--arc-deep); }
