/* ==========================================================
   Sunaina Urooj — Graphic Designer Portfolio
   ========================================================== */

:root {
  --bg: #F6F3EE;
  --bg-alt: #EDE8E0;
  --surface: #FFFFFF;
  --ink: #141210;
  --ink-soft: #5C5750;
  --line: rgba(20, 18, 16, 0.12);
  --accent: #FF4D1F;
  --accent-ink: #FFFFFF;
  --accent-2: #FFC940;
  --shadow: 0 20px 50px -20px rgba(20, 18, 16, 0.35);
  --radius: 22px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111010;
    --bg-alt: #1A1918;
    --surface: #222120;
    --ink: #F3EFE8;
    --ink-soft: #A8A298;
    --line: rgba(243, 239, 232, 0.14);
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #111010;
  --bg-alt: #1A1918;
  --surface: #222120;
  --ink: #F3EFE8;
  --ink-soft: #A8A298;
  --line: rgba(243, 239, 232, 0.14);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

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

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--accent);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--accent); }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); box-shadow: none; }

.btn--small { padding: 10px 20px; font-size: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent-2); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 800;
  transform: rotate(-6deg);
  transition: transform .3s ease;
}
.logo:hover .logo__mark { transform: rotate(6deg); }
.logo__text { font-size: 19px; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link { position: relative; font-weight: 500; font-size: 15px; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .2s ease;
}
.theme-toggle:hover { background: var(--bg-alt); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--bg);
  transition: transform .3s ease, top .3s ease;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-open .menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Floating frosted nav pill (desktop) ---------- */
@media (min-width: 901px) {
  .header.is-scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nav {
    position: absolute;
    left: 50%;
    top: 14px;
    transform: translateX(-50%);
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35);
    transition: background .3s ease, border-color .3s ease;
  }
  .nav__link {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease;
  }
  .nav__link::before { content: "["; opacity: .45; margin-right: 3px; }
  .nav__link::after {
    content: "]";
    position: static;
    width: auto; height: auto;
    background: none;
    transform: none;
    opacity: .45;
    margin-left: 3px;
  }
  .nav__link:hover,
  .nav__link.is-active { background: rgba(255, 255, 255, .92); color: #141210; }
  .header.is-scrolled .logo,
  .header.is-scrolled .theme-toggle {
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .header.is-scrolled .logo { padding: 4px 14px 4px 4px; border-radius: 999px; }
  .header.is-scrolled .nav { background: color-mix(in srgb, var(--bg) 72%, transparent); border-color: var(--line); }
  .header.is-scrolled .nav__link:hover,
  .header.is-scrolled .nav__link.is-active { background: var(--ink); color: var(--bg); }
}
.header:not(.is-scrolled) .logo,
.header:not(.is-scrolled) .theme-toggle { color: #fff; }
.header:not(.is-scrolled) .theme-toggle { border-color: rgba(255, 255, 255, .35); }
.header:not(.is-scrolled) .menu-toggle { background: #fff; }
.header:not(.is-scrolled) .menu-toggle span { background: #141210; }
@media (min-width: 901px) {
  .header:not(.is-scrolled) .nav__link { color: #fff; }
  .header:not(.is-scrolled) .nav__link:hover,
  .header:not(.is-scrolled) .nav__link.is-active { color: #141210; }
}

/* ---------- Hero ---------- */
.hero {
  --hero-bg: #E3120B;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background: var(--hero-bg);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity .6s ease;
  z-index: 0;
}
.hero.has-frames .hero__canvas { opacity: 1; }
.hero.has-frames .hero__fallback { display: none; }
@media (min-width: 901px) { .hero__fallback { padding-left: 24vw; } }

.hero__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 0;
}
.character {
  width: auto;
  height: min(86%, 900px);
  max-width: 100%;
  overflow: visible;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .25));
}
.character #cHead { transform-box: view-box; transform-origin: 200px 320px; will-change: transform; }
.character #cFace,
.character #cFringe,
.character #cPupils,
.character #cBrows,
.character #cHairBack,
.character #cHairFront { will-change: transform; }
.character .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.1); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(to right, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: clamp(32px, 6vh, 64px);
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }

.hero__hi {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 4px;
}
.hero__name {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: clamp(58px, 8vw, 120px);
  line-height: 1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  margin: 0 0 18px -4px;
}
.hero__bio {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 26px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill--solid { background: #fff; color: #141210; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.pill--solid:hover { box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .5); }
.pill--solid svg { transition: transform .25s ease; }
.pill--solid:hover svg { transform: translate(2px, -2px); }
.pill--glass {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pill--glass:hover { background: rgba(255, 255, 255, .24); }

.hero__meta { text-align: right; font-size: 13px; }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 500;
}
.hero__loc { margin-top: 10px; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; opacity: .8; }

.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 26px; height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .7);
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(14px); opacity: 0; }
}

.intro { padding: clamp(40px, 6vw, 70px) 0 clamp(50px, 6vw, 80px); }

/* ---------- Custom cursor (glowing dot + trailing aura) ---------- */
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 200;
    pointer-events: none;
    border-radius: 50%;
    will-change: transform;
    transition: opacity .3s ease;
  }
  .cursor {
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    background: #fff;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, .9), 0 0 24px 6px rgba(255, 255, 255, .35);
  }
  .cursor-ring {
    width: 42px; height: 42px;
    margin: -21px 0 0 -21px;
    border: 1.5px solid rgba(255, 255, 255, .6);
    background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 70%);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: transparent;
    transition: width .3s ease, height .3s ease, margin .3s ease, background .3s ease, border-color .3s ease, color .2s ease, opacity .3s ease;
  }
  .cursor-ring.is-link { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .9); }
  .cursor-ring.is-view { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--accent); border-color: var(--accent); color: #fff; }
  :root[data-theme="light"] body:not(.cursor-on-hero) .cursor { background: var(--ink); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--accent) 60%, transparent); }
  :root[data-theme="light"] body:not(.cursor-on-hero) .cursor-ring:not(.is-view) { border-color: color-mix(in srgb, var(--ink) 55%, transparent); background: none; }
  .cursor-hidden .cursor, .cursor-hidden .cursor-ring { opacity: 0; }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.stats li {
  padding: 28px 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.stats span { color: var(--ink-soft); font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1.2deg);
  margin: 10px -2%;
  width: 104%;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.marquee i { color: var(--accent); font-style: normal; font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-alt); }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Work grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}
.card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cardIn .5s ease both;
}
.card.is-hidden { display: none; }
.card--wide { grid-column: span 2; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }

.card__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 808 / 632;
  background: var(--bg-alt);
}
.card--wide .card__media { aspect-ratio: auto; height: 100%; min-height: 0; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
}
.card__view {
  position: absolute;
  z-index: 2;
  right: 18px; bottom: 18px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  transform: scale(.4) rotate(-45deg);
  opacity: 0;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card__media img,
.card:focus-visible .card__media img { transform: scale(1.06); }
.card:hover .card__media::after,
.card:focus-visible .card__media::after { opacity: 1; }
.card:hover .card__view,
.card:focus-visible .card__view { transform: scale(1) rotate(0); opacity: 1; }

.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px; }
.card__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.card__cat { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

.work__more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 60px); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.about__visual { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.about__monogram {
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius) var(--radius);
  background:
    radial-gradient(circle at 30% 20%, var(--accent-2) 0, transparent 45%),
    linear-gradient(160deg, var(--accent) 0%, #C4270A 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__monogram span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 18vw, 220px);
  color: rgba(255,255,255,.95);
  letter-spacing: -.06em;
  line-height: 1;
}
.about__tag {
  position: absolute;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.about__tag--1 { top: 12%; left: -8%; transform: rotate(-4deg); }
.about__tag--2 { bottom: 14%; right: -6%; transform: rotate(4deg); }

.about__content .section__title { margin-bottom: 24px; }
.about__content p { color: var(--ink-soft); margin-bottom: 16px; max-width: 580px; }
.about__content p strong, .about__content em { color: var(--ink); }

.skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.skills li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-6px); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.service:hover p, .service:hover .service__num { color: var(--accent-ink); }
.service__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 40px;
  transition: color .3s ease;
}
.service h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.01em; }
.service p { color: var(--ink-soft); font-size: 15px; transition: color .3s ease; }

.clients {
  margin-top: clamp(60px, 8vw, 90px);
  text-align: center;
}
.clients p { color: var(--ink-soft); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.clients ul { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 60px); }
.clients li {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink-soft);
  opacity: .55;
  transition: opacity .2s ease, color .2s ease;
}
.clients li:hover { opacity: 1; color: var(--accent); }

/* ---------- Contact ---------- */
.contact {
  background: #141210;
  color: #F3EFE8;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,77,31,.35) 0%, transparent 60%);
  pointer-events: none;
}
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -.035em;
  max-width: 1000px;
  margin-bottom: 40px;
}
.contact__title span { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: 1.1em; color: var(--accent); }
.contact__email {
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  word-break: break-all;
  transition: color .2s ease;
}
.contact__email:hover { color: var(--accent-2); }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.contact__links a {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(243,239,232,.25);
  font-weight: 500;
  transition: all .2s ease;
}
.contact__links a:hover { background: #F3EFE8; color: #141210; }

/* ---------- Footer ---------- */
.footer { background: #141210; color: #A8A298; border-top: 1px solid rgba(243,239,232,.1); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 14px;
}
.footer__top:hover { color: var(--accent); }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 15px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  transition: max-width .35s ease, margin .35s ease;
}
.whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(37, 211, 102, .75); }
.whatsapp:hover .whatsapp__label { max-width: 180px; margin-left: 10px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 9, 8, .92);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 70px 16px 24px;
  animation: fadeIn .3s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__figure { max-width: 1000px; width: 100%; animation: zoomIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes zoomIn { from { transform: scale(.94); opacity: 0; } }
.lightbox__figure img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 16px; }
.lightbox__figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #F3EFE8;
}
.lightbox__figure h3 { font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 28px); line-height: 1.2; }
.lightbox__cat { font-size: 13px; color: var(--accent-2); letter-spacing: .1em; text-transform: uppercase; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--accent); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility .4s;
  }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-open .header { background: var(--bg); }
  .menu-open .header .logo, .menu-open .header .theme-toggle { color: var(--ink); border-color: var(--line); }
  .menu-open .header .menu-toggle { background: var(--ink); }
  .menu-open .header .menu-toggle span { background: var(--bg); }
  .nav__link {
    padding: 16px 4px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }

  .hero__meta, .hero__scroll { display: none; }
  .hero__shade { background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 55%); }
  .character { height: min(72%, 640px); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 24px 12px 24px 0; }
  .stats li + li { padding-left: 0; border-left: 0; }
  .stats li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about { grid-template-columns: 1fr; }
  .about__visual { max-width: 360px; }
  .about__tag--1 { left: -4%; }
  .about__tag--2 { right: -4%; }

  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox { padding-bottom: 90px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo__text { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--wide .card__media { aspect-ratio: 808 / 632; height: auto; }
  .services { grid-template-columns: 1fr; }
  .service__num { margin-bottom: 20px; }
  .hero__actions .pill { flex: 1 1 auto; justify-content: center; }
  .hero__bio { font-size: 14px; }
  .hero__content { padding-bottom: 96px; }
  .section__head { align-items: flex-start; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .footer__inner { justify-content: center; text-align: center; }
}

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