:root {
  --ink: #14110e;
  --ink-soft: #3a342c;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --cream: #faf6ee;
  --gold: #c4a36a;
  --gold-2: #e0c48a;
  --forest: #2a4638;
  --lipstick: #9c3a3a;
  --night: #0c0b0a;
  --night-2: #161310;
  --muted: #8a8174;
  --line: rgba(196, 163, 106, 0.35);
  --shadow: 0 30px 80px rgba(12, 11, 10, 0.28);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--sans);
  background: var(--night);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--night);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus {
  top: 1rem;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.2rem;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, transform 0.45s var(--ease);
}
.nav.scrolled {
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 239, 230, 0.06);
}
.nav.hide {
  transform: translateY(-110%);
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
}
.brand span {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  font-style: italic;
  text-transform: none;
  margin-top: 0.15rem;
}
.nav-links {
  display: flex;
  gap: 1.7rem;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links a {
  position: relative;
  opacity: 0.78;
  transition: opacity 0.25s;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--night);
}
.burger {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
  transition: 0.3s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 16px; }
.burger.open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,10,0.15) 0%, rgba(12,11,10,0.2) 40%, rgba(12,11,10,0.88) 100%),
    url("../img/background.jpg") center 18% / cover no-repeat;
  transform: scale(1.08);
  animation: ken 22s ease-in-out alternate infinite;
}
@keyframes ken {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 7vw 9vh;
  max-width: 1100px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.2rem;
}
.kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.6rem, 11vw, 9.2rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  display: block;
  font-size: 0.72em;
  letter-spacing: 0;
  color: var(--paper);
}
.hero-sub {
  margin-top: 1.6rem;
  max-width: 34rem;
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(244, 239, 230, 0.82);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
}
.hero-meta strong {
  display: block;
  font-weight: 500;
  color: var(--gold-2);
  letter-spacing: 0.16em;
  margin-bottom: 0.25rem;
}
.scroll-cue {
  position: absolute;
  right: 7vw;
  bottom: 8vh;
  z-index: 2;
  writing-mode: vertical-rl;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(244, 239, 230, 0.7);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
}

/* ——— Shared sections ——— */
.section {
  position: relative;
  padding: 7.5rem 7vw;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
}
.idx {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  font-style: italic;
}
.section-head p.lede {
  max-width: 26rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.98rem;
}

/* ——— Story ——— */
.story {
  background: var(--paper);
  color: var(--ink);
}
.story .idx { color: #8a6a32; }
.story .section-head {
  border-color: rgba(20, 17, 14, 0.12);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.2fr;
  gap: 4.5rem;
  align-items: center;
}
.portrait {
  position: relative;
}
.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  box-shadow: var(--shadow);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold);
  z-index: -1;
}
.portrait figcaption {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-copy p {
  font-size: 1.14rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.story-copy p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 4.4rem;
  line-height: 0.75;
  padding-right: 0.55rem;
  color: var(--forest);
  font-style: italic;
}
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 2rem 0 2.2rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.stat {
  padding: 1.1rem 0.4rem 0;
  border-top: 1px solid rgba(20, 17, 14, 0.14);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--forest);
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.link-gold {
  color: #7a5a22;
  border-bottom: 1px solid currentColor;
}

/* ——— Showreel ——— */
.showreel {
  background: var(--night-2);
}
.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.reel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 16 / 10;
  text-align: left;
}
.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease), filter 0.8s;
  filter: saturate(0.85) brightness(0.78);
}
.reel:hover img {
  transform: scale(1.1);
  filter: saturate(1) brightness(0.92);
}
.reel-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.72));
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 1px solid rgba(244, 239, 230, 0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background 0.3s, transform 0.3s;
}
.play svg { width: 16px; height: 16px; margin-left: 2px; fill: var(--paper); }
.reel:hover .play {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.06);
}
.reel:hover .play svg { fill: var(--night); }
.reel h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  font-style: italic;
}
.reel small {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--gold-2);
}

/* ——— Gallery ——— */
.gallery-sec {
  background: var(--night);
}
.masonry {
  columns: 3 240px;
  column-gap: 0.85rem;
}
.masonry a {
  display: block;
  margin-bottom: 0.85rem;
  break-inside: avoid;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.masonry img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.92);
}
.masonry a:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

/* ——— Instagram ——— */
.social {
  background: var(--paper);
  color: var(--ink);
}
.social .idx { color: #8a6a32; }
.social .section-head { border-color: rgba(20, 17, 14, 0.12); }
.ig-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.ig-profile {
  background: var(--cream);
  border: 1px solid rgba(20, 17, 14, 0.08);
  padding: 1.8rem 1.5rem 1.6rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.2rem);
}
.ig-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  padding: 3px;
  background: var(--cream);
}
.ig-profile h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 1rem 0 0.15rem;
  font-weight: 500;
}
.handle {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}
.ig-bio {
  font-size: 0.92rem;
  color: var(--ink-soft);
  white-space: pre-line;
}
.ig-counts {
  display: flex;
  gap: 1.2rem;
  margin: 1.2rem 0 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ig-counts b {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.btn-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.btn-ig:hover { background: var(--forest); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  display: block;
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.ig-tile:hover img {
  transform: scale(1.08);
  filter: brightness(0.72);
}
.ig-tile .badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 18px;
  height: 18px;
  opacity: 0.92;
}
.ig-tile .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.7rem 0.65rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.3s;
}
.ig-tile:hover .cap { opacity: 1; transform: none; }
.ig-live {
  margin-top: 2.4rem;
}
.ig-live h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.ig-embeds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ig-embeds iframe {
  width: 100%;
  min-height: 540px;
  border: 0;
  background: #fafafa;
  overflow: hidden;
}
.ig-embeds .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  background: #fff;
}

/* ——— Contact ——— */
.contact {
  background: var(--forest);
  color: var(--paper);
  text-align: center;
  padding: 8.5rem 7vw;
}
.contact .idx { color: var(--gold-2); }
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  margin: 0.8rem 0 1.2rem;
}
.contact p.note {
  max-width: 28rem;
  margin: 0 auto 2.2rem;
  color: rgba(244, 239, 230, 0.78);
  font-weight: 300;
}
.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-family: var(--serif);
  font-style: italic;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  transition: background 0.25s, color 0.25s;
}
.mail-btn:hover {
  background: var(--gold);
  color: var(--night);
}
.mail-btn .at {
  opacity: 0.7;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.8em;
}

/* ——— Footer ——— */
footer {
  background: var(--night);
  padding: 1.6rem 7vw;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid rgba(244, 239, 230, 0.06);
}
footer a:hover { color: var(--gold-2); }

/* ——— Lightbox / modal ——— */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.92);
  z-index: 80;
  display: none;
  place-items: center;
  padding: 2rem;
}
.overlay.open { display: grid; }
.overlay img,
.overlay iframe {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
}
.overlay iframe {
  width: min(960px, 92vw);
  height: min(54vw, 78vh);
  border: 0;
}
.overlay .x,
.overlay .prev,
.overlay .next {
  position: absolute;
  color: var(--paper);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  opacity: 0.8;
}
.overlay .x { top: 1.2rem; right: 1.4rem; font-size: 2rem; }
.overlay .prev { left: 1rem; top: 50%; }
.overlay .next { right: 1rem; top: 50%; }
.overlay .x:hover,
.overlay .prev:hover,
.overlay .next:hover { opacity: 1; color: var(--gold-2); }
.overlay.is-video .prev,
.overlay.is-video .next { display: none; }

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: up 0.9s var(--ease) forwards;
}
.d1 { animation-delay: 0.12s; }
.d2 { animation-delay: 0.24s; }
.d3 { animation-delay: 0.36s; }
@keyframes up {
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 980px) {
  .story-grid,
  .ig-shell { grid-template-columns: 1fr; }
  .ig-profile { position: static; }
  .reels { grid-template-columns: 1fr; }
  .reel { aspect-ratio: 16 / 9; }
  .ig-embeds { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

@media (max-width: 760px) {
  .nav { padding: 0 1.2rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(12, 11, 10, 0.96);
    padding: 2.4rem 1.6rem;
    gap: 1.4rem;
    font-size: 1.05rem;
  }
  .burger { display: block; }
  .hero-inner { padding: 0 1.4rem 8vh; }
  .section { padding: 4.8rem 1.4rem; }
  .contact { padding: 5.5rem 1.4rem; }
  .stats { grid-template-columns: 1fr; }
  .masonry { columns: 2 140px; }
  .ig-grid { gap: 0.3rem; }
  .scroll-cue { display: none; }
  .hero-meta { gap: 1rem; }
}
