/* ============================================================
   ALBUQUERQUE IRON PROS — DESIGN SYSTEM
   Palette drawn from oxidized iron, high-desert adobe & Sandia
   granite, with a single vein of Southwestern turquoise.
   Display face set in a forged, condensed industrial style;
   body set in a calm, legible serif for trust and readability.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color */
  --sand:        #EDE5D8;   /* adobe / caliche background */
  --sand-deep:   #E2D6C4;   /* alt section background */
  --plate:       #F6F1E8;   /* card / plate surface, near-white */
  --ink:         #211D19;   /* forged iron black, warm */
  --iron:        #45403A;   /* iron-grey for secondary text */
  --iron-soft:   #6B655C;   /* muted body copy */
  --rust:        #8A3B16;   /* oxidized iron accent */
  --rust-dark:   #612707;   /* deep rust, hover/active */
  --rust-tint:   #F2E2D6;   /* faint rust wash */
  --turquoise:   #2E7D6B;   /* sparing southwestern accent */
  --turquoise-dark: #205A4D;
  --line:        rgba(33, 29, 25, 0.14);
  --line-strong: rgba(33, 29, 25, 0.28);
  --shadow:      0 18px 40px rgba(33, 22, 12, 0.14);

  /* Type */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Source Serif 4', Georgia, serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.03em; }

p { margin: 0 0 1.1em; color: var(--iron); max-width: 68ch; }
.lede { font-size: 1.1rem; color: var(--iron); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--rust);
  display: inline-block;
}

/* ---------- Rivet plate — signature device ---------- */
.plate {
  background: var(--plate);
  border: 1px solid var(--line);
  position: relative;
  border-radius: 2px;
}
.plate::before, .plate::after,
.plate-corners span {
  content: "";
}
.rivets { position: relative; }
.rivets > .rivet {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a89a86, var(--iron) 70%);
  box-shadow: 0 1px 1px rgba(0,0,0,0.35);
}
.rivets > .rivet.tl { top: 10px; left: 10px; }
.rivets > .rivet.tr { top: 10px; right: 10px; }
.rivets > .rivet.bl { bottom: 10px; left: 10px; }
.rivets > .rivet.br { bottom: 10px; right: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 229, 216, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark { color: var(--rust); }
.brand svg { width: 26px; height: 26px; flex-shrink: 0; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
  flex: 1;
}
.nav a {
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--iron);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--rust); border-bottom-color: var(--rust); }

.nav-dropdown { position: relative; }
.nav-dropdown > button {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--iron);
  cursor: pointer;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > button:hover { color: var(--rust); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 12px;
  background: var(--plate);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-width: 210px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-bottom: none !important;
  font-size: 0.76rem;
}
.dropdown-menu a:hover { background: var(--rust-tint); color: var(--rust-dark); }

.header-cta {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: var(--ink);
  color: var(--sand);
  padding: 11px 18px;
  white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background 0.15s, color 0.15s;
}
.header-cta:hover { background: var(--rust); border-color: var(--rust); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  width: 42px; height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 940px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 14px 0 6px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
  }
  body.nav-open .nav-dropdown { width: 100%; }
  body.nav-open .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; margin-top: 4px; width: 100%;
    display: none;
  }
  body.nav-open .nav-dropdown.open .dropdown-menu { display: block; }
  body.nav-open .header-cta { display: inline-block; margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 84% -10%, var(--rust-tint), transparent 60%),
    var(--sand);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.16rem; margin-bottom: 1.7em; max-width: 54ch; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn-primary { background: var(--rust); color: var(--plate); border-color: var(--rust); }
.btn-primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--sand); }
.btn:active { transform: translateY(1px); }

/* ---------- Sections ---------- */
section.block { padding: 62px 0; }
section.block.alt { background: var(--sand-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block-head { max-width: 62ch; margin-bottom: 34px; }

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover { border-color: var(--rust); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card svg { width: 46px; height: 46px; color: var(--rust); }
.service-card h3 { margin-bottom: 2px; }
.service-card p { font-size: 0.94rem; margin-bottom: 0; color: var(--iron-soft); }
.service-card .go {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
}

/* Two-column content row */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 760px) { .split, .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 340px; margin: 0 auto; } }

/* Cost factors — spec plate list */
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec-list li {
  background: var(--plate);
  padding: 16px 18px;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--iron);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.spec-list li::before {
  content: "◆";
  color: var(--rust);
  font-size: 0.6rem;
}

/* FAQ accordion */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.02rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
.faq-q .sym { font-family: var(--f-mono); color: var(--rust); font-size: 1.1rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q .sym { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}
.faq-a p { padding: 0 4px 20px; margin: 0; color: var(--iron); }
.faq-item.open .faq-a { max-height: 320px; }

/* CTA banner */
.cta-band {
  background: var(--ink);
  color: var(--sand);
  padding: 58px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 260px at 12% 20%, rgba(138,59,22,0.35), transparent 60%);
}
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--sand); margin-bottom: 6px; }
.cta-band p { color: rgba(237,229,216,0.72); margin-bottom: 0; }
.cta-band .btn-primary { background: var(--rust); border-color: var(--rust); }
.cta-band .btn-ghost { color: var(--sand); border-color: rgba(237,229,216,0.5); }
.cta-band .btn-ghost:hover { background: var(--sand); color: var(--ink); }

/* Related services links */
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a {
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  color: var(--iron);
}
.related a:hover { border-color: var(--rust); color: var(--rust); }

/* Breadcrumb */
.crumb {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--iron-soft);
  padding: 16px 0 0;
}
.crumb a { color: var(--iron-soft); text-decoration: none; }
.crumb a:hover { color: var(--rust); }

/* Divider — scrollwork motif */
.scroll-divider { display: flex; justify-content: center; padding: 6px 0 0; }
.scroll-divider svg { width: 160px; height: 22px; color: var(--rust); opacity: 0.75; }

/* Area list */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.area-tags span {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  padding: 8px 14px;
  background: var(--plate);
  border: 1px solid var(--line);
  color: var(--iron);
}

/* Table-ish list for About services */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--iron); font-size: 0.98rem; }
.check-list li::before { content: "—"; color: var(--rust); font-family: var(--f-mono); flex-shrink: 0; }

/* Contact form */
.form-plate { background: var(--plate); border: 1px solid var(--line); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--iron); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 0.98rem;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  background: var(--sand);
  color: var(--ink);
}
textarea { resize: vertical; min-height: 110px; }
.field { margin-bottom: 16px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(237,229,216,0.78);
  padding: 56px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(237,229,216,0.14);
}
.footer-brand .brand { color: var(--sand); }
.footer-brand p { color: rgba(237,229,216,0.62); font-size: 0.92rem; margin-top: 14px; max-width: 40ch; }
.site-footer h4 {
  color: rgba(237,229,216,0.9);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { text-decoration: none; color: rgba(237,229,216,0.66); font-size: 0.9rem; }
.footer-links a:hover { color: var(--rust); }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(237,229,216,0.42);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.section-photo-note {
  border: 1px dashed var(--line-strong);
  background: var(--plate);
  padding: 14px 18px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  color: var(--iron-soft);
  letter-spacing: 0.02em;
}

/* Photo frame — mat-board treatment around real photography */
.photo-frame {
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-frame .cap {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--iron-soft);
  letter-spacing: 0.03em;
  padding-top: 9px;
}
.photo-frame .cap .rust-dot { color: var(--rust); }

.process-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.process-gallery .photo-frame img { aspect-ratio: 3 / 2; }
