:root {
  --bg: #0f0f10;
  --panel: #18181a;
  --line: #2a2a2d;
  --text: #ecebe8;
  --muted: #a3a19c;
  --gold: #f2c84c;
  --gold-dark: #c9a233;
  --head: "Montserrat", system-ui, sans-serif;
  --read: "Source Serif 4", Georgia, serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--head); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(15,15,16,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text); font-size: 15px; white-space: nowrap; }
.brand span { color: var(--gold); }
nav.main { display: flex; gap: 22px; }
nav.main a { color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
nav.main a:hover, nav.main a.on { color: var(--gold); text-decoration: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); font: 600 13px var(--head); padding: 8px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }

/* buttons */
.btn { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 22px; border-radius: 6px; border: 2px solid var(--gold); }
.btn.solid { background: var(--gold); color: #111; }
.btn.solid:hover { background: var(--gold-dark); border-color: var(--gold-dark); text-decoration: none; }
.btn.ghost { color: var(--gold); }
.btn.ghost:hover { background: rgba(242,200,76,.1); text-decoration: none; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 0; }
.eyebrow { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.02; font-weight: 800; margin: 0 0 20px; text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 30px; font-family: var(--read); }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 56px; }
.hero .photo { align-self: end; }
.hero .photo img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); }

/* sections */
section.block { padding: 72px 0; border-bottom: 1px solid var(--line); }
h2.sec { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; text-transform: uppercase; margin: 0 0 10px; }
p.sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; font-family: var(--read); font-size: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; font-family: var(--read); }
.card .num { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .14em; margin-bottom: 10px; display: block; }
a.card { color: inherit; display: block; transition: border-color .15s; }
a.card:hover { border-color: var(--gold); text-decoration: none; }
a.card .more { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-top: 14px; display: block; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 10px; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 28px 0 0; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.app { background: linear-gradient(135deg, #1b1710, #0f0f10 60%); }
.app .box { border: 1px solid #3a3220; border-radius: 12px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.app h2 { margin: 0 0 8px; }

/* prose pages */
.page-head { padding: 64px 0 28px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; text-transform: uppercase; margin: 0 0 12px; line-height: 1.08; }
.prose { max-width: 700px; font-family: var(--read); font-size: 19px; line-height: 1.75; padding-bottom: 72px; }
.prose h2 { font-family: var(--head); font-size: 22px; font-weight: 800; text-transform: uppercase; margin: 44px 0 10px; letter-spacing: .01em; line-height: 1.3; }
.prose p { margin: 0 0 1.15em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose hr { border: 0; text-align: center; margin: 36px 0; }
.prose hr::after { content: "◆  ◆  ◆"; color: var(--gold); font-size: 12px; letter-spacing: .3em; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.5em 0; padding: .2em 0 .2em 1em; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.back { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 48px; font-family: var(--head); font-size: 15px; }
.post-nav a { max-width: 48%; }
.about-photo { float: right; width: 280px; margin: 6px 0 20px 32px; border-radius: 10px; }

/* footer */
footer.site { padding: 44px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 36px; gap: 8px; }
  .hero .ctas { padding-bottom: 8px; }
  .hero .photo img { max-height: 460px; }
  .grid3 { grid-template-columns: 1fr; }
  .split img { width: 100%; max-height: 420px; object-fit: cover; object-position: center 15%; }
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 0; font-size: 15px; }
  .about-photo { float: none; width: 100%; max-width: 360px; margin: 0 0 24px; }
  .app .box { padding: 28px 22px; }
  section.block { padding: 52px 0; }
  .prose { font-size: 18px; }
}
