:root {
  color-scheme: dark;
  --ink: #f8f1e7;
  --muted: #b8c0bb;
  --soft: #d8c3a5;
  --ember: #e07b39;
  --teal: #64b6ac;
  --panel: rgba(18, 22, 23, 0.82);
  --line: rgba(248, 241, 231, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 18% 18%, rgba(224, 123, 57, 0.13), transparent 32rem), radial-gradient(circle at 86% 10%, rgba(100, 182, 172, 0.14), transparent 28rem), linear-gradient(145deg, #0d1112 0%, #15191a 48%, #0b0d0f 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
  background-image: linear-gradient(rgba(248, 241, 231, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 241, 231, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
a { color: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .75rem 1rem; background: var(--ink); color: #101314; }
.skip-link:focus { top: 1rem; }
.site-header, main, .site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, rgba(224, 123, 57, .24), rgba(100, 182, 172, .18)); color: var(--soft); font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .82rem; }
.site-nav { display: flex; align-items: center; gap: .25rem; padding: .25rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(12, 15, 16, .58); backdrop-filter: blur(18px); }
.site-nav a { padding: .58rem .82rem; border-radius: 7px; color: var(--muted); font-size: .92rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: rgba(248, 241, 231, .1); color: var(--ink); }
.hero { position: relative; min-height: clamp(620px, 78vh, 820px); display: grid; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); background: #111; }
.hero-art { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 13, .96) 0%, rgba(10, 12, 13, .78) 38%, rgba(10, 12, 13, .24) 70%), linear-gradient(0deg, rgba(10, 12, 13, .74) 0%, transparent 42%), url("../hero-multiverse.webp") center right / cover no-repeat; }
.hero-copy { position: relative; width: min(860px, 100%); padding: clamp(2rem, 7vw, 5.8rem); }
.eyebrow, .section-kicker { margin: 0 0 .9rem; color: var(--teal); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 15ch; margin-bottom: 1.15rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.3vw, 6.1rem); line-height: .96; letter-spacing: 0; overflow-wrap: break-word; }
h2 { margin-bottom: .8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: 0; }
h3 { margin-bottom: .65rem; font-size: 1.15rem; line-height: 1.2; }
.hero-lede { max-width: 60ch; color: #e7dfd4; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .82rem 1.08rem; border: 1px solid transparent; border-radius: 8px; font-weight: 800; text-decoration: none; }
.button.primary { background: var(--ember); color: #111; }
.button.secondary { border-color: rgba(248, 241, 231, .28); background: rgba(248, 241, 231, .08); }
.band { margin: 24px 0; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); backdrop-filter: blur(16px); }
.intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: end; }
.intro p:last-child, .prose p, .work-card span, .link-grid span { color: var(--muted); font-size: 1.03rem; }
.pillars, .work-grid, .link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 24px 0; }
.pillars article, .work-card, .link-grid a, .side-nav, .prose { border: 1px solid var(--line); border-radius: 10px; background: rgba(248, 241, 231, .055); }
.pillars article { min-height: 260px; padding: 1.35rem; }
.pillars span { display: block; margin-bottom: 2.4rem; color: var(--soft); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.text-link { color: var(--soft); font-weight: 800; text-decoration: none; }
.work-card, .link-grid a { display: grid; min-height: 170px; align-content: space-between; gap: .9rem; padding: 1.2rem; text-decoration: none; transition: border-color .2s ease, transform .2s ease, background-color .2s ease; }
.work-card:hover, .link-grid a:hover { transform: translateY(-3px); border-color: rgba(224, 123, 57, .62); background-color: rgba(224, 123, 57, .09); }
.work-card small, .work-card em { color: var(--soft); font-style: normal; }
.work-card strong, .link-grid strong { font-size: 1.06rem; line-height: 1.2; }
.connect { padding: clamp(2rem, 5vw, 4rem) 0 4.5rem; }
.page-hero h1 { max-width: 13ch; }
.content-page { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1rem; margin: 24px 0 4.5rem; align-items: start; }
.prose { padding: clamp(1.5rem, 4vw, 3rem); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 3rem); }
.prose a { color: var(--soft); font-weight: 800; }
.side-nav { position: sticky; top: 1rem; padding: 1rem; display: grid; gap: .5rem; }
.side-nav a { padding: .7rem .8rem; border-radius: 8px; background: rgba(248, 241, 231, .06); color: var(--muted); text-decoration: none; }
.site-footer { padding: 2rem 0 3rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer div { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--soft); text-decoration: none; }
@media (max-width: 900px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; overflow-x: auto; }
  .hero { min-height: 720px; }
  .hero-art { background: linear-gradient(180deg, rgba(10, 12, 13, .72) 0%, rgba(10, 12, 13, .98) 60%), url("../hero-multiverse.webp") center top / cover no-repeat; }
  .hero-copy { align-self: end; }
  .intro, .pillars, .work-grid, .link-grid, .content-page { grid-template-columns: 1fr; }
  .pillars article, .work-card, .link-grid a { min-height: auto; }
  .side-nav { position: static; }
}
@media (max-width: 520px) {
  .site-header, main, .site-footer { width: min(100% - 24px, 1180px); }
  .brand-mark { width: 40px; height: 40px; }
  .site-nav a { padding: .54rem .66rem; font-size: .86rem; }
  .hero { min-height: 680px; border-radius: 10px; }
  .hero-copy { padding: 1.35rem; }
  h1 { max-width: 100%; font-size: clamp(2.45rem, 11vw, 3.15rem); line-height: 1; }
  .button { width: 100%; }
}
