:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: #11151a;
  --panel-2: #171d23;
  --text: #f1f3f2;
  --muted: #929a9d;
  --line: #262d32;
  --accent: #c5f277;
  --font: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.site-shell { max-width: 1440px; padding: 0 7.1%; margin: 0 auto; }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -1.2px; }
.wordmark span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 34px; font-size: 12px; color: #c3c9c8; }
nav a { transition: color .2s ease; }
nav a:hover, .text-link:hover { color: var(--accent); }
.nav-contact { border: 1px solid #41494d; padding: 11px 15px; border-radius: 3px; color: var(--text); }
.nav-contact span { color: var(--accent); margin-left: 8px; }
.hero { padding: 115px 0 56px; }
.eyebrow, .project-meta, .visual-index, .hero-rule, footer > span, .back-top { font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin: 0 9px 1px 0; box-shadow: 0 0 12px #c5f27770; }
h1 { font-size: clamp(58px, 8.5vw, 116px); line-height: .99; letter-spacing: -.085em; font-weight: 600; margin: 32px 0 34px; }
h1 span, .about-content h2 span, .contact-strip h2 span { color: #747e82; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.intro { max-width: 420px; color: #aab1b1; font-size: 15px; line-height: 1.8; margin: 0; }
.text-link { font-size: 12px; padding-bottom: 7px; border-bottom: 1px solid #596267; white-space: nowrap; transition: color .2s; }
.text-link span { color: var(--accent); margin-left: 12px; }
.hero-rule { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 82px; padding-top: 14px; }
.projects-section { padding: 105px 0 112px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 40px; }
h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1; letter-spacing: -.07em; font-weight: 600; margin: 17px 0 0; }
.muted { color: var(--accent); }
.section-note { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0 0 4px; }
.project-grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 20px; }
.project-card { min-width: 0; }
.project-visual { position: relative; display: block; aspect-ratio: 1.12 / 1; overflow: hidden; background: var(--panel); transition: transform .3s ease, border-color .3s; border: 1px solid #222a30; }
.project-visual:hover { transform: translateY(-5px); border-color: #59666b; }
.visual-01 { background: radial-gradient(ellipse at 50% 55%, #33483d 0%, #1a2925 34%, #10191a 72%); }
.visual-02 { background: linear-gradient(145deg, #29343e, #12191f 65%); }
.visual-03 { background: radial-gradient(ellipse at 50% 50%, #373b55, #171a29 67%); }
.visual-index { position: absolute; top: 18px; left: 18px; color: #c0c8c5; font-size: 8px; }
.visual-caption { position: absolute; left: 22px; bottom: 20px; font-size: clamp(26px, 3vw, 42px); line-height: .88; font-weight: 700; letter-spacing: -.08em; color: #f2f4ef; }
.visual-arrow { position: absolute; right: 18px; bottom: 18px; font-size: 20px; color: var(--accent); }
.visual-shape { position: absolute; display: block; }
.shape-orbit { width: 46%; aspect-ratio: 1; border: 1px solid #b7e8b1a0; border-radius: 50%; left: 31%; top: 23%; box-shadow: 0 0 55px #a3d9a020, inset 0 0 35px #a3d9a015; }
.shape-orbit:before, .shape-orbit:after { content: ""; position: absolute; inset: 17%; border: 1px solid #b7e8b160; border-radius: 50%; transform: rotate(55deg) scaleX(.45); }
.shape-orbit:after { transform: rotate(-55deg) scaleX(.45); }
.shape-stack { width: 45%; height: 45%; top: 24%; left: 30%; transform: rotate(-28deg); background: repeating-linear-gradient(0deg, #91a6ae 0 1px, transparent 1px 13px), repeating-linear-gradient(90deg, #91a6ae 0 1px, transparent 1px 13px); opacity: .7; mask-image: linear-gradient(135deg, transparent, #000 35%, #000 70%, transparent); }
.shape-grid { width: 54%; height: 54%; top: 20%; left: 23%; background: linear-gradient(90deg, transparent 49.5%, #a9b2e0 50%, transparent 50.5%), linear-gradient(transparent 49.5%, #a9b2e0 50%, transparent 50.5%); background-size: 22px 22px; transform: rotate(28deg); opacity: .55; }
.project-meta { display: flex; justify-content: space-between; font-size: 8px; margin-top: 17px; }
.project-meta span:first-child { color: var(--accent); }
.project-card h3 { font-size: 19px; letter-spacing: -.7px; margin: 10px 0 6px; }
.project-card p { color: var(--muted); font-size: 11px; line-height: 1.8; max-width: 300px; margin: 0; }
.edit-hint { margin: 35px 0 0; color: #778084; font-size: 10px; }
.edit-hint span { color: var(--accent); margin-right: 7px; }
.about-section { border-top: 1px solid var(--line); padding: 95px 0 110px; }
.about-content { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; }
.about-content h2 { font-size: clamp(43px, 5.5vw, 72px); line-height: 1.08; margin-top: 35px; }
.about-copy { padding-bottom: 5px; }
.about-copy p { color: #aab1b1; font-size: 13px; line-height: 1.9; margin: 0 0 25px; }
.contact-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 75px 0; display: flex; justify-content: space-between; align-items: end; }
.contact-strip h2 { font-size: clamp(45px, 6vw, 78px); line-height: .99; margin-top: 22px; }
.contact-button { background: var(--accent); color: #11170c; font-size: 12px; font-weight: 700; padding: 17px 21px; border-radius: 2px; transition: transform .2s, background .2s; }
.contact-button:hover { transform: translateY(-3px); background: #d4ff8d; }
.contact-button span { margin-left: 25px; }
footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; }
footer .wordmark { font-size: 18px; }
footer > span, .back-top { font-size: 8px; }
.back-top { color: #b8c0bf; }
@media (max-width: 760px) {
  .site-shell { padding: 0 6%; }
  .topbar { height: 72px; }
  nav { gap: 16px; font-size: 10px; }
  nav a:nth-child(2) { display: none; }
  .nav-contact { padding: 9px 10px; }
  .hero { padding: 90px 0 45px; }
  h1 { font-size: clamp(55px, 13vw, 88px); }
  .hero-bottom { align-items: start; flex-direction: column; }
  .intro { font-size: 13px; }
  .hero-rule { margin-top: 60px; }
  .projects-section { padding: 78px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .project-card:first-child { grid-column: span 2; }
  .project-card:first-child .project-visual { aspect-ratio: 1.6 / 1; }
  .visual-caption { font-size: 29px; }
  .about-section { padding: 75px 0; }
  .about-content { grid-template-columns: 1fr; gap: 28px; }
  .about-content h2 { margin-top: 28px; }
  .about-copy { max-width: 470px; }
  .contact-strip { align-items: start; flex-direction: column; gap: 32px; padding: 65px 0; }
  footer { min-height: 85px; }
}
@media (max-width: 420px) {
  nav { gap: 11px; }
  .wordmark { font-size: 19px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: auto; }
  .project-card:first-child .project-visual, .project-visual { aspect-ratio: 1.2 / 1; }
  footer > span { display: none; }
}
