/* =============================================================================
   Control Zone — WARDOGS Community Template
   Signal red / cool slate concrete. Split hero, zone board, editorial briefs.
   Distinct from WarDogs mustard HUD.
   ============================================================================= */

:root {
  --bg: #0a0c10;
  --bg-2: #10141a;
  --bg-3: #141820;
  --surface: #181c24;
  --surface-2: #1e2430;
  --text: #e8eaee;
  --muted: #9aa3b0;
  --muted-2: #6b7482;
  --accent: #c62828;
  --accent-hot: #e03535;
  --accent-dim: rgba(198, 40, 40, 0.14);
  --steel: #5a6a7a;
  --steel-light: #8a9aaa;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(198, 40, 40, 0.4);
  --online: #6aaf7a;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 3px;
  --max: 1180px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--accent-hot);
  text-decoration: none;
}

a:hover {
  color: #ff6b6b;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.copy-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Demo banner ---------- */
.demo-banner {
  position: relative;
  z-index: 300;
  background: #0e1218;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.55rem 1rem;
}

.demo-banner a {
  color: var(--accent-hot);
  font-weight: 600;
  margin-left: 0.35rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 12, 16, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

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

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

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo__text strong {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.logo__text span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-top: 0.18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  border-radius: var(--radius);
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.15rem;
}

.nav-link {
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 0.85rem 1.45rem;
  font-size: 1.1rem;
}

.btn--primary {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  color: #fff !important;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text) !important;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hot) !important;
}

.btn--block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  background: var(--accent-dim);
  color: #ff8a8a;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(198, 40, 40, 0.28);
  color: #fff;
}

/* ---------- Split hero ---------- */
.hero {
  position: relative;
  min-height: min(86vh, 720px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(10, 12, 16, 0.94) 0%, rgba(10, 12, 16, 0.78) 42%, rgba(10, 12, 16, 0.45) 68%, rgba(10, 12, 16, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.25) 0%, rgba(10, 12, 16, 0.85) 100%);
}

.hero__grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 0.75rem;
}

.hero-kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 0.65rem;
  color: var(--text);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 32rem;
  color: #c4cad4;
  margin-bottom: 1.4rem;
}

.hero-copy .btn-group {
  margin-top: 0.25rem;
}

/* ---------- Connect card ---------- */
.connect-card {
  background:
    linear-gradient(160deg, rgba(198, 40, 40, 0.1), transparent 50%),
    rgba(20, 24, 32, 0.92);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.connect-card__label {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin: 0 0 0.35rem;
}

.connect-card h2 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.connect-card dl {
  margin: 0 0 1.1rem;
}

.connect-card dt {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.2rem;
}

.connect-card dd {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: 1rem;
}

.connect-card dd:last-child {
  margin-bottom: 0;
}

.connect-card__name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.connect-ip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.connect-ip-row code {
  font-size: 0.92rem;
  word-break: break-all;
}

.connect-card__note {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin: 0 0 1rem;
}

/* ---------- Zone board ---------- */
.zone-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.zone-board__item {
  background: var(--bg-3);
  padding: 1.15rem 1.25rem 1.25rem;
  position: relative;
}

.zone-board__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--steel);
}

.zone-board__item--hot::before {
  background: var(--accent);
}

.zone-board__item--held::before {
  background: var(--online);
}

.zone-board__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.zone-board__id {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
}

.zone-board__status {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.zone-board__item--hot .zone-board__status {
  color: #ff9a9a;
  border-color: rgba(198, 40, 40, 0.45);
  background: var(--accent-dim);
}

.zone-board__item--held .zone-board__status {
  color: #9fd4ab;
  border-color: rgba(106, 175, 122, 0.4);
  background: rgba(106, 175, 122, 0.1);
}

.zone-board__item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.zone-board__item p {
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 4.25rem 0;
}

.section--slate {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin: 0 0 0.45rem;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 640px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  color: var(--text);
}

.section-header p {
  margin-top: 0.45rem;
}

.section-header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
}

.section-header--row > div {
  max-width: 560px;
}

/* ---------- Brief grid (editorial, not mission cards) ---------- */
.brief-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.brief-feature {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  isolation: isolate;
}

.brief-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.brief-feature__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.15) 0%, rgba(10, 12, 16, 0.88) 100%);
}

.brief-feature__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.4rem;
}

.brief-feature__tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 0.4rem;
}

.brief-feature h3 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.brief-feature p {
  color: #c8ced8;
  max-width: 36rem;
  margin: 0;
}

.brief-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.brief-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 112px;
}

.brief-row__media {
  overflow: hidden;
}

.brief-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 112px;
}

.brief-row__body {
  padding: 0.9rem 1rem 0.9rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brief-row__tag {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 0.2rem;
}

.brief-row h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.brief-row p {
  font-size: 0.92rem;
  margin: 0;
}

.brief-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.brief-tile {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
}

.brief-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.brief-tile__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 12, 16, 0.92) 100%);
}

.brief-tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem;
}

.brief-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.brief-tile p {
  font-size: 0.9rem;
  margin: 0;
  color: #b8c0cc;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery__item {
  grid-column: span 4;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

.gallery__item--wide {
  grid-column: span 8;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.92) 0%, rgba(10, 12, 16, 0.7) 55%, rgba(10, 12, 16, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.2), rgba(10, 12, 16, 0.9));
}

.page-hero .container {
  max-width: 720px;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.55rem;
}

.page-hero p {
  max-width: 36rem;
  color: #c4cad4;
}

/* ---------- Rules ---------- */
.rules-list {
  display: grid;
  gap: 1.5rem;
  max-width: 820px;
}

.rules-list article {
  padding: 1.35rem 1.4rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.rules-list h2 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.rules-list ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.rules-list li {
  color: var(--muted);
  margin-bottom: 0.4rem;
  padding-left: 0.15rem;
}

.rules-list li::marker {
  color: var(--accent);
}

/* ---------- Staff ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.staff-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.staff-card__avatar {
  overflow: hidden;
  min-height: 160px;
  border-right: 1px solid var(--line);
}

.staff-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
}

.staff-card__body {
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.staff-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.staff-card__role {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 0.55rem;
}

.staff-card p:last-child {
  font-size: 0.95rem;
  margin: 0;
}

.staff-cta {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  background:
    linear-gradient(120deg, rgba(198, 40, 40, 0.08), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.staff-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.staff-cta p {
  max-width: 36rem;
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.92) 0%, rgba(10, 12, 16, 0.75) 50%, rgba(10, 12, 16, 0.88) 100%),
    rgba(10, 12, 16, 0.35);
}

.cta-band__inner {
  max-width: 640px;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.65rem;
}

.cta-band p {
  margin-bottom: 1.35rem;
  color: #c4cad4;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid > div > p {
  margin-top: 0.85rem;
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-col h3 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: var(--steel-light);
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent-hot);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-2);
}

.footer-credit a {
  color: var(--muted-2);
}

.footer-credit a:hover {
  color: var(--accent-hot);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .connect-card {
    max-width: 440px;
  }

  .zone-board {
    grid-template-columns: 1fr;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .brief-strip {
    grid-template-columns: 1fr;
  }

  .gallery__item,
  .gallery__item--wide {
    grid-column: span 6;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  #site-nav {
    position: fixed;
    inset: 0;
    top: calc(var(--header-h) + 2.4rem);
    z-index: 190;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem 2rem;
    background: rgba(10, 12, 16, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    overflow-y: auto;
  }

  #site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .nav-link {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: var(--accent);
  }

  .nav-actions {
    flex-direction: column;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .logo__text span {
    max-width: 140px;
  }

  .hero {
    min-height: auto;
    padding: 2.75rem 0 2.5rem;
  }

  .brief-row {
    grid-template-columns: 96px 1fr;
  }

  .gallery__item,
  .gallery__item--wide {
    grid-column: span 12;
  }

  .staff-card {
    grid-template-columns: 110px 1fr;
  }

  .page-hero .container {
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .staff-card {
    grid-template-columns: 1fr;
  }

  .staff-card__avatar {
    min-height: 180px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

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

  .brief-row__media {
    max-height: 140px;
  }

  .brief-row__body {
    padding: 0 1rem 1rem;
  }
}
