:root {
  --bg: #111421;
  --bg-2: #161a2b;
  --panel: #1e2335;
  --panel-light: #262b40;
  --ink: #f7f2e8;
  --muted: #b5bacb;
  --gold: #edbc6a;
  --lilac: #b9a9e8;
  --coral: #f08f91;
  --border: rgba(228,225,243,.15);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
::selection { background: var(--gold); color: var(--bg); }
.wrap { width: min(calc(100% - 48px),var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; background: var(--gold); color: var(--bg); z-index: 20; padding: 10px 16px; font-weight: 750; text-decoration: none; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--border); background: rgba(17,20,33,.96); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 850; letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.brand-mark { color: var(--gold); display: inline-grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(237,188,106,.6); border-radius: 10px; line-height: 1; font-size: 28px; font-weight: 400; }
.brand-accent { color: var(--gold); }
.brand-period { color: var(--coral); }
.main-nav { display: flex; gap: clamp(14px,3.3vw,42px); align-items: center; }
.main-nav a { text-decoration: none; color: #d0d1dc; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover { color: var(--gold); }
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 83% 42%,#29304e 0%, transparent 53%),linear-gradient(145deg,#131626 0%,#111421 70%); }
.sky { pointer-events: none; position: absolute; inset: 0; opacity: .38; background-image: radial-gradient(circle at 14% 14%,#fff 1px,transparent 1.5px),radial-gradient(circle at 39% 70%,#fff 1px,transparent 1.5px),radial-gradient(circle at 79% 31%,var(--gold) 1px,transparent 1.5px); background-size: 211px 191px,297px 271px,353px 309px; z-index: -1; }
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; padding-block: 65px 45px; }
.hero-content { position: relative; z-index: 2; }
.eyebrow,.section-kicker { margin: 0 0 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #88dfbf; box-shadow: 0 0 16px #88dfbf70; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { letter-spacing: -.055em; line-height: 1.09; }
h1 { font-size: clamp(46px,6.2vw,76px); margin-bottom: 26px; font-weight: 840; }
.gradient-text { color: var(--gold); background: linear-gradient(105deg,#f8d991 12%,#e9ad8f 59%,#d3b8ee 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { color: #d9d9e7; font-size: clamp(17px,1.55vw,20px); line-height: 1.65; max-width: 600px; margin-bottom: 15px; }
.hero-note { color: var(--muted); max-width: 570px; font-size: 15px; }
.hero-note strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 13px 19px; font-size: 14px; font-weight: 800; border-radius: 9px; text-decoration: none; transition: transform .2s ease, background .2s ease,border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #181421; background: var(--gold); }
.button-primary:hover { background: #ffd78c; }
.button-ghost { border: 1px solid #6b627b; color: var(--ink); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: var(--gold); background: rgba(255,255,255,.075); }
.hero-graphic { width: min(100%,425px); aspect-ratio: 1; position: relative; justify-self: center; filter: drop-shadow(0 28px 55px rgba(0,0,0,.2)); }
.orbit { position: absolute; border-radius: 50%; inset: 6%; border: 1px solid rgba(203,191,236,.18); transform: rotate(-26deg); }
.orbit-outer { border-style: dashed; }
.orbit-inner { inset: 19%; border-color: rgba(237,188,106,.38); transform: rotate(27deg); }
.graphic-core { position: absolute; inset: 24%; border: 1px solid rgba(237,188,106,.6); border-radius: 50%; background: radial-gradient(circle at 50% 25%,#41436a,#24273f 53%,#1a1c30); box-shadow: inset 0 0 65px #1a1c30, 0 0 0 12px rgba(237,188,106,.035), 0 0 70px rgba(174,145,222,.15); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-7deg); }
.core-top,.core-bottom { font-size: clamp(7px,.78vw,10px); letter-spacing: .22em; color: var(--muted); font-weight: 780; }
.core-monogram { font-weight: 870; font-size: clamp(45px,6vw,80px); line-height: 1.5; letter-spacing: -.12em; color: var(--ink); }
.core-monogram span { color: var(--gold); font-weight: 400; font-size: .7em; margin: 0 .14em 0 .09em; vertical-align: .07em; }
.planet { position: absolute; border-radius: 50%; }
.planet-one { width: 20px; height: 20px; left: 9%; top: 34%; background: var(--coral); box-shadow: 0 0 24px #f08f9145; }
.planet-two { width: 10px; height: 10px; right: 10%; bottom: 24%; background: var(--gold); }
.graphic-spark { position: absolute; color: var(--gold); }
.spark-a { right: 13%; top: 9%; font-size: 26px; }
.spark-b { left: 19%; bottom: 10%; font-size: 20px; color: var(--lilac); }
.spark-c { right: 7%; top: 55%; font-size: 18px; }
.hero-footer { padding: 0 0 25px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 10px; color: #949aae; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.hero-footer span { padding-top: 18px; }
.section { padding: clamp(75px,9vw,118px) 0; }
.section-kicker { margin-bottom: 21px; }
h2 { font-size: clamp(36px,4.8vw,59px); margin-bottom: 18px; }
.muted-heading { color: #8f92af; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px,7vw,115px); }
.about-section { border-top: 1px solid var(--border); }
.about-copy { padding-top: 41px; }
.about-copy p { font-size: 17px; color: #d0d1de; line-height: 1.8; }
.about-copy .note-box { display: flex; gap: 13px; border-left: 3px solid var(--gold); background: rgba(237,188,106,.06); padding: 13px 18px; color: var(--ink); font-size: 15px; }
.note-box span { color: var(--gold); font-size: 22px; line-height: 1.2; }
.projects-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-aside { color: var(--muted); font-size: 13px; text-align: right; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.project-card { padding: clamp(24px,3vw,38px); border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(140deg,#22273b,#1d2131); min-height: 260px; display: flex; flex-direction: column; }
.featured-card { background: linear-gradient(145deg,#33314b,#24263d 65%,#202439); border-color: rgba(237,188,106,.42); }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 28px; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--gold); font-size: 29px; background: rgba(237,188,106,.09); border: 1px solid rgba(237,188,106,.18); }
.card-state { font-size: 10px; letter-spacing: .13em; font-weight: 800; color: #bfc0d0; }
h3 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 10px; }
.project-card p { font-size: 15px; color: #c7cbd7; max-width: 44ch; margin-bottom: 20px; }
.project-card .card-footnote { margin-top: auto; margin-bottom: 0; font-size: 12px; color: #aeb3c7; }
.text-link { margin-top: auto; color: var(--gold); font-size: 14px; font-weight: 800; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: #ffe0a0; }
.elsewhere-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px,8vw,125px); align-items: start; }
.elsewhere-text { max-width: 48ch; font-size: 17px; color: #c9cada; }
.links-panel { background: #1d2232; border: 1px solid var(--border); border-radius: 15px; padding: 15px 22px; margin-top: 35px; }
.links-panel a { padding: 18px 5px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; border-bottom: 1px solid var(--border); color: var(--gold); font-size: 23px; }
.links-panel strong { color: var(--ink); font-size: 17px; }
.links-panel small { color: var(--muted); font-size: 13px; display: block; margin-top: 2px; font-weight: 400; }
.links-panel a:hover strong { color: var(--gold); }
.links-hint { padding: 18px 5px 6px; font-size: 13px; color: #a6aabe; }
.site-footer { border-top: 1px solid var(--border); padding: 27px 0; background: #10121e; }
.footer-inner { display: flex; justify-content: space-between; gap: 22px; align-items: center; color: #aab0c0; font-size: 12px; }
.footer-inner a { color: #d8c28d; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-brand { color: var(--ink); font-weight: 850; letter-spacing: -.06em; font-size: 17px; }
.footer-brand span { color: var(--gold); }
@media(max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 78px; padding-bottom: 20px; min-height: 0; }
  .hero-graphic { width: min(76%,390px); margin: -8px auto 18px; }
  .two-column,.elsewhere-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-copy,.links-panel { padding-top: 0; margin-top: 10px; }
}
@media(max-width: 600px) {
  .wrap { width: min(calc(100% - 34px),var(--wrap)); }
  .header-inner { min-height: 74px; align-items: start; padding: 17px 0; flex-direction: column; gap: 8px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 30px; height: 30px; font-size: 25px; }
  .main-nav { gap: 25px; }
  .hero-grid { padding-top: 56px; }
  .hero-lead { font-size: 17px; }
  .hero-graphic { width: min(92%,350px); }
  .hero-footer { flex-direction: column; gap: 0; }
  .hero-footer span + span { padding-top: 5px; }
  .project-grid { grid-template-columns: 1fr; }
  .section-topline { align-items: start; flex-direction: column; gap: 0; }
  .section-aside { text-align: left; }
  .footer-inner { flex-wrap: wrap; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Categorized projects */
.project-category + .project-category {
  margin-top: 42px;
}

.category-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--lilac);
  font-size: 20px;
  letter-spacing: -.02em;
}

.project-card h4 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

/* Let a single project fill its category's available width.
   Additional cards will share the row when space permits. */
.project-category .project-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.core-monogram img {
    height: 75px;
    width: 75px;
}

.graphic-spark a {
    text-decoration: none;
}

.links-panel img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

img.brand-mark {
    padding: 3px;
}