/*
Theme Name: Whiz Syndicate
Author: Whiz Syndicate
Description: A classic single-page photography and cinematic films theme.
Version: 1.0
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whizsyndicate
*/

* {
  box-sizing: border-box;
}
:root {
  --ink: #0b0b0f;
  --ink2: #14141b;
  --gold: #c9a227;
  --gold2: #e7c97a;
  --ivory: #f6f1e8;
  --plum: #5e1630;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold2);
  margin: 0 0 14px;
}
.btn {
  position: relative;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 0.25s,
    filter 0.25s,
    border-color 0.25s,
    color 0.25s;
  overflow: hidden;
  will-change: transform;
}
.btn-g {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: #1a1406;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.22);
}
.btn-g:hover {
  filter: brightness(1.08);
}
.btn-o {
  border: 1px solid rgba(246, 241, 232, 0.35);
  color: var(--ivory);
}
.btn-o:hover {
  border-color: var(--gold2);
  color: var(--gold2);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 12.5px;
}
.btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-18deg);
}
.btn:hover:after {
  animation: sheen 0.8s ease;
}
@keyframes sheen {
  to {
    left: 140%;
  }
}

/* progress + cursor */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  z-index: 120;
}
#glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.13) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s;
}
body.hasglow #glow {
  opacity: 1;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 15, 0);
  border-bottom: 1px solid rgba(246, 241, 232, 0);
  transition:
    background 0.4s,
    border-color 0.4s;
}
header.solid {
  background: rgba(11, 11, 15, 0.78);
  border-bottom-color: rgba(246, 241, 232, 0.09);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: Fraunces, serif;
  font-size: 19px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand b {
  color: var(--gold2);
  font-weight: 400;
}
.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.nav ul a {
  position: relative;
  text-decoration: none;
  opacity: 0.82;
}
.nav ul a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--gold2);
  transition: width 0.35s;
}
.nav ul a:hover {
  opacity: 1;
  color: var(--gold2);
}
.nav ul a:hover:after {
  width: 100%;
}
#burger {
  display: none;
  background: none;
  border: 0;
  color: var(--ivory);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 4px;
}
@media (max-width: 900px) {
  #burger {
    display: block;
  }
  .nav ul {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 11, 15, 0.97);
    border-bottom: 1px solid rgba(246, 241, 232, 0.12);
    padding: 8px 24px 18px;
    display: none;
  }
  body.navopen .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 11px 0;
    border-bottom: 1px solid rgba(246, 241, 232, 0.07);
  }
  .nav .btn-g {
    display: none;
  }
  .brand {
    font-size: 16px;
  }
}

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: -74px;
  padding-top: 74px;
}
.hero-media {
  position: absolute;
  inset: -2% 0;
  z-index: 0;
}
.hero-media video,
.hero-media img.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}
.hero-media video {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-media video.on {
  opacity: 1;
}
.hero-media img.poster {
  position: absolute;
  inset: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(11, 11, 15, 0.72) 0%,
      rgba(11, 11, 15, 0.26) 34%,
      rgba(11, 11, 15, 0.62) 72%,
      rgba(11, 11, 15, 0.97) 100%
    ),
    radial-gradient(
      1200px 700px at 18% 78%,
      rgba(94, 22, 48, 0.42) 0%,
      transparent 65%
    );
}
.grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.5'/></svg>");
}
.hero-in {
  position: relative;
  z-index: 3;
  padding: 0 24px 34px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 1;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold2);
}
.hero p.lede {
  max-width: 52ch;
  color: rgba(246, 241, 232, 0.88);
  font-size: 17px;
  margin: 22px 0 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.rot {
  display: inline-grid;
  vertical-align: bottom;
  height: 1.3em;
  min-width: 9ch;
  overflow: hidden;
}
.rot span {
  grid-area: 1/1;
  opacity: 0;
  transform: translateY(60%);
  transition:
    opacity 0.5s,
    transform 0.5s;
  color: var(--gold2);
  font-style: italic;
}
.rot span.on {
  opacity: 1;
  transform: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(231, 201, 122, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--gold2);
}
.hero-strip {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 241, 232, 0.18);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.7);
}
.hero-badges {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-badges b {
  display: block;
  font-family: Fraunces, serif;
  font-size: 30px;
  color: var(--gold2);
  line-height: 1;
}
.hero-badges small {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.66);
}
.scroll-cue {
  position: absolute;
  right: 26px;
  bottom: 34px;
  z-index: 4;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue:after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, var(--gold2), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
.sound-btn {
  border: 1px solid rgba(246, 241, 232, 0.32);
  background: rgba(11, 11, 15, 0.42);
  color: var(--ivory);
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.sound-btn:hover {
  border-color: var(--gold2);
  color: var(--gold2);
}
@media (max-width: 820px) {
  .scroll-cue {
    display: none;
  }
  .hero-in {
    padding: 0 24px 34px;
  }
}

/* reveals */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.rv-l {
  opacity: 0;
  transform: translateX(-34px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv-r {
  opacity: 0;
  transform: translateX(34px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv-l.in,
.rv-r.in {
  opacity: 1;
  transform: none;
}
.wipe {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.wipe.in {
  clip-path: inset(0 0 0 0);
}
.word {
  display: inline-block;
  white-space: nowrap;
}
.ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(4deg);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.ch.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv,
  .rv-l,
  .rv-r,
  .ch {
    opacity: 1;
    transform: none;
  }
  .wipe {
    clip-path: none;
  }
  .marq-in {
    animation: none;
  }
}

/* marquee */
.marq {
  overflow: hidden;
  border-block: 1px solid rgba(246, 241, 232, 0.09);
  background: var(--ink2);
  padding: 12px 0;
}
.marq + .marq {
  border-top: 0;
}
.marq-in {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: sl 52s linear infinite;
}
.marq.rev .marq-in {
  animation-direction: reverse;
}
.marq-in img {
  height: 128px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.92);
  transition: 0.5s;
}
.marq-in img:hover {
  filter: none;
  transform: scale(1.04);
}
@keyframes sl {
  to {
    transform: translateX(-50%);
  }
}

section {
  padding: 104px 0;
  position: relative;
}
.sec-head {
  max-width: 660px;
  margin-bottom: 52px;
}
.sec-head h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
}
.sec-head p {
  color: rgba(246, 241, 232, 0.7);
  margin: 16px 0 0;
}

/* services */
#services {
  background:
    radial-gradient(
      900px 500px at 12% 0%,
      rgba(94, 22, 48, 0.5) 0%,
      transparent 62%
    ),
    radial-gradient(
      760px 480px at 92% 96%,
      rgba(201, 162, 39, 0.2) 0%,
      transparent 60%
    ),
    var(--ink);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}
.svc {
  position: relative;
  background: rgba(246, 241, 232, 0.045);
  border: 1px solid rgba(246, 241, 232, 0.1);
  border-radius: 18px;
  padding: 14px 14px 22px;
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s;
  transform-style: preserve-3d;
}
.svc:hover {
  border-color: rgba(231, 201, 122, 0.5);
  background: rgba(246, 241, 232, 0.07);
}
.svc:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(231, 201, 122, 0.16),
    transparent 60%
  );
  pointer-events: none;
}
.svc:hover:before {
  opacity: 1;
}
.svc-img {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 18px;
}
.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-img img.svc-img-top,
.svc-img img[src*="25.webp"] {
  object-position: 50% 0% !important;
}
.svc:hover .svc-img img {
  transform: scale(1.07);
}
.num {
  position: absolute;
  left: 12px;
  top: 10px;
  font-family: Fraunces, serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold2);
  background: rgba(11, 11, 15, 0.66);
  padding: 4px 10px;
  border-radius: 999px;
}
.svc {
  overflow: hidden;
}
.svc-quick {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(
    160deg,
    rgba(11, 11, 15, 0.94),
    rgba(20, 20, 27, 0.97)
  );
  border: 1px solid rgba(231, 201, 122, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.34s;
  backdrop-filter: blur(3px);
}
.svc:hover .svc-quick,
.svc:focus-within .svc-quick,
.svc.qopen .svc-quick {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.svc .qf-t {
  font-family: Fraunces, Georgia, serif !important;
  font-size: 23px !important;
  color: #e7c97a !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  line-height: 1.15;
}
.svc .qf-s {
  font-size: 11.5px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.55) !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
.qf-i {
  width: 100%;
  background: rgba(246, 241, 232, 0.06);
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 10px;
  padding: 11px 13px;
  color: #f6f1e8;
  font: inherit;
  font-size: 14.5px;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.qf-i::placeholder {
  color: rgba(246, 241, 232, 0.42);
}
.qf-i:focus {
  outline: none;
  border-color: rgba(231, 201, 122, 0.75);
  background: rgba(246, 241, 232, 0.1);
}
.qf-b {
  margin-top: 4px;
  width: 100%;
  background: linear-gradient(100deg, #c9a227, #e7c97a);
  color: #0b0b0f;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    transform 0.2s,
    filter 0.2s;
}
.qf-b:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.qf-b[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.svc .qf-note {
  font-size: 13px;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  min-height: 1px;
  color: rgba(246, 241, 232, 0.7) !important;
}
.qf-note.ok {
  color: #9be7b0 !important;
}
.qf-note.bad {
  color: #f0a5a5 !important;
}
.qf-toggle {
  display: none;
}
@media (hover: none), (max-width: 820px) {
  .qf-toggle {
    display: block;
    margin: 0 6px;
    background: transparent;
    border: 1px solid rgba(231, 201, 122, 0.5);
    color: #e7c97a;
    border-radius: 999px;
    padding: 9px 16px;
    font: inherit;
    font-size: 13.5px;
    letter-spacing: 0.05em;
    cursor: pointer;
  }
  .svc.qopen .qf-toggle {
    border-color: rgba(246, 241, 232, 0.25);
    color: rgba(246, 241, 232, 0.6);
  }
}
.svc h3 {
  font-size: 22px;
  padding: 0 6px;
}
.svc p {
  color: rgba(246, 241, 232, 0.72);
  font-size: 15px;
  padding: 0 6px;
  margin: 10px 0 16px;
}
.tlink {
  padding: 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold2);
  text-decoration: none;
}
.tlink:hover {
  text-decoration: underline;
}

/* films */
#films {
  background: var(--ink2);
}
.films {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 820px) {
  .films {
    grid-template-columns: 1fr;
  }
}
.film-thumb {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.film-thumb:hover img {
  transform: scale(1.06);
}
.film-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  display: block;
  border: 0;
}
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(11, 11, 15, 0.55);
  border: 1px solid rgba(231, 201, 122, 0.85);
  color: var(--gold2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.35s;
}
.play:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(231, 201, 122, 0.55);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
.film-thumb:hover .play,
.reel-card:hover .play {
  background: rgba(201, 162, 39, 0.92);
  color: #141006;
  transform: scale(1.06);
}
.film h3 {
  font-size: 22px;
  margin: 18px 0 4px;
}
.film p {
  margin: 0;
  color: rgba(246, 241, 232, 0.66);
  font-size: 14px;
}
.f-note {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: rgba(246, 241, 232, 0.7);
  min-height: 18px;
}
.f-note.ok {
  color: #8fd3a4;
}
.f-note.bad {
  color: #e79a8f;
}
button.btn {
  cursor: pointer;
  font-family: inherit;
  border: 0;
}
.reel {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 52px;
}
.reel-card {
  position: relative;
  display: block;
  max-width: 340px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 9/16;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
video.reel-card {
  width: 100%;
  object-fit: cover;
}
.reel-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  transition: 0.5s;
}
@media (max-width: 820px) {
  .reel {
    grid-template-columns: 1fr;
  }
}

/* gallery */
.gal {
  columns: 4;
  column-gap: 14px;
}
@media (max-width: 1000px) {
  .gal {
    columns: 3;
  }
}
@media (max-width: 700px) {
  .gal {
    columns: 2;
  }
}
.g {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.g img {
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.g:hover img {
  transform: scale(1.06);
}
.g:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 11, 15, 0.55));
  opacity: 0;
  transition: 0.4s;
}
.g:hover:after {
  opacity: 1;
}
#lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 9, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
#lb.on {
  display: flex;
}
#lb img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  animation: pop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}
#lb .x,
#lb .arw {
  position: absolute;
  color: var(--ivory);
  background: rgba(246, 241, 232, 0.1);
  border: 1px solid rgba(246, 241, 232, 0.25);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
  user-select: none;
}
#lb .x {
  top: 22px;
  right: 22px;
}
#lb .arw.p {
  left: 22px;
  top: 50%;
}
#lb .arw.n {
  right: 22px;
  top: 50%;
}
#lb .arw:hover,
#lb .x:hover {
  background: var(--gold2);
  color: #14100a;
}

/* story */
#story {
  background: linear-gradient(180deg, var(--ink) 0%, #161019 100%);
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
  }
}
.story-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.story-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.story-imgs img:first-child {
  grid-row: span 2;
  aspect-ratio: 3/5;
}
.story-imgs img:not(:first-child) {
  aspect-ratio: 4/3;
}
.stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.stats div span {
  display: block;
  font-family: Fraunces, serif;
  font-size: 34px;
  color: var(--gold2);
  line-height: 1;
}
.stats div small {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.6);
}

/* process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  border-top: 1px solid rgba(231, 201, 122, 0.4);
  padding-top: 18px;
}
.step b {
  font-family: Fraunces, serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold2);
  display: block;
  margin-bottom: 8px;
}
.step h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.step p {
  color: rgba(246, 241, 232, 0.68);
  font-size: 14.5px;
  margin: 0;
}

/* quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}
.q {
  position: relative;
  border: 1px solid rgba(231, 201, 122, 0.24);
  border-radius: 16px;
  padding: 30px 26px 26px;
  background: linear-gradient(
    180deg,
    rgba(231, 201, 122, 0.07),
    rgba(231, 201, 122, 0.02)
  );
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
    border-color 0.45s,
    box-shadow 0.45s;
}
.q:before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: 18px;
  font-family: Fraunces, Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(231, 201, 122, 0.28);
}
.q:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 201, 122, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.q p {
  margin: 0 0 14px;
  color: rgba(246, 241, 232, 0.62);
  font-style: italic;
}
.q small {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold2);
}

/* contact */
#contact {
  background:
    radial-gradient(
      700px 420px at 85% 10%,
      rgba(94, 22, 48, 0.55) 0%,
      transparent 60%
    ),
    var(--ink2);
}
.cgrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
}
@media (max-width: 860px) {
  .cgrid {
    grid-template-columns: 1fr;
  }
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.6);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(246, 241, 232, 0.18);
  background: rgba(11, 11, 15, 0.5);
  color: var(--ivory);
  font-family: inherit;
  font-size: 15px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold2);
  box-shadow: 0 0 0 3px rgba(231, 201, 122, 0.12);
}
.cinfo {
  padding: 0;
  margin: 0;
}
.cinfo li {
  list-style: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 15px;
}
.cinfo a {
  color: var(--gold2);
  text-decoration: none;
}

footer {
  padding: 46px 0;
  border-top: 1px solid rgba(246, 241, 232, 0.1);
  font-size: 14px;
  color: rgba(246, 241, 232, 0.6);
}
.frow {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.socials {
  display: flex;
  gap: 16px;
}
.socials a {
  text-decoration: none;
  color: rgba(246, 241, 232, 0.75);
}
.socials a:hover {
  color: var(--gold2);
}
.wa {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 90;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.5),
    0 0 0 0 rgba(37, 211, 102, 0.55);
  transition: transform 0.3s;
  animation: wapulse 2.8s infinite;
}
.wa svg {
  width: 34px;
  height: 34px;
}
@keyframes wapulse {
  0% {
    box-shadow:
      0 14px 38px rgba(0, 0, 0, 0.5),
      0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow:
      0 14px 38px rgba(0, 0, 0, 0.5),
      0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 14px 38px rgba(0, 0, 0, 0.5),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.wa:before {
  content: attr(data-tip);
  position: absolute;
  right: 80px;
  white-space: nowrap;
  background: rgba(11, 11, 15, 0.92);
  color: #f6f1e8;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(233, 201, 122, 0.28);
  opacity: 0;
  transform: translateX(8px);
  transition: 0.3s;
  pointer-events: none;
}
.wa:hover:before {
  opacity: 1;
  transform: none;
}
.wa:hover {
  transform: scale(1.08);
}
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(231, 201, 122, 0.28);
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky.on {
  transform: none;
}
.sticky .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.sticky p {
  margin: 0;
  font-size: 14px;
  color: rgba(246, 241, 232, 0.8);
}
@media (max-width: 700px) {
  .sticky p {
    display: none;
  }
  .sticky .wrap {
    justify-content: center;
  }
  .wa {
    bottom: 88px;
    width: 62px;
    height: 62px;
    right: 16px;
  }
}

/* ---------- intro curtain ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.intro-panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #0b0b0f;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
}
.intro-panel.p1 {
  top: 0;
}
.intro-panel.p2 {
  bottom: 0;
}
body.introdone .intro-panel.p1 {
  transform: translateY(-101%);
}
body.introdone .intro-panel.p2 {
  transform: translateY(101%);
}
.intro-in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 2;
  transition: opacity 0.45s ease;
}
body.introdone .intro-in {
  opacity: 0;
}
.intro-brand {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: 0.22em;
  color: var(--ivory);
}
.intro-brand i {
  color: var(--gold);
  font-style: normal;
}
.intro-sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.5);
}
.intro-line {
  display: block;
  width: min(320px, 60vw);
  height: 1px;
  background: rgba(246, 241, 232, 0.16);
  position: relative;
  overflow: hidden;
}
.intro-line:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), #f0d98a);
  transform: scaleX(0);
  transform-origin: left;
  animation: introbar 1.25s cubic-bezier(0.5, 0, 0.2, 1) forwards;
}
@keyframes introbar {
  to {
    transform: scaleX(1);
  }
}
body.preload .hero-in > * {
  opacity: 0;
  animation: unhide 0s linear 3.2s forwards;
}
@keyframes unhide {
  to {
    opacity: 1;
  }
}

/* ---------- hero motion ---------- */
.hero-media video,
.hero-media .poster {
  animation: kb 26s ease-in-out infinite alternate;
}
@keyframes kb {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.13);
  }
}
.hero-in {
  will-change: transform, opacity;
}

/* ---------- scroll text highlight ---------- */
.hl .w {
  color: rgba(246, 241, 232, 0.22);
  transition: color 0.35s ease;
}
.hl .w.lit {
  color: rgba(246, 241, 232, 0.86);
}

/* ---------- section hairline draw ---------- */
.sec-head {
  position: relative;
}
.sec-head:before {
  content: "";
  position: absolute;
  top: -26px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.5, 0, 0.2, 1);
}
.sec-head.in:before {
  transform: scaleX(1);
}

/* ---------- image parallax inside frames ---------- */
.gal figure,
.story-imgs {
  overflow: hidden;
}
.gal img,
.story-imgs img {
  will-change: transform;
}

/* ---------- nav active indicator ---------- */
.nav ul li a {
  position: relative;
}
.nav ul li a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.5, 0, 0.2, 1);
}
.nav ul li a:hover:after,
.nav ul li a.act:after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- button ripple ---------- */
.btn {
  position: relative;
  overflow: hidden;
}
.rip {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%) scale(0);
  animation: rip 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rip {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* ---------- float on cards ---------- */
@media (prefers-reduced-motion: no-preference) {
  .q,
  .step {
    transition:
      transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1),
      opacity 0.7s ease,
      box-shadow 0.4s ease;
  }
  .q:hover {
    transform: translateY(-6px);
  }
}

/* ================= pinned horizontal filmstrip ================= */
.pin-h {
  position: relative;
  height: 420vh;
  background: linear-gradient(
    180deg,
    var(--ink) 0%,
    #100c12 50%,
    var(--ink) 100%
  );
}
.pin-h-in {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 9vh;
}
.pin-h-head {
  position: absolute;
  left: 8vw;
  top: 9vh;
  text-align: left;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.9);
}
.pin-h-title {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 0.98;
  color: #fff;
  margin: 6px 0 0;
}
.pin-h-title em {
  color: var(--gold);
  font-style: italic;
}
.hs-track {
  display: flex;
  gap: 22px;
  padding: 0 8vw;
  will-change: transform;
}
.hs-item {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 320px);
  height: clamp(260px, 42vh, 420px);
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transition: filter 0.4s ease;
}
.hs-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}
.hs-item:nth-child(odd) {
  transform: translateY(-26px);
}
.hs-item:nth-child(3n) {
  transform: translateY(30px);
}
.hs-bar {
  position: absolute;
  left: 8vw;
  right: 8vw;
  bottom: 7vh;
  height: 1px;
  background: rgba(246, 241, 232, 0.14);
  z-index: 3;
}
.hs-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #f3e2a6);
}

/* ================= scroll scrubbed film ================= */
.pin-v {
  position: relative;
  height: 340vh;
}
.pin-v-in {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
#scrubvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scrub-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80% 70% at 50% 45%,
    rgba(11, 11, 15, 0.15),
    rgba(11, 11, 15, 0.86)
  );
}
.scrub-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  z-index: 2;
}
.scrub-title {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(34px, 7vw, 92px);
  line-height: 1.02;
  margin: 10px 0 14px;
  color: #fff;
}
.scrub-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(4deg);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scrub-title span:nth-child(2) {
  transition-delay: 0.08s;
}
.scrub-title span:nth-child(3) {
  transition-delay: 0.16s;
}
.scrub-title span:nth-child(4) {
  transition-delay: 0.24s;
}
.pin-v.lit .scrub-title span {
  opacity: 1;
  transform: none;
}
.scrub-sub {
  max-width: 520px;
  color: rgba(246, 241, 232, 0.76);
}
.scrub-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8vh;
  width: min(420px, 70vw);
  height: 2px;
  background: rgba(246, 241, 232, 0.16);
  z-index: 3;
}
.scrub-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}

/* ================= custom cursor + trail ================= */
#cur {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.hascur #cur {
  opacity: 1;
}
.cur-ring {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(246, 241, 232, 0.6);
  border-radius: 50%;
  transition:
    width 0.3s,
    height 0.3s,
    left 0.3s,
    top 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.cur-label {
  position: absolute;
  left: -18px;
  top: -8px;
  width: 36px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0b0b0f;
  opacity: 0;
  transition: opacity 0.25s;
}
body.cur-view .cur-ring {
  left: -34px;
  top: -34px;
  width: 68px;
  height: 68px;
  background: var(--gold);
  border-color: var(--gold);
}
body.cur-view .cur-label {
  opacity: 1;
}
#trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}
.tr {
  position: absolute;
  width: 170px;
  height: 220px;
  margin: -110px 0 0 -85px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.82) rotate(var(--r, 0deg));
  animation: trailpop 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes trailpop {
  18% {
    opacity: 0.92;
    transform: scale(1) rotate(var(--r, 0deg));
  }
  100% {
    opacity: 0;
    transform: scale(1.06) translateY(-26px) rotate(var(--r, 0deg));
  }
}

/* ================= steps: big numbers + scrub line ================= */
.step {
  position: relative;
  padding-top: 8px;
}
.stepnum {
  position: absolute;
  right: 6px;
  top: -18px;
  font-family: Fraunces, Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(201, 162, 39, 0.14);
  pointer-events: none;
}
.steps {
  position: relative;
}
.step:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0.15));
  transition: transform 0.1s linear;
}
.stepnum {
  transition: transform 0.2s ease;
}

/* ================= marquee 3D ================= */
.marq {
  perspective: 900px;
}
.marq-in {
  transform-style: preserve-3d;
}
.marq img {
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
  filter: saturate(0.85);
}
.marq img:hover {
  transform: translateZ(60px) scale(1.06);
  filter: saturate(1.1);
}

/* ================= scramble ================= */
[data-scramble] {
  font-variant-ligatures: none;
}

@media (max-width: 820px) {
  .pin-h {
    height: 300vh;
  }
  .hs-item {
    width: 64vw;
    height: 42vh;
  }
  .pin-v {
    height: 260vh;
  }
  .stepnum {
    font-size: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pin-h {
    height: auto;
  }
  .pin-h-in {
    position: static;
    height: auto;
    padding: 60px 0;
  }
  .hs-track {
    overflow-x: auto;
  }
  .pin-v {
    height: auto;
  }
  .pin-v-in {
    position: static;
    height: 70vh;
  }
  .scrub-title span {
    opacity: 1;
    transform: none;
  }
}
