:root {
  --bg: #07090d;
  --panel: #11161d;
  --panel-2: #171c22;
  --line: #2c333c;
  --text: #f4f2ec;
  --muted: #a9b1b8;
  --red: #d51f27;
  --gold: #f2aa19;
  --blue: #0b6fa4;
  --shadow: 0 22px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0, rgba(213, 31, 39, .14), transparent 30%),
    linear-gradient(180deg, #0c1016 0, #07090d 340px, #07090d 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(5, 7, 10, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img { width: 56px; height: 44px; object-fit: contain; background: #fff; border-radius: 12px; box-shadow: 0 14px 32px rgba(0,0,0,.25); }
.brand strong { display: block; font-size: 18px; }
.brand small { color: var(--gold); text-transform: uppercase; font-weight: 700; font-size: 11px; letter-spacing: .08em; }
.site-nav { display: flex; justify-content: center; gap: 28px; color: var(--muted); font-size: 14px; }
.site-nav a:hover, .site-nav a:focus { color: var(--text); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.header-cta, .button.primary {
  background: linear-gradient(135deg, #f23a35, #b50e19);
  border-color: rgba(255,255,255,.08);
  color: #fff;
  box-shadow: 0 14px 34px rgba(213, 31, 39, .28);
}
.header-cta:hover, .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.34);
}
.button.ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: rgba(255,255,255,.14);
}
.nav-toggle { display: none; }
.contact-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 10px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.messages { max-width: 1180px; margin: 18px auto 0; padding: 0 18px; }
.messages p { border: 1px solid var(--line); background: var(--panel); padding: 12px 14px; border-radius: 8px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .8fr);
  gap: 44px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 18px 58px;
}
.eyebrow, .crumb {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 84px); line-height: .95; max-width: 780px; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1; }
h3 { font-size: 22px; line-height: 1.15; }
.hero-copy > p:not(.eyebrow), .page-hero > p:not(.crumb), .section-heading p, .final-cta p {
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
}
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 34px 0 0; }
.stat-row div, .hero-card, .services article, .quote-aside, .panel-form, .post-card, .item-card {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.stat-row div { padding: 16px; }
.stat-row dt { color: #fff; font-weight: 900; }
.stat-row dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.hero-card { padding: 14px; box-shadow: var(--shadow); }
.hero-card > img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
.photo-stack { overflow: hidden; }
.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10px;
  margin-bottom: 18px;
}
.photo-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: #11161d;
}
.photo-grid img:first-child {
  grid-row: span 2;
  height: 310px;
}
.hero-card span, .services span, .item-card p, .post-card p { color: var(--gold); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.hero-card a, .services a, .item-card a, .post-card a { color: #77c8ff; font-weight: 800; }

.finder-band, .network, .newsletter, .final-cta, .page-hero, .story, .rules, .timeline, .policy, .article-detail, .quote-items, .services, .form-layout, .post-grid, .category-pills {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 18px;
}
.finder-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.services .section-heading { grid-column: 1 / -1; }
.services article, .item-card, .post-card { padding: 24px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.services article:hover, .item-card:hover, .post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 170, 25, .34);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
}
.network { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
blockquote { margin: 0; padding: 28px; background: #0d1117; border-left: 5px solid var(--red); color: #fff; font-size: 22px; }
cite { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }
.item-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.item-image img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }
.equipment-gallery { max-width: 1180px; margin: 0 auto; padding: 54px 18px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: #11161d;
  box-shadow: var(--shadow);
}
.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(6) {
  grid-column: span 2;
}
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}
.gallery-grid figure:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.02);
}
.final-cta { text-align: center; border-top: 1px solid var(--line); }
.final-cta p, .final-cta h2 { margin-left: auto; margin-right: auto; }

.page-hero { padding-top: 64px; padding-bottom: 34px; }
.story, .form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.story img { border-radius: 14px; border: 1px solid rgba(255,255,255,.10); object-fit: cover; width: 100%; }
.about-photo-pair { display: grid; gap: 12px; }
.about-photo-pair img:first-child { aspect-ratio: 4 / 3; }
.about-photo-pair img:last-child { aspect-ratio: 16 / 9; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rules div { border-top: 1px solid var(--line); padding-top: 22px; }
.rules span { color: var(--red); font-weight: 900; }
.timeline, .policy, .article-detail { max-width: 860px; }
.policy h2, .article-body h2 { margin-top: 34px; }

.category-pills { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.category-pills a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.category-pills a.active { background: var(--red); border-color: var(--red); color: #fff; }
.empty { color: var(--muted); }
.newsletter { border-top: 1px solid var(--line); }
.newsletter form { display: flex; gap: 10px; max-width: 460px; }

.panel-form, .quote-aside { padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.full { grid-column: 1 / -1; }
label span { display: block; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #3a424d;
  border-radius: 12px;
  background: #080b10;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(242,170,25,.9);
  box-shadow: 0 0 0 4px rgba(242,170,25,.12);
}
textarea { resize: vertical; }
.error { color: #ff8b8b; }
.panel-form button { margin-top: 18px; }
.quote-aside img { width: 100%; max-height: 230px; object-fit: cover; background: #fff; border-radius: 14px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.12); }
.quote-aside li { margin-bottom: 8px; color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding: 42px clamp(18px, 4vw, 56px);
  color: var(--muted);
}
.site-footer img { width: 110px; background: #fff; border-radius: 12px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer a { display: block; margin-bottom: 8px; }
.copyright { border-top: 1px solid var(--line); padding: 14px clamp(18px, 4vw, 56px); color: #77808a; font-size: 13px; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-flex; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
  .site-nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: flex-start; }
  .site-nav.open { display: flex; }
  .header-cta { display: none; }
  .hero, .story, .form-layout, .network { grid-template-columns: 1fr; }
  .services, .rules, .item-grid, .post-grid, .site-footer { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:nth-child(1), .gallery-grid figure:nth-child(6) { grid-column: span 1; }
  .gallery-grid img { height: 180px; }
  .finder-band { flex-direction: column; align-items: flex-start; }
  .stat-row, .form-grid { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
}
