@font-face {
  font-family: 'Antonio';
  src: url('../fonts/antonio-var.woff2') format('woff2');
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: 'Gantari';
  src: url('../fonts/gantari-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --iron: #1F262C;
  --iron-deep: #171D22;
  --copper: #A85A28;
  --copper-deep: #8F4A1E;
  --copper-ink: #7E441C;
  --copper-light: #E2A87C;
  --field: #F4F6F8;
  --card: #FFFFFF;
  --steel: #56616B;
  --hairline: #D9DEE3;
  --band-text: #D9DEE3;

  --bg-body: #FFFFFF;
  --text-body: #1F262C;
  --text-muted: #56616B;
  --iron-band-bg: #1F262C;
  --nav-text: #1F262C;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #14181C;
    --field: #14181C;
    --card: #1F262C;
    --text-body: #E4E7EA;
    --text-muted: #D9DEE3;
    --hairline: #39424A;
    --copper-ink: #E2A87C;
    --steel: #D9DEE3;
    --iron-band-bg: #171D22;
    --nav-text: #E4E7EA;
  }
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Gantari', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a.text-link {
  color: var(--copper);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
a.text-link:hover {
  text-decoration-color: var(--copper);
}

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

h1, h2, h3, h4, p {
  margin: 0;
}

h1 {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 4.8vw, 4.1rem);
  text-transform: uppercase;
  line-height: 1.05;
}

h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.1;
}

.title-antonio {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.label-antonio {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-gantari {
  font-family: 'Gantari', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fadeIn 0.5s ease-in;
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Ribbon */
.ribbon {
  background-color: #FBEFE4;
  color: #5A4636;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}
.ribbon-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ribbon-chips a {
  background-color: rgba(90, 70, 54, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.ribbon-dismiss {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  padding: 4px;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  font-size: 16px;
  text-align: center;
  transition: opacity 0.2s;
}
.btn:hover {
  opacity: 0.9;
}
.btn-copper {
  background-color: var(--copper-deep);
  color: #FFFFFF;
  border: none;
}
.btn-iron-outline {
  background-color: transparent;
  color: var(--text-body);
  border: 1.5px solid var(--iron);
}
@media (prefers-color-scheme: dark) {
  .btn-iron-outline {
    border-color: #E4E7EA;
  }
}

/* Masthead */
.masthead {
  background-color: var(--iron-band-bg);
  color: var(--band-text);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.masthead-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.masthead-logo-plate {
  background-color: #FFFFFF;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.masthead-logo-plate img {
  height: 48px;
  width: auto;
}
.masthead-text {
  display: flex;
  flex-direction: column;
}
.masthead-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1.1;
}
.masthead-subtitle {
  font-family: 'Gantari', sans-serif;
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--copper-light);
  text-transform: uppercase;
}

/* Nav Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-weight: 500;
  color: #FFFFFF;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--copper-light);
}
.nav-call {
  color: var(--copper-light);
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* Nav Mobile */
.nav-mobile {
  display: none;
}
.nav-mobile summary {
  color: #FFFFFF;
  list-style: none;
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile summary::-webkit-details-marker {
  display: none;
}
.nav-mobile-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--iron-deep);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 100;
  border-top: 1px solid var(--hairline);
}
.nav-mobile-dropdown a {
  color: #FFFFFF;
  padding: 12px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; position: relative; }
  .masthead { position: relative; }
  .masthead-subtitle { display: none; }
  .masthead-title { font-size: 18px; }
}

/* Call Bar Mobile */
.call-bar-mobile {
  display: none;
  position: sticky;
  bottom: 0;
  background-color: var(--copper-deep);
  color: #FFFFFF;
  text-align: center;
  padding: 16px;
  z-index: 50;
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .call-bar-mobile { display: block; }
}

/* Footer */
.footer {
  background-color: var(--iron-band-bg);
  color: var(--band-text);
  padding: 64px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-left .footer-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  font-size: 24px;
  margin-bottom: 8px;
}
.footer-left p {
  color: var(--band-text);
  font-size: 14px;
  margin-bottom: 4px;
}
.footer-right {
  text-align: right;
}
@media (max-width: 767px) {
  .footer-right { text-align: left; }
}
.footer-phone {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  color: var(--copper-light);
  font-size: 26px;
  margin-bottom: 8px;
  display: inline-block;
}
.footer-links {
  font-size: 14px;
  color: var(--band-text);
}
.footer-links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.footer-links a:hover {
  text-decoration-color: var(--band-text);
}

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 32px;
}
@media (max-width: 767px) {
  .container { padding: 48px 16px; }
}
.container-sm {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 32px;
}

/* Band backgrounds */
.band-field { background-color: var(--field); }
.band-white { background-color: var(--bg-body); }
.band-iron { background-color: var(--iron-band-bg); color: var(--band-text); }

/* One-line components */
.one-line-bus {
  height: 2px;
  background-color: var(--copper);
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.one-line-tick {
  width: 2px;
  height: 12px;
  background-color: var(--copper);
  position: absolute;
}
.one-line-breaker {
  width: 2px;
  height: 12px;
  background-color: var(--iron);
}
@media (prefers-color-scheme: dark) {
  .one-line-breaker { background-color: #E4E7EA; }
}
.one-line-transformer {
  display: flex;
  align-items: center;
  position: relative;
  width: 34px; /* overlap */
  height: 22px;
}
.one-line-circle {
  width: 22px;
  height: 22px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  position: absolute;
}
.one-line-circle:first-child { left: 0; }
.one-line-circle:last-child { right: 0; }

.kicker-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.kicker-glyph {
  width: 26px;
  height: 12px;
  position: relative;
}
.kicker-glyph-bus {
  width: 100%;
  height: 2px;
  background-color: var(--copper);
  position: absolute;
  top: 5px;
}
.kicker-glyph-tap {
  width: 2px;
  height: 12px;
  background-color: var(--copper);
  position: absolute;
  top: 0;
}
.kicker-glyph-tap:nth-child(2) { left: 33%; }
.kicker-glyph-tap:nth-child(3) { left: 66%; }

.kicker-text {
  font-family: 'Gantari', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--copper-ink);
  text-transform: uppercase;
}

.kicker-text-light {
  color: var(--copper-light);
}

/* Forms */
.form-card {
  background-color: var(--card);
  padding: 32px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--hairline);
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}
.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-family: inherit;
  background-color: transparent;
  color: inherit;
  font-size: 16px;
}
.form-input:focus {
  outline: none;
  border-color: var(--copper);
}
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* Sections */

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .hero { grid-template-columns: 1fr; }
}
.hero-content h1 {
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-trust {
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--steel);
  margin-bottom: 32px;
  font-weight: 500;
}
.hero-plate {
  background-color: var(--iron);
  padding: 10px;
  border-radius: 4px;
}
.hero-plate img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}
.hero-plate-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
}
.hero-plate-caption-left {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--copper-light);
  text-transform: uppercase;
}
.hero-plate-caption-right {
  font-size: 13px;
  color: #8E979E;
}

/* Hero Strip */
.hero-strip-wrapper {
  margin-top: 16px;
  width: 100%;
  max-width: 520px;
}
.hero-strip {
  display: flex;
  align-items: center;
  position: relative;
  height: 22px;
}
.hero-strip .bus {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--copper);
  top: 10px;
}
.hero-strip .tick-start {
  position: absolute;
  left: 0;
  width: 2px;
  height: 12px;
  background-color: var(--copper);
  top: 5px;
}
.hero-strip .tick-end {
  position: absolute;
  right: 0;
  width: 2px;
  height: 12px;
  background-color: var(--copper);
  top: 5px;
}
.hero-strip .breakers {
  position: absolute;
  left: 25%;
  display: flex;
  gap: 4px;
  top: 5px;
}
.hero-strip .breakers .breaker {
  width: 2px;
  height: 12px;
  background-color: var(--iron);
}
@media (prefers-color-scheme: dark) {
  .hero-strip .breakers .breaker {
    background-color: #E4E7EA;
  }
}
.hero-strip .transformer {
  position: absolute;
  left: 60%;
  display: flex;
  width: 34px;
  height: 22px;
  background: var(--field);
}
.hero-strip .transformer .circle {
  width: 22px;
  height: 22px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  position: absolute;
}
.hero-strip .transformer .circle:first-child { left: 0; }
.hero-strip .transformer .circle:last-child { right: 0; }

.hero-strip-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--steel);
}

/* Roster */
.roster-header {
  margin-bottom: 48px;
}
.roster-header h2 {
  color: #FFFFFF;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
}
@media (max-width: 991px) {
  .roster-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .roster-grid { grid-template-columns: 1fr; }
}
.roster-item {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #D9DEE3;
  padding: 16px 0;
  border-bottom: 1px solid #39424A;
}
.roster-foot {
  margin-top: 32px;
  font-size: 16px;
}
.roster-foot a {
  color: var(--copper-light);
  font-weight: 600;
}

/* Projects */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.projects-header-link {
  color: var(--copper);
  font-weight: 600;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 991px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .projects-grid { grid-template-columns: 1fr; }
}
.project-card {
  background-color: var(--field);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card-content {
  padding: 24px;
  flex: 1;
}
.project-card-meta {
  font-family: 'Gantari', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project-card-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Divisions */
.divisions-header {
  margin-bottom: 48px;
}
.divisions-header h2 {
  max-width: 800px;
}
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 767px) {
  .divisions-grid { grid-template-columns: 1fr; }
}
.division-card {
  background-color: var(--card);
  border: 1px solid var(--hairline);
  padding: 32px;
  border-radius: 4px;
}
.division-card-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0;
  text-transform: uppercase;
}
.division-card-titlerow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* Team */
.team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .team-section { grid-template-columns: 1fr; }
}
.team-plate {
  background-color: var(--iron);
  padding: 10px;
  border-radius: 4px;
}
.team-plate img {
  width: 100%;
  height: 373px;
  object-fit: cover;
  border-radius: 2px;
}
.team-plate-caption {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--copper-light);
  text-transform: uppercase;
  margin-top: 10px;
  padding: 0 4px;
}
.team-content h2 {
  margin-bottom: 24px;
}
.team-quote {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  font-style: italic;
}
.team-text {
  color: var(--text-muted);
  margin-bottom: 32px;
}
.team-facts {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.team-fact-value {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--copper-ink);
}
.team-fact-label {
  font-family: 'Gantari', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
}

/* Ask Section */
.ask-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .ask-section { grid-template-columns: 1fr; }
}
.ask-content h2 {
  margin-bottom: 16px;
}
.ask-content p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 30rem;
}
.ask-phone {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 34px;
  color: var(--copper-ink);
  display: block;
  margin-bottom: 16px;
}
.ask-contact-line {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Footer Divider */
.footer-divider-container {
  background-color: var(--bg-body);
  padding: 32px 0;
  display: flex;
  justify-content: center;
}
.footer-divider {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-divider .bus {
  position: absolute;
  left: 32px;
  right: 32px;
  height: 2px;
  background-color: var(--copper);
  top: 10px;
}
@media (max-width: 767px) {
  .footer-divider .bus { left: 16px; right: 16px; }
}
.footer-divider .tick-start {
  position: absolute;
  left: 32px;
  width: 2px;
  height: 12px;
  background-color: var(--copper);
  top: 5px;
}
.footer-divider .tick-end {
  position: absolute;
  right: 32px;
  width: 2px;
  height: 12px;
  background-color: var(--copper);
  top: 5px;
}
@media (max-width: 767px) {
  .footer-divider .tick-start { left: 16px; }
  .footer-divider .tick-end { right: 16px; }
}
.footer-divider .transformer {
  position: relative;
  width: 34px;
  height: 22px;
  background: var(--bg-body);
  z-index: 1;
}
.footer-divider .transformer .circle {
  width: 22px;
  height: 22px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  position: absolute;
}
.footer-divider .transformer .circle:first-child { left: 0; }
.footer-divider .transformer .circle:last-child { right: 0; }

/* Projects Page specific */
.projects-hero {
  padding-bottom: 32px;
}
.projects-hero h1 {
  margin-bottom: 16px;
  max-width: 800px;
}
.projects-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.project-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
@media (max-width: 991px) {
  .project-entry { grid-template-columns: 1fr; }
}
.project-entry:nth-child(even) .project-entry-plate {
  order: 2;
}
@media (max-width: 991px) {
  .project-entry:nth-child(even) .project-entry-plate { order: 0; }
}
.project-entry-plate {
  background-color: var(--iron);
  padding: 10px;
  border-radius: 4px;
}
.project-entry-plate img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}
.project-entry-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
}
.project-entry-meta {
  font-family: 'Gantari', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin-top: 32px;
}
@media (max-width: 767px) {
  .references-grid { grid-template-columns: 1fr; }
}
.reference-item-name {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
}
.reference-item-address {
  font-family: 'Gantari', sans-serif;
  font-size: 14px;
  color: #9AA4AC;
}
