:root {
  --bg: #080808;
  --bg2: #101010;
  --fg: #f3efe6;
  --muted: #9a9488;
  --line: rgba(243, 239, 230, 0.12);
  --gold: #c4a574;
  --gold2: #e4cc9a;
  --font-d: "Cormorant Garamond", Georgia, serif;
  --font-s: Inter, system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --nav: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-s);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 500; letter-spacing: -0.02em; line-height: 0.95; margin: 0; color: var(--fg); }
::selection { background: var(--gold); color: #111; }

.kicker {
  font-family: var(--font-s);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 500;
}

.arr {
  display: inline-block;
  width: 1.15em;
  height: 0.7em;
  margin-left: 0.55em;
  background: currentColor;
  clip-path: polygon(0 42%, 72% 42%, 72% 0, 100% 50%, 72% 100%, 72% 58%, 0 58%);
  vertical-align: middle;
  transition: transform 0.4s var(--ease);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--fg);
  padding: 0.85rem 1.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn:hover .arr { transform: translateX(4px); }
.btn-fill { background: var(--fg); color: var(--bg); }
.btn-fill:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.btn-line { border-color: rgba(243,239,230,.45); }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 56px; color: var(--gold); animation: pulse 1.4s ease infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.94); } }

.cursor {
  position: fixed; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 400;
  mix-blend-mode: difference; transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
}
.cursor.is-grow { width: 42px; height: 42px; background: transparent; border: 1px solid var(--gold); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--nav);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 var(--pad);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,8,8,.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-logo { display: flex; align-items: center; gap: .85rem; }
.nav-mark { width: 28px; height: 28px; color: var(--fg); display: grid; }
.nav-mark svg { width: 28px; height: 28px; }
.nav-word { display: flex; flex-direction: column; line-height: 1.05; }
.nav-word strong {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-word small {
  font-size: .58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav-links a {
  font-size: .78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243,239,230,.78);
  position: relative;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--gold);
}
.nav-cta { margin-left: 1rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--fg);
  transition: transform .4s var(--ease), top .4s;
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle.is-open span:first-child { top: 22px; transform: rotate(40deg); }
.nav-toggle.is-open span:last-child { top: 22px; transform: rotate(-40deg); }

.menu {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(8,8,8,.96);
  padding: calc(var(--nav) + 2rem) var(--pad) var(--pad);
  overflow: auto;
}
.menu-inner {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 4rem;
  min-height: calc(100svh - var(--nav) - 4rem);
}
.menu-nav a {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.05;
  color: var(--muted);
  transition: color .3s;
}
.menu-nav a:hover { color: var(--fg); }
.menu-right { display: flex; flex-direction: column; gap: 2.4rem; justify-content: flex-end; padding-bottom: 1rem; }
.menu-mail { display: block; font-size: 1.05rem; color: var(--fg); }

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  align-items: end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video,
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,8,.82) 0%, rgba(8,8,8,.15) 42%, rgba(8,8,8,.28) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) 4.5rem;
  max-width: 92vw;
}
.hero-copy h1 {
  font-size: clamp(3.2rem, 8.6vw, 8.6rem);
  max-width: 16ch;
  margin-bottom: 1.4rem;
}
.hero-copy h1 em { font-style: italic; color: var(--gold2); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-scroll {
  position: absolute; right: var(--pad); bottom: 2.4rem; z-index: 2;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}

/* Dialogs */
.reel {
  position: fixed; inset: 0; z-index: 120;
  background: #000;
  display: grid; place-items: center;
}
.reel[hidden] { display: none; }
.reel video { width: min(1400px, 100%); height: min(80svh, 100%); object-fit: contain; }
.reel-close {
  position: absolute; top: 1.4rem; right: var(--pad);
  background: none; border: 0; color: #fff; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}

/* Sections */
.sec { padding: 7.5rem var(--pad); }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-bottom: 3rem;
}
.sec-head h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 14ch; }
.lead { font-size: 1.12rem; max-width: 42ch; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.split-copy h2 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: 1.4rem; }
.split-media { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.split-media.wide { aspect-ratio: 16/10; }
.split-media img, .split-media video { width: 100%; height: 100%; object-fit: cover; }

/* Categories */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cat {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  background: var(--bg2);
  display: flex; align-items: flex-end;
  padding: 1.6rem;
}
.cat img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease), opacity .5s;
}
.cat:hover img { transform: scale(1.1); opacity: .8; }
.cat span {
  position: relative;
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 2vw, 2.1rem);
}

/* Works grid */
.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.work {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
}
.work-img { aspect-ratio: 16/10; overflow: hidden; }
.work-img img, .work-img video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.work:hover img, .work:hover video { transform: scale(1.06); }
.work.tall .work-img { aspect-ratio: 4/5; }
.work-meta {
  padding: 1.05rem 0.1rem 0.4rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.work-meta h3 { font-size: 1.55rem; }
.work-meta small { color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: .45rem 1rem; border-radius: 999px; cursor: pointer;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.filter.is-on, .filter:hover { color: var(--bg); background: var(--fg); border-color: var(--fg); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 2rem; }
.step h3 { font-size: 1.7rem; margin: .4rem 0 .6rem; }
.step .num { font-family: var(--font-d); color: var(--gold); font-size: 1.3rem; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 3.2rem var(--pad); }
.stat strong {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 500;
}
.stat span { color: var(--muted); }

/* Page hero */
.page-hero { padding: calc(var(--nav) + 4.5rem) var(--pad) 3rem; }
.page-hero h1 { font-size: clamp(3.2rem, 8vw, 7.4rem); max-width: 16ch; }
.page-hero p { max-width: 46ch; font-size: 1.12rem; margin-top: 1.4rem; }

/* Project */
.proj-hero { position: relative; height: 82svh; min-height: 520px; overflow: hidden; }
.proj-hero img, .proj-hero video { width: 100%; height: 100%; object-fit: cover; }
.proj-hero-copy {
  position: absolute; left: var(--pad); bottom: 2.6rem; right: var(--pad);
  background: linear-gradient(transparent, rgba(8,8,8,.0));
}
.proj-hero-copy h1 { font-size: clamp(2.8rem, 6vw, 6rem); }
.proj-body {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  padding: 5rem var(--pad);
}
.meta-list dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 1.3rem; }
.meta-list dd { margin: .25rem 0 0; color: var(--fg); }
.gallery { padding: 0 var(--pad) 5rem; display: grid; gap: 1.1rem; }
.gallery img { width: 100%; height: auto; }
.next-proj {
  display: flex; justify-content: space-between; align-items: end;
  padding: 3rem var(--pad) 5rem;
  border-top: 1px solid var(--line);
}
.next-proj small { letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-size: .72rem; }
.next-proj h2 { font-size: clamp(2rem, 4vw, 3.6rem); }

/* Services list */
.svc {
  display: grid; grid-template-columns: 90px 1fr 1.2fr;
  gap: 2rem; padding: 2.8rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc h3 { font-size: 2.3rem; }
.svc .n { font-family: var(--font-d); color: var(--gold); font-size: 1.3rem; }

/* Form */
.contact-wrap {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: 4rem;
  padding: 0 var(--pad) 6rem;
}
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.form input, .form select, .form textarea {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  padding: .7rem 0 .9rem; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.alert {
  grid-column: 1 / -1;
  padding: 1rem 0;
  color: var(--gold);
}
.alert.err { color: #e8a0a0; }

/* Insights */
.insight-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; }
.insight-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.insight-card h3 { font-size: 1.8rem; margin: .9rem 0 .4rem; }
.article { max-width: 740px; padding: 0 var(--pad) 6rem; }
.article p { font-size: 1.12rem; color: #cfc8bb; }

/* CTA dual */
.cta-dual {
  display: grid; grid-template-columns: 1.2fr .8fr;
  border-top: 1px solid var(--line);
}
.cta-dual-a, .cta-dual-b { padding: 5rem var(--pad); }
.cta-dual-a { border-right: 1px solid var(--line); }
.cta-dual h2 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); margin-bottom: 1.1rem; }
.cta-dual-b { background: var(--fg); color: var(--bg); }
.cta-dual-b h2 { color: var(--bg); }
.cta-dual-b .btn-line { border-color: var(--bg); color: var(--bg); }
.cta-dual-b .btn-line:hover { background: var(--bg); color: var(--fg); }

/* Footer */
.foot { padding: 4rem var(--pad) 1.5rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.foot a:hover { color: var(--gold); }
.foot-tag { margin-top: 1rem; max-width: 28ch; }
.foot-bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted);
}
.foot-bar div { display: flex; gap: 1.3rem; align-items: center; }
.to-top { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
.to-top:hover { color: var(--fg); }

.wa {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: #1a9b56; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.note {
  font-size: .78rem; color: var(--muted); max-width: 62ch; margin-top: 1.5rem;
}

/* Admin */
.admin { background: #f4f1ea; color: #161513; }
.admin .wrap { max-width: 1080px; margin: 4rem auto; padding: 0 1.2rem; }
.admin table { width: 100%; border-collapse: collapse; background: #fff; }
.admin th, .admin td { border-bottom: 1px solid #e6e0d4; padding: .8rem; text-align: left; font-size: .9rem; vertical-align: top; }
.admin th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #7a7468; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .split, .proj-body, .contact-wrap, .cta-dual, .menu-inner, .foot-grid, .works, .insight-grid, .steps, .stats, .svc, .form {
    grid-template-columns: 1fr;
  }
  .cats { grid-template-columns: 1fr 1fr; }
  .cta-dual-a { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-dual-b { background: var(--bg); color: var(--fg); }
  .cta-dual-b h2 { color: var(--fg); }
  .cta-dual-b .btn-line { border-color: var(--fg); color: var(--fg); }
  .cta-dual-b .btn-line:hover { background: var(--fg); color: var(--bg); }
  .cat { min-height: 38vh; }
  .work.tall .work-img { aspect-ratio: 16/10; }
  .hero-copy { padding-bottom: 5.5rem; }
  .sec { padding: 4.5rem var(--pad); }
  .svc .n { display: none; }
}

@media (max-width: 640px) {
  .works { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .stats .stat { padding: 2rem var(--pad); }
  .menu-nav a { font-size: 2.2rem; }
}

@media (hover: none) {
  .cursor { display: none !important; }
}
