/* ============================================================
   Ademola — UI/UX designer · Developer · AI creator
   Editorial portfolio · charcoal + gold · Fraunces + Figtree
   ============================================================ */

:root {
  --bg: #14110f;
  --bg-soft: #1b1713;
  --card: #1f1a16;
  --line: rgba(244, 238, 221, .14);
  --cream: #f4eee1;
  --paper: #efe9dc;
  --muted: #a89b86;
  --faint: #776c5a;
  --gold: #c59341;
  --gold-2: #e0b464;
  --terracotta: #c96f4a;
  --sage: #a8c686;
  --wa: #25d366;
  --wa-ink: #071c12;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;
  --radius: 20px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; }

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

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

body.no-scroll { overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-radius: 999px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */

.container {
  width: min(1180px, 100% - 44px);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 44px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(197, 147, 65, .28);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 238, 225, .35);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-wa {
  background: var(--wa);
  color: var(--wa-ink);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .3);
}

.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(20, 17, 15, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(20, 17, 15, .94); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -.01em;
  text-decoration: none;
  z-index: 1002;
}
.logo-dot { color: var(--gold); }

.nav-menu { display: flex; align-items: center; gap: 26px; }

.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-list a {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-list a:hover { color: var(--cream); }
.nav-list a.active { color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  cursor: pointer;
  z-index: 1002;
}
.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  margin-inline: auto;
  transition: transform .28s var(--ease), opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2005;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--nav-h) + 84px) 0 96px;
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(197, 147, 65, .16), transparent 60%),
    radial-gradient(900px 420px at -5% 110%, rgba(201, 111, 74, .12), transparent 55%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197, 147, 65, .1);
  border: 1px solid rgba(197, 147, 65, .4);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse 2.2s ease-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 40px;
}
.hero-tags li {
  position: relative;
  font-size: .95rem;
  color: var(--cream);
}
.hero-tags li + li::before {
  content: "·";
  position: absolute;
  left: -16px;
  color: var(--gold);
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(27, 23, 19, .6);
  overflow: hidden;
}
.stat {
  flex: 1 1 140px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--gold);
}
.stat-label {
  font-size: .84rem;
  color: var(--muted);
}

/* Hero media */

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.media-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  border: 1px solid rgba(244, 238, 225, .22);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 14px 14px 0 var(--gold);
  transition: transform .35s var(--ease);
  cursor: pointer;
}
.media-stage:hover { transform: rotate(-1.4deg) scale(1.015); }

.media-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease;
}
.media-poster.is-hidden { opacity: 0; pointer-events: none; }

.media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}
.media-video.is-visible { opacity: 1; }

.media-sticker {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--gold);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--bg);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(244, 238, 225, .3);
  background: var(--bg-soft);
  color: var(--cream);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.play-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
}
.play-btn.is-error { border-color: var(--terracotta); color: var(--terracotta); }

.media-hint {
  font-size: .86rem;
  color: var(--faint);
}

/* ---------- Marquee ---------- */

.marquee-band {
  overflow: hidden;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }

.m-set {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--cream);
  white-space: nowrap;
}
.m-set i {
  font-style: normal;
  color: var(--gold);
  font-size: .8em;
}

/* ---------- Services ---------- */

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

.svc-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 147, 65, .6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}

.svc-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  opacity: .75;
}

.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.15;
}

.svc-card p { color: var(--muted); font-size: .98rem; }

.svc-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.svc-card li {
  position: relative;
  padding-left: 20px;
  font-size: .94rem;
  color: var(--cream);
}
.svc-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- Work ---------- */

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}
.project:first-of-type { border-top: 0; }

.project.alt .pmedia { order: 2; }
.project.alt .pinfo  { order: 1; }

.work-group { margin-top: 24px; }
.work-group-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 52px 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font: 600 0.95rem/1 var(--figtree);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--cream);
}
.work-group-title span { color: var(--gold); letter-spacing: 0.3em; }
.work-group-title::after {
  content: "";
  flex: 1;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.work-group:first-of-type .work-group-title { margin-top: 44px; }

.pmedia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
}
.pmedia::after {
  content: "Open ↗";
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: 600 0.85rem/1 var(--figtree);
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.pmedia:hover::after,
.pmedia:focus-visible::after { opacity: 1; transform: translateY(0); }
.pmedia:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.pmedia .pfig { overflow: hidden; border-radius: 18px; }
.pmedia:hover .pfig img { transform: scale(1.04); }

.pfig {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--card);
}
.pfig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10.4;
  transition: transform .5s var(--ease);
}
.pfig:hover img { transform: scale(1.04); }

.pinfo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.p-cat {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.p-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}

.p-desc { color: var(--muted); max-width: 52ch; }

.p-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-tools li {
  font-size: .82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

.p-points {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.p-points li {
  position: relative;
  padding-left: 28px;
  font-size: .96rem;
  color: var(--cream);
}
.p-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

.work-note {
  margin-top: 52px;
  text-align: center;
  color: var(--faint);
  font-size: .96rem;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.proc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s var(--ease), border-color .25s ease;
}
.proc-card:hover { transform: translateY(-5px); border-color: rgba(197, 147, 65, .5); }

.proc-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.proc-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}
.proc-card p { color: var(--muted); font-size: .95rem; }

.promise {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.promise li {
  font-size: .92rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
}

/* ---------- Toolkit ---------- */

.toolkit {
  border-top: 1px solid var(--line);
  padding: 52px 0;
}
.toolkit-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}
.tool-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tool-chips li {
  font-size: .95rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: color .2s ease, border-color .2s ease;
}
.tool-chips li:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Contact ---------- */

.contact {
  border-top: 1px solid var(--line);
}
.contact-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 26px;
}

.contact-email {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 3.4vw, 2rem);
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--cream);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 28px;
  margin-bottom: 34px;
  transition: border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.contact-email:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 900px;
  margin-bottom: 30px;
}
.m-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: transform .25s var(--ease), border-color .2s ease, background .2s ease;
}
.m-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--card);
}
.m-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(197, 147, 65, .12);
  color: var(--gold);
}
.m-card:nth-child(1) .m-ic { color: var(--wa); background: rgba(37, 211, 102, .12); }
.m-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m-k {
  font: 600 .72rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
}
.m-v {
  font: 600 .95rem/1.25 var(--font-body);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.m-card:hover .m-v { color: var(--gold); }
.m-go { margin-left: auto; color: var(--gold); flex: none; font-size: .9rem; }

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.soc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--cream);
  text-decoration: none;
  font: 600 .88rem/1 var(--font-body);
  transition: transform .2s var(--ease), border-color .2s ease, color .2s ease;
}
.soc:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
}

.drawer-wa {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
}
.drawer-wa a {
  color: var(--wa);
  font-weight: 600;
  text-decoration: none;
}
.drawer-wa a:hover { text-decoration: underline; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waPulse 2.2s var(--ease) infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .9rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--gold); }
.footer-mail { color: var(--cream); text-decoration: none; font-weight: 600; }
.footer-mail:hover { color: var(--gold); }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-top { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-top:hover { text-decoration: underline; }

/* ---------- Drawer ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
}
.drawer[hidden] { display: none; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, .68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: fadeIn .25s ease both;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(460px, 100%);
  padding: 72px 30px 30px;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  animation: drawerIn .38s var(--ease) both;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.drawer-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }

.drawer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin: 10px 0 8px;
}
.drawer-sub { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 600;
  font-size: .9rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--cream);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 147, 65, .18);
}
.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid {
  border-color: var(--terracotta);
}

.form-hint { margin-top: 12px; font-weight: 600; font-size: .92rem; min-height: 1.4em; }
.form-hint.ok { color: var(--sage); }
.form-hint.err { color: #e08a68; }

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease), border-color .2s ease;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { border-color: var(--gold); }

/* ---------- Reveals ---------- */

.reveal {
  opacity: 0;
  transition: opacity .7s ease, transform .7s var(--ease);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal-up { transform: translateY(30px); }
.reveal-right { transform: translateX(40px); }
.reveal.inview { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */

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

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes drawerIn {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 198, 134, .5); }
  70% { box-shadow: 0 0 0 9px rgba(168, 198, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 198, 134, 0); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { order: -1; }
  .svc-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr; gap: 28px; }
  .project.alt .pmedia { order: 0; }
  .project.alt .pinfo  { order: 0; }
  .work-group-title { margin: 40px 0 24px; }
  .contact-methods { grid-template-columns: 1fr 1fr; max-width: 640px; }
}

@media (max-width: 860px) {
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(86vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(27, 23, 19, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    padding: calc(var(--nav-h) + 24px) 28px 40px;
    transform: translateX(105%);
    transition: transform .38s var(--ease);
  }
  .nav-menu.open { transform: none; }

  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-list a { font-size: 1.4rem; padding: 12px 8px; }
  .section { padding: 84px 0; }

  .hero-stats { flex-wrap: wrap; }
  .stat { flex-basis: 40%; }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .marquee-band { padding: 20px 0; }
  .hero-stats { flex-direction: column; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat { flex-basis: auto; }
  .media-stage { width: min(100%, 360px); }
  .btn { width: 100%; }
  .contact-email { font-size: 1.05rem; }
  .contact-methods { grid-template-columns: 1fr; }
  .m-v { font-size: .88rem; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .hero-actions .btn-wa { order: -1; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; gap: 10px 30px; }
  .pulse-dot, .eyebrow .dot { animation: none; }
  .media-stage:hover, .svc-card:hover, .proc-card:hover { transform: none; }
}