:root {
  --ink: #0b0b0c;
  --ink-2: #101012;
  --surface: #141416;
  --line: #26262b;
  --bone: #e8e6e3;
  --mute: #97938c;
  --brass: #c8a96a;
  --brass-dim: #8d7748;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ink);
  color: var(--bone);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}

::selection {
  background: var(--brass);
  color: #0b0b0c;
}

/* ---------- film grain ---------- */
.grain::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 60;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

/* ---------- type ---------- */
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.serif {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.tracking-wide {
  letter-spacing: 0.16em;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--brass-dim), rgba(201, 169, 106, 0));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.btn-brass {
  background: var(--brass);
  color: #0b0b0c;
}

.btn-brass:hover {
  background: #dcbd7d;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--bone);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
  transform: translateY(-2px);
}

/* ---------- underline link ---------- */
.ul {
  position: relative;
  display: inline-block;
}

.ul::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ul:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- hero ---------- */
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("in-her-absence.jpg");
  background-size: cover;
  background-position: center 40%;
  filter: saturate(0.72) contrast(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.86) 0%, rgba(11, 11, 12, 0.5) 35%, rgba(11, 11, 12, 0.94) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.25) 70%);
}

.portrait-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 0.65rem;
  background: rgba(11, 11, 12, 0.4);
  backdrop-filter: blur(2px);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(200, 169, 106, 0.35);
  pointer-events: none;
}

/* ---------- work card ---------- */
.work-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover {
  border-color: var(--brass-dim);
  transform: translateY(-4px);
}

.work-card .shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.work-card .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.work-card:hover .shot img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.02);
}

.work-card .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 12, 0.42);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work-card:hover .play {
  opacity: 1;
}

.play-dot {
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  border: 1px solid var(--brass);
  background: rgba(11, 11, 12, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  backdrop-filter: blur(4px);
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 34s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; padding-left: 0; }
}

/* ---------- form ---------- */
.field {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.field:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(255, 255, 255, 0.05);
}

.field::placeholder {
  color: #63605a;
}

select.field option {
  background: var(--surface);
  color: var(--bone);
}

/* ---------- nav ---------- */
.nav-scrolled {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

#menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#menu.open {
  max-height: 420px;
}

/* ---------- misc ---------- */
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 0.3rem 0.7rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.film-edge {
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 10px,
    rgba(200, 169, 106, 0.22) 10px 16px,
    transparent 16px 26px
  );
}
