:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter Tight", system-ui, sans-serif;

  --background: oklch(0.985 0.006 90);
  --foreground: oklch(0.21 0.045 255);
  --card: oklch(1 0 0);
  --primary: oklch(0.28 0.075 258);
  --primary-foreground: oklch(0.98 0.01 90);
  --secondary: oklch(0.95 0.012 90);
  --muted: oklch(0.955 0.008 250);
  --muted-foreground: oklch(0.5 0.03 255);
  --accent: oklch(0.74 0.13 78);
  --accent-foreground: oklch(0.22 0.05 258);
  --border: oklch(0.9 0.012 250);
  --ink: oklch(0.18 0.045 258);
  --ink-foreground: oklch(0.96 0.012 90);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

p { line-height: 1.65; }

a { color: inherit; }

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.rule-accent {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}

.fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklch, var(--background) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--primary);
}
.nav { display: flex; gap: 2rem; }
.nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}
.nav a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .nav { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in oklch, var(--ink) 78%, transparent) 0%, color-mix(in oklch, var(--ink) 92%, transparent) 100%);
}
.hero-content {
  position: relative;
  color: var(--ink-foreground);
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: 40rem;
  margin: 1rem 0 1.5rem;
}
.hero-lede {
  max-width: 34rem;
  font-size: 1.125rem;
  color: color-mix(in oklch, var(--ink-foreground) 85%, transparent);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.85; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-ghost {
  border: 1px solid color-mix(in oklch, var(--ink-foreground) 40%, transparent);
  color: var(--ink-foreground);
}

/* Sections */
.section {
  padding: 6rem 0;
}
.section-muted { background: var(--muted); }
.section-ink {
  background: var(--ink);
  color: var(--ink-foreground);
}
.section-ink .eyebrow { color: var(--accent); }

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 40rem;
  line-height: 1.15;
  margin-bottom: 3rem;
}

.lede {
  max-width: 42rem;
  font-size: 1.0625rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  padding: 2rem;
}
.card h3, .card h4 { margin-bottom: 0.75rem; font-size: 1.125rem; }

.value-list {
  margin: 0;
  padding-left: 1.1rem;
}
.value-list li { margin-bottom: 0.35rem; }

/* Divisions */
.division {
  margin-bottom: 4rem;
  padding-top: 0.25rem;
}
.division-n {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}
.division h3 {
  font-size: 1.75rem;
  margin: 0.5rem 0 0.25rem;
}
.division-tag {
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 1rem;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.25rem 0 0;
}
.chip-list li {
  font-size: 0.8125rem;
  padding: 0.4rem 0.85rem;
  background: var(--secondary);
  border-radius: 999px;
  color: var(--primary);
}
.chip-list-inverse li {
  background: color-mix(in oklch, var(--ink-foreground) 12%, transparent);
  color: var(--ink-foreground);
}

.sub-grid { margin-top: 2rem; }

.market-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0;
  margin: 1.5rem 0 2rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
}
.market-list li::after {
  content: "";
}
.market-list li:not(:last-child)::after {
  content: "·";
  margin-left: 1.5rem;
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: color-mix(in oklch, var(--ink-foreground) 70%, transparent);
  padding: 3rem 0;
}
.footer-inner { text-align: center; }
.brand-footer {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--ink-foreground);
}
.footer-inner p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
}
