/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --orange:       #FF4D00;
  --orange-dim:   #E64500;
  --bg:           #DCDAD3;   /* warm light grey — the body */
  --bg-2:         #C9C7BF;   /* deeper warm grey */
  --surface:      #FFFFFF;   /* white panel */
  --surface-2:    #F4F2EC;   /* off-white card */
  --display:      #0E0E0E;   /* near-black "LCD" panel */
  --display-2:    #1A1A1A;
  --border:       #B8B5AC;   /* warm grey border */
  --border-soft:  #CFCCC3;
  --text-1:       #0E0E0E;   /* near-black primary */
  --text-2:       #4A4A45;   /* medium grey body */
  --text-3:       #87847B;   /* small mono labels */
  --text-on-dark: #F2F0E9;
  --green:        #5BE266;   /* digital readout accent */
  --black:        #0E0E0E;
  --white:        #FFFFFF;

  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --nav-h: 96px;
  --section-gap: 120px;
  --container: 1240px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --shadow-card: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -16px rgba(0,0,0,0.18);
}

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

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

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.mono { font-family: var(--font-mono); }
.orange { color: var(--orange); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
/* Orange caret (^) — outlined chevron, GPU-positioned, no lag */
.cursor {
  width: 18px;
  height: 12px;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  /* GPU layer + center offset baked in. JS only updates the
     translate() so we stay off the layout/paint path. */
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  will-change: transform;
  filter: drop-shadow(0 0 3px rgba(255, 77, 0, 0.6));
  overflow: visible;
}

.cursor polyline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.12s linear;
}

body.cursor-hover .cursor { width: 22px; height: 15px; }

/* Flip the caret to white when hovering an orange-background element,
   so it stays readable against the brand orange. */
body.cursor-invert .cursor polyline { stroke: var(--white); }
body.cursor-invert .cursor {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.45));
  transition: filter 0.12s linear;
}

/* Hide the native cursor everywhere on the page, including the pointer
   cursor that browsers default-apply to links and buttons. */
*, *::before, *::after { cursor: none !important; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(220,218,211,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s var(--ease-out);
}

.nav-logo:hover .nav-logo-mark { transform: scale(1.08); }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover, .nav-link.active { color: var(--text-1); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 180px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  margin-bottom: 24px;
}

.label-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  background: var(--orange);
  padding: 4px 8px;
}

.hero-name {
  display: flex;
  flex-direction: column;
  font-size: clamp(72px, 12vw, 168px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
  color: var(--text-1);
}

.name-line {
  display: block;
  overflow: hidden;
  color: #3A3A3A;
}

.name-line--accent {
  color: var(--orange);
}

.hero-meta {
  margin-bottom: 48px;
  max-width: 560px;
}

.hero-role {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-role .mono {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text-3);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); transform-origin: top; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.18s var(--ease-out);
  position: relative;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange-dim);
  box-shadow: 0 2px 0 var(--orange-dim);
}

.btn--primary:hover {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--orange-dim);
  background: var(--orange-dim);
}

.btn--primary:active {
  transform: translateY(2px);
  box-shadow: none;
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-1);
  box-shadow: 0 2px 0 var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-1);
  color: var(--text-1);
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--border);
}

.btn--ghost:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: var(--section-gap) 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.section-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  letter-spacing: 0.12em;
  padding: 4px 8px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-1);
}

.section-line {
  flex: 1;
  height: 1px;
  background: transparent;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* Scroll-reveal — direction variants + optional stagger via --i */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.65s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
.reveal--left  { transform: translate3d(-28px, 0, 0); }
.reveal--right { transform: translate3d(28px, 0, 0); }
.reveal--scale { transform: scale(0.96); }
.reveal--fade  { transform: none; } /* opacity-only */
.reveal.visible {
  opacity: 1;
  transform: none;
  /* Drop the perf hint once we're done so the element can be a
     proper viewport-relative containing block again (matters for
     fixed-position descendants like our modal overlay). */
  will-change: auto;
}

/* Honour reduced-motion preferences — instant reveal, no transform. */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; opacity: 1; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.portrait-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 16px 12px;
  box-shadow: var(--shadow-card);
}

.portrait-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.portrait-caption {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.18em;
  margin-top: 12px;
  text-align: center;
  text-transform: uppercase;
}

.about-lead {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-1);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-body {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.skills-group {
  padding: 24px 24px 24px;
  border-right: 1px solid var(--border-soft);
}

.skills-group:last-child { border-right: none; }

.skills-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
  background: var(--text-1);
  margin-bottom: 16px;
  padding: 4px 8px;
  display: inline-block;
}

.skills-list li {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-1);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-soft);
}

.skills-list li:last-child { border-bottom: none; }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { background: var(--bg-2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s var(--ease-out);
}

.project-card:hover {
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 16px 32px -16px rgba(0,0,0,0.28);
}

/* Lift the inner content on hover instead of the card itself, so the
   card stays a non-transformed containing block (modal needs that to
   render position:fixed at the viewport, not the card). */
.project-card-inner {
  transition: transform 0.25s var(--ease-out);
}
.project-card:hover .project-card-inner {
  transform: translateY(-3px);
}

.project-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}


.project-card:hover .project-glyph {
  transform: scale(1.08) rotate(15deg);
  opacity: 1;
}

.project-info {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-soft);
}

.project-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  letter-spacing: 0.12em;
  padding: 3px 7px;
}

.project-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
}

.project-client {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: -4px;
}

.project-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
  line-height: 1.2;
}

.project-result {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.04em;
  padding: 8px 10px;
  background: var(--surface-2);
  border-left: 2px solid var(--orange);
  line-height: 1.5;
}

.project-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--text-2);
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}

.project-card:hover .tag {
  border-color: var(--border);
  color: var(--text-1);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  transition: color 0.2s, gap 0.2s;
  width: 100%;
  justify-content: space-between;
}

.project-link:hover {
  color: var(--orange);
}

.project-link:hover svg {
  transform: translateX(4px);
}

.project-link svg {
  transition: transform 0.25s var(--ease-out);
}

button.project-link {
  background: none;
  border: 0;
  border-top: 1px solid var(--border-soft);
  font: inherit;
  text-align: left;
}

/* ============================================================
   PROJECT MODAL — light "case study" surface, overlay div
   (Not <dialog>: a regular overlay so the custom cursor stays
   visible and clicking the backdrop anywhere closes it.)
   ============================================================ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 14, 14, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fade-in 0.25s ease-out;
}

.project-modal[hidden] { display: none; }

@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-inner {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 44px 48px 38px;
  background: var(--surface);
  color: var(--text-1);
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px -20px rgba(0, 0, 0, 0.4);
  animation: modal-pop-in 0.32s var(--ease-out);
}

@keyframes modal-pop-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--text-1);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  z-index: 2;
}

.modal-close:hover {
  background: var(--orange);
  border-color: var(--orange-dim);
  color: var(--white);
}

.modal-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
  max-width: calc(100% - 60px);
}

.modal-practice {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
}

.modal-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 14px;
}

.modal-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-1);
  font-weight: 500;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.modal-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 14px;
}

.modal-body p:last-child { margin-bottom: 0; }

.modal-body em {
  color: var(--text-1);
  font-style: italic;
}

.modal-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

.modal-h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.modal-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.modal-list li {
  font-size: 14px;
  color: var(--text-1);
  padding: 4px 0;
  position: relative;
  padding-left: 14px;
}

.modal-list li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--orange);
  font-weight: 700;
}

.modal-list--links {
  grid-template-columns: 1fr;
  gap: 4px;
}

.modal-list--links li::before { content: '→'; top: 4px; }

.modal-list--links a {
  color: var(--text-1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.modal-list--links a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.modal-list--links a svg {
  opacity: 0.7;
  flex-shrink: 0;
}

/* Body lock when modal open */
body.modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .project-modal { padding: 12px; }
  .modal-inner { padding: 32px 24px 26px; }
  .modal-list { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-headline {
  background: var(--display);
  color: var(--text-on-dark);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.contact-headline::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.02) 3px,
      rgba(255,255,255,0.02) 4px
    );
  pointer-events: none;
}

.contact-big {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text-on-dark);
  position: relative;
}

.contact-headline .orange { color: var(--orange); }

.contact-sub {
  font-size: 14px;
  color: #999992;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  position: relative;
}

.contact-details {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--text-1);
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  margin-bottom: 24px;
  transition: all 0.2s var(--ease-out);
  width: 100%;
}

.contact-email:hover {
  background: var(--orange);
  border-color: var(--orange-dim);
  color: var(--white);
  box-shadow: 0 2px 0 var(--orange-dim);
}

.contact-email svg { transition: transform 0.2s; }
.contact-email:hover svg { transform: translateX(4px); }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 14px;
  color: var(--text-1);
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}

.contact-social:last-child { border-bottom: none; }
.contact-social:hover { color: var(--orange); padding-left: 8px; }

.contact-social .mono {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--text-1);
  width: 36px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}

.contact-social:hover .mono { background: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--display);
  color: var(--text-on-dark);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-on-dark);
}

.footer-copy, .footer-built {
  font-size: 14px;
  font-weight: 700;
  color: #87847B;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .portrait-frame { max-width: 240px; }
  .about-skills { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 80px; }

  .nav { padding: 0 24px; }
  .nav-status { display: none; }
  .nav-links { gap: 24px; }

  .hero { padding: calc(var(--nav-h) + 40px) 24px 60px; }
  .hero-scroll-hint { left: 24px; }

  .container { padding: 0 24px; }

  .projects-grid { grid-template-columns: 1fr; }

  .about-skills { grid-template-columns: 1fr; }
  .skills-group { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .skills-group:last-child { border-bottom: none; }

  .footer-built { display: none; }

  *, *::before, *::after { cursor: auto !important; }
  .cursor { display: none; }
}

@media (max-width: 480px) {
  .hero-name { font-size: clamp(56px, 16vw, 80px); }
  .nav-links { gap: 16px; }
}
