/* ============================================================
   All Metals Welding + Fabrication — modern industrial theme
   ============================================================ */

:root {
  --ink:        #0a0a0a;
  --ink-2:      #141414;
  --ink-3:      #1c1c1c;
  --steel:      #2a2a2a;
  --steel-2:    #3a3a3a;
  --line:       #2a2a2a;
  --text:       #f4f4f4;
  --text-muted: #9a9a9a;
  --paper:      #fafaf7;
  --paper-2:    #eeece6;
  --accent:     #ff6a1a;   /* weld-arc orange */
  --accent-2:   #ffae5e;
  --hot:        #ffd400;   /* sparks */
  --ok:         #2ecc71;
  --err:        #ff4d4d;

  --maxw: 1240px;
  --pad: clamp(1rem, 4vw, 2rem);

  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* Reset / base ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; min-width: 0; }
html, body {
  overflow-x: hidden;       /* belt-and-suspenders: clip any rogue horizontal scroll */
  max-width: 100vw;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
img, svg, video, iframe { display: block; max-width: 100%; height: auto; }
table { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--ink);
  padding: .75rem 1rem; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.muted { color: var(--text-muted); }

/* Typography ------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.01em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 2px;
  background: var(--accent);
}

.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 60ch; }

/* Header ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo { height: 38px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
@media (max-width: 980px) { .primary-nav { display: none; } }
.nav-link {
  font-weight: 600; font-size: .94rem;
  color: var(--text-muted);
  transition: color .15s;
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
}
.nav-cta {
  font-weight: 700; font-size: .9rem;
  padding: .75rem 1.1rem;
  background: var(--accent); color: var(--ink);
  transition: transform .15s, background .15s;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.nav-cta.is-active { outline: 2px solid var(--text); outline-offset: 2px; }

/* Desktop: call link is mobile-only */
.nav-call { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    /* Dynamic viewport height — accounts for iOS URL bar */
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    background: var(--ink);
    padding: clamp(.25rem, 1dvh, .75rem) var(--pad) max(.75rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
    gap: clamp(0px, .3dvh, 4px);
  }

  .primary-nav.is-open .nav-link,
  .primary-nav.is-open .nav-cta {
    display: block;
    width: 100%;
    /* Padding scales with viewport height — tight on small phones, roomy on tall ones */
    padding: clamp(.5rem, 1.4dvh, 1rem) 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(.95rem, 1.7dvh, 1.15rem);
    line-height: 1.2;
    text-align: left;
    color: var(--text);
    flex: 0 0 auto;
  }
  .primary-nav.is-open .nav-link.is-active { color: var(--accent); }
  .primary-nav.is-open .nav-link.is-active::after { display: none; }

  .primary-nav.is-open .nav-cta {
    margin-top: clamp(.5rem, 1.2dvh, 1rem);
    background: var(--accent);
    color: var(--ink);
    text-align: center;
    border-bottom: none;
    padding: clamp(.65rem, 1.6dvh, 1.1rem);
    font-size: clamp(.95rem, 1.7dvh, 1.1rem);
  }

  .primary-nav.is-open .nav-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    margin-top: clamp(.4rem, 1dvh, .75rem);
    padding: clamp(.6rem, 1.5dvh, 1rem);
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--text);
    text-align: center;
    font-weight: 700;
    font-size: clamp(.95rem, 1.7dvh, 1.05rem);
    line-height: 1.2;
  }
  .primary-nav.is-open .nav-call svg { flex-shrink: 0; color: var(--accent); }

  body.menu-open { overflow: hidden; }
}

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .95rem;
  padding: 1rem 1.6rem;
  border: 2px solid transparent;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--text); border-color: var(--ink); }
.btn-dark:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-arrow::after { content: "→"; transition: transform .2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* Hero ------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(5rem, 10vw, 9rem);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,106,26,.18), transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(255,174,94,.08), transparent 50%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(255,255,255,.025) 49%, rgba(255,255,255,.025) 51%, transparent 52%);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .95;
  text-transform: uppercase;
}
.hero-headline .accent { color: var(--accent); }
.hero-headline .strike {
  background: linear-gradient(180deg, transparent 60%, var(--accent) 60%, var(--accent) 92%, transparent 92%);
  padding-inline: .15em;
}
.hero-sub { margin: 1.5rem 0 2.25rem; max-width: 50ch; font-size: 1.15rem; color: var(--text-muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 2rem;
  position: relative;
}
.hero-card::before {
  content: ""; position: absolute; top: -1px; right: -1px;
  width: 60px; height: 60px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.hero-card-h { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; margin-top: 1rem; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.stat .lbl { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-top: .35rem; }

/* Page hero (smaller, for inner pages) ----------------------- */
.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; bottom: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse at right, rgba(255,106,26,.12), transparent 70%);
  pointer-events: none;
}
.page-hero .crumbs {
  font-family: var(--font-mono);
  font-size: .8rem; color: var(--text-muted);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); text-transform: uppercase; }
.page-hero .lead { margin-top: 1.25rem; }

/* Sections --------------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-light { background: var(--paper); color: var(--ink); }
.section-light .muted { color: #555; }
.section-dark { background: var(--ink); }
.section-grit {
  background:
    linear-gradient(180deg, var(--ink-2), var(--ink));
}

.section-head { max-width: 70ch; margin-bottom: 3rem; }
.section-head h2 { text-transform: uppercase; }

/* Service / feature grid ------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 1200px) and (min-width: 901px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 2rem;
  transition: border-color .2s, transform .2s, background .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .ico {
  width: 56px; height: 56px;
  background: var(--ink);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .75rem; text-transform: uppercase; font-size: 1.2rem; }
.card p { color: var(--text-muted); font-size: .95rem; }
.card .num-tag {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: var(--font-mono); font-size: .75rem;
  color: var(--text-muted); letter-spacing: .1em;
}

/* Service card on light bg */
.section-light .card {
  background: #fff;
  border-color: rgba(0,0,0,.12);
}
.section-light .card p { color: #444; }
.section-light .card .ico { background: var(--ink); color: var(--accent); border-color: var(--ink); }

/* Process / steps -------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.step {
  padding: 2rem;
  border: 1px solid var(--line);
  margin-left: -1px; margin-top: -1px;
  position: relative;
  background: var(--ink-2);
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1; margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; text-transform: uppercase; margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: .92rem; }

/* Industry list ---------------------------------------------- */
.ind-row {
  display: grid; grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.ind-row:hover { padding-inline: 1rem; }
.ind-row:hover .ind-num { color: var(--accent); }
.ind-num {
  font-family: var(--font-mono); font-size: 1rem;
  color: var(--text-muted);
  transition: color .2s;
}
.ind-title h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); text-transform: uppercase; }
.ind-title p { color: var(--text-muted); margin-top: .5rem; max-width: 60ch; }
.ind-arrow { font-size: 2rem; color: var(--text-muted); transition: color .2s, transform .2s; }
.ind-row:hover .ind-arrow { color: var(--accent); transform: translateX(8px); }
@media (max-width: 700px) {
  .ind-row { grid-template-columns: 1fr; gap: .5rem; }
  .ind-arrow { display: none; }
}

/* Projects gallery ------------------------------------------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

.proj {
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  cursor: pointer;
  transition: border-color .2s;
}
.proj:hover { border-color: var(--accent); }
.proj-visual {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  color: var(--accent);
  opacity: .55;
}
.proj-visual svg { width: 50%; height: 50%; opacity: .35; }
.proj-info {
  position: relative; z-index: 1;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  width: 100%;
}
.proj-cat {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .25rem;
}
.proj h3 { font-size: 1.05rem; text-transform: uppercase; }

/* Two-col content ------------------------------------------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.figure {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border: 1px solid var(--line);
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.figure::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255,255,255,.02) 10px 11px);
}
.figure svg { width: 50%; height: 50%; opacity: .35; color: var(--accent); position: relative; z-index: 1; }
.figure-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-muted); z-index: 1;
}

/* Stats strip ------------------------------------------------ */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .stat-strip { grid-template-columns: 1fr 1fr; } }
.stat-strip .item {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--line);
  text-align: left;
}
.stat-strip .item:last-child { border-right: 0; }
.stat-strip .num { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--accent); line-height: 1; }
.stat-strip .lbl { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin-top: .5rem; }

/* Testimonials ---------------------------------------------- */
.quote-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 2.5rem;
  position: relative;
}
.quote-card::before {
  content: "“";
  position: absolute; top: -.2em; left: .5rem;
  font-family: var(--font-display);
  font-size: 7rem; color: var(--accent); opacity: .25; line-height: 1;
}
.quote-card p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.quote-by { display: flex; align-items: center; gap: 1rem; }
.quote-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.1rem;
}
.quote-name { font-weight: 700; }
.quote-role { font-size: .85rem; color: var(--text-muted); }

/* Forms ----------------------------------------------------- */
.form-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 4vw, 3rem);
  max-width: 100%;
  overflow: hidden;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem;
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--text);
  padding: .9rem 1rem;
  font-family: var(--font-body);
  font-size: 16px;             /* >=16px prevents iOS Safari auto-zoom on focus */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transition: border-color .15s, background .15s;
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="file"] { padding: .65rem .75rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--ink-2);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--text-muted); margin-top: .35rem; }

.checkbox-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 600px) { .checkbox-row { grid-template-columns: 1fr; } }
.cb {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  background: var(--ink);
  cursor: pointer;
  transition: border-color .15s;
}
.cb:hover { border-color: var(--steel-2); }
.cb input { accent-color: var(--accent); }
.cb:has(input:checked) { border-color: var(--accent); background: rgba(255,106,26,.08); }

.form-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.alert {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: rgba(255,106,26,.08);
  margin-bottom: 1.5rem;
}
.alert.ok { border-color: var(--ok); background: rgba(46,204,113,.08); }
.alert.err { border-color: var(--err); background: rgba(255,77,77,.08); }

/* CTA band -------------------------------------------------- */
.cta-band {
  background: var(--accent);
  color: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-band-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center;
}
@media (max-width: 800px) { .cta-band-inner { grid-template-columns: 1fr; } }
.cta-band .eyebrow { color: var(--ink); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band-title { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--ink); color: var(--text); border-color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--text); color: var(--ink); }
.cta-band .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta-band .btn-ghost:hover { background: var(--ink); color: var(--accent); }

/* Footer ---------------------------------------------------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 38px; margin-bottom: 1rem; }
.footer-tag { color: var(--text-muted); margin-bottom: .75rem; max-width: 36ch; }
.footer-meta { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--text-muted); text-transform: uppercase; }
.footer-h { color: var(--text); margin-bottom: 1rem; font-family: var(--font-display); font-size: .85rem; letter-spacing: .15em; }
.site-footer p { color: var(--text-muted); margin-bottom: .35rem; }
.site-footer a:hover { color: var(--accent); }
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: .5rem; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding: 1.5rem 0 2rem;
  font-size: .85rem;
}

/* Cert grid ------------------------------------------------- */
.cert-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cert-grid { grid-template-columns: 1fr; } }

.cert {
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 2rem;
  text-align: left;
  display: flex; flex-direction: column; gap: 1rem;
}
.cert-badge {
  width: 72px; height: 72px;
  background: var(--ink);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  line-height: 1.1;
}
.cert h3 { font-size: 1.1rem; text-transform: uppercase; }
.cert p { color: var(--text-muted); font-size: .95rem; }

/* Inline lists ---------------------------------------------- */
.tick-list { list-style: none; padding: 0; }
.tick-list li {
  padding: .75rem 0 .75rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: .75rem;
  color: var(--accent); font-weight: 700;
}
.tick-list li:last-child { border-bottom: 0; }

/* Contact strip --------------------------------------------- */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 800px) { .contact-strip { grid-template-columns: 1fr; } }
.contact-tile {
  background: var(--ink-3); border: 1px solid var(--line);
  padding: clamp(1.25rem, 4vw, 2rem);
  overflow-wrap: anywhere;
}
.contact-tile p { word-break: break-word; }
.contact-tile h3 { font-size: 1rem; text-transform: uppercase; margin-bottom: .75rem; }
.contact-tile a { color: var(--accent); }
.contact-tile a:hover { text-decoration: underline; }

/* Map placeholder ------------------------------------------- */
.map-wrap {
  aspect-ratio: 16 / 7;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.92) hue-rotate(180deg); }

/* Reveal animation ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
