/* Noble Machine Co — rugged industrial / Tennessee manufacturing */

:root {
  --bg: #141618;
  --bg-raised: #1a1c1e;
  --bg-panel: #222528;
  --bg-header: #1a1c1e;
  --bg-deep: #0e1012;
  --line: #2e3236;
  --line-strong: #3d4349;
  --text: #f2f1ee;
  --text-muted: #a8a9a6;
  --text-dim: #7e817c;
  --accent: #c45c26;
  --accent-bright: #d97338;
  --accent-deep: #9a4518;
  --accent-soft: rgba(196, 92, 38, 0.14);
  --steel: #8b9499;
  --focus: #e8a060;
  --danger: #e07a6a;
  --radius: 2px;
  --header-h: 70px;
  --wrap: 1140px;
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-video { display: none !important; }
  .hero-fallback { display: block !important; opacity: 1 !important; }
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-bright);
  text-underline-offset: 0.18em;
}

a:hover { color: #efb07a; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--accent);
  color: #14110d;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 40%, transparent 72%);
}

.header-inner {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand:hover { color: var(--text); }

.brand-mark {
  width: auto;
  height: 42px;
  max-width: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.22rem;
}

.nav { margin-left: auto; }

.nav-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a[aria-current="true"] {
  color: var(--accent-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-call,
.btn-primary {
  background: var(--accent);
  color: #1a1008;
  border-color: var(--accent);
}

.btn-call:hover,
.btn-primary:hover {
  background: var(--accent-bright);
  color: #1a1008;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.btn-block { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5.5rem;
  border-bottom: 1px solid var(--line);
  min-height: min(78vh, 700px);
  display: flex;
  align-items: flex-end;
  background: var(--bg-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) saturate(0.92);
}

.hero-fallback { z-index: 0; }
.hero-video { z-index: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(10, 11, 12, 0.94) 0%, rgba(10, 11, 12, 0.82) 38%, rgba(10, 11, 12, 0.42) 100%),
    linear-gradient(0deg, rgba(10, 11, 12, 0.8) 0%, transparent 48%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding-bottom: 0.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.015em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.45rem, 6.4vw, 4.4rem);
  font-weight: 700;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
  color: #fff;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  color: #fff;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-lead,
.section-lead {
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-lead {
  font-size: 1.18rem;
  margin: 0 0 1.9rem;
  color: #c8cac6;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Made in USA band —— */
.usa-band {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.usa-band-inner {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem 0;
}

.usa-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  border: 1px solid var(--line-strong);
  background: var(--bg-deep);
}

.usa-band-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.usa-band-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  font-size: 0.88rem;
}

.usa-sep {
  margin: 0 0.35rem;
  color: var(--accent);
}

/* —— Stats —— */
.stats {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 1.45rem 1.1rem;
  border-right: 1px solid var(--line);
}

.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }

.stat-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

/* —— Sections —— */
.section { padding: 5.5rem 0; }

.section-index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-head { margin-bottom: 2.5rem; max-width: 640px; }

.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p { color: var(--text-muted); margin: 0 0 1.05rem; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.about-facts dd {
  margin: 0;
  color: var(--text);
}

.muted { color: var(--text-dim); font-size: 0.92em; }

.about-panel { position: sticky; top: calc(var(--header-h) + 1.25rem); }

.panel-frame {
  background:
    linear-gradient(180deg, var(--accent-soft), transparent 28%),
    var(--bg-panel);
  border: 1px solid var(--line);
  padding: 1.55rem 1.45rem 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
}

.panel-frame::before,
.panel-frame::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
}

.panel-frame::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.panel-frame::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.panel-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.98rem;
}

.panel-num {
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.panel-stamp {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--steel);
}

/* —— About / Story family portrait —— */
.about-story {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.about-story-media {
  position: relative;
  overflow: hidden;
  background: #0a0b0c;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 640px);
  box-shadow: var(--shadow);
}

.about-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  filter: contrast(1.05) saturate(0.92) brightness(0.96);
}

.about-story-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(242, 241, 238, 0.2);
  pointer-events: none;
}

.about-story-frame::before,
.about-story-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent);
}

.about-story-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.about-story-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.about-story-caption {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.about-story-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}

.about-story-line {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-notes {
  margin-top: 2.75rem;
}

.about-notes .about-panel {
  position: static;
}

.about-notes .panel-list-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.25rem;
}

.about-notes .panel-list-row li {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-notes .panel-stamp {
  margin-top: 1.15rem;
}

/* —— Featured Kurt photo band —— */
.featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.featured-media {
  position: relative;
  overflow: hidden;
  background: #0a0b0c;
  min-height: 420px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.08) saturate(0.9) brightness(0.92);
}

.featured-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(242, 241, 238, 0.18);
  pointer-events: none;
}

.featured-frame::before,
.featured-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
}

.featured-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.featured-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem;
  background: var(--bg-deep);
  border-left: 1px solid var(--line);
}

.featured-copy p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 36ch;
  font-size: 1.08rem;
}

.featured-stamp {
  margin-top: 1.25rem !important;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  color: var(--accent) !important;
}

/* —— Services —— */
.services {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--bg-panel);
  padding: 1.55rem 1.35rem 1.4rem;
  min-height: 100%;
  border: 0;
  transition: background 0.15s ease;
}

.service-card:hover {
  background: #272b2f;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--steel);
  margin-bottom: 1rem;
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

/* —— Gallery —— */
.gallery {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
}

.gallery-featured {
  margin: 0 0 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0b0c;
  aspect-ratio: 21 / 9;
  max-height: 480px;
  box-shadow: var(--shadow);
}

.gallery-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.08) saturate(0.9) brightness(0.92);
}

.gallery-featured figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 2.4rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(8, 9, 10, 0.9));
}

.gallery-cap-kicker {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.gallery-cap-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8e6e1;
}

.gallery-groups {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.gallery-group-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0b0c;
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.88) brightness(0.94);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.045);
  filter: contrast(1.1) saturate(0.95) brightness(1);
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(8, 9, 10, 0.92));
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8e6e1;
}

.gallery-grid-work li:last-child figure {
  aspect-ratio: 3 / 4;
}

/* —— Values —— */
.values {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.value-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-card {
  padding: 2rem 1.55rem 1.7rem;
  background: var(--bg-raised);
  border-top: 3px solid var(--accent);
}

.value-num {
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.16em;
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
}

.value-card p { margin: 0; color: var(--text-muted); }

/* —— Contact —— */
.contact {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  font-style: normal;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.5rem;
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.contact-card h3 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.contact-card p { margin: 0; color: var(--text-muted); }
.contact-card a { color: var(--text); text-decoration: none; }
.contact-card a:hover { color: var(--accent-bright); text-decoration: underline; }

.quote-form {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.form-title {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  color: #fff;
}

.field { margin-bottom: 0.9rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line-strong);
  background: var(--bg-deep);
  color: var(--text);
  font: inherit;
  border-radius: var(--radius);
}

input:hover,
textarea:hover { border-color: #555b62; }

input:focus,
textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea { resize: vertical; min-height: 120px; }

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.form-error {
  color: var(--danger);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--accent-bright);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.7rem;
  text-decoration: none;
}

.footer-logo {
  height: 72px;
  width: auto;
  opacity: 0.95;
}

.footer-brand p,
.footer-copy {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-brand .muted {
  margin-top: 0.35rem;
  display: block;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-featured { aspect-ratio: 16 / 9; max-height: 420px; }
  .featured { grid-template-columns: 1fr; }
  .featured-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 2.5rem 1.75rem;
  }
  .featured-media { min-height: 360px; max-height: 480px; }
}

@media (max-width: 960px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-story { position: static; }
  .about-story-media {
    max-height: 520px;
    aspect-ratio: 4 / 5;
  }
  .about-notes { margin-top: 2rem; }
  .about-notes .panel-list-row { grid-template-columns: 1fr 1fr; }
  .about-panel { position: static; }

  .value-grid,
  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-inner .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 1.1rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg-header);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
  }

  .nav.is-open { display: block; }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 0.15rem;
    border-bottom: 1px solid var(--line);
  }

  .header-inner { width: calc(100% - 1.5rem); }

  .brand-tag { display: none; }
  .brand-mark { height: 36px; }

  .hero {
    padding: 4.25rem 0 3.25rem;
    min-height: min(70vh, 560px);
  }

  .usa-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.1rem 0;
  }

  .about-facts,
  .field-row,
  .contact-card,
  .stats-inner,
  .service-grid,
  .value-grid,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery-featured {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .gallery-grid-work li:last-child figure { aspect-ratio: 4 / 3; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .stats-inner .stat:nth-child(odd) { border-right: 0; }
  .stat { padding-left: 0; }

  .wrap { width: min(calc(100% - 1.5rem), var(--wrap)); }
  .section { padding: 3.75rem 0; }

  .btn-call { font-size: 0.88rem; }

  h1 br { display: none; }
  h2 br { display: none; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.1rem; }
  .hero-ctas .btn { width: 100%; }
  .brand-name { font-size: 0.92rem; }
}


/* —— Page hero (inner pages) —— */
.page-hero {
  padding: 4.5rem 0 3.25rem;
  background:
    linear-gradient(180deg, rgba(14, 16, 18, 0.2), transparent 60%),
    var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner { max-width: 720px; }

.page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  margin-bottom: 1rem;
}

.page-hero-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 52ch;
  line-height: 1.55;
}

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

/* —— Team —— */
.team {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.team-card::before,
.team-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
  pointer-events: none;
}

.team-card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.team-card::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.team-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(160deg, var(--accent-soft), transparent 55%),
    var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}

.team-avatar.has-photo .team-initials { display: none; }

.team-avatar img.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-initials {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1;
}

.team-role {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-name {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  color: #fff;
}

.team-bio {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.team-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-bright);
}

.team-link:hover { color: #efb07a; text-decoration: underline; }

.team-cta {
  background: var(--bg-raised);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.team-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.team-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 960px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 140px 1fr; }
}

@media (max-width: 760px) {
  .page-hero { padding: 3.25rem 0 2.5rem; }
  .team-card {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .team-avatar {
    width: 120px;
    max-width: 40%;
  }
  .team-initials { font-size: 2rem; }
  .team-cta-inner { align-items: flex-start; }
}

.section[id],
#about,
#services,
#gallery,
#values,
#contact,
#team {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

@media (max-width: 640px) {
  .about-notes .panel-list-row { grid-template-columns: 1fr; }
  .about-story-media { max-height: 440px; }
}

