/* ==========================================================================
   True Cut Manufacturing — site styles
   Mobile-first. Edit the color/spacing tokens in :root to retheme.
   ========================================================================== */

:root {
  /* Brand blues (pulled from the TCM logo gradient) */
  --blue-100: #e6effc;
  --blue-300: #6ba4f2;
  --blue-500: #2f66c0;
  --blue-700: #1c4787;
  --blue-900: #10294f;

  /* Steel / charcoal neutrals */
  --steel-950: #0f1216;
  --steel-900: #14181d;
  --steel-800: #1c2128;
  --steel-700: #262d36;
  --steel-600: #39424e;
  --steel-400: #7b8694;
  --steel-200: #c9cfd6;
  --steel-100: #e7eaee;
  --steel-50:  #f4f5f7;
  --white: #ffffff;

  /* Wood accent (used sparingly) */
  --wood: #c8955a;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 4px;
  --header-h: 68px;
  --shadow: 0 10px 30px rgba(15, 18, 22, .12);
  --slant: 4vw; /* depth of angled section edges */
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 84px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--steel-800);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  color: var(--steel-900);
}
h1 { font-size: clamp(2.6rem, 9vw, 5rem); }
h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue-500); color: var(--white); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Eyebrow label ("01 — Services") ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; background: currentColor;
  transform: skewX(-25deg);
}
.on-dark .eyebrow { color: var(--blue-300); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-500);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { --btn-bg: var(--blue-700); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: rgba(255,255,255,.1); color: var(--white); border-color: transparent; }
.btn--ghost:hover { --btn-bg: var(--white); color: var(--steel-900); }
.btn--dark { --btn-bg: var(--steel-900); }
.btn--dark:hover { --btn-bg: var(--steel-700); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(20, 24, 29, .97);
  border-bottom: 1px solid rgba(255,255,255,.06);
  /* no backdrop-filter here: it would trap the fixed mobile menu inside the header */
}
.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
@media (min-width: 900px) { .brand img { height: 54px; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; color: var(--white); cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 26px; height: 3px; background: currentColor;
  position: relative; transition: transform .25s, background .25s;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -8px; }
.nav-toggle .bars::after { top: 8px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu: full-screen panel under the header */
.site-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--steel-900);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}
.nav-open .site-nav { visibility: visible; animation: nav-in .2s ease-out; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0 0 28px; padding: 0; }
.site-nav li + li { border-top: 1px solid rgba(255,255,255,.08); }
.site-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-head); font-size: 1.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--white); text-decoration: none;
}
.site-nav li a::after { content: "→"; color: var(--blue-300); font-size: 1.4rem; }
.site-nav a[aria-current="page"] { color: var(--blue-300); }
.site-nav .nav-contact { margin-top: auto; color: var(--steel-200); font-size: .95rem; }
.site-nav .nav-contact a { color: var(--white); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; visibility: visible; opacity: 1; transform: none;
    background: none; padding: 0; overflow: visible;
    flex-direction: row; align-items: center; gap: 36px;
  }
  .site-nav ul { display: flex; gap: 32px; margin: 0; }
  .site-nav li + li { border: 0; }
  .site-nav li a {
    padding: 8px 0; font-size: 1.15rem; letter-spacing: .1em;
    color: var(--steel-200); position: relative;
  }
  .site-nav li a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
    height: 3px; background: var(--blue-300); transition: right .2s;
  }
  .site-nav li a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
  .site-nav li a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
  .site-nav .nav-contact { display: none; }
  .site-nav .btn { min-height: 46px; font-size: 1.05rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--white);
  background: var(--steel-900);
  overflow: hidden;
  padding: 64px 0 calc(72px + var(--slant));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
/* Blueprint grid + diagonal light — works with or without a photo */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(107,164,242,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,164,242,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(110deg, transparent 10%, #000 70%);
  -webkit-mask-image: linear-gradient(110deg, transparent 10%, #000 70%);
}
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -20%; width: 70%;
  background: linear-gradient(180deg, rgba(47,102,192,.35), rgba(28,71,135,.05));
  transform: skewX(-18deg);
}
/* Drop a real photo in later: <div class="hero-photo" style="background-image:url(...)"> */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .28; filter: grayscale(.4);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: 20px; }
.hero h1 .accent {
  color: transparent;
  background: linear-gradient(180deg, var(--blue-300), #3f7bd6);
  -webkit-background-clip: text; background-clip: text;
}
.hero .lead {
  font-size: 1.15rem; color: var(--steel-200);
  max-width: 54ch; margin-bottom: 30px;
}
.hero-meta {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--steel-200);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue-300); }

@media (min-width: 900px) {
  .hero { padding: 120px 0 calc(130px + var(--slant)); }
  .hero .lead { font-size: 1.3rem; }
}

/* Smaller page heroes for inner pages */
.page-hero { padding: 52px 0 calc(56px + var(--slant)); }
.page-hero h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); max-width: none; }
@media (min-width: 900px) { .page-hero { padding: 84px 0 calc(90px + var(--slant)); } }

/* ==========================================================================
   Credential strip (ISPM-15 etc.)
   ========================================================================== */
.strip { margin-top: calc(-1 * var(--slant) - 36px); position: relative; z-index: 2; }
.strip-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue-500);
}
.strip-item {
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--steel-100);
  border-bottom: 1px solid var(--steel-100);
}
.strip-item:nth-child(2n) { border-right: 0; }
.strip-item strong {
  font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1;
  text-transform: uppercase; color: var(--steel-900);
}
.strip-item span { font-size: .9rem; color: var(--steel-400); line-height: 1.35; }
.strip-item svg { width: 26px; height: 26px; color: var(--blue-500); margin-bottom: 6px; }
@media (min-width: 900px) {
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .strip-item { padding: 28px 26px; border-bottom: 0; }
  .strip-item:nth-child(2n) { border-right: 1px solid var(--steel-100); }
  .strip-item:last-child { border-right: 0; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 110px 0; } }
.section--tight-top { padding-top: 56px; }
.section--alt { background: var(--steel-50); }
.section--dark {
  background: var(--steel-900); color: var(--steel-200);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  padding-top: calc(72px + var(--slant));
}
@media (min-width: 900px) { .section--dark { padding-top: calc(110px + var(--slant)); } }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { font-size: 1.1rem; color: var(--steel-600); }
.section--dark .section-head p { color: var(--steel-200); }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px;
}
.section-head--split > div { max-width: 640px; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--steel-100);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card-num {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .2em; color: var(--blue-500); margin-bottom: 6px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--steel-600); }
.card .link-arrow { margin-top: auto; }

.spec-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-list li {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; background: var(--steel-50); border-left: 3px solid var(--blue-500);
  color: var(--steel-700);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--blue-500);
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Photo slots (placeholder until real photos land) ---------- */
.photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--steel-700);
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .photo img { transform: scale(1.04); }
.photo--placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--steel-700), var(--steel-900));
  color: var(--steel-400);
  font-family: var(--font-head); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-size: .9rem; text-align: center; padding: 16px;
}
.photo--placeholder svg { width: 40px; height: 40px; display: block; margin: 0 auto 8px; color: var(--blue-300); opacity: .6; }

/* ---------- Split layout (text + visual) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse > :first-child { order: 2; }
}
.split .photo { aspect-ratio: 5 / 4; }
.split .photo-frame { position: relative; }
.split .photo-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 3px solid var(--blue-500); z-index: -1;
}
@media (max-width: 599px) { .split .photo-frame::before { inset: 12px -10px -12px 10px; } }

/* ---------- Reasons list ---------- */
.reasons { display: grid; gap: 2px; background: rgba(255,255,255,.06); }
@media (min-width: 700px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reasons { grid-template-columns: repeat(4, 1fr); } }
.reason { background: var(--steel-900); padding: 30px 24px; }
.reason svg { width: 34px; height: 34px; color: var(--blue-300); margin-bottom: 16px; }
.reason h3 { font-size: 1.45rem; margin-bottom: 8px; }
.reason p { margin: 0; font-size: .98rem; }

/* ---------- Stat / checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px;
  background: var(--blue-500);
  clip-path: polygon(0 55%, 18% 38%, 40% 60%, 82% 15%, 100% 32%, 40% 92%);
}

.mission {
  margin: 0 0 28px; padding: 22px 24px;
  background: var(--steel-50); border-left: 5px solid var(--blue-500);
  font-family: var(--font-head); font-size: 1.45rem; line-height: 1.25;
  font-weight: 600; color: var(--steel-900); text-transform: none;
}
.mission cite {
  display: block; margin-top: 10px; font-family: var(--font-body);
  font-size: .85rem; font-style: normal; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-500);
}

/* ---------- Service area ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.area-tags li {
  padding: 8px 16px; border: 1px solid var(--steel-200); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--steel-700);
}
.area-tags li.home { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue-700), var(--blue-500));
  color: var(--white); padding: 60px 0;
}
.cta-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -10%; width: 45%;
  background: rgba(255,255,255,.06); transform: skewX(-18deg);
}
.cta-band .container {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { color: var(--white); margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--blue-100); font-size: 1.1rem; }
.cta-band .btn { --btn-bg: var(--white); --btn-fg: var(--blue-700); }
.cta-band .btn:hover { --btn-bg: var(--steel-900); --btn-fg: var(--white); }
@media (max-width: 599px) { .cta-band .btn { width: 100%; } }

/* ==========================================================================
   Services page detail blocks
   ========================================================================== */
.service-detail + .service-detail { margin-top: 80px; }
@media (min-width: 900px) { .service-detail + .service-detail { margin-top: 120px; } }
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: .98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--steel-100); vertical-align: top; }
.spec-table th {
  width: 40%; padding-right: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel-900);
}
.spec-table td { color: var(--steel-600); }

.callout {
  display: grid; gap: 24px; align-items: center;
  padding: 32px 24px; background: var(--steel-900); color: var(--steel-200);
  border-top: 4px solid var(--blue-300);
}
.callout h3 { color: var(--white); margin-bottom: 8px; }
.callout p { margin: 0; }
.callout .stamp {
  width: 110px; height: 110px; flex: none;
  display: grid; place-items: center; text-align: center;
  border: 3px solid var(--blue-300); border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  line-height: 1; font-size: 1.6rem; letter-spacing: .04em;
}
.callout .stamp small { display: block; font-size: .7rem; letter-spacing: .2em; color: var(--blue-300); margin-top: 4px; }
@media (min-width: 700px) { .callout { grid-template-columns: auto 1fr; padding: 40px; gap: 36px; } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 28px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none; min-height: 44px; padding: 0 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--white); color: var(--steel-700);
  border: 2px solid var(--steel-200); cursor: pointer;
}
.filter-btn:hover { border-color: var(--steel-900); }
.filter-btn[aria-pressed="true"] { background: var(--steel-900); border-color: var(--steel-900); color: var(--white); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; position: relative; }
.gallery figure[hidden] { display: none; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  text-align: left; color: inherit;
}
.gallery .photo { aspect-ratio: 1; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(15,18,22,.85));
  color: var(--white); font-family: var(--font-head); font-weight: 600;
  font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,12,15,.94);
  display: flex; align-items: center; justify-content: center; padding: 60px 12px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox-caption { color: var(--steel-200); text-align: center; margin-top: 12px; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.lightbox-close {
  position: absolute; top: 10px; right: 10px; width: 48px; height: 48px;
  background: none; border: 0; color: var(--white); font-size: 2.2rem; line-height: 1; cursor: pointer;
}

/* ==========================================================================
   Contact / quote form
   ========================================================================== */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; } }

.form-panel { background: var(--white); border-top: 4px solid var(--blue-500); box-shadow: var(--shadow); padding: 28px 20px; }
@media (min-width: 600px) { .form-panel { padding: 40px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend {
  display: block; margin-bottom: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--steel-900);
}
.field .req { color: var(--blue-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; /* 16px stops iOS zoom-on-focus */
  color: var(--steel-900); background: var(--steel-50);
  border: 1px solid var(--steel-200); border-radius: var(--radius);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232f66c0' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: var(--white);
  box-shadow: 0 0 0 3px rgba(47,102,192,.18);
}
.field fieldset { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field .choice {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px; margin: 0; cursor: pointer;
  border: 1px solid var(--steel-200); background: var(--steel-50); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--steel-800);
}
.field .choice input {
  width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none;
  appearance: auto; -webkit-appearance: checkbox; background: none; border: 0; box-shadow: none;
  accent-color: var(--blue-500);
}
.field .choice:has(input:checked) { border-color: var(--blue-500); background: var(--blue-100); }
@media (max-width: 479px) { .field .choice { flex: 1 1 calc(50% - 5px); } }
.form-note { font-size: .88rem; color: var(--steel-400); margin: 4px 0 0; }
.hp { display: none; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.ok { color: #1f7a3d; }
.form-status.err { color: #b42318; }

.contact-card { background: var(--steel-900); color: var(--steel-200); padding: 32px 24px; }
.contact-card h2 { color: var(--white); font-size: 2rem; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-list svg { width: 22px; height: 22px; color: var(--blue-300); flex: none; margin-top: 3px; }
.contact-list strong {
  display: block; font-family: var(--font-head); font-size: .95rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel-400); font-weight: 600;
}
.contact-list a { color: var(--white); text-decoration: none; word-break: break-word; font-weight: 500; }
.contact-list a:hover { color: var(--blue-300); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--steel-950); color: var(--steel-400); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer img { height: 56px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 1.15rem; letter-spacing: .14em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--steel-200); text-decoration: none; }
.site-footer a:hover { color: var(--blue-300); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem;
}

/* ---------- Mobile sticky action bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(20,24,29,.97); border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(110%); transition: transform .25s;
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; font-size: 1.05rem; padding: 0 12px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { body.has-mobile-cta { padding-bottom: 74px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
