:root {
  --obd-night: #07090f;
  --obd-navy: #142338;
  --obd-blue: #315f86;
  --obd-sky: #dfeaf1;
  --obd-paper: #f6f2e9;
  --obd-card: #fffdf8;
  --obd-ink: #172234;
  --obd-muted: #617083;
  --obd-gold: #c9a15d;
  --obd-sand: #eee1c7;
  --obd-line: rgba(23, 34, 52, .12);
  --obd-radius: 26px;
  --obd-shadow: 0 22px 55px rgba(20, 35, 56, .1);
}

body {
  background: var(--obd-paper);
  color: var(--obd-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.site-main { position: relative; z-index: 1; }
.site-main section { position: relative; z-index: 1; }
.site-main h1,
.site-main h2,
.site-main h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 1.03;
}
.site-main h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.045em; }
.site-main p { margin: 0; }

.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--obd-blue);
  font-family: "Space Mono", monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.site-nav {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.86);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; font-weight: 750; letter-spacing: .02em; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #f4d89f;
  font-family: Georgia, serif;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .86rem; }
.nav-links a { color: inherit; opacity: .72; text-decoration: none; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-github { padding: 10px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; opacity: 1 !important; }

#hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  padding: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  text-align: left;
  background: var(--obd-night);
}
#hero .bg-video { opacity: 1; filter: none; }
#hero .hero-content { position: relative; z-index: 3; width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding-top: 70px; }
#hero .hero-copy { max-width: 790px; }
#hero .eyebrow { color: #e6c989; opacity: 1; animation: none; }
#hero h1 {
  max-width: 780px;
  margin: 0;
  color: white;
  font-size: clamp(4.2rem, 9.5vw, 8.7rem);
  letter-spacing: -.065em;
  line-height: .92;
  opacity: 1;
  animation: none;
  text-wrap: balance;
}
.hero-lede {
  max-width: 660px;
  margin-top: 28px !important;
  color: rgba(255,255,255,.74);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s;
}
.site-button:hover { transform: translateY(-2px); }
.site-button-primary { color: var(--obd-ink); background: #f2d59b; }
.site-button-secondary { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
#hero .scroll-hint { z-index: 3; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.48); animation: none; opacity: 1; }

.dawn {
  padding: 118px 0 104px;
  overflow: hidden;
  color: white;
  background: linear-gradient(180deg, #101b2a 0%, #24425e 52%, #dfe8eb 100%);
}
.dawn::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  left: 50%;
  bottom: -420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff4ce;
  box-shadow: 0 0 110px 44px rgba(255, 228, 162, .34);
}
.dawn-quote { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.dawn-quote span { display: block; margin-bottom: 18px; color: #e9ce96; font-family: "Space Mono",monospace; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.dawn-quote p { font-family: "Cormorant Garamond",Georgia,serif; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }

#projects { padding: 118px 0 132px; background: var(--obd-paper); }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.section-head > p { color: var(--obd-muted); font-size: 1.08rem; }
.project-stack { border-top: 1px solid var(--obd-line); }
.project-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 92px); align-items: center; padding: 76px 0; border-bottom: 1px solid var(--obd-line); scroll-margin-top: 24px; }
.project-story.reverse .project-visual { order: 2; }
.project-copy h3 { margin-top: 24px; font-size: clamp(2.65rem, 5vw, 4.9rem); letter-spacing: -.05em; }
.project-copy > p { max-width: 560px; margin-top: 22px; color: var(--obd-muted); font-size: 1.06rem; line-height: 1.78; }
.project-visual { position: relative; min-height: 420px; padding: 34px; overflow: hidden; border: 1px solid var(--obd-line); border-radius: var(--obd-radius); box-shadow: var(--obd-shadow); }
.visual-label { color: rgba(255,255,255,.56); font-family: "Space Mono",monospace; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.status { align-self: flex-start; display: inline-flex; padding: 8px 11px; border: 1px solid currentColor; border-radius: 999px; opacity: .72; font-family: "Space Mono",monospace; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.card-meta span { padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.65); font-size: .72rem; font-weight: 700; }

.audit-visual { color: white; background: linear-gradient(145deg, #142338, #2c607c); }
.audit-radar { position: absolute; width: 270px; height: 270px; right: -30px; top: -35px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.025); }
.audit-window { position: absolute; inset: 108px 34px 34px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(8,19,31,.72); backdrop-filter: blur(10px); }
.window-top { display: flex; gap: 7px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.window-top i { width: 8px; height: 8px; border-radius: 50%; background: #d9b66f; }
.audit-line { height: 10px; margin-top: 20px; border-radius: 99px; background: rgba(255,255,255,.12); }
.audit-line.good { width: 72%; background: rgba(123,199,177,.58); }
.audit-line.short { width: 45%; }

.workflow-visual { background: linear-gradient(145deg, #dcebe4, #f5efe1); }
.workflow-visual .visual-label { color: #526d62; }
.flow-line { position: absolute; left: 21%; right: 21%; top: 50%; height: 1px; background: rgba(42,81,67,.24); }
.flow-node { position: absolute; display: grid; place-items: center; width: 98px; height: 98px; border-radius: 24px; color: #315848; background: rgba(255,255,255,.76); box-shadow: 0 16px 35px rgba(42,81,67,.12); font-size: .72rem; font-weight: 800; text-align: center; }
.flow-node.one { left: 10%; top: 38%; }
.flow-node.two { left: 50%; top: 50%; transform: translate(-50%,-50%); color: white; background: #315f55; }
.flow-node.three { right: 10%; top: 38%; }

.mission-visual { color: white; background: linear-gradient(145deg, #111b2a, #1d3753); }
.mission-screen { position: absolute; inset: 84px 28px 28px; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: #0b1420; }
.mission-status { display: flex; justify-content: space-between; padding-bottom: 16px; color: #86d2b1; font-size: .72rem; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.09); }
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.mission-metric { min-height: 74px; padding: 12px; border-radius: 10px; color: rgba(255,255,255,.52); background: #142337; font-size: .64rem; }
.mission-metric strong { display: block; margin-top: 9px; color: white; font-size: 1.05rem; }

.knowledge-visual { background: linear-gradient(145deg, #efe5cd, #dce9ec); }
.knowledge-visual .visual-label { color: #5e6e73; }
.note-card { position: absolute; width: 170px; padding: 18px; border: 1px solid rgba(23,34,52,.1); border-radius: 15px; color: #52616b; background: rgba(255,255,255,.78); box-shadow: 0 15px 32px rgba(23,34,52,.1); font-size: .68rem; }
.note-card strong { display: block; margin-bottom: 8px; color: var(--obd-ink); font-family: "Cormorant Garamond",serif; font-size: 1.2rem; }
.note-card.a { left: 8%; top: 29%; transform: rotate(-4deg); }
.note-card.b { right: 8%; top: 24%; transform: rotate(4deg); }
.note-card.c { left: 50%; bottom: 8%; transform: translateX(-50%); }

#about { padding: 130px 0; overflow: hidden; background: var(--obd-sky); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: center; }
.orbit-art { position: relative; aspect-ratio: 1; max-width: 430px; border: 1px solid rgba(49,95,134,.22); border-radius: 50%; }
.orbit-art::before, .orbit-art::after { content: ""; position: absolute; border: 1px solid rgba(49,95,134,.22); border-radius: 50%; }
.orbit-art::before { inset: 16%; }
.orbit-art::after { inset: 34%; background: var(--obd-paper); box-shadow: 0 16px 45px rgba(49,95,134,.15); }
.orbit-dot { position: absolute; z-index: 2; width: 18px; height: 18px; top: 16%; right: 16%; border-radius: 50%; background: var(--obd-gold); box-shadow: 0 0 0 10px rgba(201,161,93,.15); }
.about-copy > p { margin-top: 30px; color: #52677b; font-size: 1.16rem; line-height: 1.85; }
.signature { margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--obd-blue); font-weight: 750; text-decoration: none; }
.mini-mark { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--obd-blue); font-family: Georgia,serif; }

#ideas { padding: 124px 0 134px; background: #fbf8f1; }
.idea-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 58px; }
.idea-card { min-height: 290px; padding: 30px; border: 1px solid var(--obd-line); border-radius: 22px; background: white; }
.idea-number { color: var(--obd-gold); font-family: Georgia,serif; font-size: 1.4rem; }
.idea-card h3 { margin-top: 65px; font-size: 2.35rem; letter-spacing: -.025em; }
.idea-card p { margin-top: 14px; color: var(--obd-muted); }
.idea-card.ghost { border-style: dashed; background: transparent; }

#dreams { padding: 144px 0; overflow: hidden; color: white; background: linear-gradient(135deg, #17253a, #294a67 72%, #4b6c7b); }
#dreams::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(rgba(255,255,255,.75) .7px, transparent .8px); background-size: 38px 38px; }
.dreams-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
#dreams .eyebrow { color: #eed79e; }
.dreams-copy p { margin-top: 30px; color: rgba(255,255,255,.72); font-size: 1.16rem; line-height: 1.85; }
.dream-list { display: grid; gap: 14px; }
.dream-item { padding: 18px 22px; display: flex; gap: 18px; align-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.dream-item i { color: #eed79e; font-style: normal; }

#donate { max-width: none; margin: 0; padding: 126px 0; color: var(--obd-ink); text-align: left; background: var(--obd-sand); }
.support-panel { padding: clamp(38px,7vw,84px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 85px; border: 1px solid rgba(93,67,31,.13); border-radius: 34px; background: rgba(255,255,255,.38); }
#donate h2 { color: var(--obd-ink); font-size: clamp(2.6rem,5vw,4.8rem); }
.support-copy > p { max-width: 650px; margin-top: 28px; color: #675c4b; font-size: 1.12rem; line-height: 1.82; }
#donate .donate-methods { max-width: none; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
#donate .donate-btn { width: 100%; min-height: 54px; padding: 0 22px; border-radius: 999px; font-family: inherit; font-size: .85rem; font-weight: 750; text-transform: none; letter-spacing: 0; }
#donate .btn-card,
#donate .btn-bank { color: var(--obd-ink); border-color: rgba(23,34,52,.18); background: rgba(255,255,255,.62); }
#donate .btn-card:hover,
#donate .btn-bank:hover { background: white; }
#donate .donate-fine { max-width: 430px; margin: 14px auto 0; color: #786d5c; font-size: .75rem; text-align: center; }

#share { padding: 86px 0; color: white; background: #101b2a; }
.share-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
#share .eyebrow { color: #e6c989; }
#share h2 { font-size: clamp(2.4rem,4.5vw,4rem); }
#share .share-sub { margin-top: 20px; color: rgba(255,255,255,.62); }
#share .share-text-box { max-width: none; margin: 0 0 18px; padding: 20px 24px; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); font-size: .96rem; font-style: normal; }
#share .share-btns { justify-content: flex-start; gap: 8px; }
#share .share-btn { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.18); border-radius: 999px; font-family: inherit; font-size: .72rem; letter-spacing: 0; text-transform: none; }
#share .share-btn:hover { color: white; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }

body > footer { position: relative; z-index: 1; padding: 36px 24px; color: #718094; background: #0b1320; font-family: Inter,ui-sans-serif,system-ui,sans-serif; font-size: .78rem; }
.footer-inner { width: min(1160px,calc(100% - 24px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; }
.footer-signature { display: inline-flex; align-items: center; gap: 9px; }
.secret-game-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #9ca8b8;
  opacity: .42;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}
.secret-game-link:hover,
.secret-game-link:focus-visible { color: #e6c989; opacity: 1; transform: translateY(-2px); }
.secret-game-link svg { display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
body > footer a,
body > footer .cookie-settings-link { color: #9ca8b8; }

@media (max-width: 820px) {
  .shell { width: min(100% - 32px,680px); }
  .nav-links a:not(.nav-github) { display: none; }
  #hero { min-height: 720px; }
  #hero .hero-content { width: min(100% - 32px,680px); }
  #hero h1 { font-size: clamp(4rem,18vw,6.6rem); }
  .section-head,
  .about-grid,
  .dreams-grid,
  .support-panel,
  .share-layout,
  .project-story { grid-template-columns: 1fr; gap: 44px; }
  .project-story.reverse .project-visual { order: 0; }
  .project-visual { min-height: 390px; }
  .orbit-art { width: 75%; margin: 0 auto; }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-card { min-height: 240px; }
  .idea-card h3 { margin-top: 40px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .site-nav { height: 76px; }
  .brand span:last-child { display: none; }
  #hero .hero-content { padding-top: 44px; }
  .hero-lede { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .site-button { width: 100%; }
  #hero .scroll-hint { display: none; }
  .dawn { padding: 94px 0 92px; }
  #projects, #ideas { padding: 92px 0; }
  .project-story { padding: 58px 0; }
  .project-visual { min-height: 350px; padding: 24px; }
  .audit-window { inset: 92px 22px 22px; }
  .mission-screen { inset: 76px 18px 18px; }
  .flow-node { width: 82px; height: 82px; }
  .note-card { width: 145px; padding: 14px; }
  #about, #dreams, #donate { padding: 94px 0; }
  .support-panel { border-radius: 24px; }
  #donate .donate-btn { font-size: .78rem; }
  #share { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-button { transition: none; }
}
