*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0b0d10; --surface: #14171c; --surface-2: #1b1f26; --text: #f4f4f5; --muted: #a1a7b0;
  --accent: #ff6b2c; --border: #262b33; --radius: 16px; --max: 1120px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* nav */
.site-nav { position: fixed; top: 0; width: 100%; z-index: 100; background: rgba(11, 13, 16, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 1.25rem; }
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { font-size: 1.4rem; letter-spacing: -0.03em; color: var(--text); }
.logo b { font-weight: 700; }
.logo span { font-weight: 200; color: var(--accent); margin-left: 0.3em; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-links .nav-cta { background: var(--accent); color: #0b0d10; padding: 0.45rem 1rem; border-radius: 999px; font-weight: 700; }
.nav-links .nav-cta:hover { color: #0b0d10; filter: brightness(1.1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.5rem 1.25rem 1rem; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; font-size: 1.05rem; }
  .nav-links .nav-cta { text-align: center; margin-top: 0.5rem; }
}

/* layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
h1 { font-size: clamp(2.6rem, 7.5vw, 5.2rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 640px; }
.accent { color: var(--accent); }
.btn { display: inline-block; background: var(--accent); color: #0b0d10; font-weight: 700; padding: 0.85rem 1.5rem; border-radius: 999px; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid #4a515c; }
.btn.ghost:hover { border-color: var(--text); filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* hero */
.hero { padding: 9rem 0 4rem; background: radial-gradient(60% 50% at 80% 0%, rgba(255, 107, 44, 0.14), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero .lead { margin-top: 1.5rem; }
.hero-photo { width: 100%; max-width: 420px; justify-self: end; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); }
@media (max-width: 860px) {
  .hero { padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 280px; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; padding: 2rem 0 0; }
.stat { border-top: 1px solid var(--border); padding-top: 1rem; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; color: var(--text); transition: border-color 0.2s, transform 0.2s; }
a.card:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .meta { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: auto; padding-top: 0.5rem; }
.card .links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: auto; padding-top: 0.5rem; font-size: 0.92rem; font-weight: 600; }
.tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.more { display: inline-block; margin-top: 2rem; font-weight: 700; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* prose-ish blocks */
.prose { max-width: 720px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.prose p { color: var(--muted); margin-bottom: 1.1rem; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* page header (inner pages) */
.page-head { padding: 9rem 0 2rem; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 4rem); }

/* post list */
.post-list { list-style: none; margin-top: 2rem; }
.post-list li { border-top: 1px solid var(--border); }
.post-list li:last-child { border-bottom: 1px solid var(--border); }
.post-list a { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding: 1.5rem 0; color: var(--text); }
.post-list a:hover { text-decoration: none; }
.post-list a:hover h3 { color: var(--accent); }
.post-list time { color: var(--muted); font-size: 0.9rem; padding-top: 0.2rem; }
.post-list p { color: #c2c7ce; font-size: 0.97rem; margin-top: 0.25rem; }
@media (max-width: 640px) { .post-list a { grid-template-columns: 1fr; gap: 0.35rem; } }

/* videos */
.video-embed { position: relative; padding-bottom: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 1.25rem; text-align: center; color: var(--muted); font-size: 0.9rem; }
.site-footer a { color: var(--muted); margin: 0 0.6rem; }
.site-footer a:hover { color: var(--text); }

/* scroll reveals: hidden state only applies when JS is running */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  a.card:hover { transform: none; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .card { padding: 1.25rem; }
}
.band .btn { margin-top: 1.5rem; }
#build { padding: 4rem 0; }

.faq details { border-top: 1px solid var(--border); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0.75rem 0 0; }
.faq + .btn { margin-top: 2rem; }
.prose a.btn { text-decoration: none; }

/* illustrations */
.art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 1.5rem; }
.art-banner { aspect-ratio: 3 / 1; }
.card-img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 0.5rem; }
#next-art, .meetup-art { max-height: 300px; aspect-ratio: 16 / 5; }
.card-img { aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 640px) { .card-img { aspect-ratio: 4 / 1; } }

/* hero photo: full-bleed on desktop with the headline over the dark left side */
.hero { position: relative; overflow: hidden; padding: 8rem 0 5rem; min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.75) 35%, rgba(11,13,16,0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(11,13,16,0) 22%); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid { grid-template-columns: minmax(0, 620px); }
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 64px 0 3rem; }
  .hero-bg { position: relative; display: block; height: 360px; object-position: 76% 0%; }
  .hero::after { inset: 64px 0 auto 0; height: 360px; background: linear-gradient(0deg, var(--bg) 0%, rgba(11,13,16,0) 35%); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 1.5rem; }
}

/* about photos */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.about-photos { display: grid; gap: 1.25rem; justify-items: start; }
.about-photos figure { margin: 0; }
.about-photos img { display: block; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.about-photos figure:first-child img { width: 240px; max-width: 100%; }
.about-photos figure:last-child img { width: 300px; max-width: 100%; }
.about-photos figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.byline { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); margin-top: 1.25rem; font-weight: 500; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-photos { grid-template-columns: 1fr 1fr; align-items: start; }
  .about-photos img { width: 100% !important; }
}

/* designer fixes: hero text column and stats scrim, phone fold, about photos */
.hero-grid { grid-template-columns: minmax(0, min(620px, 52%)); }
.hero .lead { max-width: 520px; }
.hero::after { background: linear-gradient(90deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.75) 35%, rgba(11,13,16,0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(11,13,16,0.85) 14%, rgba(11,13,16,0) 34%); }
.stat span { color: #c2c7ce; }
.about-grid { align-items: center; }
.about-photos { grid-template-columns: 1fr; }
.about-photos figure:first-child img, .about-photos figure:last-child img { width: 260px; }
.about-photos figure:first-child img { aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bg { height: 300px; }
  .hero::after { height: 300px; }
  .hero .lead { margin-top: 1rem; }
  .hero-grid { padding-top: 1rem; }
  .about-photos { grid-template-columns: 1fr 1fr; align-items: end; }
  .about-photos figure:first-child img { aspect-ratio: 900 / 1054; }
}
.page-head .byline { margin-top: 0.75rem; }
@media (min-width: 861px) and (max-width: 1180px) { .hero .lead { max-width: 440px; } }
