@font-face {
  font-family: Manrope;
  src: url("./manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #fff7fb;
  --muted: #c6b8ca;
  --ground: #100b16;
  --panel: #1a1221;
  --line: #ffffff28;
  --pink: #ff8cc6;
  --gradient: linear-gradient(107deg, #ffad62 0%, #fb78ad 39%, #e77cf5 72%, #aa8dff 100%);
  --wrap: 73.5rem;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--ground);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, video:focus-visible {
  outline: 2px solid #ffb2d7;
  outline-offset: 4px;
}
img, video { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
section, main { scroll-margin-top: 5.5rem; }
.wrap { width: min(var(--wrap), calc(100% - 5rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; background: var(--ink); color: var(--ground); padding: .75rem 1rem; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: .95rem 0 .5rem;
}
.nav {
  width: min(var(--wrap), calc(100% - 5rem));
  margin: auto;
  padding: .62rem .7rem .62rem 1.15rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #170f20ed;
  backdrop-filter: blur(18px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .56rem;
  width: max-content;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.075em;
}
.wordmark-period { color: var(--pink); margin-left: -.48rem; }
.brand-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  aspect-ratio: 1;
  background: var(--gradient);
  border-radius: .53rem;
}
.brand-icon::after, .play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-top: .33em solid transparent;
  border-bottom: .33em solid transparent;
  border-left: .52em solid currentColor;
  margin-left: .1em;
}
.brand-icon::after { color: #230e24; font-size: 1.03rem; }
.nav-links { display: flex; gap: clamp(1rem, 3vw, 2.5rem); color: var(--muted); font-size: .87rem; font-weight: 700; }
.nav-links a:hover, .text-link:hover { color: var(--pink); }

.button {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  gap: .65rem;
  min-height: 2.88rem;
  padding: .65rem 1.05rem;
  border: 1px solid #ff9bc56b;
  border-radius: .8rem;
  background: #48243e;
  color: var(--ink);
  font-weight: 800;
  font-size: .93rem;
  line-height: 1.2;
  transition: background-color 150ms, border-color 150ms;
}
.button:hover { background-color: #653054; border-color: var(--pink); }
.button-small { justify-self: end; min-height: 2.55rem; }
.button-bright { background: var(--gradient); color: #200b26; border-color: transparent; }
.button-bright:hover { filter: brightness(1.09); }
.button-subtle { background: #fff0fa09; border-color: var(--line); }
.text-link { display: inline-flex; align-items: center; gap: .53rem; color: var(--ink); font-size: .91rem; font-weight: 800; }
.text-link span { color: var(--pink); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(2.4rem, 4.1vw, 4.55rem) 0 3.4rem;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 -8% -8%;
  content: "";
  background:
    radial-gradient(ellipse at 50% 65%, #9b35e946, transparent 47%),
    radial-gradient(ellipse at 21% 68%, #e0347936, transparent 43%),
    radial-gradient(ellipse at 83% 46%, #fd745424, transparent 38%);
  mask-image: linear-gradient(black 73%, transparent 96%);
  pointer-events: none;
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 15.8rem);
  align-items: end;
  gap: 1.8rem;
}
.hero h1 {
  font-size: clamp(3.6rem, 7.15vw, 6.95rem);
  line-height: .93;
  font-weight: 800;
  letter-spacing: -.064em;
}
.hero h1 span {
  color: var(--pink);
  background: var(--gradient);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-note { padding-bottom: .28rem; }
.hero-note p { margin-bottom: .9rem; max-width: 25ch; color: var(--muted); line-height: 1.62; font-size: clamp(.95rem, 1.25vw, 1.12rem); }

.feature-wrap { width: min(56.5rem, calc(100% - 7.25rem)); margin: clamp(1.8rem, 4.35vw, 3.8rem) auto 0; }
.feature-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr); gap: clamp(.85rem, 2.05vw, 1.65rem); align-items: center; }
.feature-reel, .reel-thumb { position: relative; isolation: isolate; overflow: hidden; background: #24172e; aspect-ratio: 9 / 16; }
.feature-reel {
  width: 100%;
  padding: 0;
  text-align: left;
  color: var(--ink);
  border-radius: 1.45rem;
  border: 1px solid #fff5;
  box-shadow: 0 .8rem 1.7rem #08030b5e;
  transition: translate 180ms ease, border-color 180ms ease;
}
.feature-reel:enabled:hover { translate: 0 -.3rem; border-color: #ffd3ea; }
.feature-reel:disabled { cursor: default; }
.feature-reel.featured {
  border-color: #ffc9e3bb;
  box-shadow: 0 0 0 4px #f477bd1c, 0 1.35rem 3.1rem #10061996;
}
.feature-reel video, .reel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-reel video { pointer-events: none; }
.feature-reel::after, .reel-thumb::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(0deg, #140a20ed, #16092251 24%, transparent 53%);
  pointer-events: none;
}
.play-icon, .change-icon {
  position: absolute;
  z-index: 1;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.65rem;
  aspect-ratio: 1;
  color: #fff;
  background: #150b21b8;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  font-size: 1.16rem;
  backdrop-filter: blur(5px);
  transition: background-color 150ms, color 150ms;
}
.reel-link:hover .play-icon { color: #241225; background: #ffdcf0; }
.change-icon {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: auto;
  min-height: 2.5rem;
  aspect-ratio: auto;
  padding: .4rem .65rem;
  border-radius: 2rem;
  font-size: .76rem;
  font-weight: 800;
}
.change-icon span { font: 1.1rem / 1 system-ui, sans-serif; }
.feature-reel:enabled:hover .change-icon { color: #241225; background: #ffdcf0; }
.feature-caption {
  position: absolute;
  z-index: 1;
  left: clamp(.75rem, 2vw, 1.25rem);
  right: clamp(.75rem, 2vw, 1.25rem);
  bottom: clamp(.9rem, 2vw, 1.25rem);
  display: grid;
  gap: .25rem;
}
.feature-caption small { color: #ffe0f0; font-size: .78rem; font-weight: 700; }
.feature-caption strong { font-size: clamp(1.35rem, 3.1vw, 2.1rem); line-height: 1.05; letter-spacing: -.055em; overflow-wrap: anywhere; }
.stage-controls { display: none; }
.feature-tools { display: flex; justify-content: end; margin-top: .7rem; }
.highlight-toggle { min-height: 2.75rem; border: 0; padding: 0 .25rem; background: transparent; color: var(--muted); }

.gallery-section, .services { padding: clamp(2.5rem, 6vw, 5.6rem) 0; border-top: 1px solid var(--line); }
.section-header { display: flex; justify-content: space-between; gap: 1rem 2rem; align-items: end; margin-bottom: 1.55rem; }
.section-header h2, .quote h2 { font-size: clamp(2.65rem, 5.1vw, 5.15rem); letter-spacing: -.066em; font-weight: 800; line-height: 1; }
.section-header p, .quote p { max-width: 31ch; color: var(--muted); line-height: 1.62; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.75rem 0 1.25rem; }
.filter { min-height: 2.55rem; border: 1px solid var(--line); border-radius: 2rem; padding: .45rem .9rem; color: var(--muted); background: transparent; font-size: .83rem; font-weight: 800; }
.filter:hover { border-color: var(--pink); color: var(--ink); }
.filter[aria-pressed="true"] { color: #261124; background: #ffbbdf; border-color: #ffbbdf; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem .9rem; }
.gallery-link { display: grid; align-content: start; gap: .7rem; min-width: 0; border-radius: .85rem; }
.reel-thumb { display: block; border: 1px solid var(--line); border-radius: .85rem; aspect-ratio: 4 / 5; }
.reel-thumb .play-icon { top: auto; right: .55rem; bottom: .55rem; width: 2rem; font-size: .88rem; }
.duration { position: absolute; z-index: 1; left: .6rem; bottom: .63rem; padding: .19rem .42rem; background: #1d102a; border-radius: .35rem; font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.gallery-label { display: grid; gap: .2rem; padding-inline: .1rem; line-height: 1.25; }
.gallery-label strong { overflow-wrap: anywhere; font-size: .95rem; }
.gallery-label small { color: var(--muted); font-size: .77rem; }
#more { margin-top: 1.6rem; }
.gallery-message { grid-column: 1 / -1; color: var(--muted); }

.service-list {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}
.service-list div { border-top: 1px solid #e99bc3a1; padding: 1.25rem .35rem .25rem 0; }
.service-list dt { font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; }
.service-list dd { margin: .55rem 0 0; max-width: 34ch; color: var(--muted); line-height: 1.6; font-size: .94rem; }

.quote {
  background: radial-gradient(ellipse at 90% 90%, #73366b 0, transparent 54%), linear-gradient(120deg, #291934, #3a1d38);
  border: 1px solid #ffc0ec50;
  border-radius: 1.55rem;
  padding: clamp(1.4rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem 2rem;
  align-items: end;
}
.quote h2 { max-width: 15ch; }
.quote p { margin-top: .85rem; }
.quote .button { justify-self: start; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-block: 2.1rem; }

dialog {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid #ffc9e379;
  border-radius: 1.05rem;
  padding: .78rem;
  max-width: calc(100% - 1.25rem);
  max-height: calc(100% - 1.25rem);
  max-height: calc(100dvh - 1.25rem);
  overscroll-behavior: contain;
}
dialog::backdrop { background: #0c0711d9; backdrop-filter: blur(8px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .55rem; }
.dialog-top h2 { font-size: 1.13rem; line-height: 1.2; letter-spacing: -.025em; }
.dialog-top p { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.icon-button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border: 1px solid var(--line); border-radius: .6rem; background: #fff0fa0a; color: var(--ink); font-size: 1.42rem; line-height: 1; }
.icon-button:hover { background: #fff0fa26; }
.icon-button:disabled, .button:disabled { cursor: default; opacity: .42; }
.player {
  width: min(25rem, max(15rem, (100dvh - 8.6rem) * .5625 + 1.6rem));
}
.player video { width: 100%; background: #09060c; border-radius: .6rem; aspect-ratio: 9 / 16; max-height: max(8rem, calc(100dvh - 8.6rem)); }
.player-nav { display: flex; justify-content: space-between; gap: .55rem; margin-top: .55rem; }
.player-nav .button { min-height: 2.4rem; font-size: .78rem; }
#video-error { color: var(--muted); font-size: .85rem; padding: .7rem 0; }
#video-error a { text-decoration: underline; color: var(--pink); }
@media (min-width: 90rem) {
  .feature-wrap { width: min(61rem, calc(100% - 8rem)); }
}
@media (max-width: 760px) {
  .wrap, .nav { width: calc(100% - 2.5rem); }
  .nav-links { gap: 1rem; }
  .hero-intro { grid-template-columns: minmax(0, 1fr) minmax(9rem, .62fr); gap: .95rem; }
  .hero h1 { font-size: clamp(3rem, 8.15vw, 4.5rem); }
  .feature-wrap { width: calc(100% - 3.75rem); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap, .nav { width: calc(100% - 2rem); }
  .site-header { padding: .65rem 0 .35rem; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; padding: .45rem .48rem .45rem .8rem; border-radius: .9rem; }
  .nav-links { display: none; }
  .button-small { font-size: .8rem; gap: .35rem; }
  .wordmark { font-size: 1.5rem; }
  .hero { padding: 2.2rem 0 2.35rem; }
  .hero-intro { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .hero h1 { font-size: clamp(2.65rem, 11.9vw, 4.2rem); }
  .hero-note p { margin-bottom: .45rem; max-width: 32ch; }
  .feature-wrap { width: 100%; margin-top: 1.45rem; }
  .feature-stage {
    --card: min(67vw, 17rem);
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .45rem max(1rem, calc((100% - var(--card)) / 2)) 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .feature-stage::-webkit-scrollbar { display: none; }
  .feature-reel { flex: 0 0 var(--card); scroll-snap-align: center; border-radius: 1.08rem; }
  .feature-caption strong { font-size: 1.65rem; }
  .stage-controls { display: flex; justify-content: center; align-items: center; gap: .8rem; font-size: .8rem; color: var(--muted); font-weight: 800; font-variant-numeric: tabular-nums; }
  .stage-controls .icon-button { width: 2.75rem; height: 2.75rem; }
  .feature-tools { flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; margin: 0 1rem; }
  .highlight-toggle { font-size: .8rem; }
  .section-header { display: grid; gap: .65rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .65rem; }
  .gallery-label strong { font-size: .86rem; }
  .service-list { grid-template-columns: 1fr; gap: 1rem; }
  .quote { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
