/* ============================================================
   Carissa Quinones — photography
   "After-dark editorial": near-black canvas from her feed,
   neon-rose accent from the DANCE ALL NIGHT frame,
   Syne display + Archivo body. One marquee; everything else quiet.
   ============================================================ */

:root {
  --void: #0C0C10;
  --smoke: #15151B;
  --line: #26262E;
  --text: #EDEBE6;
  --dim: #A7A49D;
  --rose: #F0919F;
  --rose-deep: #D4707F;
  --amber: #E3A566;
  --font-display: "Syne", sans-serif;
  --font-body: "Archivo", -apple-system, "Helvetica Neue", sans-serif;
  --max: 1120px;
  --pad: clamp(20px, 4.5vw, 48px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--text); }

::selection { background: var(--rose); color: var(--void); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip-link { position: absolute; left: -9999px; z-index: 99; background: var(--rose); color: var(--void); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

[id] { scroll-margin-top: 76px; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); line-height: 1.04; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 16px;
}

.lede { color: var(--dim); font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 58ch; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-rose { background: var(--rose); color: #16060A; }
.btn-rose:hover { background: var(--text); color: var(--void); }
.btn-ghost { border-color: #3A3A44; color: var(--text); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 16, 0.85);
  background: color-mix(in srgb, #0C0C10 82%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 1.18rem;
  color: var(--text); text-decoration: none; letter-spacing: 0.01em;
}
.wordmark span { color: var(--rose); }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a { color: var(--dim); text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 8px 12px; border-radius: 6px; }
.site-nav a:hover { color: var(--text); }
.site-nav .btn { padding: 9px 20px; font-size: 0.85rem; margin-left: 8px; }
@media (max-width: 640px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- hero ---------- */

.hero { position: relative; min-height: min(94svh, 900px); display: flex; align-items: flex-end; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,16,0.55) 0%, rgba(12,12,16,0.1) 40%, rgba(12,12,16,0.42) 74%, rgba(12,12,16,0.97) 100%);
}
.hero-inner { width: 100%; padding-bottom: clamp(34px, 6vh, 72px); padding-top: 24vh; }
.hero .kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 6.2rem);
  text-transform: lowercase;
}
.hero h1 .dot { color: var(--rose); }
.hero .sub { color: var(--text); font-size: clamp(1.02rem, 1.8vw, 1.25rem); max-width: 44ch; margin-top: 16px; }
.hero .sub strong { color: var(--rose); font-weight: 600; }
.hero .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; background: var(--smoke);
  padding: 13px 0; position: relative;
}
.marquee-track { display: inline-block; animation: slide 26s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim);
  padding: 0 18px;
}
.marquee span b { color: var(--rose); font-weight: 700; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- sections ---------- */

.section { padding: clamp(64px, 10vw, 116px) 0; }
.section-head { margin-bottom: clamp(30px, 5vw, 50px); }

/* ---------- work grid ---------- */

.work-grid {
  columns: 3; column-gap: 16px;
}
@media (max-width: 900px) { .work-grid { columns: 2; } }
@media (max-width: 540px) { .work-grid { columns: 1; } }
.work-grid figure {
  break-inside: avoid; margin: 0 0 16px; position: relative;
  border-radius: 10px; overflow: hidden; background: var(--smoke);
}
.work-grid img { width: 100%; transition: transform 0.5s ease, opacity 0.4s ease; }
.work-grid figure:hover img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .work-grid figure:hover img { transform: none; } }
.work-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text);
  background: linear-gradient(transparent, rgba(10,10,14,0.82));
  opacity: 0; transition: opacity 0.25s ease;
}
.work-grid figure:hover figcaption { opacity: 1; }
@media (hover: none) { .work-grid figcaption { opacity: 1; padding-top: 26px; } }

/* ---------- services ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; max-width: 560px; } }
.svc {
  background: var(--smoke); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.svc:hover { border-color: #4A3A40; transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .svc:hover { transform: none; } }
.svc .num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--rose);
}
.svc h3 { font-size: 1.3rem; }
.svc p { color: var(--dim); font-size: 0.95rem; flex: 1; }
.svc .note { font-size: 0.8rem; color: var(--dim); border-top: 1px solid var(--line); padding-top: 14px; }
.svc .note b { color: var(--text); font-weight: 600; }

/* ---------- about ---------- */

.about { background: var(--smoke); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; max-width: 560px; } }
.about-photo { border-radius: 14px; overflow: hidden; position: relative; }
.about-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08); pointer-events: none;
}
.about-copy p + p { margin-top: 14px; }
.about-copy p { color: var(--dim); }
.about-copy p strong { color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span {
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  border: 1px solid var(--line); background: var(--void); border-radius: 999px; padding: 7px 14px;
}
.chips span.rose { color: var(--rose); border-color: #4A3A40; }

/* ---------- book ---------- */

.book { text-align: center; position: relative; isolation: isolate; }
.book .hero-media::after {
  background: linear-gradient(180deg, rgba(12,12,16,0.92), rgba(12,12,16,0.72) 50%, rgba(12,12,16,0.94));
}
.book h2 { font-size: clamp(2rem, 6vw, 4rem); text-transform: lowercase; }
.book .lede { margin: 16px auto 0; }
.book .actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.book .handle { margin-top: 18px; font-size: 0.9rem; color: var(--dim); }
.book .handle a { font-weight: 700; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
.site-footer p { font-size: 0.82rem; color: var(--dim); }
.site-footer a { color: var(--dim); }
.site-footer a:hover { color: var(--rose); }

/* ---------- reveal ---------- */

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
