:root {
  --bg: #140d12;
  --bg-2: #1d131a;
  --card: #241820;
  --line: rgba(255, 228, 238, 0.12);
  --text: #fbf1f4;
  --muted: #c9b3bc;
  --blush: #f4c5d4;
  --pink: #ec5f97;
  --gold: #e7b96a;
  --radius: 22px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; color: var(--blush); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-size: 1.7rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blush);
  color: #1a0f15;
  font-weight: 700;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--blush);
  cursor: pointer;
  font: 700 0.98rem var(--sans);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem clamp(16px, 4vw, 48px);
  background: rgba(20, 13, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 7rem clamp(16px, 5vw, 72px) 4rem;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(236, 95, 151, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(231, 185, 106, 0.10), transparent 70%);
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin: 1.6rem 0 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: 0 40px 90px -30px rgba(236, 95, 151, 0.45);
}

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: var(--bg-2); }
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  font-family: var(--serif); font-size: 1.8rem; font-style: italic; color: var(--blush);
  animation: scroll 38s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--pink); font-style: normal; font-size: 1.2rem; align-self: center; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(5rem, 10vw, 8rem) clamp(16px, 5vw, 72px); }
.section-head { margin-bottom: 3rem; max-width: 40rem; }
.section-sub { color: var(--muted); margin-top: 0.8rem; }

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.work-card {
  position: relative; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  aspect-ratio: 9 / 16; text-align: left; color: var(--text); font: inherit;
  transition: transform .35s ease;
}
.work-card:hover { transform: translateY(-6px); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover img { transform: scale(1.03); }
.work-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 5, 8, 0.92) 0%, rgba(10, 5, 8, 0) 45%);
  pointer-events: none;
}
.work-card::before {
  content: "▶"; position: absolute; z-index: 2; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: 0.85rem;
  opacity: .9; transition: background .25s ease, transform .25s ease;
}
.work-card:hover::before, .work-card:focus-visible::before { background: var(--pink); transform: scale(1.08); }
.work-meta {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.15rem;
}
.work-meta strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; }
.work-meta span:last-child { color: var(--muted); font-size: 0.92rem; }
.tag {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--pink); color: #fff; padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.5rem;
}

/* Services */
.services { background: var(--bg-2); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--bg-2); padding: 2rem 1.6rem 2.4rem; }
.service-num { font-family: var(--serif); font-size: 1.1rem; color: var(--pink); }
.service h3 { margin: 1.4rem 0 0.8rem; }
.service p { color: var(--muted); font-size: 0.98rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-photos { position: relative; padding-bottom: 18%; }
.about-main { width: 82%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about-second {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--bg);
}
.about-text h2 { margin-bottom: 1.6rem; }
.about-text p { color: var(--muted); margin-bottom: 1.1rem; max-width: 36rem; }
.about-text p strong { color: var(--text); }
.about-text .btn { margin-top: 1rem; }

/* Consult */
.consult-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, #3a1a2b 0%, #241820 60%);
  border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(1.6rem, 5vw, 4rem);
}
.consult-info h2 { margin-bottom: 1.2rem; }
.consult-info > p { color: var(--muted); margin-bottom: 1.6rem; }
.ticks { list-style: none; display: grid; gap: 0.7rem; }
.ticks li { padding-left: 1.8rem; position: relative; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--pink); }
.consult-form { display: grid; gap: 1rem; align-content: start; }
.consult-form label { display: grid; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.consult-form input, .consult-form textarea {
  font: 500 1rem var(--sans); color: var(--text);
  background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.85rem 1rem; resize: vertical;
}
.consult-form input:focus, .consult-form textarea:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.consult-form .btn { justify-self: start; margin-top: 0.4rem; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* Contact */
.contact { text-align: center; }
.contact .eyebrow { margin-bottom: 1.4rem; }
.contact-big { font-size: clamp(2.6rem, 7vw, 5.6rem); margin-bottom: 2.4rem; }
.contact-email {
  font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.6rem); color: var(--blush);
  text-decoration: none; border-bottom: 1px solid var(--pink); word-break: break-all;
}
.contact-email:hover { color: #fff; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin: 2.4rem 0 1rem; }
.socials a {
  text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.7rem 1.4rem; font-weight: 600;
  transition: background .2s ease;
}
.socials a:hover { background: var(--pink); border-color: var(--pink); }
.handle { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.footer { display: flex; align-items: center; justify-content: space-between; padding: 2rem clamp(16px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer-logo { height: 34px; opacity: .8; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; margin: auto;
  max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 4, 7, 0.88); backdrop-filter: blur(6px); }
.lightbox video { height: 88vh; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blush); color: #1a0f15; font-size: 1.6rem; line-height: 1;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 6.5rem; min-height: auto; }
  .hero-photo { order: -1; max-width: 420px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .consult-card { grid-template-columns: 1fr; }
  .about-photos { max-width: 480px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .work-meta { padding: 0.9rem; }
  .work-meta strong { font-size: 1.35rem; }
  .work-meta span:last-child { font-size: 0.78rem; }
  .lightbox video { height: auto; width: 92vw; }
  .lightbox-close { top: -48px; right: 0; }
  .footer { flex-direction: column; gap: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* WhatsApp button */
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #0b2a17; }
.btn-whatsapp:hover { background: #3ee07c; }

/* Service categories */
.section-head h2 em { display: inline; }
.service { display: flex; flex-direction: column; }
.service > p { color: var(--text); font-size: 1rem; margin-bottom: 1.4rem; }
.service-list { list-style: none; display: grid; gap: 1.1rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.service-list li { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.service-list strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 0.15rem; }
.service-feature { background: linear-gradient(160deg, #3a1a2b 0%, var(--bg-2) 75%); }
.service-badge {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--pink); color: #fff; padding: 0.2rem 0.55rem; border-radius: 999px; margin-left: 0.5rem; vertical-align: middle;
}
.services .section-head { max-width: 56rem; }

/* Hover preview */
.work-card .hover-preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s ease; z-index: 0;
}
.work-card .hover-preview.on { opacity: 1; }
.work-card:has(.hover-preview.on) img { opacity: 0; }

/* Project-type and timeline buttons */
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 0.6rem; padding: 0; }
.chips legend span { font-weight: 400; opacity: .75; margin-left: 0.3rem; }
.consult-form .chip { display: inline-block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(0,0,0,.25);
  color: var(--text); font-size: 0.9rem; font-weight: 500;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover span { border-color: var(--blush); }
.chip input:checked + span { background: var(--blush); border-color: var(--blush); color: #1a0f15; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }

/* "Other" text box */
.consult-form .other-input { flex-basis: 100%; margin-top: 0.3rem; }

/* Keep the three service cards' dividers lined up on wide screens */
@media (min-width: 1001px) { .service > p { min-height: 3.2em; } }
