:root {
  --green: #39FF14;
  --dark-green: #1F7015;
  --blue: #66E5FF;
  --off-white: #F7FEFF;
  --off-black: #0E1115;
  --dark-grey: #394454;
  --light-grey: #B5BBC3;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);
  color: var(--off-black);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

* {
  cursor: none;
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
}

p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 600ms ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo svg {
  border-radius: 20px;
  display: block;
}

#preloader-count {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  color: var(--off-black);
  letter-spacing: -0.5px;
}

/* Custom cursor */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--off-black);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 200ms ease, height 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

/* Light mode cursor (default — on light backgrounds) */
#cursor {
  border-color: var(--off-black);
  color: var(--off-black);
}

/* Dark mode cursor — added by JS when over dark sections */
#cursor.cursor-dark {
  border-color: var(--off-white);
  color: var(--off-white);
}

.cursor-label {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  color: inherit;
  transition: opacity 200ms ease;
}

/* Hover state — over links and buttons */
body.cursor-hover #cursor {
  width: 64px;
  height: 64px;
  background: rgba(57, 255, 20, 0.15);
  border-color: var(--green);
  color: var(--off-black);
}

/* View state — over project items */
body.cursor-view #cursor {
  width: 80px;
  height: 80px;
  background: rgba(57, 255, 20, 0.15);
  border-color: var(--green);
  color: var(--off-white);
}

body.cursor-view .cursor-label {
  opacity: 1;
}

/* ── BUTTON SYSTEM ───────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 28px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  outline: none;
  cursor: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, opacity 200ms ease, transform 100ms ease;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

/* PRIMARY — green fill, black text */
.btn-green {
  background: var(--green);
  color: var(--off-black);
  border-color: var(--green);
}

.btn-green:hover {
  background: #2ee610;
  border-color: #2ee610;
}

.btn-green:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.btn-green:active {
  transform: scale(0.97);
}

.btn-green:disabled,
.btn-green[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* GHOST DARK — black outline, black text (use on light backgrounds) */
.btn-outline {
  background: transparent;
  color: var(--off-black);
  border-color: var(--off-black);
}

.btn-outline:hover {
  background: var(--off-black);
  color: var(--off-white);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--off-black);
  outline-offset: 4px;
}

.btn-outline:active {
  transform: scale(0.97);
}

.btn-outline:disabled,
.btn-outline[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* GHOST LIGHT — white outline, white text (use on dark backgrounds) */
.btn-outline-light {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(247, 254, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(247, 254, 255, 0.08);
  border-color: var(--off-white);
}

.btn-outline-light:focus-visible {
  outline: 2px solid var(--off-white);
  outline-offset: 4px;
}

.btn-outline-light:active {
  transform: scale(0.97);
}

.btn-outline-light:disabled,
.btn-outline-light[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* SIZE VARIANTS */
.btn-large {
  padding: 16px 40px;
  font-size: 17px;
}

.btn-small {
  padding: 8px 18px;
  font-size: 13px;
}

/* Section label */
.section-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light-grey);
}

/* Nav */
#nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: transparent;
  transition: background 400ms ease, backdrop-filter 400ms ease;
}

#nav.scrolled {
  background: rgba(247, 254, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-logo img {
  height: 32px;
  object-fit: contain;
}

.nav-logo-fallback {
  display: none;
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--off-black);
  text-decoration: none;
  letter-spacing: 0.5px;
  opacity: 0.7;
  transition: opacity 200ms ease, color 200ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.active {
  color: var(--off-black);
  opacity: 1;
  font-weight: 700;
}

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-black);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--off-black);
}

#mobile-menu:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

#mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

#mobile-menu a {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 8vw, 56px);
  color: var(--off-white);
  text-decoration: none;
  transition: color 200ms ease;
}

#mobile-menu a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* Hero */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247, 254, 255, 0.55);
  z-index: 1;
  pointer-events: none;
}

/* HERO FLOATING BLOCKS */
.hero-mosaic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.mosaic-block {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  will-change: transform;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  opacity: 0.9;
}

.mosaic-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-block--colour {
  opacity: 1;
}

#grain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.04;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-headline {
  font-size: clamp(56px, 9vw, 120px);
  line-height: 1;
  margin-bottom: 24px;
  color: var(--off-black);
}

.hero-line {
  display: block;
}

.green {
  color: var(--green);
}

.hero-subline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--dark-grey);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-track {
  width: 2px;
  height: 60px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.scroll-dot {
  width: 2px;
  height: 20px;
  background: var(--green);
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-dot {
    animation: scrollBounce 1.5s ease-in-out infinite;
  }
}

@keyframes scrollBounce {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(300%);
  }
}

/* WORK SECTION */
#work {
  position: relative;
  width: 100%;
}

.work-label {
  position: fixed;
  top: 88px;
  left: 48px;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.work-label.visible {
  opacity: 1;
}

.accordion {
  position: relative;
  width: 100%;
  height: calc(var(--item-count, 5) * 100vh);
}

.accordion-item {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  will-change: transform;
  background: var(--off-white);
}

.accordion-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 800ms cubic-bezier(0.76, 0, 0.24, 1);
}

.accordion-item.active .accordion-bg {
  transform: scale(1);
}

.accordion-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.accordion-row {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 40px;
  background: none;
  text-decoration: none;
}

.accordion-item__link {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: none;
}

.acc-num {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  min-width: 28px;
  transition: color 300ms ease;
}

.accordion-item.active .acc-num {
  color: var(--green);
}

.acc-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  color: rgba(255,255,255,0.3);
  transition: color 400ms ease;
  flex: 1;
  line-height: 1;
}

.accordion-item.active .acc-title {
  color: var(--off-white);
}

.acc-tags {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: right;
  transition: color 300ms ease;
}

.accordion-item.active .acc-tags {
  color: rgba(255,255,255,0.8);
}

.work-progress {
  position: fixed;
  bottom: 32px;
  right: 48px;
  z-index: 20;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--light-grey);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.work-progress.visible {
  opacity: 1;
}

.progress-current {
  color: var(--green);
  font-weight: 700;
}

/* SCROLL FADE-IN UTILITY */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
  }

  .fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ABOUT SECTION */
#about {
  background: var(--off-black);
  padding: 160px 48px;
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

/* LEFT COLUMN */
.about-intro-block {
  margin-bottom: 80px;
}

.about-section-label {
  color: rgba(247, 254, 255, 0.4);
  display: block;
  margin-bottom: 24px;
}

.about-headline {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--off-white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.about-intro {
  font-size: 17px;
  color: rgba(247, 254, 255, 0.5);
  max-width: 480px;
  line-height: 1.7;
}

/* SKILL BLOCKS */
.about-skill {
  padding: 64px 0;
  border-top: 1px solid rgba(247, 254, 255, 0.08);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.about-skill.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about-skill__num {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 12px;
  color: var(--green);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 16px;
}

.about-skill__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
  margin-bottom: 24px;
  display: block;
  position: relative;
  background: linear-gradient(
    to top,
    var(--green) 50%,
    rgba(247, 254, 255, 1) 50%
  );
  background-size: 100% 200%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0ms linear;
}

.about-skill__desc {
  font-size: 16px;
  color: rgba(247, 254, 255, 0.5);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 24px;
}

.about-skill__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-skill__tags span {
  font-size: 11px;
  font-family: 'Roboto', sans-serif;
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: 999px;
  padding: 4px 14px;
  letter-spacing: 0.3px;
}

/* RIGHT COLUMN — sticky photo */
.about-right {
  position: sticky;
  top: 120px;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(247, 254, 255, 0.08);
  transform-style: preserve-3d;
  will-change: transform;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 100ms ease;
  border-radius: 24px;
}

/* MOBILE */
@media (max-width: 768px) {
  #about {
    padding: 80px 24px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-right {
    position: relative;
    top: auto;
    order: -1;
  }

  .about-photo-wrap {
    height: 320px;
  }

  .about-skill__title {
    font-size: clamp(40px, 10vw, 72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-skill {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-skill__title {
    transition: none;
  }
}

/* WRITING SECTION */
#writing {
  background: var(--off-white);
  padding: 120px 48px;
}

.writing-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.writing-inner .section-label {
  display: block;
  margin-bottom: 48px;
}

.articles-list {
  display: flex;
  flex-direction: column;
}

.article-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  transition: background 200ms ease;
}

.article-row:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.art-num {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--light-grey);
  min-width: 28px;
  transition: color 300ms ease;
}

.article-row:hover .art-num {
  color: var(--green);
}

.art-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 36px);
  color: var(--off-black);
  flex: 1;
  line-height: 1.2;
  transition: transform 300ms ease;
}

.article-row:hover .art-title {
  transform: translateX(4px);
}

.art-btn {
  flex-shrink: 0;
}

/* CONTACT SECTION */
#contact {
  position: relative;
  background: var(--off-black);
  padding: 160px 48px;
  overflow: hidden;
  text-align: center;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: var(--off-black);
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.contact-inner .section-label {
  color: rgba(247, 254, 255, 0.4);
  display: block;
  margin-bottom: 24px;
}

.contact-headline {
  font-size: clamp(56px, 9vw, 120px);
  color: var(--off-white);
  line-height: 1;
  margin-bottom: 24px;
}

.contact-subline {
  font-size: 18px;
  color: rgba(247, 254, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
#footer {
  background: var(--off-black);
  border-top: 1px solid rgba(247, 254, 255, 0.08);
  padding: 48px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 32px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(247, 254, 255, 0.5);
  flex: 1;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(247, 254, 255, 0.5);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-copy {
  font-size: 13px;
  color: rgba(247, 254, 255, 0.3);
  width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
  #writing {
    padding: 80px 24px;
  }

  #contact {
    padding: 100px 24px;
  }

  #footer {
    padding: 48px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .article-row {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* HERO ENTRANCE */
@media (prefers-reduced-motion: no-preference) {
  .hero-headline {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
  }

  .hero-subline {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease 200ms, transform 700ms ease 200ms;
  }

  .hero-btns {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease 400ms, transform 700ms ease 400ms;
  }

  .scroll-indicator {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 700ms ease 600ms, transform 700ms ease 600ms;
  }

  .hero-headline.animate,
  .hero-subline.animate,
  .hero-btns.animate {
    opacity: 1;
    transform: translateY(0);
  }

  .scroll-indicator.animate {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* CONTACT MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.modal:not([hidden]) {
  opacity: 1;
  pointer-events: all;
}

.modal[hidden] {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 21, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 24px;
  background: var(--off-black);
  border: 1px solid rgba(247, 254, 255, 0.08);
  border-radius: 24px;
  padding: 56px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(247, 254, 255, 0.06);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: none;
  transition: background 200ms ease;
}

.modal-close:hover {
  background: rgba(247, 254, 255, 0.12);
}

.modal-close span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 300ms ease;
}

.modal-close span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.modal-close span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.modal-label {
  color: rgba(247, 254, 255, 0.4);
  display: block;
  margin-bottom: 16px;
}

.modal-headline {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--off-white);
  line-height: 1;
  margin-bottom: 12px;
}

.modal-subline {
  font-size: 15px;
  color: rgba(247, 254, 255, 0.5);
  margin-bottom: 40px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247, 254, 255, 0.5);
}

.form-input {
  background: rgba(247, 254, 255, 0.05);
  border: 1px solid rgba(247, 254, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: var(--off-white);
  transition: border-color 200ms ease, background 200ms ease;
  outline: none;
  width: 100%;
  cursor: none;
}

.form-input::placeholder {
  color: rgba(247, 254, 255, 0.25);
}

.form-input:focus {
  border-color: var(--green);
  background: rgba(57, 255, 20, 0.04);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* SUCCESS STATE */
.modal-success {
  text-align: center;
  padding: 40px 0;
}

.modal-success__icon {
  width: 64px;
  height: 64px;
  background: rgba(57, 255, 20, 0.1);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--green);
  margin: 0 auto 24px;
}

.modal-success__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--off-white);
  margin-bottom: 12px;
}

.modal-success__desc {
  font-size: 16px;
  color: rgba(247, 254, 255, 0.5);
  margin-bottom: 40px;
}

#contact-modal.success-state .modal-header {
  display: none;
}

#contact-modal.success-state .modal-form {
  display: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .modal-inner {
    padding: 40px 24px;
    margin: 16px;
    border-radius: 20px;
  }
}
