:root {
  --ink: #17110f;
  --charcoal: #201816;
  --charcoal-soft: #302521;
  --cream: #fbf4e8;
  --paper: #f5ead9;
  --paper-deep: #e7d4bb;
  --muted: #78675d;
  --line: rgba(32, 24, 22, 0.14);
  --line-strong: rgba(32, 24, 22, 0.28);
  --brick: #9a402d;
  --orange: #c76136;
  --gold: #c9964a;
  --river: #2e7181;
  --coral: #ea5a49;
  --olive: #68715d;
  --serif: "Iowan Old Style", "Apple Garamond", ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space: clamp(24px, 4vw, 64px);
  --measure: 1240px;
  --radius: 4px;
  --shadow: 0 28px 90px rgba(32, 24, 22, 0.16);
  --hero-image: url("assets/sacramento-hero-v4.jpg");
  --midtown-image: url("assets/sacramento-midtown-v4.jpg");
  --market-image: url("assets/sacramento-market-v4.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, rgba(199, 97, 54, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(46, 113, 129, 0.1), transparent 28rem),
    var(--cream);
  font-family: var(--sans);
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(23, 17, 15, 0.13) 0.65px, transparent 0.65px);
  background-size: 4px 4px;
  content: "";
  opacity: 0.14;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header,
main,
.nav {
  width: min(var(--measure), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  padding-bottom: clamp(14px, 2vw, 28px);
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(15, 11, 10, 0.94), rgba(15, 11, 10, 0.67) 44%, rgba(15, 11, 10, 0.12)),
    var(--hero-image) center / cover;
}

.site-header::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 11, 10, 0.14), rgba(15, 11, 10, 0.7)),
    radial-gradient(circle at 70% 18%, rgba(234, 90, 73, 0.18), transparent 26rem);
  content: "";
}

.nav,
.hero {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(18px, 2.5vw, 26px) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(251, 244, 232, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(251, 244, 232, 0.28);
  border-radius: 50%;
  background: rgba(251, 244, 232, 0.08);
  font-family: var(--serif);
  font-size: 0.82rem;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(251, 244, 232, 0.72);
  font-size: 0.82rem;
  font-weight: 760;
}

.nav-actions a {
  border-bottom: 1px solid transparent;
  padding-bottom: 5px;
  transition: 180ms ease;
}

.nav-actions a:hover {
  border-color: rgba(251, 244, 232, 0.72);
  color: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: end;
  width: min(var(--measure), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) 0 clamp(6px, 1.5vw, 18px);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.71rem;
  font-weight: 880;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 7.1vw, 6.45rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 22px;
  color: rgba(251, 244, 232, 0.76);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
  line-height: 1.33;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.hero-button,
.hero-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.86rem;
  font-weight: 860;
}

.hero-button {
  border: 1px solid rgba(251, 244, 232, 0.8);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(251, 244, 232, 0.92);
  color: var(--charcoal);
}

.hero-link,
.text-link {
  border-bottom: 1px solid currentColor;
  color: rgba(251, 244, 232, 0.82);
}

.search-panel {
  max-width: 560px;
  border-top: 1px solid rgba(251, 244, 232, 0.24);
  padding-top: 16px;
}

.search-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(251, 244, 232, 0.58);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid rgba(251, 244, 232, 0.38);
}

.search-row input,
.search-row button {
  border: 0;
  background: transparent;
  color: var(--cream);
}

.search-row input {
  min-width: 0;
  padding: 11px 0;
  font-size: 0.98rem;
  outline: none;
}

.search-row input::placeholder {
  color: rgba(251, 244, 232, 0.48);
}

.search-row button {
  color: rgba(251, 244, 232, 0.64);
  font-weight: 800;
}

.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
  min-height: clamp(300px, 36vw, 390px);
}

.photo-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 244, 232, 0.14);
  background: var(--midtown-image) center / cover;
  box-shadow: var(--shadow);
}

.photo-panel::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(15, 11, 10, 0.7));
  content: "";
}

.photo-panel span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: rgba(251, 244, 232, 0.82);
  font-size: 0.67rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.photo-panel-large {
  grid-row: span 2;
  min-height: clamp(300px, 36vw, 390px);
  background-image: var(--hero-image);
}

.photo-panel-small.top {
  align-self: start;
  min-height: clamp(142px, 17vw, 186px);
  background-image: var(--midtown-image);
}

.photo-panel-small.bottom {
  align-self: end;
  min-height: clamp(142px, 17vw, 186px);
  background-image: var(--market-image);
}

main {
  padding: clamp(34px, 5vw, 64px) 0 34px;
}

.filter-stage,
.section-header,
.list-shell,
.neighborhoods,
.split-section,
.partners,
.site-footer {
  margin-bottom: clamp(72px, 9vw, 140px);
}

.filter-stage {
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin: clamp(-44px, -3vw, -24px) 0 clamp(58px, 7vw, 104px);
  color: var(--muted);
  font-size: 0.82rem;
}

.guide-links span {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 880;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.guide-links a {
  border-bottom: 1px solid var(--line-strong);
  font-weight: 780;
  transition: 180ms ease;
}

.guide-links a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 244, 232, 0.28);
  color: var(--muted);
  padding: 10px 15px;
  font-size: 0.83rem;
  font-weight: 780;
  transition: 180ms ease;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.section-header p:not(.eyebrow),
.panel p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.featured-events {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.52fr);
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 28px;
  margin-bottom: clamp(56px, 7vw, 92px);
}

.feature-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--paper-deep);
}

.feature-card button {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.feature-card.feature-1 {
  grid-row: 1 / 3;
  min-height: 650px;
}

.feature-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 32%, rgba(18, 12, 10, 0.76)),
    var(--midtown-image) center / cover;
  transform: scale(1.01);
  transition: 420ms ease;
}

.feature-1 .feature-image {
  background:
    linear-gradient(180deg, transparent 38%, rgba(18, 12, 10, 0.78)),
    var(--hero-image) center / cover;
}

.feature-3 .feature-image {
  background:
    linear-gradient(180deg, transparent 34%, rgba(18, 12, 10, 0.76)),
    var(--market-image) center / cover;
}

.feature-card:hover .feature-image {
  transform: scale(1.045);
}

.feature-content {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  color: var(--cream);
}

.feature-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(251, 244, 232, 0.72);
  font-size: 0.68rem;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-content strong {
  display: block;
  max-width: 760px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.feature-card:not(.feature-1) .feature-content strong {
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
}

.feature-content span:last-child {
  color: rgba(251, 244, 232, 0.78);
  font-size: 0.9rem;
}

.list-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.list-intro {
  position: sticky;
  top: 24px;
}

.list-intro h2 {
  font-size: clamp(2.3rem, 4.2vw, 4.5rem);
}

.events-grid {
  border-top: 1px solid var(--line-strong);
}

.event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  transition: 180ms ease;
}

.event-row:hover,
.event-row.selected {
  border-color: rgba(32, 24, 22, 0.42);
}

.event-hit-area {
  display: grid;
  grid-template-columns: 54px minmax(84px, 120px) minmax(0, 1fr) minmax(120px, 0.2fr);
  gap: 22px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.event-number {
  color: rgba(32, 24, 22, 0.36);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.event-photo {
  display: block;
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--event-color), transparent 8%), color-mix(in srgb, var(--event-glow), transparent 24%)),
    var(--midtown-image) center / cover;
  filter: saturate(0.9);
}

.event-main {
  min-width: 0;
}

.event-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-main strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.event-main span:last-child,
.event-time span {
  color: var(--muted);
}

.event-time {
  justify-self: end;
  text-align: right;
}

.event-time strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
}

.event-row-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-end;
  justify-content: center;
  min-width: 104px;
}

.source,
.details-button {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  padding: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 820;
}

.details-button {
  color: var(--river);
}

.neighborhoods .section-header {
  align-items: start;
}

.neighborhoods .section-header > p {
  max-width: 380px;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  border-top: 1px solid var(--line);
}

.neighborhood-card {
  min-height: 330px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(251, 244, 232, 0.16), rgba(32, 24, 22, 0.62)),
    var(--midtown-image) center / cover;
  color: var(--cream);
  padding: 22px;
  text-align: left;
  transition: 220ms ease;
}

.neighborhood-card.tone-2,
.neighborhood-card.tone-5 {
  background-image:
    linear-gradient(180deg, rgba(251, 244, 232, 0.1), rgba(32, 24, 22, 0.64)),
    var(--hero-image);
}

.neighborhood-card.tone-3,
.neighborhood-card.tone-6 {
  background-image:
    linear-gradient(180deg, rgba(251, 244, 232, 0.08), rgba(32, 24, 22, 0.6)),
    var(--market-image);
}

.neighborhood-card:hover {
  transform: translateY(-6px);
}

.neighborhood-card span {
  display: block;
  color: rgba(251, 244, 232, 0.64);
  font-family: var(--serif);
  font-size: 2.3rem;
}

.neighborhood-card strong {
  display: block;
  margin: 132px 0 10px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.neighborhood-card em {
  color: rgba(251, 244, 232, 0.72);
  font-style: normal;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 82px);
  border-top: 1px solid var(--line);
  padding-top: clamp(42px, 6vw, 84px);
}

.panel h2 {
  font-size: clamp(2rem, 3.5vw, 3.7rem);
}

.source-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.source-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
  color: var(--ink);
  font-weight: 820;
}

.source-item span {
  max-width: 260px;
  color: var(--muted);
  font-weight: 520;
  text-align: right;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.check-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.partners {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(42px, 6vw, 78px) 0;
}

.partners h2 {
  max-width: 850px;
}

.partners p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.partner-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.partners .hero-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.partners .text-link {
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-bottom: 0;
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.empty-state {
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.event-modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 13, 12, 0.72);
}

.modal-card {
  position: relative;
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  margin: 22px auto;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font-size: 1.5rem;
}

.modal-body {
  padding: clamp(28px, 5vw, 56px);
}

.modal-body h2 {
  margin-top: 12px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.modal-description {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0;
}

.detail-list div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 7px 0 0;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  border: 1px solid var(--line-strong);
  padding: 11px 13px;
  background: transparent;
  color: var(--ink);
  font-weight: 820;
}

.primary-link {
  background: var(--ink);
  color: var(--cream);
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero,
  .list-shell,
  .split-section,
  .partners {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: auto;
  }

  .photo-panel-large {
    min-height: 420px;
  }

  .featured-events {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-card.feature-1 {
    grid-row: auto;
    min-height: 520px;
  }

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

  .list-intro {
    position: static;
  }

}

@media (max-width: 720px) {
  .site-header,
  main,
  .nav,
  .hero {
    width: min(100% - 28px, var(--measure));
  }

  .site-header {
    padding-bottom: 54px;
  }

  .nav {
    align-items: flex-start;
    padding: 20px 0;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    gap: 26px;
    padding: 42px 0 10px;
  }

  h1 {
    font-size: clamp(3.45rem, 16vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .hero-text {
    font-size: 1.12rem;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .search-row button {
    justify-self: start;
    padding-bottom: 12px;
  }

  .hero-art {
    display: block;
  }

  .photo-panel-large {
    min-height: 300px;
  }

  .photo-panel-small {
    display: none;
  }

  main {
    padding-top: 72px;
  }

  .quick-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 7px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .section-header {
    display: block;
  }

  .featured-events {
    gap: 18px;
  }

  .feature-card,
  .feature-card.feature-1 {
    min-height: 390px;
  }

  .feature-content {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .feature-content strong,
  .feature-card:not(.feature-1) .feature-content strong {
    font-size: 2.45rem;
  }

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

  .event-hit-area {
    grid-template-columns: 38px 82px 1fr;
    gap: 14px;
  }

  .event-time {
    grid-column: 2 / 4;
    justify-self: start;
    text-align: left;
  }

  .event-row-actions {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 52px;
  }

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

  .neighborhood-card {
    min-height: 260px;
  }

  .neighborhood-card strong {
    margin-top: 86px;
  }

  .split-section {
    padding-top: 34px;
  }

  .source-item {
    display: block;
  }

  .source-item span {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

.detail-list {
    grid-template-columns: 1fr;
  }
}

/* ─── Sponsored / Featured event styles ─────────────────────────────────── */

.event-row--sponsored {
  background: linear-gradient(90deg, rgba(201, 150, 74, 0.07), transparent 60%);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 7px;
  border-radius: 2px;
  padding: 3px 7px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-sponsor-label {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  padding: 4px 8px;
  background: rgba(201, 150, 74, 0.92);
  color: var(--charcoal);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-sponsor-strip {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 5px;
}

.category-presented-by {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-sponsor-name {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 860;
}

/* ─── Partners page ──────────────────────────────────────────────────────── */

.partners-page {
  background:
    radial-gradient(circle at 12% -8%, rgba(199, 97, 54, 0.1), transparent 34rem),
    var(--cream);
}

.partners-hero {
  color: var(--cream);
  background:
    linear-gradient(100deg, rgba(15, 11, 10, 0.97) 0%, rgba(15, 11, 10, 0.84) 54%, rgba(15, 11, 10, 0.62) 100%),
    url("/assets/sacramento-hero-v4.jpg") center / cover;
  padding: clamp(28px, 4vw, 48px) 0 clamp(52px, 8vw, 100px);
}

.partners-hero-inner {
  width: min(var(--measure), calc(100% - 44px));
  margin: 0 auto;
  padding-top: clamp(48px, 6vw, 80px);
}

.partners-hero .eyebrow {
  color: var(--gold);
}

.partners-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
}

.partners-subhead {
  max-width: 660px;
  margin-bottom: 18px;
  color: rgba(251, 244, 232, 0.76);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.45;
}

.partners-launch-note {
  margin-bottom: 28px;
  color: rgba(251, 244, 232, 0.52);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.partners-main {
  width: min(var(--measure), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) 0 34px;
}

/* Tiers */

.partners-tiers {
  margin-bottom: clamp(72px, 9vw, 130px);
}

.partners-tiers > .eyebrow {
  margin-bottom: 14px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  border: 1px solid var(--line-strong);
  margin-top: 28px;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-strong);
  padding: clamp(24px, 3vw, 40px);
  background: var(--cream);
}

.tier-card:last-child {
  border-right: 0;
}

.tier-card--founding {
  background: var(--charcoal);
  color: var(--cream);
}

.tier-founding-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-start;
  border-radius: 2px;
}

.tier-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.tier-card--founding .tier-header {
  border-color: rgba(251, 244, 232, 0.14);
}

.tier-name {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tier-card--founding .tier-name {
  color: rgba(251, 244, 232, 0.58);
}

.tier-price {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tier-price span {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 520;
  color: var(--muted);
  letter-spacing: 0;
}

.tier-card--founding .tier-price span {
  color: rgba(251, 244, 232, 0.52);
}

.tier-founding-note {
  margin-bottom: 18px;
  color: rgba(201, 150, 74, 0.9);
  font-size: 0.8rem;
  font-weight: 780;
  line-height: 1.5;
}

.tier-features {
  flex: 1;
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.tier-features li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tier-card--founding .tier-features li {
  border-color: rgba(251, 244, 232, 0.1);
  color: rgba(251, 244, 232, 0.72);
}

.tier-features li::before {
  content: "→ ";
  color: var(--orange);
  font-weight: 880;
}

.tier-card--founding .tier-features li::before {
  color: var(--gold);
}

.tier-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-button {
  justify-content: center;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
  text-align: center;
}

.tier-button--founding {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--charcoal);
}

.tier-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
}

.tier-card--founding .tier-note {
  color: rgba(251, 244, 232, 0.44);
}

/* Mockup section */

.partners-mockups {
  margin-bottom: clamp(72px, 9vw, 130px);
}

.partners-section-desc {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 60px);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.mockup-block {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.mockup-label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.mockup-tier {
  font-size: 0.78rem;
  font-weight: 880;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.mockup-desc {
  color: var(--muted);
  font-size: 0.86rem;
}

.mockup-frame {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 4px 28px rgba(32, 24, 22, 0.08);
}

.mockup-frame--dark {
  background: var(--charcoal);
  padding: 0;
  overflow: hidden;
}

.mockup-events-grid {
  border-top: 1px solid var(--line-strong);
}

.mockup-hit-area {
  display: grid;
  grid-template-columns: 54px minmax(84px, 120px) minmax(0, 1fr) minmax(120px, 0.2fr);
  gap: 22px;
  align-items: center;
  width: 100%;
  padding: 0;
}

.mockup-source,
.mockup-btn {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 820;
}

.mockup-btn {
  color: var(--river);
}

.mockup-dimmed {
  opacity: 0.42;
}

.mockup-category-header {
  padding: 24px 0 20px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 4px;
}

.mockup-category-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.mockup-category-inner .eyebrow {
  margin: 0;
}

/* Dark founding partner mockup */

.mockup-nav-strip {
  background: rgba(15, 11, 10, 0.96);
  padding: 16px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid rgba(251, 244, 232, 0.1);
}

.mockup-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mockup-brand {
  color: rgba(251, 244, 232, 0.72);
  font-size: 0.82rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-presenting {
  color: rgba(251, 244, 232, 0.52);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.mockup-presenting strong {
  color: var(--gold);
  font-weight: 860;
}

.mockup-feature-preview {
  padding: clamp(20px, 3vw, 36px);
}

.mockup-feature-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--charcoal-soft);
}

.mockup-feature-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 32%, rgba(18, 12, 10, 0.82)),
    url("/assets/sacramento-hero-v4.jpg") center / cover;
}

.mockup-feature-card .feature-content {
  position: absolute;
  bottom: 26px;
  left: 28px;
  right: 28px;
  color: var(--cream);
}

.mockup-feature-card .feature-content strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 12px;
}

.mockup-feature-card .feature-content span:last-child {
  color: rgba(251, 244, 232, 0.72);
  font-size: 0.88rem;
}

/* Analytics promise */

.partners-analytics {
  margin-bottom: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
  padding-top: clamp(42px, 6vw, 80px);
}

.partners-analytics-inner {
  max-width: 720px;
}

.partners-analytics p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.analytics-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.analytics-list li::before {
  content: "→ ";
  color: var(--orange);
  font-weight: 880;
}

.analytics-note {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--muted);
}

/* Contact */

.partners-contact {
  margin-bottom: clamp(52px, 7vw, 96px);
  border-top: 1px solid var(--line);
  padding-top: clamp(42px, 6vw, 80px);
}

.partners-contact h2 {
  max-width: 720px;
}

.partners-contact > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.partners-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

/* Partners page responsive */

@media (max-width: 860px) {
  .tier-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tier-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .tier-card:last-child {
    border-bottom: 0;
  }

  .mockup-hit-area {
    grid-template-columns: 38px 72px 1fr;
    gap: 14px;
  }

  .mockup-hit-area .event-time {
    display: none;
  }
}

@media (max-width: 640px) {
  .mockup-category-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── SEO pages ──────────────────────────────────────────────────────────── */

.seo-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, rgba(199, 97, 54, 0.12), transparent 30rem),
    var(--cream);
}

.seo-hero,
.seo-main,
.seo-nav {
  width: min(var(--measure), calc(100% - 44px));
  margin: 0 auto;
}

.seo-hero {
  padding: clamp(28px, 5vw, 60px) 0 clamp(48px, 8vw, 104px);
}

.seo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  margin-bottom: clamp(68px, 10vw, 140px);
}

.seo-nav .brand {
  color: var(--ink);
}

.seo-nav .brand small {
  color: var(--muted);
}

.seo-nav .brand-mark {
  border-color: var(--line-strong);
  background: rgba(32, 24, 22, 0.04);
}

.seo-nav > a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 820;
}

.seo-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: var(--ink);
}

.seo-hero > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.32;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.seo-actions .hero-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.seo-actions .text-link {
  color: var(--ink);
}

.seo-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(38px, 7vw, 104px);
  align-items: start;
  padding-bottom: clamp(70px, 9vw, 130px);
}

.seo-list {
  border-top: 1px solid var(--line-strong);
}

.seo-event {
  display: grid;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px) 0;
}

.seo-event > p:first-child {
  margin: 0;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 880;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.seo-event h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.85rem);
}

.seo-event dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.seo-event dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.seo-event dd {
  margin: 6px 0 0;
  font-weight: 760;
}

.seo-event > p:not(:first-child) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.seo-event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.seo-event-links a,
.seo-related a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--river);
  font-weight: 820;
}

.seo-related {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 16px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.seo-page .site-footer {
  width: min(var(--measure), calc(100% - 44px));
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 820px) {
  .seo-nav {
    align-items: flex-start;
  }

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

  .seo-related {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }

  .seo-event dl {
    grid-template-columns: 1fr;
  }
}
