/* ════════════════════════════════════════════
   tkldigital — Aureum Noir v2
   Dark theme  ·  Gold accent  ·  Editorial  ·  WOW
   ════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg:       #0e0e0e;
  --bg-card:  #161616;
  --bg-card2: #1a1a1a;
  --surface:  #222;
  --border:   #2a2a2a;
  --text:     #e8e8e8;
  --text-dim: #999;
  --gold:     #c6a962;
  --gold-lt:  #e3c47a;
  --gold-dk:  #a68b42;
  --accent:   var(--gold);

  --ff-head:  'Plus Jakarta Sans', sans-serif;
  --ff-body:  'Manrope', sans-serif;
  --ff-mono:  'Space Grotesk', monospace;

  --nav-h: 72px;
  --section-px: clamp(1.25rem, 5vw, 6rem);
  --section-py: clamp(4rem, 10vh, 8rem);
  --max-w: 1280px;
  --radius: 12px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; border: none; outline: none; background: none; color: inherit; }

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  z-index: 9998;
  transition: none;
  box-shadow: 0 0 10px rgba(198, 169, 98, .5);
}

/* ═══════════════════════════════════════════
   FILM GRAIN OVERLAY
   ═══════════════════════════════════════════ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  mix-blend-mode: overlay;
}

/* ── Utilities ── */
.section-tag {
  font-family: var(--ff-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 3rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--gold {
  background: var(--gold);
  color: #0e0e0e;
  padding: .85rem 1.8rem;
}
/* Shimmer sweep on gold buttons */
.btn--gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: none;
}
.btn--gold:hover::before {
  animation: btn-shimmer .6s ease forwards;
}
@keyframes btn-shimmer {
  to { left: 100%; }
}
.btn--gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198, 169, 98, .25);
}
.btn--sm { padding: .55rem 1.2rem; font-size: .82rem; }
.btn--lg { padding: 1rem 2.4rem; font-size: 1rem; width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-px);
  background: rgba(14, 14, 14, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease);
}
.navbar.scrolled {
  height: 60px;
  background: rgba(14, 14, 14, .94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}
.navbar__logo-img { height: 52px; width: auto; transition: height .3s var(--ease); }
.navbar.scrolled .navbar__logo-img { height: 44px; }
.navbar__links {
  display: flex;
  gap: 2rem;
  font-family: var(--ff-mono);
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.navbar__links a {
  position: relative;
  padding: .25rem 0;
  color: var(--text-dim);
  transition: color .25s;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--text); }
.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }
.navbar .btn--sm { display: none; }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

@media (min-width: 1024px) {
  .navbar .btn--sm { display: inline-flex; }
}
@media (max-width: 1023px) {
  .navbar__links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(14, 14, 14, .96);
    backdrop-filter: blur(20px);
    font-size: 1.1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
  }
  .navbar__links.open { opacity: 1; pointer-events: all; }
  .navbar__burger { display: flex; }
  .navbar__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .navbar__burger.active span:nth-child(2) { opacity: 0; }
  .navbar__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: calc(var(--nav-h) + 3rem) var(--section-px) 3rem;
  max-width: calc(var(--max-w) + 2 * 6rem);
  margin: 0 auto;
  overflow: hidden;
}

/* ── Aurora gradient orbs ── */
.hero__aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .3;
  will-change: transform;
}
.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 169, 98, .4), transparent 70%);
  top: -20%;
  right: -10%;
  animation: orb-float-1 12s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(130, 170, 255, .2), transparent 70%);
  bottom: -15%;
  left: -5%;
  animation: orb-float-2 15s ease-in-out infinite alternate;
}
.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(199, 146, 234, .15), transparent 70%);
  top: 40%;
  left: 40%;
  animation: orb-float-3 10s ease-in-out infinite alternate;
}

@keyframes orb-float-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.15); }
}
@keyframes orb-float-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -50px) scale(1.1); }
}
@keyframes orb-float-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -30px) scale(1.2); }
}

.hero__content,
.hero__visual { position: relative; z-index: 1; }

.hero__tag {
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(198, 169, 98, .3);
}
.hero__sub {
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero__link {
  font-family: var(--ff-mono);
  font-size: .9rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .25s var(--ease);
}
.hero__link:hover { gap: .8rem; }

.hero__stats { display: flex; gap: 3rem; }
.hero__stat-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  color: var(--gold-lt);
}
.hero__stat-label {
  font-size: .82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--ff-mono);
}

/* Code window */
.code-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.code-window__bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}
.code-window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.code-window__dot:nth-child(1) { background: #ff5f57; }
.code-window__dot:nth-child(2) { background: #ffbd2e; }
.code-window__dot:nth-child(3) { background: #28c840; }
.code-window__title {
  margin-left: .5rem;
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--text-dim);
}
.code-window__body {
  padding: 1.25rem 1.5rem;
  font-family: var(--ff-mono);
  font-size: .85rem;
  line-height: 1.8;
  overflow-x: auto;
}
.c-kw  { color: #c792ea; }
.c-fn  { color: #82aaff; }
.c-key { color: var(--gold-lt); }
.c-str { color: #c3e88d; }
.c-param { color: #f78c6c; }

@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { display: none; }
}

/* ═══════════════════════════════════════════
   MARQUEE DIVIDER
   ═══════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee-scroll 25s linear infinite;
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-dim);
  opacity: .3;
}
.marquee__track span {
  flex-shrink: 0;
}
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
  padding: var(--section-py) var(--section-px);
  max-width: calc(var(--max-w) + 2 * 6rem);
  margin: 0 auto;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover {
  border-color: var(--gold-dk);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(198, 169, 98, .08);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 1.2rem;
  color: var(--gold);
  background: rgba(198, 169, 98, .08);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.service-card__desc {
  color: var(--text-dim);
  font-size: .92rem;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PORTFOLIO — HORIZONTAL SCROLL
   ═══════════════════════════════════════════ */
.portfolio {
  padding: 0;
  overflow: hidden;
}
.portfolio__header {
  padding: var(--section-py) var(--section-px) 2rem;
  max-width: calc(var(--max-w) + 2 * 6rem);
  margin: 0 auto;
}
.portfolio__hsWrap {
  position: relative;
  overflow: hidden;
}
.portfolio__hsTrack {
  display: flex;
  gap: 2rem;
  padding: 0 var(--section-px) 4rem;
  /* width is set dynamically by JS for pinned horizontal scroll */
}
.case-card {
  position: relative;
  flex-shrink: 0;
  width: min(520px, 80vw);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease);
}
.case-card:hover {
  border-color: var(--gold-dk);
  transform: translateY(-4px);
}
.case-card__num {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--ff-head);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(198, 169, 98, .06);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}
.case-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-card2);
}
.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.case-card:hover .case-card__img img {
  transform: scale(1.06);
}
.case-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card2), #1f1f1f 60%, rgba(198, 169, 98, .06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: .85rem;
  color: var(--text-dim);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .6s var(--ease);
}
.case-card:hover .case-card__placeholder {
  transform: scale(1.05);
}
.case-card__info { padding: 1.5rem 2rem 2rem; }
.case-card__tags {
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: .5rem;
}
.case-card__title {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.case-card__desc {
  color: var(--text-dim);
  font-size: .9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.case-card__link {
  font-family: var(--ff-mono);
  font-size: .82rem;
  color: var(--gold);
  letter-spacing: .04em;
  display: inline-flex;
  gap: .3rem;
  transition: gap .25s;
}
.case-card__link span { transition: transform .25s var(--ease); }
.case-card__link:hover { gap: .6rem; }
.case-card__link:hover span { transform: translateX(4px); }

@media (max-width: 767px) {
  .case-card { width: 85vw; }
}

/* ═══════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════ */
.process {
  padding: var(--section-py) var(--section-px);
  max-width: calc(var(--max-w) + 2 * 6rem);
  margin: 0 auto;
}
.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process__timeline::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.process__step {
  position: relative;
  padding-top: 3rem;
}
.process__step::before {
  content: '';
  position: absolute;
  top: 1.7rem;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-dk);
}
.process__num {
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(198, 169, 98, .1);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.process__step-title {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.process__step-desc {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .process__timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-left: 2rem;
  }
  .process__timeline::before {
    top: 0;
    bottom: 0;
    left: 4px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process__step::before { left: -2rem; top: .2rem; }
  .process__step { padding-top: 0; }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: var(--section-py) var(--section-px);
  max-width: calc(var(--max-w) + 2 * 6rem);
  margin: 0 auto;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}
.about__photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.about__photo:hover img {
  transform: scale(1.04);
}
.about__photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--bg-card2), #1f1f1f);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about__bio {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.about__tags span {
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .05em;
  padding: .4rem .9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-dim);
  transition: all .25s;
}
.about__tags span:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(198, 169, 98, .15);
}

@media (max-width: 767px) {
  .about__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about__photo { max-width: 320px; }
  .about__photo-placeholder { max-width: 280px; }
}

/* ═══════════════════════════════════════════
   BRAND GALLERY
   ═══════════════════════════════════════════ */
.brand-gallery {
  padding: var(--section-py) var(--section-px);
  max-width: calc(var(--max-w) + 2 * 6rem);
  margin: 0 auto;
}
.brand-gallery__sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.brand-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.brand-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.brand-gallery__item--wide {
  grid-column: span 2;
}
.brand-gallery__item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.brand-gallery__item:hover img {
  transform: scale(1.06);
}
.brand-gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--gold-lt);
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.brand-gallery__item:hover figcaption {
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .brand-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .brand-gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .brand-gallery__grid { grid-template-columns: 1fr; }
  .brand-gallery__item--wide { grid-column: span 1; }
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
  padding: var(--section-py) var(--section-px);
  max-width: calc(var(--max-w) + 2 * 6rem);
  margin: 0 auto;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact__title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.contact__sub {
  color: var(--text-dim);
  font-size: 1rem;
}
.contact__form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 169, 98, .12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group textarea { resize: vertical; min-height: 120px; }

@media (max-width: 767px) {
  .contact__inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact__form-row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .btn--gold { width: 100%; justify-content: center; text-align: center; }
  .hero__stats { gap: 2rem; }
}

a, button { -webkit-tap-highlight-color: rgba(198, 169, 98, .15); }
button, a, input, textarea { touch-action: manipulation; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--section-px);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__logo-img { height: 44px; width: auto; opacity: .6; }
.footer__copy {
  font-size: .82rem;
  color: var(--text-dim);
}
.footer__socials {
  display: flex;
  gap: 1rem;
}
.footer__socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all .25s;
}
.footer__socials a svg { width: 16px; height: 16px; }
.footer__socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(198, 169, 98, .2);
}

@media (max-width: 600px) {
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.preloader__video {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .preloader__video { display: none; }
  .hero__orb { animation: none !important; }
  .marquee__track { animation: none !important; }
}

body.is-loading { overflow: hidden; }

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */
.cursor {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}
.cursor__ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s;
}
.cursor--active .cursor__ring {
  width: 64px;
  height: 64px;
  border-color: var(--gold);
}
.cursor--active .cursor__dot { background: var(--gold); }
.cursor--hidden .cursor__dot,
.cursor--hidden .cursor__ring { opacity: 0; }

@media (pointer: coarse) { .cursor { display: none; } }

/* ═══════════════════════════════════════════
   TEXT SPLIT — letter level
   ═══════════════════════════════════════════ */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.word__inner {
  display: inline-block;
  will-change: transform, opacity;
}
.char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ═══════════════════════════════════════════
   3D CARD GLOW
   ═══════════════════════════════════════════ */
.service-card,
.case-card {
  --glow-x: 50%;
  --glow-y: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::after,
.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    400px circle at var(--glow-x) var(--glow-y),
    rgba(198, 169, 98, .1),
    transparent 60%
  );
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.service-card:hover::after,
.case-card:hover::after { opacity: 1; }

.service-card { position: relative; }
.case-card { position: relative; }

/* ═══════════════════════════════════════════
   PROCESS TIMELINE — animated line
   ═══════════════════════════════════════════ */
.process__timeline { --line-scale: 0; }
.process__timeline::before {
  transform: scaleX(var(--line-scale));
  transform-origin: left;
}
@media (max-width: 767px) {
  .process__timeline::before {
    transform: scaleY(var(--line-scale));
    transform-origin: top;
  }
}

/* ═══════════════════════════════════════════
   CLIP-PATH SECTION REVEALS
   ═══════════════════════════════════════════ */
.reveal-section {
  clip-path: inset(8% 4% 8% 4% round 12px);
  transition: clip-path .01s;
}
.reveal-section.revealed {
  clip-path: inset(0% 0% 0% 0% round 0px);
}

/* ═══════════════════════════════════════════
   VELOCITY SKEW — scroll speed distortion
   ═══════════════════════════════════════════ */
.skew-on-scroll {
  will-change: transform;
}

/* ═══════════════════════════════════════════
   SMOOTH SCROLL — Lenis body
   ═══════════════════════════════════════════ */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ── Selection ── */
::selection {
  background: var(--gold);
  color: var(--bg);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dk); }
