:root {
  --ink: #202626;
  --muted: #63706f;
  --paper: #f6f3eb;
  --white: #ffffff;
  --line: #d8d0c1;
  --steel: #596467;
  --oxide: #8c352b;
  --amber: #f0b429;
  --green: #48695b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  margin: 0;
}

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

a {
  color: var(--oxide);
}

.site-header {
  background: rgba(32, 38, 38, 0.96);
  border-bottom: 4px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .navbar {
  min-height: 70px;
}

.site-header .navbar-brand {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
}

.site-header .navbar-brand:hover,
.site-header .navbar-brand:focus {
  color: var(--amber);
}

.navbar-nav {
  align-items: center;
  flex-direction: row;
  gap: 0.4rem;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active {
  color: var(--amber);
}

.hero-section {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 24, 24, 0.88), rgba(18, 24, 24, 0.42)),
    url("assets/images/bridge-ennis.jpg") center / cover;
  color: var(--white);
  display: flex;
  min-height: 78vh;
  padding: 7rem 0 5rem;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  color: var(--oxide);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.hero-section .eyebrow,
.gallery-hero .eyebrow {
  color: var(--amber);
}

.hero-copy h1,
.gallery-hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 1.25rem;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  border-radius: 6px;
  font-weight: 800;
}

.btn-warning {
  background: var(--amber);
  border-color: var(--amber);
  color: #1f2423;
}

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.intro-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 2.3rem 0;
}

.intro-strip h2,
.section-heading h2,
.contact-panel h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.intro-strip p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0;
}

.fact-row {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, 1fr);
}

.fact-row span {
  background: var(--ink);
  border-left: 5px solid var(--amber);
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
  min-height: 88px;
  padding: 1rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 760px;
}

.section-heading-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  max-width: none;
  gap: 1.5rem;
}

.service-card,
.gallery-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(33, 37, 36, 0.08);
  overflow: hidden;
}

.service-card {
  border-top: 6px solid var(--green);
  padding: 1.5rem;
}

.service-card h3,
.gallery-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.work-preview {
  background: #ebe7dc;
}

.work-tile {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: block;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.work-tile img,
.gallery-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.work-tile span,
.gallery-card span {
  color: var(--amber);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 1rem 1rem 0.3rem;
  text-transform: uppercase;
}

.work-tile strong {
  display: block;
  font-size: 1.2rem;
  padding: 0 1rem 1.2rem;
}

.work-tile:hover,
.work-tile:focus {
  color: var(--white);
  transform: translateY(-2px);
}

.contact-section {
  background:
    linear-gradient(rgba(246, 243, 235, 0.92), rgba(246, 243, 235, 0.92)),
    url("assets/images/steel-texture.jpg") center / cover;
}

.contact-panel,
.contact-actions {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  padding: 2rem;
}

.contact-panel address {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.7;
  margin: 0;
}

.contact-panel address span {
  display: block;
}

.contact-actions {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

.contact-link {
  align-items: center;
  border-left: 6px solid var(--oxide);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
}

.contact-link span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: 1.1rem;
  text-align: right;
}

.gallery-hero {
  background:
    linear-gradient(90deg, rgba(32, 38, 38, 0.9), rgba(72, 105, 91, 0.64)),
    url("assets/images/bridge-lough-atalia.jpg") center / cover;
  color: var(--white);
  padding: 6.5rem 0 5rem;
}

.gallery-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.13rem;
  line-height: 1.75;
  max-width: 720px;
}

.gallery-index {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  position: sticky;
  top: 74px;
  z-index: 9;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.category-list a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.category-list a:hover,
.category-list a:focus {
  background: var(--amber);
  border-color: var(--amber);
}

.gallery-band:nth-of-type(even) {
  background: #eee8dc;
}

.gallery-card a {
  display: block;
}

.gallery-card div {
  padding-bottom: 1rem;
}

.gallery-card h3 {
  padding: 0 1rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 1.5rem 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 991.98px) {
  .hero-copy h1,
  .gallery-hero h1 {
    font-size: 3.4rem;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .fact-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .site-header .navbar {
    align-items: start;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 0.85rem;
    padding-top: 0.85rem;
  }

  .navbar-nav {
    margin-left: 0 !important;
  }

  .nav-link {
    padding-left: 0;
  }

  .hero-section {
    min-height: 72vh;
    padding: 5rem 0 3.5rem;
  }

  .hero-copy h1,
  .gallery-hero h1 {
    font-size: 2.45rem;
  }

  .intro-strip h2,
  .section-heading h2,
  .contact-panel h2 {
    font-size: 1.85rem;
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-link strong {
    text-align: left;
    word-break: break-word;
  }

  .gallery-index {
    position: static;
  }
}
