/* ═══════════════════ DESIGN TOKENS ═══════════════════ */
:root {
  --bg: #080706;
  --bg2: #0f0e0c;
  --bg3: #161411;
  --gold: #c8a96e;
  --gold-lt: #e8d8b4;
  --gold-dk: #9a7a42;
  --text: #f0ead8;
  --muted: #7a7268;
  --line: rgba(200, 169, 110, 0.15);
  --serif: 'Space Grotesk', sans-serif;
  --sans: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dk) var(--bg)
}

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

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

img {
  max-width: 100%;
  display: block
}

ul {
  list-style: none
}

::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dk)
}

/* ═══════════════════ FILM GRAIN ═══════════════════ */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
  opacity: .035
}

.grain-overlay::after {
  content: '';
  position: absolute;
  inset: -200%;
  width: 400%;
  height: 400%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainDrift 8s steps(10) infinite
}

@keyframes grainDrift {
  0% {
    transform: translate(0)
  }

  10% {
    transform: translate(-5%, -10%)
  }

  30% {
    transform: translate(3%, 2%)
  }

  50% {
    transform: translate(-8%, 5%)
  }

  70% {
    transform: translate(2%, -3%)
  }

  100% {
    transform: translate(0)
  }
}

/* ═══════════════════ PROJECT & ABOUT IMAGES ═══════════════════ */
.project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  transition: opacity .6s var(--ease), transform .8s var(--ease)
}

.project-card:hover .project-img {
  opacity: .25;
  transform: scale(1.06)
}

.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  z-index: 0
}

.about-frame-inner {
  position: relative;
  z-index: 1
}

/* ═══════════════════ CUSTOM CURSOR ═══════════════════ */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: opacity .3s
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease), height .4s var(--ease), border-radius .4s var(--ease), background .4s var(--ease)
}

body.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  background: rgba(200, 169, 110, 0.08)
}

body.cursor-text .cursor-ring {
  width: 80px;
  height: 20px;
  border-radius: 4px;
  background: rgba(200, 169, 110, 0.06)
}

/* ═══════════════════ SCROLL PROGRESS ═══════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  z-index: 9998;
  width: 0;
  transition: none
}

/* ═══════════════════ REVEAL SYSTEM ═══════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

.reveal-delay-1 {
  transition-delay: .1s
}

.reveal-delay-2 {
  transition-delay: .2s
}

.reveal-delay-3 {
  transition-delay: .3s
}

.reveal-delay-4 {
  transition-delay: .4s
}

/* ═══════════════════ CONTAINER ═══════════════════ */
.container {
  width: min(1400px, 90%);
  margin: 0 auto
}

/* ═══════════════════ SECTION LABEL & TITLE (Reusable) ═══════════════════ */
.section-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem
}

.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold)
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em
}

.section-title em {
  font-style: normal;
  color: var(--gold)
}

/* ═══════════════════ NAVIGATION ═══════════════════ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0;
  transition: background .4s
}

.nav-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.95) 0%, transparent 100%);
  pointer-events: none
}

.nav-bar.scrolled::before {
  background: rgba(8, 7, 6, 0.97)
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase
}

.nav-links {
  display: flex;
  gap: 2.5rem
}

.nav-links a {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color .3s
}

.nav-links a:hover {
  color: var(--gold)
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .4s var(--ease)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  transition: background .3s
}

.nav-cta:hover {
  background: var(--gold-lt)
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 3rem
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0
}

.hero-glow-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200, 169, 110, 0.06), transparent)
}

.hero-glow-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 40% at 10% 80%, rgba(200, 169, 110, 0.04), transparent)
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  opacity: .4
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 10rem;
  width: 100%
}

.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .3em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem
}

.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold)
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em
}

.h-line {
  display: block
}

.h-italic {
  font-style: normal;
  color: var(--gold)
}

.h-outline {
  -webkit-text-stroke: 1.5px var(--muted);
  color: transparent
}

/* Hero Split Layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.hero-left .hero-desc {
  max-width: 480px;
  margin-bottom: 2rem
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap
}

.hero-ghost-btn {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .3s
}

.hero-ghost-btn:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.hero-desc {
  max-width: 480px;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75
}

/* Terminal */
.hero-right {
  position: relative
}

.terminal {
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5)
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06)
}

.terminal-dots {
  display: flex;
  gap: 6px
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.terminal-dots span:nth-child(1) {
  background: #ff5f57
}

.terminal-dots span:nth-child(2) {
  background: #ffbd2e
}

.terminal-dots span:nth-child(3) {
  background: #28c840
}

.terminal-title {
  font-family: var(--mono);
  font-size: .6rem;
  color: var(--muted);
  letter-spacing: .05em
}

.terminal-body {
  padding: 1.2rem 1rem;
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.8;
  color: #a8b5a2;
  margin: 0;
  min-height: 260px;
  white-space: pre;
  overflow: hidden
}

.terminal-body code {
  color: #a8b5a2
}

.terminal-cursor {
  color: var(--gold);
  animation: blink 1s step-end infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* Floating Badges */
.floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.float-badge {
  position: absolute;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .05em;
  padding: .4rem .8rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--muted);
  animation: floatBadge 6s ease-in-out infinite
}

.fb-1 {
  top: -10px;
  right: 20px;
  animation-delay: 0s
}

.fb-2 {
  top: 30%;
  right: -30px;
  animation-delay: 1.2s
}

.fb-3 {
  bottom: 20%;
  right: -20px;
  animation-delay: 2.4s
}

.fb-4 {
  bottom: -10px;
  left: 30%;
  animation-delay: 0.6s
}

.fb-5 {
  top: 15%;
  left: -25px;
  animation-delay: 1.8s
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.hero-stats {
  display: flex;
  gap: 3rem
}

.stat {
  display: flex;
  flex-direction: column
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--gold)
}

.stat-label {
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .05em
}

.hero-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .1em
}

.scroll-line {
  width: 50px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -50px;
  top: 0;
  width: 50px;
  height: 1px;
  background: var(--gold);
  animation: scanLine 2s linear infinite
}

@keyframes scanLine {
  to {
    left: 50px
  }
}

.availability-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .68rem;
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: .5rem 1rem;
  background: rgba(74, 222, 128, 0.05)
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.8)
  }
}

.award-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--muted);
  letter-spacing: .05em
}

.rotating-star {
  font-size: 1rem;
  color: var(--gold);
  animation: spin 20s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* ═══════════════════ MARQUEE ═══════════════════ */
.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  padding: 1.2rem 0;
  overflow: hidden
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap
}

.marquee-content span {
  font-family: var(--serif);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

.marquee-content .dot {
  font-size: 4px;
  color: var(--gold);
  line-height: 1
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

/* ═══════════════════ WORK / PROJECTS ═══════════════════ */
.section-work {
  background: var(--bg);
  padding: 8rem 0
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem
}

.section-header-right {
  max-width: 280px;
  text-align: right;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  cursor: none;
  display: block;
  text-decoration: none;
  color: inherit
}

.project-tall {
  grid-row: span 2;
  aspect-ratio: 3/4
}

.project-card:not(.project-tall) {
  aspect-ratio: 4/3
}

.bg-visual {
  position: absolute;
  inset: 0;
  transition: transform .8s var(--ease)
}

.bg-warm {
  background: linear-gradient(135deg, #1a1510, #120e08)
}

.bg-warm::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border: 60px solid rgba(200, 169, 110, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%)
}

.bg-cool {
  background: linear-gradient(135deg, #0e1218, #0a0f1a)
}

.bg-cool::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 20%;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(100, 150, 255, 0.1);
  transform: rotate(45deg)
}

.bg-red {
  background: linear-gradient(135deg, #180c0c, #120808)
}

.bg-red::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255, 100, 100, 0.1)
}

.bg-green {
  background: linear-gradient(135deg, #0c1410, #081210)
}

.bg-green::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 60%;
  width: 120px;
  height: 120px;
  background: conic-gradient(from 0deg, transparent, rgba(100, 200, 100, 0.06), transparent 60%);
  border-radius: 50%
}

.project-card:hover .bg-visual {
  transform: scale(1.06)
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 7, 6, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: transform .5s var(--ease);
  transform: translateY(10px)
}

.project-card:hover .project-overlay {
  transform: translateY(0)
}

.project-meta {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem
}

.project-overlay h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: .8rem
}

.project-tags {
  display: flex;
  gap: .5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s var(--ease) .1s
}

.project-card:hover .project-tags {
  opacity: 1;
  transform: translateY(0)
}

.project-tags span {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  color: var(--muted)
}

.project-arrow {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: all .4s var(--ease) .15s
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateX(0)
}

/* ═══════════════════ ABOUT ═══════════════════ */
.section-about {
  background: var(--bg2);
  padding: 8rem 0
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8rem;
  align-items: start
}

.about-visual {
  position: relative
}

.about-frame {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #12100c, #0a0908)
}

.about-frame-inner {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(200, 169, 110, 0.06), transparent)
}

.about-frame-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 17.5%;
  width: 65%;
  height: 80%;
  border: 1px solid var(--gold-dk);
  border-bottom: none;
  background: linear-gradient(to top, rgba(200, 169, 110, 0.03), transparent)
}

.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: .5
}

.corner.tl {
  top: 12px;
  left: 12px;
  border-top: 1px solid var(--gold-dk);
  border-left: 1px solid var(--gold-dk)
}

.corner.tr {
  top: 12px;
  right: 12px;
  border-top: 1px solid var(--gold-dk);
  border-right: 1px solid var(--gold-dk)
}

.corner.bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 1px solid var(--gold-dk);
  border-left: 1px solid var(--gold-dk)
}

.corner.br {
  bottom: 12px;
  right: 12px;
  border-bottom: 1px solid var(--gold-dk);
  border-right: 1px solid var(--gold-dk)
}

.frame-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--gold-dk);
  letter-spacing: .1em
}

.vertical-tag {
  position: absolute;
  top: 1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--serif);
  font-size: .75rem;
  font-weight: 600;
  padding: .6rem .4rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .1em
}

.about-text {
  margin: 2rem 0 3rem
}

.about-text p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 1.2rem
}

.about-text strong {
  color: var(--gold-lt)
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line)
}

.expertise-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: color .3s
}

.expertise-item:hover {
  color: var(--text)
}

.expertise-item .arrow {
  color: var(--gold);
  transition: transform .3s var(--ease)
}

.expertise-item:hover .arrow {
  transform: translateX(4px)
}

/* ═══════════════════ SERVICES ═══════════════════ */
.section-services {
  background: var(--bg);
  padding: 8rem 0
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem
}

.services-intro {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line)
}

.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .5s
}

.service-card:last-child {
  border-right: none
}

.service-card:hover {
  background: rgba(200, 169, 110, 0.03)
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .6s var(--ease)
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-num {
  font-family: var(--serif);
  font-size: .75rem;
  font-weight: 500;
  color: var(--gold-dk);
  letter-spacing: .1em
}

.service-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 1.5rem 0;
  transition: border-color .3s, transform .3s
}

.service-card:hover .service-icon {
  border-color: var(--gold-dk);
  transform: rotate(5deg)
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1rem
}

.service-card p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.service-card li {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: .5rem
}

.service-card li::before {
  content: '—';
  color: var(--gold-dk)
}

.stack-six {
  grid-template-columns: repeat(3, 1fr)
}

.stack-six .service-card p {
  display: none
}

.project-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: .8rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s var(--ease) .05s
}

.project-card:hover .project-desc {
  opacity: 1;
  transform: translateY(0)
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: .5;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .1em
}

/* ═══════════════════ PROCESS ═══════════════════ */
.section-process {
  background: var(--bg2);
  padding: 8rem 0
}

.process-track {
  display: flex;
  border: 1px solid var(--line);
  margin-top: 5rem
}

.process-step {
  flex: 1;
  padding: 3rem 2rem;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .5s
}

.process-step:last-child {
  border-right: none
}

.process-step:hover {
  background: rgba(200, 169, 110, 0.02)
}

.step-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  color: rgba(200, 169, 110, 0.08);
  display: block;
  margin-bottom: 1rem;
  transition: color .3s
}

.process-step:hover .step-num {
  color: rgba(200, 169, 110, 0.15)
}

.process-step h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: .8rem
}

.process-step p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7
}

.process-step::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--gold-dk)
}

.process-step:last-child::after {
  display: none
}

/* ═══════════════════ TESTIMONIALS ═══════════════════ */
.section-testimonials {
  background: var(--bg);
  padding: 8rem 0
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem
}

.testimonials-left {
  position: sticky;
  top: 8rem;
  align-self: start
}

.testimonials-left p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1.5rem
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dk));
  margin: 2rem 0
}

.testimonial-card {
  padding: 2.5rem;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color .4s, background .4s;
  margin-bottom: 2rem
}

.testimonial-card:hover {
  border-color: rgba(200, 169, 110, 0.3);
  background: rgba(200, 169, 110, 0.02)
}

.stars {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .1em
}

blockquote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem
}

blockquote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -.2rem;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold-dk);
  line-height: 1
}

blockquote strong {
  color: var(--gold-lt);
  font-weight: 400
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem
}

.avatar {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold)
}

.testimonial-author strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--sans)
}

.testimonial-author span {
  font-size: .72rem;
  color: var(--muted)
}

/* ═══════════════════ CONTACT ═══════════════════ */
.section-contact {
  background: var(--bg2);
  padding: 8rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center
}

.contact-simple {
  text-align: center;
  max-width: 700px;
  margin: 0 auto
}

.contact-simple .section-label {
  justify-content: center
}

.contact-simple .section-title {
  margin-bottom: 1.5rem
}

.contact-desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto
}

.contact-links-simple {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem
}

.contact-links-simple .contact-link {
  border-bottom: none;
  padding: 0
}

.contact-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 0;
  transition: color .3s
}

.contact-link:hover {
  color: var(--gold)
}

.link-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: border-color .3s
}

.contact-link:hover .link-icon {
  border-color: var(--gold-dk)
}

.contact-link span {
  font-size: .85rem
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, transform .15s
}

.contact-cta:hover {
  background: var(--gold-lt)
}

.btn-arrow {
  transition: transform .3s var(--ease)
}

.contact-cta:hover .btn-arrow {
  transform: translateX(6px)
}

/* ═══════════════════ FOOTER ═══════════════════ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0;
  background: var(--bg)
}

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

.footer-logo {
  font-family: var(--serif);
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
  font-size: .9rem
}

.footer-copy {
  font-size: .75rem;
  color: var(--muted)
}

.footer-social {
  display: flex;
  gap: 2rem
}

.footer-social a {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .1em;
  transition: color .3s
}

.footer-social a:hover {
  color: var(--gold)
}

/* ═══════════════════ HAMBURGER & MOBILE MENU ═══════════════════ */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
  width: 32px
}

.ham-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s
}

.hamburger.active .ham-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active .ham-line:nth-child(2) {
  opacity: 0
}

.hamburger.active .ham-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0
}

.mobile-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  text-decoration: none;
  padding: .5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .3s
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0)
}

.mobile-link:nth-child(1) {
  transition-delay: .05s
}

.mobile-link:nth-child(2) {
  transition-delay: .1s
}

.mobile-link:nth-child(3) {
  transition-delay: .15s
}

.mobile-link:nth-child(4) {
  transition-delay: .2s
}

.mobile-link:nth-child(5) {
  transition-delay: .25s
}

.mobile-link:nth-child(6) {
  transition-delay: .3s
}

.mobile-link:hover,
.mobile-link:active {
  color: var(--gold)
}

.mobile-cta {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 1rem 2rem;
  margin-top: 2rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease) .35s, transform .4s var(--ease) .35s, background .3s
}

.mobile-menu.open .mobile-cta {
  opacity: 1;
  transform: translateY(0)
}

.mobile-cta:hover {
  background: var(--gold-lt)
}

/* ═══════════════════ RESPONSIVE — TABLET (≤900px) ═══════════════════ */
@media(max-width:900px) {

  .cursor-dot,
  .cursor-ring {
    display: none !important
  }

  body {
    cursor: auto
  }

  a,
  button,
  .project-card,
  .contact-cta,
  .hero-ghost-btn,
  .hamburger,
  .mobile-link,
  .swatch,
  .mode-option {
    cursor: pointer
  }

  /* Nav */
  .nav-links,
  .nav-cta {
    display: none
  }

  .hamburger {
    display: flex
  }

  .nav-inner {
    padding: 1rem 1.5rem
  }

  /* Hero */
  .hero {
    padding: 0 1.5rem;
    min-height: auto
  }

  .hero-content {
    padding-top: 7rem
  }

  .hero-headline {
    font-size: clamp(2.5rem, 8vw, 4.5rem)
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .hero-right {
    margin-top: 1rem
  }

  .floating-badges {
    display: none
  }

  .terminal-body {
    min-height: 200px;
    font-size: .65rem
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap
  }

  .stat-num {
    font-size: 2rem
  }

  .hero-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start
  }

  .hero-cta-row {
    flex-direction: column;
    gap: .8rem
  }

  /* Sections */
  .section-header {
    flex-direction: column;
    align-items: flex-start
  }

  .section-header-right {
    text-align: left;
    max-width: none
  }

  .section-title {
    font-size: clamp(2rem, 5vw, 3rem)
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr
  }

  .project-tall {
    grid-row: span 1;
    aspect-ratio: 4/3
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .about-frame {
    aspect-ratio: 4/3
  }

  /* Services */
  .services-header {
    grid-template-columns: 1fr
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .stack-six {
    grid-template-columns: repeat(2, 1fr)
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--line)
  }

  .service-card:last-child {
    border-bottom: none
  }

  /* Process */
  .process-track {
    flex-direction: column
  }

  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--line)
  }

  .process-step:last-child {
    border-bottom: none
  }

  .process-step::after {
    display: none
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr
  }

  .testimonials-left {
    position: static
  }

  /* Contact */
  .contact-links-simple {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem
  }

  .footer-social {
    justify-content: center
  }
}

/* ═══════════════════ RESPONSIVE — SMALL PHONE (≤480px) ═══════════════════ */
@media(max-width:480px) {
  .container {
    width: 92%
  }

  .nav-inner {
    padding: .8rem 1rem
  }

  .nav-logo {
    font-size: .7rem
  }

  /* Hero */
  .hero {
    padding: 0 1rem
  }

  .hero-content {
    padding-top: 6rem;
    padding-bottom: 2rem
  }

  .hero-headline {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: .95
  }

  .hero-desc {
    font-size: .85rem
  }

  .eyebrow span {
    font-size: .55rem
  }

  .hero-stats {
    gap: 1rem
  }

  .stat-num {
    font-size: 1.6rem
  }

  .stat-label {
    font-size: .55rem
  }

  .hero-cta-row .nav-cta,
  .hero-ghost-btn {
    width: 100%;
    text-align: center;
    justify-content: center
  }

  /* Terminal */
  .terminal-body {
    min-height: 170px;
    font-size: .58rem;
    padding: .8rem;
    line-height: 1.6
  }

  .terminal-title {
    font-size: .5rem
  }

  .terminal-dots span {
    width: 8px;
    height: 8px
  }

  /* Marquee */
  .marquee-content span {
    font-size: .65rem
  }

  /* Sections */
  .section-label {
    font-size: .58rem
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem)
  }

  section {
    padding: 4rem 0
  }

  /* Projects */
  .project-tall {
    aspect-ratio: 1/1
  }

  .project-overlay h3 {
    font-size: 1.3rem
  }

  .project-meta {
    font-size: .55rem
  }

  .project-tags span {
    font-size: .5rem;
    padding: .2rem .5rem
  }

  .project-desc {
    font-size: .72rem
  }

  .project-arrow {
    width: 36px;
    height: 36px;
    font-size: .9rem
  }

  /* About */
  .about-text p {
    font-size: 1rem
  }

  .about-frame {
    aspect-ratio: 1/1
  }

  /* Stack */
  .stack-six {
    grid-template-columns: 1fr
  }

  /* Services */
  .service-card {
    padding: 1.5rem
  }

  .service-card h3 {
    font-size: 1.3rem
  }

  .service-card p {
    font-size: .78rem
  }

  /* Process */
  .process-step {
    padding: 1.5rem
  }

  .step-num {
    font-size: 2.5rem
  }

  .process-step h4 {
    font-size: 1.1rem
  }

  /* Testimonials */
  .testimonial blockquote {
    font-size: .9rem
  }

  .testimonial-author {
    font-size: .55rem
  }

  /* Contact */
  .contact-simple .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem)
  }

  .contact-desc {
    font-size: .85rem
  }

  .contact-cta {
    width: 100%;
    justify-content: center;
    padding: .9rem 1.5rem
  }

  .contact-link span {
    font-size: .78rem
  }

  /* Footer */
  .footer-logo {
    font-size: .7rem
  }

  .footer-copy {
    font-size: .6rem
  }

  .footer-social a {
    font-size: .58rem
  }

  /* Mobile menu */
  .mobile-link {
    font-size: clamp(1.6rem, 5vw, 2.2rem)
  }

  /* Theme panel */
  .theme-panel {
    bottom: .8rem;
    right: .8rem
  }

  .theme-toggle-btn {
    width: 38px;
    height: 38px
  }

  .theme-dropdown {
    width: 200px;
    padding: 1rem
  }

  .swatch {
    width: 24px;
    height: 24px
  }
}

/* ═══════════════════ THEME SETTINGS PANEL ═══════════════════ */
.theme-panel {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998
}

.theme-toggle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .4)
}

.theme-toggle-btn:hover {
  border-color: var(--gold);
  transform: rotate(45deg)
}

.theme-toggle-btn svg {
  transition: transform .3s
}

.theme-dropdown {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 220px;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5)
}

.theme-panel.open .theme-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.theme-section {
  margin-bottom: 1rem
}

.theme-section:last-child {
  margin-bottom: 0
}

.theme-section-label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .6rem
}

.mode-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  overflow: hidden
}

.mode-option {
  flex: 1;
  padding: .5rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: none;
  transition: all .3s;
  background: transparent
}

.mode-option.active {
  background: var(--gold);
  color: var(--bg)
}

.mode-option:hover:not(.active) {
  color: var(--text)
}

.color-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--sw);
  cursor: none;
  transition: all .3s var(--ease);
  position: relative
}

.swatch:hover {
  transform: scale(1.15)
}

.swatch.active {
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px var(--sw)
}

.swatch::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  color: #fff;
  opacity: 0;
  transition: opacity .2s
}

.swatch.active::after {
  opacity: 1
}

/* ═══════════════════ LIGHT MODE ═══════════════════ */
body.light {
  --bg: #f5f3ef;
  --bg2: #eae7e1;
  --bg3: #ddd9d1;
  --text: #1a1714;
  --muted: #6b635a;
  --line: rgba(100, 90, 70, 0.15)
}

body.light .grain-overlay {
  opacity: .02;
  mix-blend-mode: multiply
}

body.light .nav-bar::before {
  background: linear-gradient(180deg, rgba(245, 243, 239, 0.97) 0%, transparent 100%)
}

body.light .nav-bar.scrolled::before {
  background: rgba(245, 243, 239, 0.98)
}

body.light .hero-grid-lines {
  opacity: .2
}

body.light .bg-warm {
  background: linear-gradient(135deg, #e8e0d4, #ddd5c9)
}

body.light .bg-cool {
  background: linear-gradient(135deg, #dde3ed, #d0d8e6)
}

body.light .bg-red {
  background: linear-gradient(135deg, #eddcdc, #e0d0d0)
}

body.light .bg-green {
  background: linear-gradient(135deg, #d8e8dd, #cee0d4)
}

body.light .project-img {
  opacity: .6
}

body.light .project-card:hover .project-img {
  opacity: .4
}

body.light .project-overlay {
  background: linear-gradient(to top, rgba(245, 243, 239, 0.95) 0%, transparent 60%)
}

body.light .about-frame {
  background: linear-gradient(180deg, #e0ddd6, #d4d0c8)
}

body.light .about-img {
  opacity: .8
}

body.light .h-outline {
  -webkit-text-stroke-color: #999080
}

body.light .availability-pill {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.3);
  background: rgba(22, 163, 74, 0.06)
}

body.light .pulse-dot {
  background: #16a34a
}

body.light .theme-toggle-btn {
  background: var(--bg2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08)
}

body.light .theme-dropdown {
  background: var(--bg2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1)
}

body.light .cursor-dot {
  background: var(--gold)
}

body.light .cursor-ring {
  border-color: var(--gold)
}

body.light blockquote {
  color: var(--text)
}

body.light .about-text strong {
  color: var(--gold-dk)
}

body.light .step-num {
  color: rgba(100, 90, 70, 0.12)
}

body.light .process-step:hover .step-num {
  color: rgba(100, 90, 70, 0.25)
}

body.light .vertical-tag {
  background: var(--gold);
  color: #fff
}

/* ═══════════════════ ACCENT COLOR THEMES ═══════════════════ */
body.accent-cyan {
  --gold: #22d3ee;
  --gold-lt: #67e8f9;
  --gold-dk: #0891b2;
  --line: rgba(34, 211, 238, 0.15)
}

body.accent-violet {
  --gold: #a78bfa;
  --gold-lt: #c4b5fd;
  --gold-dk: #7c3aed;
  --line: rgba(167, 139, 250, 0.15)
}

body.accent-emerald {
  --gold: #34d399;
  --gold-lt: #6ee7b7;
  --gold-dk: #059669;
  --line: rgba(52, 211, 153, 0.15)
}

body.accent-rose {
  --gold: #fb7185;
  --gold-lt: #fda4af;
  --gold-dk: #e11d48;
  --line: rgba(251, 113, 133, 0.15)
}

body.accent-blue {
  --gold: #60a5fa;
  --gold-lt: #93c5fd;
  --gold-dk: #2563eb;
  --line: rgba(96, 165, 250, 0.15)
}

/* Smooth theme transitions */
body,
body * {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 0s
}

body.theme-transitioning,
body.theme-transitioning * {
  transition-duration: .4s !important
}

/* end of file */