@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #f5f8ee;
  --muted: #a7b2a7;
  --faint: #6f7b73;
  --deep: #07120f;
  --deep-two: #0b1914;
  --panel: #11231c;
  --panel-light: #183127;
  --line: rgba(218, 237, 220, 0.14);
  --green: #19e397;
  --green-soft: #a8ffce;
  --gold: #ffc95d;
  --cream: #f6f2e9;
  --dark-cream: #c9c5b7;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: '';
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.section-pad { padding: 140px 0; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--deep);
  background: var(--green);
  border-radius: 999px;
}

.site-header { position: absolute; top: 0; right: 0; left: 0; z-index: 10; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.05em; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: #0a1712; }
.brand-mark img { width: 29px; height: 29px; object-fit: contain; }
.brand-name { font-size: 18px; }
.brand-name span { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 37px; color: var(--muted); font-size: 13px; font-weight: 700; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { padding: 10px 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; }
.site-nav .nav-cta:hover { color: var(--deep); background: var(--green); border-color: var(--green); }
.nav-cta span { margin-left: 7px; color: var(--green); }
.nav-cta:hover span { color: var(--deep); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 810px; padding-top: 175px; padding-bottom: 100px; overflow: hidden; background: radial-gradient(circle at 69% 42%, rgba(36, 126, 83, .15), transparent 34%), linear-gradient(120deg, #07120f 0%, #0a1913 100%); }
.hero::after { position: absolute; top: 0; right: 9%; width: 1px; height: 100%; content: ''; background: linear-gradient(transparent, rgba(25,227,151,.2), transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .96fr) minmax(450px, 1.04fr); align-items: center; gap: 50px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--green); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(25,227,151,.12), 0 0 16px var(--green); }
.eyebrow-number { display: inline-block; color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.07em; }
h1 { max-width: 650px; margin-bottom: 27px; font-size: clamp(58px, 7.2vw, 101px); font-weight: 700; line-height: .99; }
h1 em, h2 em { color: var(--green); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.08em; }
.hero-intro { max-width: 460px; margin-bottom: 35px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 51px; padding: 0 21px; border-radius: 4px; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--deep); background: var(--green); box-shadow: 0 12px 35px rgba(25, 227, 151, .14); }
.button-primary:hover { background: var(--green-soft); }
.button span { font-size: 18px; line-height: 1; }
.text-link, .project-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); font-size: 13px; font-weight: 800; }
.text-link::after, .project-link::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; content: ''; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.text-link, .project-link { position: relative; }
.text-link:hover::after, .project-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link span, .project-link span { color: var(--green); font-size: 17px; }
.hero-meta { display: flex; gap: 32px; margin-top: 105px; color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.hero-meta span { display: flex; flex-direction: column; gap: 7px; }
.hero-meta b { color: var(--muted); font-family: var(--sans); font-size: 11px; letter-spacing: 0; text-transform: none; }
.scroll-cue { position: absolute; right: 30px; bottom: 42px; display: flex; align-items: center; gap: 10px; color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; transform: rotate(90deg) translateX(100%); transform-origin: right; }
.scroll-cue span { display: block; width: 36px; height: 1px; background: var(--green); }

.hero-art { position: relative; min-height: 565px; }
.art-grid { position: absolute; inset: 12% 4% 8% 13%; opacity: .25; background-image: linear-gradient(rgba(130, 206, 167, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 206, 167, .16) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse, #000 10%, transparent 67%); }
.art-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(25, 227, 151, .22); border-radius: 50%; transform: translate(-50%, -50%) rotate(-28deg); }
.art-orbit-outer { width: 525px; height: 525px; border-color: rgba(255, 201, 93, .21); border-left-color: transparent; border-bottom-color: transparent; }
.art-orbit-inner { width: 400px; height: 400px; border-color: rgba(25, 227, 151, .22); border-right-color: transparent; }
.art-logo-shell { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 345px; height: 345px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 61, 46, .72), rgba(7, 18, 15, .14) 70%); transform: translate(-50%, -50%); }
.art-logo-shell::before { position: absolute; inset: 18px; content: ''; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.art-logo-shell img { width: 285px; height: 285px; object-fit: contain; filter: drop-shadow(0 0 24px rgba(25, 227, 151, .1)); }
.art-badge { position: absolute; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 10px 13px; color: var(--muted); background: rgba(14, 35, 27, .84); border: 1px solid rgba(173, 255, 207, .18); border-radius: 3px; box-shadow: 0 15px 30px rgba(0,0,0,.16); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(10px); }
.art-badge-top { top: 16%; right: 5%; }
.art-badge-bottom { right: 16%; bottom: 11%; }
.art-badge-bottom span { color: var(--gold); font-size: 14px; }
.badge-pulse { width: 6px; height: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px var(--green); }
.hero-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(60px); opacity: .08; pointer-events: none; }
.hero-glow-one { top: 23%; right: 16%; background: var(--green); }
.hero-glow-two { bottom: -10%; left: 0; background: var(--gold); }

.work { position: relative; background: var(--cream); color: var(--deep); }
.work::before { position: absolute; top: 0; right: 0; left: 0; height: 20px; content: ''; background: linear-gradient(90deg, var(--green), var(--gold), var(--green)); opacity: .85; }
.work .eyebrow, .about .eyebrow { color: var(--deep); }
.work .eyebrow-number, .about .eyebrow-number { color: #e39d24; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 67px; }
h2 { margin-bottom: 0; font-size: clamp(48px, 6vw, 78px); line-height: .97; }
.heading-row > p { max-width: 340px; margin-bottom: 6px; color: #737a6c; font-size: 15px; }
.projects-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; }
.project-card { position: relative; min-height: 625px; overflow: hidden; border-radius: 4px; }
.project-sprite { color: var(--ink); background: #10261e; }
.project-caloria { color: var(--deep); background: #dde8d9; }
.project-card-top { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 26px 28px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.project-index { opacity: .64; }
.project-arrow { font-size: 21px; }
.project-visual { position: relative; height: 270px; }
.sprite-visual { margin: 0 28px; background: radial-gradient(circle at 50% 50%, rgba(28, 207, 141, .15), transparent 54%); }
.sprite-window { position: absolute; top: 27px; left: 50%; width: 290px; height: 190px; overflow: hidden; border: 1px solid rgba(187,255,222,.24); border-radius: 4px; background: #081610; box-shadow: 20px 25px 0 rgba(3,14,10,.25); transform: translateX(-50%) rotate(-5deg); }
.sprite-window-bar { display: flex; gap: 5px; align-items: center; height: 23px; padding: 0 9px; border-bottom: 1px solid rgba(187,255,222,.16); }
.sprite-window-bar i { width: 5px; height: 5px; background: var(--green); border-radius: 50%; opacity: .7; }
.sprite-window-bar i:nth-child(2) { background: var(--gold); }
.sprite-window-bar i:nth-child(3) { background: #e9eff0; }
.sprite-canvas { position: absolute; top: 44px; right: 45px; bottom: 31px; left: 45px; background-image: linear-gradient(rgba(173, 255, 207, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(173, 255, 207, .11) 1px, transparent 1px); background-size: 16px 16px; }
.sprite-canvas::after { position: absolute; inset: 19% 25%; content: ''; background: #18e297; clip-path: polygon(50% 0, 66% 17%, 100% 17%, 81% 42%, 81% 100%, 19% 100%, 19% 42%, 0 17%, 34% 17%); filter: drop-shadow(6px 6px 0 rgba(255,201,93,.7)); }
.sprite-toolbar { position: absolute; right: 0; bottom: 0; left: 0; display: flex; gap: 9px; height: 29px; padding: 8px 12px; border-top: 1px solid rgba(187,255,222,.16); }
.sprite-toolbar span { width: 11px; height: 11px; border: 1px solid rgba(187,255,222,.5); border-radius: 2px; }
.pixel { position: absolute; width: 12px; height: 12px; background: var(--gold); box-shadow: 16px 0 var(--gold), 0 16px var(--green), 16px 16px var(--green); }
.pixel-one { top: 45px; left: 13%; transform: rotate(12deg); }
.pixel-two { right: 13%; bottom: 53px; transform: rotate(-16deg) scale(.75); }
.pixel-three { bottom: 20px; left: 23%; transform: rotate(45deg) scale(.6); }
.caloria-visual { display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 48%, rgba(255,201,93,.55), transparent 32%), radial-gradient(circle at 50% 50%, rgba(25, 227, 151, .25), transparent 63%); }
.caloria-orb { position: relative; z-index: 1; display: grid; place-items: center; width: 174px; height: 174px; border: 1px solid rgba(7,18,15,.25); border-radius: 50%; background: linear-gradient(145deg, #ffc95d, #ffae38); box-shadow: 16px 18px 0 rgba(7,18,15,.12), inset 9px 9px 24px rgba(255,255,255,.22); transform: rotate(-9deg); }
.caloria-orb::before { position: absolute; inset: 13px; content: ''; border: 1px dashed rgba(7,18,15,.3); border-radius: 50%; }
.caloria-orb span { color: var(--deep); font-size: 25px; font-weight: 800; letter-spacing: -.1em; line-height: .84; text-align: center; }
.caloria-ring { position: absolute; border: 1px solid rgba(7, 18, 15, .23); border-radius: 50%; transform: rotate(28deg); }
.ring-one { width: 275px; height: 155px; }
.ring-two { width: 350px; height: 220px; transform: rotate(-30deg); }
.nutrition-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; }
.dot-one { top: 49px; left: 20%; background: var(--green); }
.dot-two { right: 17%; bottom: 57px; width: 17px; height: 17px; background: var(--deep); }
.dot-three { right: 24%; top: 48px; background: #f2f5ec; }
.project-content { position: absolute; right: 28px; bottom: 27px; left: 28px; display: grid; grid-template-columns: 1fr 1.1fr; align-items: end; gap: 25px; }
.project-kicker { margin-bottom: 5px; opacity: .6; font-family: var(--mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.project-content h3 { margin-bottom: 0; font-size: 38px; letter-spacing: -.07em; line-height: 1; }
.project-content > p { grid-column: 2; grid-row: 1 / span 2; margin: 0 0 41px; opacity: .7; font-size: 13px; line-height: 1.65; }
.project-link { grid-column: 2; grid-row: 2; margin-top: -35px; }
.project-caloria .project-link { color: var(--deep); }
.project-caloria .project-link span { color: #16ab73; }
.project-caloria .project-link::after { background: #16ab73; }

.about { background: var(--deep-two); }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 11%; }
.about-stamp { position: relative; display: grid; place-items: center; width: 300px; height: 300px; margin: 0 auto; border: 1px solid rgba(255,201,93,.4); border-radius: 50%; color: var(--gold); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; line-height: 1.45; text-align: center; text-transform: uppercase; transform: rotate(-12deg); }
.about-stamp::before, .about-stamp::after { position: absolute; inset: 10px; content: ''; border: 1px dashed rgba(25,227,151,.34); border-radius: 50%; }
.about-stamp::after { inset: -13px; border: 1px solid rgba(25,227,151,.14); }
.about-stamp em { color: var(--green); font-family: Georgia, serif; font-size: 19px; font-style: normal; letter-spacing: -.04em; text-transform: none; }
.stamp-line { position: absolute; top: 47px; width: 46px; height: 1px; background: var(--gold); }
.stamp-star { position: absolute; right: 34px; bottom: 35px; color: var(--green); font-size: 20px; }
.about-copy { max-width: 620px; }
.about-copy h2 { margin-bottom: 28px; font-size: clamp(48px, 5vw, 68px); }
.about-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.about-copy .large-copy { color: var(--ink); font-size: 18px; line-height: 1.7; }
.about-copy .text-link { margin-top: 19px; }

.contact { padding-top: 50px; padding-bottom: 140px; background: var(--deep-two); }
.contact-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 285px; padding: 55px 75px; overflow: hidden; color: var(--deep); background: var(--green); }
.contact-panel::after { position: absolute; right: -55px; bottom: -180px; width: 500px; height: 500px; content: ''; border: 1px solid rgba(7,18,15,.2); border-radius: 50%; box-shadow: 0 0 0 32px rgba(7,18,15,.06), 0 0 0 64px rgba(7,18,15,.05); }
.contact-panel .eyebrow { color: var(--deep); }
.contact-panel h2 { position: relative; z-index: 1; font-size: clamp(42px, 5vw, 65px); }
.contact-panel h2 em { color: var(--deep); }
.contact-mark { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid rgba(7,18,15,.35); border-radius: 50%; font-size: 28px; transform: rotate(15deg); }
.button-light { position: relative; z-index: 2; min-width: 154px; color: var(--green); background: var(--deep); }
.button-light:hover { color: var(--deep); background: var(--cream); }

.site-footer { padding: 30px 0; background: #050d0a; border-top: 1px solid rgba(218, 237, 220, .1); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--faint); font-size: 11px; }
.footer-brand { color: var(--ink); }
.footer-wrap p { margin: 0; }
.footer-note { font-family: var(--mono); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal-delay { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 145px; }
  .hero-art { min-height: 480px; margin-top: 20px; }
  .hero-meta { margin-top: 75px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 570px; }
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .about-stamp { width: 250px; height: 250px; }
  .contact-panel { padding: 45px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 36px, 1160px); }
  .section-pad { padding: 90px 0; }
  .nav-wrap { height: 78px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px 0 8px 8px; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 23px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .site-nav { position: absolute; top: 68px; right: 18px; left: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: rgba(11, 25, 20, .97); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px; }
  .site-nav .nav-cta { margin-top: 4px; text-align: center; }
  .hero { padding-top: 125px; }
  h1 { font-size: clamp(52px, 15vw, 76px); }
  .hero-intro { font-size: 15px; }
  .hero-meta { flex-wrap: wrap; gap: 17px 28px; margin-top: 60px; }
  .hero-art { min-height: 380px; margin-right: -10px; margin-left: -10px; }
  .art-orbit-outer { width: 350px; height: 350px; }
  .art-orbit-inner { width: 275px; height: 275px; }
  .art-logo-shell { width: 240px; height: 240px; }
  .art-logo-shell img { width: 198px; height: 198px; }
  .art-badge { font-size: 8px; }
  .art-badge-top { top: 10%; right: 3%; }
  .art-badge-bottom { right: 4%; bottom: 4%; }
  .scroll-cue { display: none; }
  .heading-row { display: block; margin-bottom: 42px; }
  .heading-row > p { margin-top: 25px; }
  .project-card { min-height: 605px; }
  .project-content { display: block; }
  .project-content > p { margin: 18px 0 25px; }
  .project-link { margin-top: 0; }
  .project-visual { height: 280px; }
  .sprite-window { width: 270px; }
  .contact { padding-top: 20px; padding-bottom: 90px; }
  .contact-panel { display: block; padding: 35px 28px 40px; }
  .contact-mark { margin-bottom: 30px; }
  .contact-panel .button { margin-top: 34px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

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