:root {
  --ink: #f8fbff;
  --muted: #b5c0cf;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #7df5ff;
  --mint: #51f0bd;
  --sun: #ffc56f;
  --paper: #05070c;
  --radius: 32px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, var(--project-glow, rgba(125, 245, 255, 0.26)), transparent 32rem),
    radial-gradient(circle at 92% 78%, rgba(81, 240, 189, 0.16), transparent 30rem),
    linear-gradient(160deg, #05070c 0%, #081421 50%, #05070c 100%);
  font-family: "Space Grotesk", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: repeating-radial-gradient(circle at 0 0, rgba(255,255,255,0.08) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.topbar { padding: 1rem 0; }
.back-link { color: #d8e6f5; font-weight: 800; text-decoration: none; }
.back-link:hover { color: var(--cyan); }
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.76fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; min-height: min(740px, calc(100vh - 72px)); padding: 3.5rem 0 5rem; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Sora", sans-serif; letter-spacing: -0.055em; }
h1 { max-width: 11ch; margin: 0; font-size: clamp(3.8rem, 8.2vw, 7.4rem); line-height: 0.88; }
.lede { max-width: 53ch; margin: 1.4rem 0 0; color: #d7e1ee; font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0.8rem 1rem; border: 1px solid transparent; border-radius: 999px; color: #02050b; background: linear-gradient(135deg, #fff, var(--cyan) 55%, #bcb5ff); font-weight: 900; text-decoration: none; transition: transform .2s ease; }
.button:hover { transform: translateY(-3px); }
.button.secondary { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.07); }
.status { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; color: var(--muted); font-size: .92rem; }
.status::before { content: ""; width: .58rem; height: .58rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px rgba(81,240,189,.7); }
.project-visual { position: relative; display: grid; place-items: center; min-height: 440px; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)); box-shadow: 0 35px 90px rgba(0,0,0,.4); }
.project-visual::before { content: ""; position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--project-glow, rgba(125,245,255,.32)), transparent 66%); filter: blur(18px); }
.project-icon, .didakt-shot, .ledger { position: relative; z-index: 1; box-shadow: 0 28px 70px rgba(0,0,0,.42); }
.project-icon { position: absolute; top: 2rem; right: 2rem; width: 74px; height: 74px; border-radius: 22px; object-fit: cover; }
.didakt-shot { width: min(100%, 510px); border-radius: 22px; }
.ledger { width: min(100%, 430px); padding: 1.1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(7,18,28,.8); backdrop-filter: blur(20px); }
.ledger-head { display: flex; justify-content: space-between; margin-bottom: 1rem; color: #f6fbff; font-weight: 900; }
.ledger-head span { color: var(--mint); }
.ledger-row { display: grid; grid-template-columns: 1.2fr .7fr .5fr; gap: .6rem; padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.1); color: #c9d5e3; font-size: .88rem; }
.ledger-row b { color: #f8fbff; text-align: right; }
.section { padding: 2rem 0 5rem; }
.section-head { max-width: 680px; }
.section-head h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: .96; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.feature { min-height: 230px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.07); }
.feature span { color: var(--cyan); font-weight: 950; letter-spacing: .12em; }
.feature h3 { margin: 2.7rem 0 .5rem; font-size: 1.32rem; }
.feature p { margin: 0; color: #c7d3e2; line-height: 1.55; }
.contact { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
.contact h2 { max-width: 16ch; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .98; }
.contact p { color: var(--muted); }
.footer { padding: 2rem 0; color: #8090a5; font-size: .9rem; }

@media (max-width: 800px) {
  .hero, .feature-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2rem; }
  .project-visual { min-height: 350px; }
  .contact { align-items: flex-start; flex-direction: column; }
}
