/* ==========================================================================
   Host City Hustle stylesheet
   Design system: navy/ink base, muted metallic gold accent, warm white text.
   Two type families: Oswald (display/condensed) + IBM Plex Sans (body).
   ========================================================================== */

:root {
  /* Color tokens */
  --ink:        #070b14;   /* page background */
  --navy:       #101a2e;   /* panel surface */
  --navy-raise: #16223a;   /* raised card surface */
  --navy-2:     #1b2946;   /* hover / active surface */
  --gold:       #c9a24d;   /* primary accent */
  --gold-light: #e8caa0;   /* gradient highlight, headline treatment */
  --gold-dim:   #8a733a;   /* muted gold for subtle borders */
  --paper:      #f3f1ec;   /* warm white text */
  --steel:      #97a2b8;   /* secondary / muted text */
  --steel-dim:  #6b7690;   /* tertiary text */
  --line:       rgba(243, 241, 236, 0.10);
  --line-strong: rgba(243, 241, 236, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  /* Type */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: 1.25rem;
  --radius-s: 6px;
  --radius-m: 12px;
  --header-h: 72px;
}

@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 3rem; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.2px;
}

p { margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-s);
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 3.5rem;
  position: relative;
}

@media (min-width: 640px) { .section { padding-block: 5rem; } }
@media (min-width: 1024px) { .section { padding-block: 6.5rem; } }

.section--raised { background: var(--navy); }

.section-head {
  max-width: 46rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) { .section-head { margin-bottom: 3rem; } }

.section-head h2 {
  font-size: 1.9rem;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

@media (min-width: 640px) { .section-head h2 { font-size: 2.6rem; } }

.section-head h2::before {
  content: "";
  width: 5px;
  height: 1em;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--steel);
  font-size: 1.05rem;
  max-width: 42ch;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
}
.eyebrow-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #1a1406;
}
.btn--primary:hover { background: linear-gradient(180deg, var(--gold-light), #d8b264); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img { height: 38px; width: auto; }

.brand-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--paper);
  letter-spacing: 0.3px;
}
.brand-word span { color: var(--gold-light); display: block; font-size: 0.95em; }

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-desktop a:hover { color: var(--paper); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--ink);
  padding: 2rem var(--gutter);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 90;
}
.nav-mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.nav-mobile .btn { margin-top: 1.75rem; }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

@media (max-width: 430px) {
  .header-actions .btn--primary { display: none; }
}

/* ---------- Hero / About ---------- */
.hero {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6.5rem;
  padding-bottom: 3rem;
  overflow: hidden;
  position: relative;
  background-image:
    linear-gradient(100deg, rgba(7,11,20,0.88) 0%, rgba(7,11,20,0.74) 26%, rgba(7,11,20,0.42) 48%, rgba(7,11,20,0.12) 68%, rgba(7,11,20,0.05) 100%),
    linear-gradient(to bottom, rgba(7,11,20,0.35) 0%, rgba(7,11,20,0.05) 22%, rgba(7,11,20,0.15) 70%, rgb(7,11,20) 100%),
    url("hero-stadium-2400.jpg");
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
}

@media (min-width: 720px) {
  .hero { min-height: 680px; padding-top: 7rem; padding-bottom: 4rem; }
}

@media (min-width: 1100px) {
  .hero { min-height: 740px; }
}

@media (max-width: 700px) {
  .hero {
    min-height: 640px;
    background-image:
      linear-gradient(180deg, rgba(7,11,20,0.4) 0%, rgba(7,11,20,0.55) 55%, rgb(7,11,20) 96%),
      linear-gradient(rgba(7,11,20,0.35), rgba(7,11,20,0.35)),
      url("hero-stadium-1200.jpg");
    background-position: center 40%;
  }
}

.hero .wrap {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.hero-content .eyebrow-tag { margin-bottom: 1.1rem; }

.hero h1 {
  font-size: 2.5rem;
  color: var(--paper);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s ease-out 0.05s forwards;
}

@media (min-width: 640px) { .hero h1 { font-size: 3.3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.2rem; } }

.hero-lead {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: var(--paper);
  max-width: 38ch;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s ease-out 0.18s forwards;
}

@media (min-width: 640px) { .hero-lead { font-size: 1.3rem; } }

.hero-body {
  margin-top: 1.1rem;
  color: var(--steel);
  max-width: 58ch;
  font-size: 1.02rem;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s ease-out 0.3s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.thesis {
  margin: 1.75rem 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-light);
  max-width: 34ch;
  font-weight: 500;
  line-height: 1.3;
}

@media (min-width: 640px) { .thesis { font-size: 1.4rem; } }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 2.1rem;
}

.tag {
  font-size: 0.85rem;
  color: var(--steel);
  border: 1px solid var(--line-strong);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Watch section ---------- */
.watch-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 640px) { .watch-grid { gap: 2.25rem; } }
@media (min-width: 1024px) { .watch-grid { gap: 3rem; } }

@media (min-width: 860px) {
  .watch-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.watch-copy p + p { margin-top: 1rem; }
.watch-copy p { color: var(--steel); max-width: 46ch; }

.watch-points {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.watch-points li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--paper);
  font-size: 0.98rem;
}

.watch-points svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  color: var(--gold);
}

.watch-copy .btn { margin-top: 2rem; }

.watch-card {
  background: linear-gradient(160deg, var(--navy-raise), var(--navy));
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}

@media (min-width: 640px) { .watch-card { padding: 2.5rem; } }

.watch-card img { width: 96px; height: 94px; margin: 0 auto 1.2rem; }

.watch-card h3 {
  font-size: 1.3rem;
  color: var(--paper);
}

.watch-card .handle {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.watch-card .btn { margin-top: 1.5rem; }

/* ---------- Breakdown section ---------- */
.breakdown-card {
  background: var(--navy-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.breakdown-card__body {
  padding: 1.75rem;
}

@media (min-width: 640px) { .breakdown-card__body { padding: 3rem; } }

.breakdown-card h3 {
  font-size: 1.4rem;
  color: var(--paper);
  max-width: 22ch;
}

@media (min-width: 640px) { .breakdown-card h3 { font-size: 1.9rem; } }

.deal-meta {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .deal-meta { grid-template-columns: repeat(3, 1fr); }
}

.deal-meta dt {
  font-size: 0.8rem;
  color: var(--steel-dim);
  margin-bottom: 0.3rem;
}

.deal-meta dd {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.breakdown-card p {
  color: var(--steel);
  max-width: 62ch;
  font-size: 1.02rem;
}

.breakdown-card .btn { margin-top: 1.75rem; }

.breakdown-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--steel-dim);
}

/* ---------- Resources ---------- */
.resource-group + .resource-group { margin-top: 2.5rem; }
@media (min-width: 640px) { .resource-group + .resource-group { margin-top: 3.5rem; } }

.resource-group h3 {
  font-size: 1.15rem;
  color: var(--paper);
  font-family: var(--font-display);
  margin-bottom: 1.1rem;
}

.resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .resource-grid--reading { grid-template-columns: repeat(4, 1fr); }
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.4rem;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.resource-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.resource-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--paper);
  font-size: 1.02rem;
}

.resource-card p {
  color: var(--steel);
  font-size: 0.92rem;
  flex-grow: 1;
}

.resource-card .cta-text {
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
}

.affiliate-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--steel-dim);
  max-width: 60ch;
}

/* ---------- Contact ---------- */
.contact-section { text-align: left; }

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 760px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  text-decoration: none;
  background: var(--navy);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.contact-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }

.contact-card .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-s);
  background: var(--navy-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-card .icon-wrap svg { width: 20px; height: 20px; }

.contact-card h4 {
  font-family: var(--font-body);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 700;
}
.contact-card p { color: var(--steel); font-size: 0.92rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
@media (min-width: 700px) {
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand img { height: 26px; width: 27px; }
.footer-brand span {
  font-family: var(--font-display);
  color: var(--steel);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--steel-dim);
  font-size: 0.88rem;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-copy {
  color: var(--steel-dim);
  font-size: 0.82rem;
}
