:root {
  --black: #0a0a0a;
  --panel: #131313;
  --white: #f5f4f1;
  --muted: #8f8d87;
  --accent: #f2b705;
  --display: "Archivo Black", sans-serif;
  --sans: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section {
  padding: 7rem 6vw;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

/* ---------- Hero title mask-reveal (title-card unmask on load) ---------- */
.mask-line { overflow: hidden; }
.mask-line > * { transform: translateY(115%); transition: transform 0.9s var(--ease); }
.reveal.in-view .mask-line > * { transform: translateY(0); }
.mask-line:nth-of-type(1) > * { transition-delay: 0.05s; }
.mask-line:nth-of-type(2) > * { transition-delay: 0.15s; }
.mask-line:nth-of-type(3) > * { transition-delay: 0.25s; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Staggered children within a revealed grid/row */
.stats > .reveal:nth-child(1) { transition-delay: 0s; }
.stats > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stats > .reveal:nth-child(3) { transition-delay: 0.2s; }
.skills-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.skills-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.skills-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.skills-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.work-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.work-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.work-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.work-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.film-list > .reveal:nth-child(1) { transition-delay: 0s; }
.film-list > .reveal:nth-child(2) { transition-delay: 0.09s; }
.film-list > .reveal:nth-child(3) { transition-delay: 0.18s; }
.film-list > .reveal:nth-child(4) { transition-delay: 0.27s; }
.platform-links > .reveal:nth-child(1) { transition-delay: 0s; }
.platform-links > .reveal:nth-child(2) { transition-delay: 0.06s; }
.platform-links > .reveal:nth-child(3) { transition-delay: 0.12s; }
.platform-links > .reveal:nth-child(4) { transition-delay: 0.18s; }
.platform-links > .reveal:nth-child(5) { transition-delay: 0.24s; }
.ad-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.ad-grid > .reveal:nth-child(2) { transition-delay: 0.06s; }
.ad-grid > .reveal:nth-child(3) { transition-delay: 0.12s; }
.ad-grid > .reveal:nth-child(4) { transition-delay: 0.18s; }
.ad-grid > .reveal:nth-child(5) { transition-delay: 0.24s; }
.ad-grid > .reveal:nth-child(6) { transition-delay: 0.3s; }
.ad-grid > .reveal:nth-child(7) { transition-delay: 0.36s; }
.ad-grid > .reveal:nth-child(8) { transition-delay: 0.42s; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 6vw;
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0) 100%);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245,244,241,0.1);
}
.nav-mark {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.nav-mark span { color: var(--accent); }
.nav-links {
  display: none;
  gap: 2.4rem;
  align-items: center;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a { opacity: 0.75; transition: opacity 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease); position: relative; padding: 0.4rem 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  opacity: 1;
  color: var(--black);
  background: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.nav-links a.active::after { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px 9px;
  margin: -9px;
  z-index: 600;
}
.nav-toggle span {
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-links { display: flex; flex: 1; justify-content: center; padding-right: clamp(0.5rem, 2vw, 2rem); }
  .nav-toggle { display: none; }
}

.nav-links.mobile-open {
  display: flex;
  position: fixed;
  inset: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 8vw;
  background: var(--black);
  font-size: 1.8rem;
  gap: 1.6rem;
}
.nav-links.mobile-open a.active {
  display: inline-block;
}

/* Platform icon row, top-right of nav */
.nav-icons {
  display: none;
  align-items: center;
  gap: 1.3rem;
  margin-left: 1rem;
  margin-right: -0.8rem;
}
@media (min-width: 900px) {
  .nav-icons { display: flex; }
}
.nav-icons a {
  display: inline-flex;
  position: relative;
  color: var(--white);
  transition: transform 0.3s var(--ease);
}
.nav-icons a:hover { transform: translateY(-2px) scale(1.08); }
.nav-icon { width: 38px; height: 38px; display: inline-block; position: relative; }

/* Icon row folded into the fullscreen mobile menu */
.nav-icons-mobile {
  display: none;
}
.nav-links.mobile-open .nav-icons-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(245,244,241,0.15);
  max-width: 100%;
}
.nav-icons-mobile a { color: var(--white); transition: transform 0.3s var(--ease); }
.nav-icons-mobile a:hover { transform: scale(1.08); }
.nav-icon-mobile { width: 34px; height: 34px; display: inline-block; position: relative; }

/* ---------- Icon colour reveal on hover ----------
   Each icon is two stacked SVGs (mono + real-colour). CSS can't reach
   inside an SVG <use>'s cloned content, so we crossfade the whole
   <svg> elements instead — that always works since they're normal DOM nodes. */
.nav-icon svg, .nav-icon-mobile svg, .film-icon svg, .footer-icon svg, .social-icon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.25s var(--ease);
}
.nav-icon .icon-color, .nav-icon-mobile .icon-color, .film-icon .icon-color, .footer-icon .icon-color, .social-icon .icon-color { opacity: 0; }
.nav-icons a:hover .icon-mono,
.nav-icons-mobile a:hover .icon-mono,
.film-links a:hover .icon-mono,
.footer-links a:hover .icon-mono,
.social-row a:hover .icon-mono { opacity: 0; }
.nav-icons a:hover .icon-color,
.nav-icons-mobile a:hover .icon-color,
.film-links a:hover .icon-color,
.footer-links a:hover .icon-color,
.social-row a:hover .icon-color { opacity: 1; }

/* ---------- Media frame (image + offset accent block) ---------- */
.media-frame {
  position: relative;
  width: 100%;
  transition: transform 0.5s var(--ease);
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--accent);
  z-index: 0;
  transition: inset 0.5s var(--ease);
}
.media-frame-inner {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}
.media-frame:hover img { transform: scale(1.06); }
.media-frame:hover::before { inset: 14px -14px -14px 14px; }
.media-frame-right img { object-position: right center; }

/* Home hero image regains colour on hover */
#homeHeroImg:hover {
  filter: grayscale(0) contrast(1.05) saturate(1.1);
}

/* ---------- Page hero (shared shape across pages) ---------- */
.page-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 9rem 6vw 4rem;
}
.page-hero-grid {
  display: grid;
  gap: 3.5rem;
  width: 100%;
  align-items: center;
}
.page-hero-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4vw;
  }
  .page-hero-grid.media-right { grid-template-columns: 1.1fr 0.9fr; }
  .page-hero-grid.media-right .page-hero-media { order: 2; }
  .page-hero-grid.media-right .page-hero-copy { order: 1; }
}
.page-hero-media { max-width: 420px; }
.ads-hero .page-hero-media { max-width: 480px; }
.page-hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ads-hero-title { font-size: clamp(1.9rem, 8vw, 4rem); }
@media (min-width: 900px) {
  .ads-hero-title { font-size: clamp(2.4rem, 4.4vw, 4rem); }
}
.page-hero-title .accent { color: var(--accent); }
.page-hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}
.home-hero-bio {
  margin-top: 1.6rem;
  max-width: 60ch;
}
.home-hero-bio p {
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.home-hero-bio p:first-child {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.4;
}
.home-hero-bio p:last-child { margin-bottom: 0; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245,244,241,0.3);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.btn:active { transform: translateY(0); }
.btn-solid {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}
.btn-solid:hover { background: var(--white); border-color: var(--white); box-shadow: 0 10px 24px rgba(242,183,5,0.25); }

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid rgba(245,244,241,0.12);
  border-bottom: 1px solid rgba(245,244,241,0.12);
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 6vw;
}
@media (min-width: 560px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .stats { grid-template-columns: repeat(5, 1fr); }
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- Intro / two-col text ---------- */
.intro {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .intro { grid-template-columns: 1fr 1fr; gap: 6vw; }
}
.intro p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
}
.intro p + p { margin-top: 1.2rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.text-link:hover { border-color: var(--accent); }
.text-link .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- About page specifics ---------- */
.bio-block { max-width: 720px; }
.bio-block p { font-size: 1.05rem; line-height: 1.8; color: var(--muted); }
.bio-block p + p { margin-top: 1.4rem; }
.bio-block .bio-closer {
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,244,241,0.14);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--white);
  text-transform: none;
}
.bio-block .bio-closer .accent { color: var(--accent); }

.skills-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 700px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
.skill-card {
  padding: 2rem;
  border: 1px solid rgba(245,244,241,0.12);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--panel);
}
.skill-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.skill-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Work / Films page ---------- */
.work-grid {
  display: grid;
  gap: 1px;
  background: rgba(245,244,241,0.12);
  margin-top: 3rem;
}
@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
.work-card {
  background: var(--black);
  padding: 2.2rem;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  z-index: 1;
}
.work-card:hover { background: var(--panel); transform: translateY(-4px); }
.work-year {
  font-family: var(--display);
  font-size: 2.1rem;
  color: var(--accent);
  line-height: 1;
}
.work-name {
  margin-top: 0.6rem;
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.work-card:hover .work-name { color: var(--accent); }
.work-meta {
  margin-top: 0.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- Film list: poster left, links right ---------- */
.film-list {
  margin-top: 3rem;
  border-top: 1px solid rgba(245,244,241,0.12);
}
.film-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
  margin: 0 -1rem;
  border-bottom: 1px solid rgba(245,244,241,0.12);
  transition: background 0.35s var(--ease);
}
.film-row:hover { background: var(--panel); }
.film-poster { flex-shrink: 0; width: 210px; }
.film-poster-inner {
  aspect-ratio: 6/7;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--panel), #1c1c1c);
  border: 1px solid rgba(245,244,241,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.film-row:hover .film-poster-inner { transform: scale(1.05); border-color: var(--accent); }
.film-poster-inner.has-poster { padding: 0; }
.film-poster-inner.has-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-poster-label {
  font-family: var(--display);
  font-size: 0.78rem;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
}
.film-info { flex: 1; min-width: 0; }
.film-name {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.film-row:hover .film-name { color: var(--accent); }
.film-meta {
  margin-top: 0.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.film-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-shrink: 0;
}
.film-links a {
  position: relative;
  display: inline-flex;
  color: var(--white);
  transition: transform 0.3s var(--ease);
}
.film-links a:hover { transform: translateY(-2px) scale(1.08); }
.film-icon { width: 34px; height: 34px; display: inline-block; position: relative; }

@media (max-width: 700px) {
  .film-row { flex-wrap: wrap; }
  .film-links { width: 100%; padding-left: calc(210px + 2rem); }
}
@media (max-width: 480px) {
  .film-row { gap: 1.2rem; }
  .film-poster { width: 150px; }
  .film-links { padding-left: 0; margin-top: 0.5rem; }
}

.ad-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2rem;
}
@media (max-width: 900px) {
  .ad-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ad-grid { grid-template-columns: 1fr; }
}
.ad-card { display: flex; flex-direction: column; gap: 0.9rem; }
.ad-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(245,244,241,0.14);
}
.ad-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s var(--ease);
}
.ad-card:hover .ad-thumb img { transform: scale(1.06); }
.ad-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(245,244,241,0.4);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.ad-card:hover .ad-play-btn { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.ad-play-btn svg { width: 18px; height: 18px; fill: var(--white); margin-left: 2px; transition: fill 0.3s var(--ease); }
.ad-card:hover .ad-play-btn svg { fill: var(--black); }
.ad-card-name {
  font-family: var(--display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.3s var(--ease);
}
.ad-card:hover .ad-card-name { color: var(--accent); }

.note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  max-width: 60ch;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  gap: 4rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 6vw; }
}
.contact-form-box {
  max-width: 560px;
  width: 100%;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,244,241,0.25);
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--white);
  outline: none;
  resize: none;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field label {
  position: absolute;
  left: 0; top: 0.6rem;
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.3s var(--ease), font-size 0.3s var(--ease), color 0.3s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.4rem);
  font-size: 0.75rem;
  color: var(--accent);
}
.contact-direct {
  justify-self: end;
  align-self: start;
  margin-right: 1rem;
  width: 100%;
  max-width: 440px;
  background: var(--accent);
  color: var(--black);
  padding: 3rem 2.4rem;
  border-radius: 10px;
}
.contact-direct h3 {
  font-family: var(--display);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: rgba(10,10,10,0.6);
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
}
.contact-direct a {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  text-transform: none;
  color: var(--black);
  margin-bottom: 2.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease);
  word-break: break-word;
}
.contact-direct a:last-child { margin-bottom: 0; }
.contact-direct a:hover { color: var(--white); }

/* ---------- Platform links ---------- */
.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245,244,241,0.3);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.platform-link:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}
.platform-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--accent);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.platform-link:hover .platform-icon { color: var(--black); transform: scale(1.12); }
.platform-link.is-primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}
.platform-link.is-primary .platform-icon { color: var(--black); }
.platform-link.is-primary:hover { background: var(--white); border-color: var(--white); box-shadow: 0 12px 26px rgba(242,183,5,0.2); }

/* Footer icon links */
.footer-links { display: flex; align-items: center; gap: 1.2rem; }
.footer-links a {
  display: inline-flex;
  position: relative;
  color: var(--white);
  transition: transform 0.3s var(--ease);
}
.footer-links a:hover { transform: translateY(-2px); }
.footer-icon { width: 24px; height: 24px; display: inline-block; position: relative; }

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 6vw 2rem;
  border-top: 1px solid rgba(245,244,241,0.12);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-mark { font-family: var(--display); font-size: 1rem; }
.footer-mark span { color: var(--accent); }
.footer-copy {
  margin-top: 2.5rem;
  font-size: 0.72rem;
  color: rgba(245,244,241,0.4);
  letter-spacing: 0.03em;
}

/* ---------- Large desktop cap ---------- */
@media (min-width: 1600px) {
  .nav, .page-hero, .section, .stats, .footer {
    padding-left: max(6vw, calc((100vw - 1500px) / 2));
    padding-right: max(6vw, calc((100vw - 1500px) / 2));
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 380px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
