:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --card: #151515;
  --line: #2d2d2d;
  --text: #f2f2f2;
  --muted: #a8a8a8;
  --accent: #d17d2e;
  --accent-strong: #e8923a;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: var(--accent);
  color: #181818;
  font-weight: 600;
  z-index: 100;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1170px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(209, 125, 46, 0.25);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
}

.brand-icon {
  width: 39px;
  height: 39px;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.brand-text small {
  display: none;
}

.main-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent);
  color: #1a1a1a;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.9) contrast(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.72) 56%, rgba(209, 125, 46, 0.28) 100%),
    rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 160px 0 120px;
  width: min(1170px, 90vw);
  max-width: none;
  margin: 0 auto;
  text-align: left;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-sub,
.hero-content .hero-actions {
  max-width: 560px;
}

.eyebrow {
  color: #ffffff;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

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

h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.1;
  max-width: 820px;
  color: #ffffff;
}

.hero-sub {
  color: #ffffff;
  margin-top: 22px;
  font-size: 1.14rem;
  max-width: 640px;
}

.hero-accent {
  color: var(--accent);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #181818;
  font-weight: 700;
  padding: 13px 22px;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-link {
  color: #ffd7b4;
  font-weight: 600;
  border-bottom: 1px solid rgba(209, 125, 46, 0.5);
  padding-bottom: 2px;
}

.btn-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.section {
  padding: 130px 0;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section p {
  color: var(--muted);
  max-width: 780px;
}

.section p + p {
  margin-top: 14px;
}

.section-head {
  margin-bottom: 40px;
}

.section-line {
  display: inline-block;
  width: 78px;
  height: 2px;
  background: var(--accent);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.image-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.authority-image {
  background: #0b0b0b;
}

.authority-image img {
  object-fit: contain;
  padding: 16px;
}

.authority-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.authority-list li {
  padding-left: 20px;
  position: relative;
  color: #d9d9d9;
}

.authority-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 10px;
}

.authority-note {
  margin-top: 18px;
}

.diagram-frame {
  padding: 26px;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 340px;
  background:
    linear-gradient(140deg, rgba(209, 125, 46, 0.12), rgba(209, 125, 46, 0.03)),
    var(--card);
}

.diagram-layer {
  border: 1px solid rgba(209, 125, 46, 0.4);
  background: rgba(209, 125, 46, 0.06);
  color: #f0dfc8;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
}

.section-categories,
.section-plans,
.section-updates {
  background: var(--bg-soft);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px auto;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(209, 125, 46, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.card h3,
.card p {
  padding-inline: 20px;
}

.card h3 {
  padding-top: 18px;
  margin-bottom: 8px;
}

.card p {
  padding-bottom: 22px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-head {
  grid-column: 1 / -1;
  text-align: left;
  border: 0;
  padding: 0;
}

.metrics-grid article {
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.label {
  margin-top: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-card p {
  margin: 8px 0 16px;
}

.access-link-wrap {
  margin: 24px 0 0;
}

.access-link {
  color: #ffd7b4;
  font-weight: 600;
  border-bottom: 1px solid rgba(209, 125, 46, 0.45);
  padding-bottom: 2px;
}

.access-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.section-authority {
  background: linear-gradient(180deg, rgba(209, 125, 46, 0.08) 0%, transparent 65%);
  border-top: 1px solid rgba(209, 125, 46, 0.15);
  border-bottom: 1px solid rgba(209, 125, 46, 0.15);
}

.updates-list {
  display: grid;
  gap: 0;
}

.update-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: #dfdfdf;
  font-weight: 500;
}

.update-item span {
  color: var(--accent-strong);
  font-size: 1.15rem;
}

.update-item:hover {
  color: var(--accent);
}

.section-focus {
  box-shadow: inset 0 0 0 1px rgba(209, 125, 46, 0.45);
  background-color: rgba(209, 125, 46, 0.06);
}

.card-focus {
  border-color: rgba(209, 125, 46, 0.85);
  box-shadow: 0 10px 24px rgba(209, 125, 46, 0.18);
  transform: translateY(-4px);
  animation: cardPulse 0.65s ease both;
}

@keyframes cardPulse {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-4px);
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
}

.footer-icon {
  width: 28px;
  margin-bottom: 14px;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 8px;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

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

@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    padding-top: 130px;
    width: min(1170px, 90vw);
  }
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--muted);
  opacity: 0.8;
}

@media (max-width: 860px) {
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .section {
    padding: 88px 0;
  }

  .split-grid,
  .split-grid.reverse,
  .plans-grid,
  .metrics-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 110px 0 72px;
    width: min(1170px, 90vw);
  }

  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-sub,
  .hero-content .hero-actions {
    max-width: 640px;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.subpage .site-header {
  position: sticky;
}

.subpage-main {
  width: min(1170px, 90vw);
  margin: 0 auto;
  padding: 56px 0 96px;
}

.subpage-main > section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.subpage-main > section:last-child {
  border-bottom: 0;
}

.subpage-main section section {
  padding: 20px 0 6px;
}

.subpage-main h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.14;
  max-width: 980px;
}

.subpage-main h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.subpage-main h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #f0f0f0;
}

.subpage-main h3 a {
  color: inherit;
}

.subpage-main h3 a:hover {
  color: var(--accent);
}

.subpage-main p {
  max-width: 920px;
  color: #c3c3c3;
}

.subpage-main ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.subpage-main li {
  margin: 0 0 10px;
  color: #d5d5d5;
}

/* City page: content first, compact image */
.city-hero {
  display: grid;
  grid-template-columns: 1fr min(320px, 38%);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.city-hero-content {
  min-width: 0;
}

.city-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  max-height: 220px;
  background: var(--card);
}

.city-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .city-hero {
    grid-template-columns: 1fr;
  }

  .city-hero-image {
    max-height: 200px;
    aspect-ratio: 16/9;
  }
}

/* Layout utilities for future editorial/area pages */
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.content-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.content-block:last-child {
  border-bottom: 0;
}

@media (max-width: 860px) {
  .content-grid-2,
  .content-grid-3 {
    grid-template-columns: 1fr;
  }
}
