/* ============================================================
   SYNTAX SKYLINE — MAIN STYLESHEET
   Aesthetic: Luxury Editorial Dark
   Fonts: Cormorant Garamond (display) + DM Sans (body) + Space Mono (mono)
============================================================ */

/* ——— CSS CUSTOM PROPERTIES ——— */
:root {
  /* Colors */
  --black:       #080808;
  --black-soft:  #0f0f0f;
  --black-card:  #111111;
  --black-hover: #171717;
  --white:       #f5f3ef;
  --white-dim:   #b8b3ab;
  --white-muted: #6e6a64;
  --gold:        #c9a84c;
  --gold-light:  #e2c47a;
  --gold-muted:  #8a6f32;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing */
  --section-gap:   clamp(80px, 10vw, 140px);
  --container-max: 1280px;
  --container-pad: clamp(20px, 5vw, 80px);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-circ: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 200ms;
  --t-mid:  400ms;
  --t-slow: 700ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent content from moving when scrollbar appears */
  scrollbar-gutter: stable;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-muted); border-radius: 2px; }

/* Selection */
::selection {
  background: var(--gold);
  color: var(--black);
}

/* Focus visible (accessibility) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

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

ul { list-style: none; }

/* ——— TYPOGRAPHY ——— */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

em, i { font-style: italic; color: var(--gold-light); }

/* ——— LAYOUT UTILITIES ——— */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 72px);
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--t-mid) var(--ease-out);
  text-decoration: none;
  border-radius: 2px;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
  z-index: 0;
}

.btn span, .btn > * { position: relative; z-index: 1; }

.btn--primary {
  background: var(--gold);
  color: var(--black);
}
.btn--primary::before { background: var(--gold-light); }
.btn--primary:hover::before { transform: scaleX(1); }
.btn--primary:hover { color: var(--black); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 243, 239, 0.25);
}
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover::before { transform: scaleX(1); }
.btn--ghost:hover { color: var(--black); border-color: var(--white); }

.btn--white {
  background: var(--white);
  color: var(--black);
}
.btn--white::before { background: var(--gold-light); }
.btn--white:hover::before { transform: scaleX(1); }
.btn--white:hover { color: var(--black); }

.btn--full { width: 100%; justify-content: center; }

/* Loading state */
.btn-loading { display: none; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: inline; }
.btn.loading { opacity: 0.7; pointer-events: none; cursor: not-allowed; }

/* ——— NAVIGATION ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--t-mid) var(--ease-circ),
              box-shadow var(--t-mid) var(--ease-circ);
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 2px;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease-out);
}

.nav__logo:hover .logo-mark {
  transform: rotate(-3deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.nav__links li a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--t-fast) var(--ease-out);
  position: relative;
}

.nav__links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-mid) var(--ease-out);
}

.nav__links li a:hover,
.nav__links li a:hover::after {
  color: var(--white);
  width: 100%;
}

.nav__cta {
  padding: 8px 20px !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  border-radius: 2px;
  font-weight: 500 !important;
  transition: background var(--t-fast) var(--ease-out) !important;
}

.nav__cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
}

.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--t-mid) var(--ease-out),
              opacity var(--t-fast),
              width var(--t-mid) var(--ease-out);
  transform-origin: left;
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px var(--container-pad) 160px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.2s forwards;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__headline {
  display: flex;
  flex-direction: column;
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 32px;
}

.line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.line--1 { animation: fade-up 0.9s var(--ease-out) 0.35s forwards; }
.line--2 { animation: fade-up 0.9s var(--ease-out) 0.5s forwards; }
.line--3 { animation: fade-up 0.9s var(--ease-out) 0.65s forwards; }

.hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 420px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.8s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.95s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  animation: fade-in 1s var(--ease-out) 1.4s forwards;
}

.hero__scroll span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-muted);
  writing-mode: vertical-rl;
}

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

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

/* Ticker tape */
.hero__ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(201, 168, 76, 0.08);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  opacity: 0;
  animation: fade-in 0.8s var(--ease-out) 1.6s forwards;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker__track span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.ticker__track .sep {
  color: var(--gold);
  font-size: 0.55rem;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ——— ABOUT ——— */
.about {
  background: var(--black-soft);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.about__left .section-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.about__body {
  color: var(--white-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about__stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 243, 239, 0.1);
}

.stat {}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

/* ——— SERVICES ——— */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.service-card {
  background: var(--black-card);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background var(--t-mid) var(--ease-out);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--t-slow) var(--ease-out);
}

.service-card:hover,
.service-card:focus {
  background: var(--black-hover);
  outline: none;
}

.service-card:hover::after,
.service-card:focus::after { width: 100%; }

.service-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--white-muted);
  margin-bottom: 20px;
}

.service-card__icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
  transition: transform var(--t-mid) var(--ease-out);
}

.service-card:hover .service-card__icon { transform: rotate(15deg) scale(1.1); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--white-muted);
  line-height: 1.65;
}

.service-card__line {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 0;
  background: var(--gold);
  transition: height var(--t-slow) var(--ease-out) 0.1s;
}

.service-card:hover .service-card__line { height: 100%; }

/* ——— WORK / PORTFOLIO ——— */
.work {
  background: var(--black-soft);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out);
  cursor: default;
}

.project-card:hover,
.project-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.2);
  outline: none;
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black);
}

.project-card__media img,
.project-card__media .project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}

.project-card:hover .project-card__media img,
.project-card:hover .project-card__media .project-img { transform: scale(1.04); }

/* Placeholder shown when no screenshot is added yet */
.project-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    var(--black) 0,
    var(--black) 10px,
    rgba(201, 168, 76, 0.04) 10px,
    rgba(201, 168, 76, 0.04) 20px
  );
  border-bottom: 1px dashed rgba(201, 168, 76, 0.15);
}

.placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
  backdrop-filter: blur(4px);
}

.project-card:hover .project-card__overlay { opacity: 1; }

.project-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 24px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}

.project-link:hover {
  background: var(--gold);
  color: var(--black);
}

.project-card__info {
  padding: 24px;
}

.project-card__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  display: block;
  margin-bottom: 10px;
}

.project-card__info h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}

.project-card__info p {
  font-size: 0.855rem;
  color: var(--white-muted);
  line-height: 1.65;
}

/* ——— PROCESS ——— */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.1);
  counter-reset: step;
}

.process__step {
  background: var(--black);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  overflow: hidden;
  transition: background var(--t-mid) var(--ease-out);
}

.process__step:hover { background: var(--black-hover); }

.step__num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--t-mid) var(--ease-out);
}

.process__step:hover .step__num { color: rgba(201, 168, 76, 0.25); }

.step__content h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.step__content p {
  font-size: 0.855rem;
  color: var(--white-muted);
  line-height: 1.65;
}

/* ——— CTA BAND ——— */
.cta-band {
  position: relative;
  background: var(--gold);
  padding: clamp(64px, 8vw, 100px) 0;
  overflow: hidden;
}

.cta-band__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  pointer-events: none;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.cta-band__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--black);
  line-height: 1.1;
}

.cta-band__headline em { color: var(--black); font-style: italic; }

/* ——— FOOTER ——— */
.footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: clamp(48px, 6vw, 80px) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--white-muted);
  line-height: 1.7;
  margin-top: 16px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links li a,
.footer__links li span {
  font-size: 0.875rem;
  color: var(--white-muted);
  transition: color var(--t-fast) var(--ease-out);
}

.footer__links li a:hover { color: var(--gold-light); }

.footer__email {
  display: block;
  font-size: 0.875rem;
  color: var(--white-dim);
  margin-bottom: 20px;
  transition: color var(--t-fast) var(--ease-out);
  word-break: break-all;
}

.footer__email:hover { color: var(--gold-light); }

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--white-muted);
  padding: 6px 12px;
  border: 1px solid rgba(245, 243, 239, 0.1);
  border-radius: 2px;
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}

.footer__socials a:hover {
  color: var(--gold);
  border-color: var(--gold-muted);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--white-muted);
}

/* ——— CONTACT PAGE ——— */
.contact-page { }

.contact-hero {
  position: relative;
  padding: clamp(120px, 15vw, 180px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.contact-hero__headline {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.95;
  margin-bottom: 20px;
}

.contact-hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white-dim);
  max-width: 480px;
}

.contact-body { background: var(--black); }

.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 100px;
}

.contact-info__block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245, 243, 239, 0.07);
}

.contact-info__block:last-child {
  border-bottom: none;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 8px;
}

.info-value {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}

.info-value--link {
  color: var(--gold-light);
  transition: color var(--t-fast) var(--ease-out);
}

.info-value--link:hover { color: var(--gold); }

.contact-socials { }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.social-link {
  font-size: 0.875rem;
  color: var(--white-muted);
  transition: color var(--t-fast) var(--ease-out);
}

.social-link:hover { color: var(--gold-light); }

/* ——— CONTACT FORM ——— */
.contact-form-wrap {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 52px);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.required { color: var(--gold); margin-left: 2px; }

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--black);
  border: 1px solid rgba(245, 243, 239, 0.12);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 14px 16px;
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white-muted);
  font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e05252;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.char-count {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--white-muted);
  text-align: right;
  margin-top: -4px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  padding-right: 40px;
  cursor: pointer;
}

.select-wrapper select option {
  background: var(--black-card);
  color: var(--white);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-muted);
  font-size: 0.75rem;
  pointer-events: none;
}

.field-error {
  font-size: 0.75rem;
  color: #e05252;
  min-height: 18px;
  display: block;
}

/* Checkbox */
.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--white-muted);
  cursor: pointer;
  line-height: 1.5;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 300 !important;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--black);
  border: 1px solid rgba(245, 243, 239, 0.2);
  border-radius: 2px;
  margin-top: 1px;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  position: relative;
  padding: 0;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
}

/* Form feedback */
.form-feedback {
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-feedback--success {
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.3);
  color: #68d391;
}

.form-feedback--error {
  background: rgba(224, 82, 82, 0.1);
  border: 1px solid rgba(224, 82, 82, 0.3);
  color: #e05252;
}

.form-feedback[hidden] { display: none; }

/* ——— SCROLL REVEAL ANIMATIONS ——— */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

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

.reveal--delay   { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* ——— GLOBAL ANIMATIONS ——— */
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

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

/* ——— RESPONSIVE ——— */

/* Tablet */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 280px 1fr;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
  }

  /* Nav mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity var(--t-mid) var(--ease-out),
                transform var(--t-mid) var(--ease-out);
    z-index: 1005;
  }

  .nav__links.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav__links li a {
    font-size: 1.25rem;
    letter-spacing: 0.15em;
  }

  .nav__cta {
    font-size: 0.9rem !important;
    padding: 12px 32px !important;
  }

  /* Hero mobile */
  .hero {
    padding-bottom: 120px;
    align-items: flex-end;
  }

  .hero__content {
    padding-top: 80px;
  }

  .hero__scroll { display: none; }

  /* Layout stacks */
  .about__grid { grid-template-columns: 1fr; }
  .about__stats { flex-wrap: wrap; gap: 20px; }

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

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

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

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Contact page mobile */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    font-size: 0.78rem;
    padding: 13px 24px;
  }
}

/* ——— REDUCED MOTION ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .line {
    opacity: 1;
    transform: none;
  }

  .hero__eyebrow,
  .hero__sub,
  .hero__actions,
  .hero__scroll,
  .hero__ticker {
    opacity: 1;
  }
}

.footer__phone {
  display: block;
  font-size: 0.875rem;
  color: var(--white-muted);
  margin-bottom: 20px;
  transition: color var(--t-fast) var(--ease-out);
}

.footer__phone:hover { color: var(--gold-light); }