/* ============================================================
   Ghulam Mujtaba — Portfolio
   Minimal monochrome · big bold sans · motion-forward
   ============================================================ */

:root {
  --bg:      oklch(0.972 0.004 95);
  --bg-2:    oklch(0.945 0.004 95);
  --ink:     oklch(0.165 0.005 95);
  --ink-2:   oklch(0.46 0.005 95);
  --ink-3:   oklch(0.62 0.004 95);
  --line:    oklch(0.86 0.004 95);
  --line-2:  oklch(0.80 0.004 95);
  --inverse: oklch(0.155 0.006 95);
  --inverse-ink: oklch(0.96 0.004 95);

  --maxw: 1480px;
  --pad: clamp(20px, 5vw, 80px);
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- shared layout --- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--mono);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ink-3);
  display: inline-block;
}

.section-label {
  font-family: var(--mono);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.section-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   SMOOTH SCROLL (GSAP ScrollSmoother) + FISHEYE
   ============================================================ */
/* ScrollSmoother transforms #smooth-content inside this fixed wrapper. */
#smooth-wrapper { overflow: hidden; }
#smooth-content { will-change: transform; }

/* Fisheye rows are scaled/faded per-frame by scroll-fx.js. Centre origin
   so each row magnifies symmetrically as it passes the viewport middle. */
.fisheye > *,
.fisheye-item { transform-origin: 50% 50%; backface-visibility: hidden; }

/* No-JS / reduced-motion safety: never leave a row stuck dimmed. */
@media (prefers-reduced-motion: reduce) {
  .fisheye > *,
  .fisheye-item { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  mix-blend-mode: difference;
  color: #fff;
}
.nav a, .nav button { color: #fff; }
.nav__brand {
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width 0.4s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__menu { display: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 50svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 130px var(--pad) clamp(34px, 4vw, 56px);
  overflow: hidden;
}
#shader {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block;
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 4vw, 72px);
}
.hero__text { flex: 1 1 auto; min-width: 0; }

.hero__portrait {
  flex: 0 0 min(34vw, 1040px); align-self: flex-end; margin: 0;
  height: min(76svh, 3020px);
  position: relative; overflow: visible;
  z-index: 0; pointer-events: none;
}
.hero__portrait img {
  width: 100%; height: 100%; object-fit: contain; object-position: right bottom;
  display: block; transform: translateY(72px);
}

.hero__eyebrow { margin-bottom: clamp(20px, 4vh, 48px); }

.hero__name {
  font-weight: 800;
  font-size: clamp(3.4rem, 14.5vw, 20rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero__name span { display: block; }
.hero__name .thin { font-weight: 200; }

.hero__role {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px;
  margin: clamp(20px, 3vh, 36px) 0 0;
  padding-top: clamp(18px, 2.5vh, 28px);
  border-top: 1px solid var(--line-2);
}
.hero__role h2 {
  font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.6rem); letter-spacing: -0.01em;
}
.hero__role p {
  font-family: var(--mono); font-size: clamp(12px, 1vw, 14px); color: var(--ink-2);
  max-width: 42ch;
}
.hero__meta {
  margin-left: auto;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em;
  color: var(--ink-2); text-align: right; white-space: nowrap;
}
.hero__meta b { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .hero__inner { flex-direction: row; align-items: flex-end; gap: 16px; }
  .hero__text { flex: 1 1 56%; }
  .hero__portrait { flex-basis: 40%; height: min(54svh, 480px); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(18px, 2vw, 28px); z-index: 2;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue span { width: 1px; height: 34px; background: var(--ink-3); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(0.3); opacity:0.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden; white-space: nowrap;
  padding: clamp(16px, 2vw, 26px) 0;
}
.marquee--ink { background: var(--inverse); color: var(--inverse-ink); border-color: transparent; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; animation: scroll-x 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-weight: 700; font-size: clamp(1.3rem, 3vw, 2.6rem); letter-spacing: -0.02em;
  text-transform: uppercase; padding: 0 0.5em; display: inline-flex; align-items: center; gap: 0.5em;
}
.marquee__track .star { font-weight: 300; opacity: 0.4; }
@keyframes scroll-x { from { transform: translateX(0) } to { transform: translateX(-50%) } }

.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 48s; }

/* ============================================================
   SKILLS / SERVICES
   ============================================================ */
.section { padding: clamp(80px, 12vh, 160px) 0; }
.section__head {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-bottom: clamp(48px, 7vw, 96px);
  max-width: 1100px;
}
.section__head .lead {
  font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--ink-2); font-weight: 400;
  max-width: 56ch; line-height: 1.45; text-wrap: pretty;
}

.services { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 28px 48px;
  padding: clamp(34px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s var(--ease);
}
.service:hover { background: var(--bg-2); }
.service__num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 10px; }
.service__title h3 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 3rem); letter-spacing: -0.03em; line-height: 0.98; }
.service__title .tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); display: block; margin-bottom: 12px;
}
.service__body p { color: var(--ink-2); font-size: clamp(0.98rem, 1.4vw, 1.12rem); max-width: 50ch; margin-bottom: 22px; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em;
  border: 1px solid var(--line-2); border-radius: 100px;
  padding: 6px 14px; color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 18px; }
  .service__num { padding-top: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-2); }
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__text h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 28px; }
.about__text p { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-2); line-height: 1.55; max-width: 52ch; margin-bottom: 20px; text-wrap: pretty; }
.about__text strong { color: var(--ink); font-weight: 600; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  padding: 14px 24px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--ink); transition: all 0.35s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.about__aside { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line-2); }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.stat__num { font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); text-align: right; max-width: 16ch; }

@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3vw, 48px); }
.project { display: flex; flex-direction: column; gap: 20px; }
.project__media {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, var(--bg-2) 0 12px, var(--bg) 12px 24px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.project__media .ph {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); border: 1px dashed var(--line-2); padding: 8px 14px; border-radius: 6px; background: var(--bg);
}
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__media::after {
  content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity 0.5s var(--ease);
}
.project:hover .project__media::after { opacity: 0.04; }
.project__no { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.project__title { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 14px; }
.project__title .arrow { font-weight: 300; transition: transform 0.4s var(--ease); display: inline-block; }
.project:hover .project__title .arrow { transform: translate(4px, -4px); }
.project__desc { color: var(--ink-2); font-size: 1.02rem; line-height: 1.5; max-width: 48ch; }
.project__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.project__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.project__org { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* Last tile: a contact call-to-action instead of a real project */
.project--cta {
  background: var(--inverse); color: var(--inverse-ink);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 18px; padding: clamp(28px, 3vw, 44px);
  min-height: 100%; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background 0.45s var(--ease);
}
.project--cta__image {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: right bottom;
  z-index: 0;
}
.project--cta:hover { background: var(--inverse); }
.project--cta__label, .project--cta__title, .project--cta__desc, .project--cta__btn { position: relative; z-index: 1; max-width: 42%; }
.project--cta__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: oklch(0.62 0.005 95);
}
.project--cta__title {
  font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.03em; line-height: 1; margin-top: 6px;
}
.project--cta__desc {
  color: oklch(0.72 0.005 95); font-size: 1.02rem; line-height: 1.5;
  max-width: min(34ch, 42%); margin-bottom: auto;
}
.project--cta__btn {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 100px;
  border: 1px solid oklch(0.4 0.005 95); margin-top: 22px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.project--cta__btn .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.project--cta__btn .arrow { font-weight: 300; transition: transform 0.4s var(--ease); }
.project--cta:hover .project--cta__btn { background: var(--inverse-ink); color: var(--inverse); border-color: var(--inverse-ink); }
.project--cta:hover .project--cta__btn .arrow { transform: translate(3px, -3px); }

@media (max-width: 760px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project--cta__image { width: 58%; }
  .project--cta__label, .project--cta__title, .project--cta__desc, .project--cta__btn { max-width: 42%; }
}

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.exp { border-top: 1px solid var(--line); }
.job {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 48px;
  padding: clamp(34px, 4.5vw, 52px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.job__date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); line-height: 1.7; }
.job__date .now { color: var(--ink); font-weight: 600; }
.job__role h3 { font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: -0.03em; line-height: 0.98; margin-bottom: 8px; }
.job__role .org { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.job__role .loc { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.job__points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.job__points li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }
.job__points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border: 1px solid var(--ink-3); }

@media (max-width: 860px) { .job { grid-template-columns: 1fr; gap: 14px; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tmls { overflow: hidden; }
.tml-row { display: flex; gap: 24px; width: max-content; will-change: transform; animation: scroll-x 60s linear infinite; }
.tml-row:hover { animation-play-state: paused; }
.tml {
  width: clamp(300px, 32vw, 440px); flex: none;
  border: 1px solid var(--line); background: var(--bg);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.tml p { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.tml__by { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.tml__by b { font-weight: 700; font-size: 0.95rem; }
.tml__by span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3vw, 34px) 0; font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em; color: var(--ink);
}
.faq__q .icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .icon::before, .faq__q .icon::after { content: ""; position: absolute; background: var(--ink); transition: transform 0.4s var(--ease); }
.faq__q .icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq__q .icon::after { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); }
.faq__item.open .icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease); }
.faq__a-inner { padding-bottom: clamp(22px, 3vw, 34px); color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; max-width: 70ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--inverse); color: var(--inverse-ink); }
.contact ::selection { background: var(--bg); color: var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.contact__intro h2 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 28px; }
.contact__intro p { color: oklch(0.72 0.005 95); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 44ch; margin-bottom: 36px; }
.contact__links { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid oklch(0.32 0.005 95); }
.contact__links a, .contact__links button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid oklch(0.32 0.005 95);
  font-family: var(--mono); font-size: clamp(13px, 1.3vw, 15px); letter-spacing: 0.02em;
  color: var(--inverse-ink); text-align: left; width: 100%; transition: padding 0.35s var(--ease), color 0.35s var(--ease);
}
.contact__links a:hover, .contact__links button:hover { padding-left: 14px; color: oklch(0.78 0.005 95); }
.contact__links .lbl { color: oklch(0.6 0.005 95); }

.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.62 0.005 95); }
.field input, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid oklch(0.36 0.005 95);
  color: var(--inverse-ink); font-family: var(--sans); font-size: 1.1rem; padding: 10px 0; transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--inverse-ink); }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.5 0.005 95); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: none;
  border: 1px solid oklch(0.36 0.005 95); border-radius: 100px; padding: 9px 18px; cursor: pointer;
  color: oklch(0.7 0.005 95); transition: all 0.3s var(--ease);
}
.radio-row input { position: absolute; opacity: 0; pointer-events: none; }
.radio-row input:checked + label { background: var(--inverse-ink); color: var(--inverse); border-color: var(--inverse-ink); }
.form .btn { align-self: flex-start; border-color: var(--inverse-ink); color: var(--inverse-ink); }
.form .btn:hover { background: var(--inverse-ink); color: var(--inverse); }
.form__note { font-family: var(--mono); font-size: 12px; color: oklch(0.6 0.005 95); min-height: 16px; }

@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { background: var(--inverse); color: var(--inverse-ink); padding-bottom: clamp(40px, 6vw, 80px); }
.cta .marquee { background: transparent; border-color: oklch(0.3 0.005 95); }
.cta .marquee__track span { font-weight: 800; font-size: clamp(2.5rem, 9vw, 9rem); letter-spacing: -0.03em; }
.cta .marquee__track .star { opacity: 0.5; }

.footer { background: var(--inverse); color: var(--inverse-ink); }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid oklch(0.3 0.005 95); }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.58 0.005 95); margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; font-size: 0.98rem; color: oklch(0.82 0.005 95); margin-bottom: 8px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--inverse-ink); }
.footer__brand { font-weight: 800; font-size: clamp(3rem, 14vw, 11rem); letter-spacing: -0.05em; line-height: 0.85; text-transform: uppercase; padding-bottom: 28px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-block: 28px; border-top: 1px solid oklch(0.3 0.005 95); font-family: var(--mono); font-size: 12px; color: oklch(0.6 0.005 95); }
.footer__bottom a { color: oklch(0.78 0.005 95); }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200; background: var(--inverse); color: var(--inverse-ink);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  transform: translateY(-100%); transition: transform 0.6s var(--ease); gap: 6px;
}
.menu-overlay.open { transform: none; }
.menu-overlay a { font-weight: 800; font-size: clamp(2.4rem, 11vw, 5rem); letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.05; }
.menu-overlay .close { position: absolute; top: 22px; right: var(--pad); font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
