/* =============================================
   VARIABLES
   ============================================= */
:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-card:   #161616;
  --fg:        #f0ece4;
  --fg-muted:  rgba(240,236,228,0.38);
  --accent:    #b8ff57;
  --accent-2:  #c4f135;
  --border:    rgba(240,236,228,0.08);

  --font-head: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.76, 0, 0.24, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img    { display: block; width: 100%; height: 100%; object-fit: cover; }
a      { text-decoration: none; color: inherit; }
button { font-family: inherit; font-size: inherit; color: inherit;
         background: none; border: none; padding: 0; margin: 0;
         -webkit-appearance: none; appearance: none; }

/* =============================================
   LOADER
   ============================================= */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__bar {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  transition: width 0.05s linear;
}

.loader__count {
  position: absolute; bottom: 2.5rem; right: 3rem;
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800; color: var(--fg); opacity: 0.08;
  letter-spacing: -0.04em; line-height: 1;
}

/* =============================================
   CUSTOM CURSOR
   ============================================= */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-radius .35s;
  mix-blend-mode: exclusion;
}

.cursor.cursor--link    { width: 52px; height: 52px; border-radius: 4px; }
.cursor.cursor--project { width: 80px; height: 80px; border-radius: 50%; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 3rem;
  z-index: 500;
}

.nav::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, transparent 100%);
  pointer-events: none; opacity: 0; transition: opacity 0.4s;
}

.nav.scrolled::before { opacity: 1; }

.nav__logo {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--fg); position: relative; z-index: 1;
}
.nav__logo span { color: var(--accent); }

.nav__links { display: flex; gap: 2.5rem; position: relative; z-index: 1; }

.nav__link {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.05em; color: var(--fg-muted); position: relative; transition: color 0.3s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--accent); transition: width 0.4s var(--ease);
}
.nav__link:hover, .nav__link.active           { color: var(--fg); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav__menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
  position: relative; z-index: 1;
}
.nav__menu-btn .line {
  display: block; width: 22px; height: 1.5px; background: var(--fg);
  transform-origin: center; transition: transform 0.4s var(--ease), opacity 0.4s;
}
.nav__menu-btn.open .line-1 { transform: translateY(3.25px) rotate(45deg); }
.nav__menu-btn.open .line-2 { transform: translateY(-3.25px) rotate(-45deg); }

/* =============================================
   FULLSCREEN MENU
   ============================================= */
.fullmenu {
  position: fixed; inset: 0; background: var(--bg-2); z-index: 400;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 3rem 3rem;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-2);
}
.fullmenu.open { clip-path: inset(0 0 0% 0); }

.fullmenu__inner { display: flex; flex-direction: column; gap: 0.4rem; }

.fullmenu__link {
  font-family: var(--font-head); font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800; color: var(--fg); letter-spacing: -0.03em; line-height: 1.05;
  display: block; transform: translateY(40px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s, color 0.3s;
}
.fullmenu.open .fullmenu__link              { transform: translateY(0); opacity: 1; }
.fullmenu.open .fullmenu__link:nth-child(1) { transition-delay: 0.15s; }
.fullmenu.open .fullmenu__link:nth-child(2) { transition-delay: 0.22s; }
.fullmenu.open .fullmenu__link:nth-child(3) { transition-delay: 0.29s; }
.fullmenu.open .fullmenu__link:nth-child(4) { transition-delay: 0.36s; }
.fullmenu__link:hover { color: var(--accent); }

.fullmenu__footer {
  position: absolute; bottom: 2.5rem; left: 3rem;
  display: flex; gap: 2rem; font-size: 0.75rem; letter-spacing: 0.1em;
  color: var(--fg-muted); opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s 0.5s, transform 0.5s var(--ease) 0.5s;
}
.fullmenu.open .fullmenu__footer { opacity: 1; transform: translateY(0); }
.fullmenu__footer a:hover { color: var(--accent); transition: color 0.3s; }

/* =============================================
   SECTION BASE
   ============================================= */
section { position: relative; width: 100%; }

.label {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em;
  color: var(--fg-muted); text-transform: uppercase; margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-head); font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--fg);
}
.section-title em { font-style: normal; color: var(--accent); }

.body-text { font-size: 0.975rem; font-weight: 300; color: var(--fg-muted); line-height: 1.8; }

/* REVEAL */
.reveal-up {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   HOME
   ============================================= */
.s-home {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 3rem 5rem; overflow: hidden;
}

.s-home__bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head); font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 800; letter-spacing: -0.04em; color: transparent;
  -webkit-text-stroke: 1px rgba(240,236,228,0.04);
  white-space: nowrap; pointer-events: none; user-select: none;
  animation: bgTextDrift 20s ease-in-out infinite alternate;
}
@keyframes bgTextDrift {
  0%   { transform: translate(-50%, -50%) translateX(-2%); }
  100% { transform: translate(-50%, -50%) translateX(2%);  }
}

.s-home__content { position: relative; z-index: 2; max-width: 1100px; }

.hero-title {
  font-family: var(--font-head); font-size: clamp(4rem, 10vw, 10.5rem);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; color: var(--fg);
  margin-bottom: 3.5rem;
}
.line-wrap  { display: block; overflow: hidden; }
.line-inner { display: block; transform: translateY(110%); animation: lineReveal 0.9s var(--ease) forwards; }
.line-wrap:nth-child(1) .line-inner { animation-delay: 1.9s; }
.line-wrap:nth-child(2) .line-inner { animation-delay: 2.05s; }
.line-wrap:nth-child(3) .line-inner { animation-delay: 2.2s; }
@keyframes lineReveal { to { transform: translateY(0); } }
.hero-title em { font-style: normal; color: var(--accent); }

.hero-bottom {
  display: flex; align-items: flex-end; gap: 4rem;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 2.6s forwards;
}
.hero-desc { font-size: 1rem; font-weight: 300; color: var(--fg-muted); line-height: 1.7; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-main {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1.8rem; background: var(--accent); color: var(--bg);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.04em; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: gap 0.35s;
}
.btn-main::before {
  content: ''; position: absolute; inset: 0; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.btn-main:hover::before  { transform: scaleX(1); }
.btn-main:hover          { gap: 1.2rem; }
.btn-main span, .btn-main svg { position: relative; z-index: 1; }

.s-home__scroll {
  position: absolute; right: 3rem; bottom: 5rem; z-index: 2;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 3s forwards;
}
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.scroll-indicator__line {
  width: 1px; height: 60px; background: var(--border); position: relative; overflow: hidden;
}
.scroll-indicator__line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 100%;
  background: var(--accent); animation: scrollDrop 2s ease-in-out infinite 3.2s;
}
@keyframes scrollDrop { 0% { top: -100%; } 50% { top: 0%; } 100% { top: 100%; } }
.scroll-indicator span { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--fg-muted); writing-mode: vertical-rl; }

/* =============================================
   ABOUT
   ============================================= */
.s-about {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-2); border-top: 1px solid var(--border);
}
.s-about__left {
  padding: 7rem 3rem; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--border);
}
.s-about__img-wrap { position: relative; width: 100%; max-width: 420px; }

.img-placeholder {
  width: 100%; aspect-ratio: 3/4; background: var(--bg-card);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; letter-spacing: 0.2em; color: rgba(240,236,228,0.1);
  position: relative; overflow: hidden;
}

.s-about__img-tag {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--accent); color: var(--bg);
  padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 0.1rem;
}
.s-about__img-tag span  { font-size: 0.65rem; letter-spacing: 0.1em; opacity: 0.6; }
.s-about__img-tag strong { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; }

.s-about__right { padding: 7rem 4rem 7rem 5rem; display: flex; flex-direction: column; justify-content: center; }
.s-about__right .section-title { margin-bottom: 2rem; }
.s-about__right .body-text     { margin-bottom: 1.2rem; }

.about__stats {
  display: flex; gap: 3rem; margin: 2.5rem 0; padding: 2rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
  color: var(--fg); letter-spacing: -0.04em; line-height: 1;
}
.stat > span:nth-child(2) {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  color: var(--accent); display: inline;
}
.stat__label { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--fg-muted); margin-top: 0.3rem; }

.about__services { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }
.service-item {
  display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border); transition: padding-left 0.4s var(--ease);
}
.service-item:hover { padding-left: 0.5rem; }
.service-item__num  { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--accent); min-width: 20px; }
.service-item__name { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: var(--fg); }

/* =============================================
   PROJECTS
   ============================================= */
.s-projects { min-height: 100vh; padding: 7rem 3rem; border-top: 1px solid var(--border); }

.s-projects__header {
  max-width: 1200px; margin: 0 auto 5rem;
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 2rem;
}
.s-projects__header .label        { align-self: start; }
.s-projects__header .section-title { grid-column: 1; }
.s-projects__header .body-text     { grid-column: 3; }

.project-list { max-width: 1200px; margin: 0 auto; }

/* ── PROJECT ITEM ── */
.project-item {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 2rem;
  width: 100%;
  text-align: left;
  text-decoration: none;
  border: none;
  margin-bottom: 2px;
  position: relative;
  cursor: none;
  overflow: hidden;
}
.project-item:last-child { margin-bottom: 0; }

/* Background image — isolated in ::after so filter never touches borders */
.project-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;   /* picks up the inline style on the element */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1) brightness(0.9);
  transition: filter 0.8s ease;
  z-index: 0;
}
.project-item:hover::after {
  filter: grayscale(0) brightness(1);
}

/* Dark overlay on top of image */
.project-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.78);
  transition: background 0.8s ease;
  z-index: 1;
}
.project-item:hover::before { background: rgba(10,10,10,0.28); }

/* All children above both layers */
.project-item > * { position: relative; z-index: 2; }

/* Number — big, left side */
.project-item__num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.project-item:hover .project-item__num { opacity: 1; }

.project-item__info { min-width: 0; }

.project-item__title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  transition: color 0.3s;
  line-height: 1.1;
}
.project-item:hover .project-item__title { color: var(--accent); }

.project-item__tags {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-top: 0.3rem;
  transition: color 0.3s;
}
.project-item:hover .project-item__tags { color: rgba(240,236,228,0.8); }

/* Hide thumbnail — replaced by full bg */
.project-item__img { display: none; }
.img-placeholder--dark { display: none; }

/* Arrow — right side */
.project-item__arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--fg-muted);
  transition: transform 0.4s ease, color 0.3s;
}
.project-item:hover .project-item__arrow {
  transform: translateX(5px);
  color: var(--accent);
}
/* =============================================
   PROJECT MODAL
   ============================================= */
.project-modal {
  position: fixed; inset: 0; z-index: 800;
  pointer-events: none;
  visibility: hidden;
}

.project-modal.is-open {
  pointer-events: all;
  visibility: visible;
}

.project-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s;
  cursor: none;
}
.project-modal.is-open .project-modal__overlay { opacity: 1; }

.project-modal__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(780px, 100%);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-modal.is-open .project-modal__panel { transform: translateX(0); }

/* Close button */
.modal-close {
  position: absolute; top: 1.6rem; right: 1.8rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border);
  color: var(--fg-muted);
  cursor: none; z-index: 10;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); background: rgba(184,255,87,0.05); }

/* Nav prev / next */
.modal-nav {
  position: absolute; bottom: 1.6rem; right: 1.8rem;
  display: flex; align-items: center; gap: 1rem;
  z-index: 10;
}

.modal-nav__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: 1px solid var(--border);
  color: var(--fg-muted); padding: 0.5rem 0.9rem;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  cursor: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.modal-nav__btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(184,255,87,0.05); }
.modal-nav__btn:disabled { opacity: 0.25; pointer-events: none; }

.modal-nav__counter {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; color: var(--fg-muted);
  min-width: 52px; text-align: center;
}

/* Scrollable content */
.modal-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 3.5rem 2.5rem 6rem;
  scroll-behavior: smooth;
}
.modal-scroll-area::-webkit-scrollbar { width: 3px; }
.modal-scroll-area::-webkit-scrollbar-track { background: transparent; }
.modal-scroll-area::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Header */
.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-bottom: 2.5rem;
  padding-right: 3rem; /* space for close btn */
}
.modal-header__left { display: flex; align-items: flex-start; gap: 1.5rem; }

.modal-num {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--accent);
  padding-top: 0.3rem;
}
.modal-cat  { font-size: 0.72rem; letter-spacing: 0.15em; color: var(--fg-muted); margin-bottom: 0.3rem; }
.modal-title {
  font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; color: var(--fg);
  line-height: 1.05;
}

.modal-ext-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--fg-muted);
  border: 1px solid var(--border); padding: 0.5rem 1rem;
  white-space: nowrap; flex-shrink: 0; margin-top: 0.4rem;
  transition: color 0.3s, border-color 0.3s;
}
.modal-ext-link:hover { color: var(--accent); border-color: var(--accent); }

/* Gallery */
.modal-gallery {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 2.5rem;
}

.modal-gallery img,
.modal-gallery video,
.modal-gallery iframe {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border);
}

.modal-gallery .gallery-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

/* Two-column layout helper — use class="gallery-row" on a wrapper div */

/* Body */
.modal-body {
  display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: start;
}

.modal-desc {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 300;
  color: var(--fg-muted); line-height: 1.8;
}
.modal-desc p + p { margin-top: 1rem; }

.modal-meta {
  min-width: 160px;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.modal-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.modal-meta-label { font-size: 0.65rem; letter-spacing: 0.15em; color: var(--accent); text-transform: uppercase; }
.modal-meta-value { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--fg); }

/* =============================================
   CONTACT  (compact)
   ============================================= */
.s-contact {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem 3rem 2.5rem;
}

/* 003 label stays left-aligned */
.contact-label-left {
  align-self: flex-start;
  margin-bottom: 0;
}

.s-contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.04em; color: var(--fg);
  margin: 0.5rem 0 2.5rem;
}
.contact-title em       { font-style: normal; color: var(--accent); }
.contact-title__dot     { color: var(--accent); }

/* ── Contact button — solid accent green ── */
.contact-cta { display: flex; justify-content: center; margin-bottom: 2rem; }

.btn-contact {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.8rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: gap 0.35s var(--ease);
}

.btn-contact::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn-contact:hover::before { transform: scaleX(1); }
.btn-contact:hover { gap: 1.2rem; }

.btn-contact__label {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.75rem;
}
/* texture span no longer used — kept for HTML compatibility */
.btn-contact__texture { display: none; }

.contact-socials {
  display: flex; justify-content: center; gap: 2rem; margin-bottom: 0.5rem;
}
.contact-socials a {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--fg-muted);
  transition: color 0.3s;
}
.contact-socials a:hover { color: var(--accent); }

/* FOOTER */
.site-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--fg-muted);
  max-width: 100%;
}
.footer__top { transition: color 0.3s; }
.footer__top:hover { color: var(--accent); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav__links    { display: none; }
  .nav__menu-btn { display: flex; }
  .nav           { padding: 1.4rem 1.5rem; }

  .s-home        { padding: 0 1.5rem 4rem; }
  .s-home__scroll { right: 1.5rem; bottom: 4rem; }

  .s-about { grid-template-columns: 1fr; }
  .s-about__left { border-right: none; border-bottom: 1px solid var(--border); padding: 5rem 1.5rem 4rem; }
  .s-about__right { padding: 4rem 1.5rem; }
  .about__stats { gap: 2rem; }

  .s-projects { padding: 5rem 1.5rem; }
  .s-projects__header { grid-template-columns: 1fr; gap: 0.5rem; margin-bottom: 3rem; }
  .s-projects__header .body-text { grid-column: 1; }

  .project-item { grid-template-columns: 52px 1fr 44px; gap: 1.6rem; padding: 1.8rem 1.4rem; }
  .project-item__img { display: none; }
  /* Number: smaller and contained within its column */
  .project-item__num { font-size: 1rem; letter-spacing: 0.05em; }
  /* Arrow: pulled away from the right edge */
  .project-item__arrow { padding-right: 0.6rem; justify-content: center; }

  .project-modal__panel { width: 100%; border-left: none; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-meta { flex-direction: row; flex-wrap: wrap; gap: 1.5rem 2.5rem; }

  .s-contact { padding: 4rem 1.5rem 2rem; }
}

@media (max-width: 500px) {
  .cursor { display: none; }
  body    { cursor: auto; }
  .hero-bottom { flex-direction: column; gap: 2rem; align-items: flex-start; }
    
    .stat li::marker {
  color: #b2ff38;
}
}
