:root {
  color-scheme: dark;
  --ink: #090a0b;
  --paper: #e9e9e4;
  --muted: #929599;
  --line: #303234;
  --acid: #c8fa58;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 500 16px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--acid); color: var(--ink); }

.wrap { width: min(1600px, 100%); margin-inline: auto; padding-inline: clamp(22px, 4.2vw, 76px); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--acid); color: var(--ink); transform: translateY(-180%); transition: transform 160ms var(--ease-out); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.head { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 25px; font-weight: 800; letter-spacing: -0.085em; line-height: 1; }
.wordmark span, .hero h1 .dot, .footer-title span { color: var(--acid); }
.head-right { display: flex; align-items: center; gap: clamp(20px, 3vw, 52px); }
nav { display: flex; gap: 32px; }
nav a, .tiny, .eyebrow { font: 500 12px/1.4 "Courier New", monospace; text-transform: uppercase; letter-spacing: 0.12em; }
nav a, .wordmark, .foot-link, .footer-meta a { transition: color 160ms ease-out; }
nav a:hover, nav a:focus-visible, .wordmark:hover, .wordmark:focus-visible, .foot-link:hover, .foot-link:focus-visible, .footer-meta a:hover { color: var(--acid); }
.lang { border: 1px solid #555; border-radius: 100px; padding: 9px 13px; color: #bfc0bd; }

.hero { min-height: 670px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; padding-top: 50px; padding-bottom: 38px; }
.hero-top { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.hero-top .tiny:last-child { text-align: right; }
.hero h1 { max-width: 100%; margin: 90px 0 35px; position: relative; z-index: 1; font-size: clamp(74px, 15.7vw, 270px); font-weight: 800; letter-spacing: -0.105em; line-height: 0.76; overflow-wrap: anywhere; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; border-top: 1px solid var(--line); padding-top: 30px; }
.statement { max-width: 760px; margin: 0; font-size: clamp(26px, 3.1vw, 49px); line-height: 1.18; letter-spacing: -0.055em; font-weight: 600; }
.statement em { color: var(--acid); font-style: normal; }
.hero-note { justify-self: end; max-width: 330px; margin: 0; color: #afb1b0; font-size: 15px; line-height: 1.65; }
.orb { position: absolute; width: 24vw; height: 24vw; max-width: 320px; max-height: 320px; min-width: 160px; min-height: 160px; right: 4%; top: 20%; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #d7ff71 0%, #9ac846 21%, #213327 53%, #090a0b 72%); filter: blur(0.5px); opacity: 0.72; box-shadow: 0 0 100px #baff4d20; transform: rotate(-25deg); pointer-events: none; }
.orb::after { content: ""; position: absolute; inset: 10%; border: 1px solid #c9fa6480; border-radius: 50%; transform: scaleX(1.5) rotate(-35deg); }

.work { padding-top: 110px; padding-bottom: 130px; background: #e8e9e4; color: #111313; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 55px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(49px, 7.5vw, 110px); line-height: 0.95; letter-spacing: -0.085em; font-weight: 700; }
.section-head p { max-width: 360px; margin: 36px 0 0; color: #515758; line-height: 1.6; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 46px); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px #0002; }
.card:focus-visible, nav a:focus-visible, .wordmark:focus-visible, .foot-link:focus-visible, .footer-meta a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.card:active { transform: translateY(-2px) scale(0.99); }
.card-top, .card-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.card-top { font: 500 12px "Courier New", monospace; letter-spacing: 0.11em; text-transform: uppercase; }
.arrow { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 24px/1 Arial, sans-serif; transition: transform 180ms var(--ease-out); }
.card:hover .arrow, .card:focus-visible .arrow { transform: rotate(45deg); }
.project-name { margin: 0 0 20px; font-size: clamp(54px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.085em; font-weight: 800; }
.card-bottom p { max-width: 350px; margin: 0; font-size: 16px; line-height: 1.55; }
.card-bottom { align-items: flex-end; }
.card-number { font: 500 12px "Courier New", monospace; white-space: nowrap; }
.itsdone { background: #1328db; color: #f5f5f1; }
.itsdone::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: 38%; top: 6%; border: 1px solid #a6b0ff80; border-radius: 50%; box-shadow: 0 0 0 56px #ffffff0a, 0 0 0 112px #ffffff08; }
.itsdone .project-name { letter-spacing: -0.105em; }
.perpost { background: #c7fa58; color: #142313; }
.perpost::before { content: "P"; position: absolute; right: 8%; top: 17%; color: #14231312; font: 800 500px/0.8 Arial, sans-serif; letter-spacing: -0.14em; transform: rotate(-18deg); }
.luiza { background: #d6ceef; color: #27213e; }
.luiza::before { content: ""; position: absolute; width: 65%; aspect-ratio: 1; left: 48%; top: -5%; border: 75px solid #6b55b31d; border-radius: 50%; }
.erena { background: #182224; color: #f5f5ed; }
.erena::before { content: ""; position: absolute; inset: 15% -10% auto 37%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0 22px, #bfd2b829 23px 24px); }

.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12vw; padding-top: 130px; padding-bottom: 130px; }
.about h2 { margin: 25px 0; font-size: clamp(47px, 6vw, 88px); line-height: 1.03; letter-spacing: -0.075em; }
.about-copy { margin: 0; font-size: clamp(23px, 2.8vw, 39px); line-height: 1.3; letter-spacing: -0.045em; font-weight: 600; }
.about-copy strong { color: var(--acid); font-weight: 600; }
.about-small { max-width: 550px; margin: 38px 0 0; color: #a8adad; font-size: 16px; line-height: 1.75; }
.rule { margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }

.site-footer { padding: 55px 0 30px; border-top: 1px solid var(--line); background: #101213; }
.footer-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.footer-title { margin: 0; font-size: clamp(50px, 9vw, 140px); line-height: 0.9; letter-spacing: -0.09em; font-weight: 800; }
.foot-link { padding-bottom: 7px; border-bottom: 1px solid currentColor; font: 500 13px "Courier New", monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 85px; padding-top: 28px; border-top: 1px solid var(--line); color: #959a9b; font: 400 12px/1.7 "Courier New", monospace; }
.footer-meta p { margin: 0; }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }

.legal-page { min-height: 100vh; }
.legal-main { padding-top: clamp(70px, 10vw, 150px); padding-bottom: 120px; }
.legal-main h1 { max-width: 900px; margin: 18px 0 50px; font-size: clamp(58px, 10vw, 150px); line-height: 0.9; letter-spacing: -0.09em; }
.legal-content { max-width: 760px; color: #c7c9c4; }
.legal-content h2 { margin: 48px 0 12px; color: var(--paper); font-size: 24px; letter-spacing: -0.03em; }
.legal-content p { margin: 0 0 18px; }
.legal-content a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
.todo { padding: 16px 18px; border-left: 2px solid var(--acid); color: var(--paper); background: #151819; }

@media (max-width: 760px) {
  .head { height: 68px; }
  .wordmark { font-size: 22px; }
  .head-right { gap: 14px; }
  nav { gap: 16px; }
  nav a { font-size: 11px; }
  .lang { display: none; }
  .hero { min-height: 640px; padding-top: 28px; }
  .hero-top .tiny:last-child { display: none; }
  .hero h1 { margin: 110px 0 90px; font-size: clamp(70px, 17vw, 140px); }
  .orb { top: 16%; right: -10%; width: 65vw; height: 65vw; opacity: 0.55; }
  .hero-bottom { grid-template-columns: 1fr; gap: 18px; }
  .hero-note { justify-self: start; }
  .work { padding-top: 75px; padding-bottom: 75px; }
  .section-head { display: block; }
  .section-head p { margin: 24px 0 0; }
  .projects { grid-template-columns: 1fr; }
  .card { min-height: 460px; }
  .project-name { font-size: clamp(63px, 15vw, 100px); }
  .about { grid-template-columns: 1fr; gap: 35px; padding-top: 85px; padding-bottom: 80px; }
  .about h2 { margin-bottom: 0; }
  .about-small { margin-top: 24px; }
  .footer-main { display: block; }
  .foot-link { display: inline-block; margin-top: 38px; }
  .footer-meta { margin-top: 65px; }
}

@media (max-width: 390px) {
  .wrap { padding-inline: 18px; }
  nav { gap: 11px; }
  nav a { font-size: 10px; letter-spacing: 0.08em; }
  .card { min-height: 440px; }
  .card-bottom { display: block; }
  .card-number { display: block; margin-top: 20px; }
  .hero h1 { margin-top: 90px; font-size: 17vw; }
  .hero-note { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
