:root {
  --gold: #d8dde1;
  --gold-dark: #7f888f;
  --chrome-hi: #ffffff;
  --chrome-mid: #c6ccd1;
  --chrome-low: #626a72;
  --ink: #080b0d;
  --panel: #121518;
  --panel-soft: #1a1e22;
  --line: rgba(255, 255, 255, 0.16);
  --text: #f3f4f2;
  --muted: #b8bfbd;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: linear-gradient(to bottom, rgba(5, 7, 9, 0.86), rgba(5, 7, 9, 0));
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease,
    padding 260ms ease,
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
  will-change: transform, opacity;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(5, 7, 9, 0.78);
  border-bottom: 1px solid rgba(216, 221, 225, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.site-header.is-hidden {
  transform: translateY(-112%);
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 146px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
  transition: width 260ms ease, height 260ms ease, filter 260ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: 124px;
  height: 58px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34));
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 3px;
  align-items: end;
  height: 45px;
}

.brand-mark span {
  display: block;
  width: 8px;
  background: linear-gradient(180deg, var(--chrome-hi), var(--chrome-low));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-mark span:nth-child(1) {
  height: 32px;
}

.brand-mark span:nth-child(2) {
  height: 42px;
}

.brand-mark span:nth-child(3) {
  height: 25px;
}

.brand-copy strong,
h1,
h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.brand-copy strong {
  display: block;
  font-size: 40px;
  line-height: 0.82;
  letter-spacing: 0;
}

.brand-copy small {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 7px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.quote-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quote-link,
.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #d5dbe0 42%, #7f878e 100%);
  color: #0b0c0e;
  box-shadow: 0 14px 30px rgba(216, 221, 225, 0.18);
}

.btn-ghost,
.btn-outline {
  border-color: rgba(216, 221, 225, 0.72);
  color: #ffffff;
}

.btn:hover,
.quote-link:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding: 150px clamp(22px, 5vw, 70px) 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 4, 6, 0.98) 0%, rgba(4, 7, 10, 0.9) 34%, rgba(5, 8, 11, 0.34) 62%, rgba(3, 5, 7, 0.58) 100%),
    linear-gradient(180deg, rgba(2, 4, 6, 0.18), rgba(2, 4, 6, 0.62)),
    url("../assets/images/hero-generated-rbs.png"),
    linear-gradient(135deg, #050708 0%, #11161a 48%, #07090b 100%);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(216, 221, 225, 0.55);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, black 0 45%, transparent 85%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(56vw, 820px);
  height: min(38vw, 540px);
  background:
    linear-gradient(160deg, transparent 0 28%, rgba(255, 255, 255, 0.16) 28.2%, transparent 28.7%),
    linear-gradient(25deg, transparent 0 58%, rgba(255, 255, 255, 0.12) 58.2%, transparent 58.7%);
  opacity: 0.48;
}

.blueprint-lines {
  position: absolute;
  inset: 120px auto auto 33%;
  width: min(34vw, 500px);
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(255, 255, 255, 0.45) 19.2%, transparent 19.5%),
    linear-gradient(90deg, transparent 0 72%, rgba(255, 255, 255, 0.35) 72.2%, transparent 72.5%),
    linear-gradient(0deg, transparent 0 34%, rgba(255, 255, 255, 0.35) 34.2%, transparent 34.5%),
    linear-gradient(0deg, transparent 0 69%, rgba(255, 255, 255, 0.35) 69.2%, transparent 69.5%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-kicker.centered {
  text-align: center;
}

h1,
h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(62px, 7.6vw, 118px);
  max-width: 720px;
}

h1 span,
h2 span,
.cta span {
  color: var(--gold);
}

.hero-content > p:not(.section-kicker),
.about-copy > p,
.cta p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-content > p:not(.section-kicker) {
  max-width: 490px;
  margin: 28px 0 0;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1px;
  max-width: 540px;
  margin-top: 36px;
  border: 1px solid rgba(216, 221, 225, 0.16);
  background: rgba(216, 221, 225, 0.12);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(8, 10, 12, 0.76);
}

.hero-metrics strong {
  display: block;
  color: var(--chrome-hi);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 34px;
  line-height: 0.95;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card {
  position: relative;
  z-index: 3;
  align-self: end;
  justify-self: end;
  width: min(100%, 340px);
  margin-bottom: 26px;
  padding: 22px;
  background: rgba(8, 10, 12, 0.9);
  border: 1px solid rgba(216, 221, 225, 0.22);
  border-radius: 6px;
  backdrop-filter: blur(14px);
}

.helmet-badge {
  width: 96px;
  aspect-ratio: 1.45;
  display: grid;
  place-items: center;
  margin-left: 0;
  margin-bottom: 14px;
  border-radius: 60px 60px 10px 10px;
  background: linear-gradient(135deg, #353b41, #080a0d);
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
  gap: clamp(40px, 8vw, 120px);
  padding: 86px clamp(22px, 6vw, 82px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
    linear-gradient(90deg, #111417, #080a0c);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-copy h2,
.services-section h2,
.projects-section h2,
.cta h2 {
  font-size: clamp(40px, 5vw, 70px);
}

.about-copy {
  max-width: 650px;
}

.about-copy .btn {
  margin-top: 18px;
}

.why-grid {
  display: grid;
  gap: 28px;
}

.why-grid article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 25px;
  font-weight: 900;
}

.why-grid h3,
.service-card h3,
.footer h3 {
  margin: 0;
}

.why-grid h3,
.site-footer h3 {
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

.why-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.services-section,
.projects-section,
.gallery-section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.services-section {
  background: #0b0e10;
}

.services-section h2 {
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.service-card,
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  isolation: isolate;
}

.service-card {
  appearance: none;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(5, 7, 9, 0.95), rgba(5, 7, 9, 0.18) 78%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 28%);
}

.service-card img,
.project-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.06);
  transition: transform 400ms ease, filter 400ms ease;
}

.service-card:hover img,
.service-card:focus-visible img,
.project-card:hover img {
  transform: scale(1.04);
  filter: saturate(0.92) contrast(1.08);
}

.service-card:focus-visible,
.gallery-btn:focus-visible,
.gallery-thumb:focus-visible,
.service-modal-close:focus-visible,
.service-modal-nav:focus-visible,
.service-modal-thumb:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.service-card h3 {
  position: relative;
  z-index: 2;
  max-width: 160px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 25px;
  line-height: 1.02;
  text-transform: uppercase;
}

.service-symbol {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 80px;
  color: var(--gold);
  font-size: 38px;
  font-weight: 900;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.project-card {
  min-height: 238px;
  border-radius: 4px;
  background-color: #171b1e;
}

.project-card > div {
  position: relative;
  z-index: 2;
}

.project-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card p {
  margin: 0;
  color: #dfe3e1;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-section {
  position: relative;
  overflow: hidden;
  padding-block: 58px;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.1), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(126, 139, 149, 0.16), transparent 28%),
    linear-gradient(180deg, #080b0d, #151a1e 56%, #090c0e);
  border-block: 1px solid rgba(255, 255, 255, 0.11);
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.gallery-section > * {
  position: relative;
  z-index: 1;
}

.gallery-heading {
  align-items: start;
}

.gallery-intro {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 12px;
}

.portfolio-item {
  appearance: none;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(216, 221, 225, 0.18);
  border-radius: 6px;
  background: #050607;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.portfolio-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item-wide {
  grid-column: span 2;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(5, 7, 9, 0.84), rgba(5, 7, 9, 0.08) 72%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 36%);
}

.portfolio-item img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 420ms ease, filter 420ms ease;
}

.portfolio-item span {
  position: relative;
  z-index: 2;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
}

.portfolio-item:hover img,
.portfolio-item:focus-visible img {
  transform: scale(1.05);
  filter: saturate(0.98) contrast(1.08);
}

.portfolio-item:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-btn {
  min-width: 86px;
  height: 46px;
  border: 1px solid rgba(216, 221, 225, 0.42);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-frame {
  position: relative;
  min-height: clamp(360px, 43vw, 620px);
  max-height: 72vh;
  overflow: hidden;
  border: 1px solid rgba(216, 221, 225, 0.28);
  border-radius: 8px;
  background: #050607;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
}

.gallery-frame::before {
  content: "";
  position: absolute;
  inset: -34px;
  background-image: var(--gallery-bg);
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(0.9);
  opacity: 0.35;
  transform: scale(1.08);
}

.gallery-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 7, 9, 0.58), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 32%, rgba(255, 255, 255, 0.08));
}

.gallery-image {
  position: absolute;
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  object-fit: contain;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 900ms ease;
  filter: contrast(1.03) saturate(0.95);
}

.gallery-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-progress {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.gallery-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #8e979f);
  transform: scaleX(0);
  transform-origin: left;
}

.gallery-progress span.is-running {
  animation: galleryProgress 4200ms linear forwards;
}

.gallery-count {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid rgba(216, 221, 225, 0.24);
  border-radius: 4px;
  background: rgba(5, 7, 9, 0.72);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.gallery-panel {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  border: 1px solid rgba(216, 221, 225, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(7, 9, 11, 0.72);
  box-shadow: var(--shadow);
}

.gallery-panel h3 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
  text-transform: uppercase;
}

.gallery-panel p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.gallery-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(216, 221, 225, 0.24);
  border-radius: 4px;
  color: #edf0f2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(68px, 92px);
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-thumb {
  position: relative;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(216, 221, 225, 0.22);
  border-radius: 5px;
  background: #050607;
  cursor: pointer;
  opacity: 0.56;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: clamp(16px, 3vw, 34px);
}

.service-modal.is-open {
  display: grid;
  place-items: center;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 7, 0.78);
  backdrop-filter: blur(10px);
}

.service-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: min(90vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(216, 221, 225, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    #090c0e;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.62);
}

.service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(216, 221, 225, 0.34);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.service-modal-heading {
  padding-right: 84px;
}

.service-modal-heading h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.service-modal-main {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.service-modal-frame {
  min-width: 0;
  height: min(58vh, 560px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 0;
}

.service-modal-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border: 1px solid rgba(216, 221, 225, 0.18);
  border-radius: 6px;
  background: #050607;
}

.service-modal-frame figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.gallery-modal-dialog {
  width: min(100%, 1180px);
}

.gallery-modal-frame {
  height: min(64vh, 640px);
}

.service-modal-nav {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(216, 221, 225, 0.34);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.service-modal-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.service-modal-thumb {
  height: 62px;
  overflow: hidden;
  border: 1px solid rgba(216, 221, 225, 0.22);
  border-radius: 4px;
  background: #050607;
  cursor: pointer;
  opacity: 0.58;
}

.service-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-modal-thumb.is-active,
.service-modal-thumb:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.74);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.74);
  transform: translateY(-2px);
}

@keyframes galleryProgress {
  to {
    transform: scaleX(1);
  }
}

.stats {
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(120px, 1fr));
  align-items: center;
  gap: 0;
  padding: 34px clamp(18px, 6vw, 82px);
  background: #101315;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.stats > div {
  min-height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.stats .stats-icon {
  border-left: 0;
  color: var(--gold);
  font-size: 72px;
}

.stats strong {
  display: block;
  color: var(--gold);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 0.95;
}

.stats span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 70px clamp(22px, 6vw, 82px);
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.88), rgba(8, 10, 12, 0.56)),
    url("../assets/images/cta-site.jpg"),
    linear-gradient(135deg, #1d2023, #5f5141);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(216, 221, 225, 0.52);
}

.cta p {
  max-width: 560px;
  margin: 16px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(180px, 1fr));
  gap: 44px;
  padding: 54px clamp(22px, 6vw, 82px) 26px;
  background: #090b0d;
}

.site-footer a,
.site-footer p {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  margin: 8px 0;
}

.site-footer h3 {
  margin: 0 0 16px;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-header.is-scrolled {
    padding-block: 12px;
  }

  .main-nav {
    position: fixed;
    inset: 88px 18px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(8, 10, 12, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px;
  }

  .quote-link {
    display: none;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 46px;
    height: 42px;
    place-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
  }

  .hero,
  .about-band,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
    background-position: center right 34%;
  }

  .hero-card {
    justify-self: start;
    margin: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid,
  .gallery-showcase,
  .stats,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-showcase {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .stats .stats-icon {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 18px;
  }

  .brand-logo {
    width: 118px;
    height: 62px;
  }

  .site-header.is-scrolled .brand-logo {
    width: 102px;
    height: 50px;
  }

  .brand-copy strong {
    font-size: 32px;
  }

  .brand-copy small {
    letter-spacing: 5px;
  }

  .hero,
  .about-band,
  .services-section,
  .projects-section,
  .gallery-section,
  .cta,
  .site-footer {
    padding-inline: 18px;
  }

  .gallery-section {
    padding-block: 46px;
  }

  .hero {
    padding-top: 118px;
    background-position: 62% center;
  }

  h1 {
    font-size: 52px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: 100%;
    margin-top: 10px;
  }

  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .project-grid,
  .stats,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-card,
  .project-card {
    min-height: 230px;
  }

  .gallery-controls {
    width: 100%;
  }

  .gallery-btn {
    flex: 1;
  }

  .gallery-frame {
    min-height: 330px;
    max-height: 62vh;
  }

  .gallery-image {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
  }

  .gallery-panel {
    padding: 22px;
  }

  .gallery-thumbs {
    grid-auto-columns: 70px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .portfolio-item-large,
  .portfolio-item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .service-modal {
    padding: 12px;
  }

  .service-modal-dialog {
    max-height: 92vh;
    padding: 18px;
  }

  .service-modal-main {
    grid-template-columns: 1fr;
  }

  .service-modal-frame {
    height: min(48vh, 420px);
  }

  .service-modal-nav {
    width: 100%;
    height: 44px;
  }

  .service-modal-thumbs {
    grid-auto-columns: 72px;
  }

  .stats > div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}
