/* ============ tokens ============ */
:root {
  --bg: #000;
  --fg: #fff;
  --fg-muted: #b3b3b3;
  --fg-faint: #5a5a5a;
  --line: #1f1f1f;
  --line-strong: #474747;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.12);
  --accent-glow: rgba(255, 255, 255, 0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Druk Text Condensed", "Druk Condensed", "Druk", "Anton", "Bebas Neue", "Inter Tight", system-ui, sans-serif;
  --font-brand: "Clash Display", "Anton", "Inter Tight", system-ui, sans-serif;
  --font-body: "Satoshi", "Inter", system-ui, sans-serif;
  --pad-x: clamp(20px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.88;
}

/* smooth page transitions */
@keyframes page-in { from { opacity: 0; } }
body { animation: page-in 0.45s ease; }
body.page-leave { opacity: 0; transition: opacity 0.22s ease; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

em {
  font-style: normal;
  color: var(--fg);
}
p em { opacity: 1; }
.hero-statement em { border-bottom: 1px solid var(--line-strong); }

/* ============ intro splash ============ */
.intro {
  position: fixed; inset: 0;
  z-index: 999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: transform 0.75s var(--ease);
}
.intro.is-done { transform: translateY(-100%); }

.intro-logo {
  width: min(58vw, 340px);
  opacity: 0;
  transform: scale(0.85);
  animation: intro-logo 0.9s var(--ease) 0.15s forwards;
}
@keyframes intro-logo {
  to { opacity: 1; transform: scale(1); }
}

.intro-bar {
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  animation: intro-bar 0.7s var(--ease) 0.8s forwards;
}
@keyframes intro-bar {
  to { width: min(58vw, 340px); }
}

/* freeze page + hold hero entrances while the intro plays */
body.intro-lock { overflow: hidden; }
body.intro-lock .enter { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  body.intro-lock { overflow: auto; }
  body.intro-lock .enter { animation-play-state: running; }
}

/* ============ glossy background ============ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.bg-glow-orange {
  width: 46vw; height: 46vw;
  min-width: 420px; min-height: 420px;
  background: rgba(255, 255, 255, 0.06);
  top: -18%; right: -10%;
  animation: drift-a 24s var(--ease) infinite alternate;
}
.bg-glow-white {
  width: 40vw; height: 40vw;
  min-width: 380px; min-height: 380px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -22%; left: -12%;
  animation: drift-b 30s var(--ease) infinite alternate;
}
@keyframes drift-a { to { transform: translate(-6vw, 8vh) scale(1.08); } }
@keyframes drift-b { to { transform: translate(7vw, -7vh) scale(1.1); } }

.bg-streak {
  position: absolute; inset: -20%;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.028) 44%,
    rgba(255, 255, 255, 0.05) 47%,
    rgba(255, 255, 255, 0.028) 50%,
    transparent 56%);
}

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 160px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* 10X shadow watermark anchored behind the hero */
.hero, .contact-page { position: relative; }

.hero-mark {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  width: clamp(480px, 72vw, 920px);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ shared micro-labels ============ */
.section-label,
.nav-links a,
.nav-clock,
.ph-tag,
.footer-label,
.footer-col a,
.footer-copy,
.field label,
.stat-label,
.hero-kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* orange tick dot used before labels */
.tick-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent);
  margin-right: 10px;
  transform: translateY(-1px);
  box-shadow: 0 0 10px var(--accent-glow);
}

.logo-img[hidden] { display: none !important; }

/* chrome 10X mark */
.chrome {
  font-family: var(--font-display);
  font-style: italic;
  background: linear-gradient(180deg, #fff 8%, #c9c9c9 38%, #6f6f6f 52%, #e8e8e8 78%, #9a9a9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px var(--pad-x);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.nav-logo .logo-img { height: 22px; width: auto; display: block; }
.nav-logo .logo-mark { font-size: 1.5rem; line-height: 1; }

.logo-divider {
  width: 1px; height: 18px;
  background: var(--line-strong);
}

.chrome { font-style: normal; }

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}

.nav-links { display: flex; gap: 26px; justify-content: center; }
.nav-links a {
  color: var(--fg-muted);
  padding: 5px 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-clock {
  justify-self: end;
  display: flex; gap: 8px;
  color: var(--fg-faint);
  font-variant-numeric: tabular-nums;
}
.nav-clock .clock-label { color: var(--fg-muted); }

.nav-toggle { display: none; padding: 8px; color: var(--fg); }

/* ============ hero ============ */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(30px, 5vh, 54px) var(--pad-x) 0;
  text-align: center;
}

.hero-kicker { color: var(--fg-muted); margin-bottom: 10px; }

.hero-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(2.9rem, 10.5vw, 9.25rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: #fff;
  filter: drop-shadow(0 12px 50px rgba(255, 255, 255, 0.08));
}

.hero-statement {
  max-width: 720px;
  margin: clamp(14px, 2.5vh, 22px) auto 0;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  color: #cfcfcc;
}
.hero-statement em {
  font-weight: 700;
  color: #fff;
}

.ai-chip {
  display: inline-block;
  padding: 0 12px 2px;
  margin: 0 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 18px rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.88em;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}

/* ============ showreel ============ */
.reel {
  position: relative;
  margin-top: clamp(22px, 3.5vh, 36px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(120% 100% at 25% 15%, #1c1c1c, #0a0a0a 70%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.6);
}
.reel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 35%);
  pointer-events: none;
}

.reel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
}
.reel.has-video .reel-video { display: block; }
.reel.has-video .reel-fallback { display: none; }

.reel-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}

.reel-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
}
.reel-badge svg { color: var(--accent); }

.reel-hint {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ============ stats ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: clamp(20px, 3.5vh, 32px) auto 0;
}

.stat {
  text-align: center;
  padding: 4px 12px;
}
.stat + .stat { border-left: 1px solid var(--line); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1;
  display: block;
}
.stat-label { color: var(--fg-faint); display: block; margin-top: 5px; }

/* ============ brands strip ============ */
.brands { padding-top: clamp(36px, 5vh, 52px); }

.brand-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.brand-track {
  display: flex;
  width: max-content;
  animation: brand-scroll 38s linear infinite;
}
.brand-marquee:hover .brand-track { animation-play-state: paused; }

.brand-set {
  display: flex;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding: 22px clamp(48px, 7vw, 96px) 22px 0;
}

@keyframes brand-scroll { to { transform: translateX(-50%); } }

.brand-logo {
  height: clamp(24px, 3vw, 36px);
  width: auto;
  opacity: 0.45;
  filter: grayscale(1) contrast(1.25) brightness(1.05);
  mix-blend-mode: screen;
  cursor: default;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease), transform 0.25s var(--ease);
}
.brand-logo-wide { height: clamp(13px, 1.7vw, 20px); }
.brand-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: grayscale(1) contrast(1.25) brightness(1.6)
          drop-shadow(0 0 16px var(--accent-glow));
}

/* ============ sections ============ */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 7vh, 72px) var(--pad-x) 0;
}

.section-label {
  color: var(--fg-muted);
  margin-bottom: 16px;
  text-align: center;
}

/* ============ services ============ */
.service-list { list-style: none; max-width: 880px; margin: 0 auto; }

.service-row {
  display: grid;
  grid-template-columns: 46px 1fr 1.2fr;
  gap: clamp(14px, 3vw, 40px);
  align-items: baseline;
  padding: 13px 10px;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background 0.3s var(--ease), border-left-color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover {
  background: linear-gradient(90deg, var(--accent-soft), transparent 45%);
  border-left-color: var(--accent);
  padding-left: 18px;
}

.service-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.service-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.service-row p { color: var(--fg-muted); font-size: 0.9rem; }

/* ============ projects ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.project-card {
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project-card:hover, .project-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(255, 255, 255, 0.08);
}

.project-media {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-media { transform: scale(1.04); }

.project-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.project-card.has-video .project-video,
.case-card.has-video .project-video { display: block; }
.project-card.has-video .ph-tag,
.case-card.has-video .ph-tag { display: none; }

.ph-tag {
  color: var(--fg-faint);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
}

.ph-a { background: radial-gradient(130% 100% at 20% 10%, #2c2c2c, #101010 72%); }
.ph-b { background: radial-gradient(130% 100% at 80% 15%, #242424, #0d0d0d 70%); }
.ph-c { background: linear-gradient(155deg, #2e2e2e, #0c0c0c 75%); }
.ph-d { background: radial-gradient(120% 120% at 50% 100%, #272727, #0e0e0e 70%); }
.ph-e { background: linear-gradient(205deg, #292929, #0d0d0d 70%); }
.ph-f { background: radial-gradient(140% 90% at 15% 85%, #252525, #0f0f0f 72%); }

.project-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px 17px;
  border-top: 1px solid var(--line);
}
.project-info h3 {
  font-size: 1.15rem;
  transition: color 0.25s var(--ease);
}
.project-card:hover .project-info h3 { color: var(--accent); }
.project-info span {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
}

.view-all {
  display: block;
  width: max-content;
  margin: 30px auto 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.view-all:hover, .view-all:focus-visible { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ============ CTA ============ */
.cta {
  text-align: center;
  padding-bottom: clamp(44px, 7vh, 72px);
}

.cta-title {
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 0.95;
  max-width: 22ch;
  margin: 0 auto;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(22px, 3.5vh, 34px);
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
  padding: 16px 44px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-cta:hover, .btn-cta:focus-visible {
  transform: translateY(-3px) scale(1.02);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-cta:active { transform: scale(0.97); }

.cta-email {
  display: block;
  width: max-content;
  margin: 18px auto 0;
  font-size: 0.85rem;
  color: var(--fg-faint);
  transition: color 0.2s var(--ease);
}
.cta-email:hover, .cta-email:focus-visible { color: var(--accent); }

/* ============ inner pages (case studies / my work) ============ */
.page-head { text-align: center; padding-top: clamp(30px, 5vh, 52px); }

.page-title {
  font-size: clamp(2.9rem, 8.5vw, 7rem);
  line-height: 0.88;
}

.page-lede {
  max-width: 480px;
  margin: 12px auto 0;
  color: var(--fg-muted);
  font-size: 1rem;
}

.page-cta {
  text-align: center;
  margin-top: clamp(32px, 5vh, 52px);
  padding-bottom: clamp(44px, 7vh, 72px);
}
.page-cta p { color: var(--fg-muted); margin-bottom: 4px; }

/* case studies */
.case-list { display: flex; flex-direction: column; gap: clamp(24px, 4vh, 44px); }

.case-card {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(20px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 255, 255, 0.06);
}

.case-media .project-media { border-radius: 12px; border: 1px solid var(--line); }

.case-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--fg-faint);
  margin-bottom: 10px;
}

.case-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }

.case-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 8px 0 12px;
}

.case-desc { color: var(--fg-muted); font-size: 0.95rem; max-width: 52ch; }

.case-points { display: grid; gap: 14px; margin-top: 20px; }
.case-points dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
.case-points dd { color: var(--fg-muted); font-size: 0.9rem; max-width: 58ch; }
.case-points dd strong { color: var(--fg); }

.ph-note { color: var(--fg-faint); font-size: 0.8em; font-style: italic; }

.case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 6px;
}
.case-stat { display: flex; flex-direction: column; gap: 4px; }
.case-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1;
  color: #fff;
  letter-spacing: 0;
}
.case-stat small {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.case-cta {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.case-cta:hover, .case-cta:focus-visible { color: var(--accent); border-color: var(--accent); }

/* my work gallery (masonry) */
.gallery { columns: 3 240px; column-gap: 14px; }

.gallery .project-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 14px;
  display: block;
}

.g-tall .g-media { aspect-ratio: 9 / 16; }
.g-sq .g-media { aspect-ratio: 1 / 1; }

.g-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.g-caption h3 { font-size: 1.05rem; }
.g-caption span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* ============ contact page ============ */
.contact-page {
  max-width: 760px;
  text-align: center;
  padding-bottom: clamp(64px, 10vh, 104px);
}

.contact-heading {
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.86;
}

.contact-lede {
  max-width: 460px;
  margin: 12px auto 0;
  color: var(--fg-muted);
  font-size: 0.98rem;
}

.inquiry-form { margin-top: clamp(30px, 4.5vh, 44px); text-align: left; }

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

.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }

.field label { color: var(--fg-muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { resize: vertical; min-height: 130px; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }

.btn-submit { margin-top: 26px; width: 100%; }
.btn-submit:disabled { opacity: 0.55; cursor: progress; transform: none; }

.form-error { color: #ff5a5a; font-size: 0.85rem; margin-top: 18px; }
.form-success { color: var(--accent); font-size: 0.9rem; margin-top: 16px; text-align: center; }

/* ============ footer ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(28px, 4.5vh, 44px) var(--pad-x) 32px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 2px;
  background: var(--accent);
}

.footer-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(2.2rem, 8.5vw, 7rem);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin-bottom: clamp(18px, 3vh, 30px);
  color: #fff;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 26px;
  justify-items: center;
}

.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: center; }

.footer-label { color: var(--fg-faint); margin-bottom: 4px; }

.footer-col a {
  color: var(--fg-muted);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover, .footer-col a:focus-visible { color: var(--accent); }

.footer-copy { color: var(--fg-faint); }

/* ============ corner brand mark ============ */
.corner-logo {
  position: fixed;
  right: 22px; bottom: 20px;
  z-index: 90;
  opacity: 0.55;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.corner-logo:hover, .corner-logo:focus-visible { opacity: 1; transform: translateY(-2px); }
.corner-logo .logo-img { height: 26px; width: auto; display: block; }
.corner-logo .logo-mark { font-size: 1.7rem; line-height: 1; }

/* ============ entrance animations ============ */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.enter { opacity: 0; animation: rise 0.8s var(--ease) forwards; }
.e-1 { animation-delay: 0.05s; }
.e-2 { animation-delay: 0.15s; }
.e-3 { animation-delay: 0.3s; }
.e-4 { animation-delay: 0.45s; }
.e-5 { animation-delay: 0.6s; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ focus & motion ============ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .enter { opacity: 1; animation: none; }
  .bg-glow { animation: none; }
  .brand-track { animation: none; }
  body { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ============ responsive ============ */
@media (max-width: 880px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-clock { display: none; }
  .nav-links {
    position: fixed;
    top: 54px; right: 0; left: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px 20px;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 2px; font-size: 0.9rem; }
  .nav-toggle { display: inline-flex; justify-self: end; }

  .service-row { grid-template-columns: 36px 1fr; }
  .service-row p { grid-column: 2; }

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

  .stats { grid-template-columns: 1fr; max-width: 420px; }

  .corner-logo { display: none; }

  .case-card { grid-template-columns: 1fr; }
  .case-media .project-media { max-width: 420px; margin: 0 auto; }
}
