:root {
  --bg: #07060a;
  --bg-2: #0e0c14;
  --ink: #f4efe6;
  --muted: #9a9286;
  --gold: #d4a853;
  --gold-2: #f0d18a;
  --cyan: #6ee7e0;
  --violet: #8b6cff;
  --line: rgba(244, 239, 230, 0.12);
  --serif: "Cinzel", serif;
  --sans: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img {
  max-width: 100%;
}

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.letterbox {
  position: fixed;
  left: 0;
  right: 0;
  height: 18px;
  background: #000;
  z-index: 90;
}

.letterbox.top { top: 0; }
.letterbox.bottom { bottom: 0; }

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 168, 83, 0.55);
  transition: width 0.25s, height 0.25s, background 0.25s;
}

.cursor.grow {
  width: 64px;
  height: 64px;
  background: rgba(212, 168, 83, 0.08);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
}

.nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4vw;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.28em;
  font-family: var(--serif);
  font-size: 0.72rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.45rem 0.9rem;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
  cursor: none;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 7px 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 8vw 6rem;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  background: #3a1d6e;
  top: -10%;
  right: -8%;
}

.orb-b {
  width: 28vw;
  height: 28vw;
  background: #7a4a12;
  bottom: 8%;
  left: -6%;
}

.orb-c {
  width: 18vw;
  height: 18vw;
  background: #0e5c58;
  top: 40%;
  left: 45%;
}

.hero > *:not(.hero-bg) {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
}

h1 .line {
  display: block;
}

h1 .accent {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-2);
}

.hero-lead {
  max-width: 34rem;
  margin: 1.8rem 0 2.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #140f08;
  border-color: var(--gold);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.scroll-hint {
  position: absolute;
  bottom: 3.2rem;
  right: 8vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint i {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: drop 1.8s ease-in-out infinite;
}

@keyframes drop {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

.reel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1rem 0;
}

.reel-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--serif);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

section {
  padding: 7rem 8vw;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-title,
.studio h2,
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 600;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.studio-copy p {
  margin-top: 1.2rem;
  color: var(--muted);
  max-width: 38rem;
}

.studio-stats {
  display: grid;
  gap: 1.4rem;
}

.stat {
  border-left: 1px solid var(--gold);
  padding-left: 1.2rem;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-2);
}

.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 2rem 1.8rem;
  min-height: 280px;
  transition: border-color 0.3s, transform 0.3s;
}

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

.card.featured {
  background: linear-gradient(160deg, #16101f, #1a140c);
}

.card-num {
  color: var(--gold);
  font-family: var(--serif);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0.8rem 0 0.7rem;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul {
  margin-top: 1.1rem;
  list-style: none;
}

.card li::before {
  content: "— ";
  color: var(--gold);
}

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.projects-head p {
  color: var(--muted);
  max-width: 22rem;
}

.project-list {
  display: grid;
  gap: 1.2rem;
}

.project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  min-height: 280px;
  overflow: hidden;
}

.project-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.v1 { background: radial-gradient(circle at 40% 40%, #5c3a12, #120c18 70%); }
.v2 { background: radial-gradient(circle at 60% 30%, #0d4a4a, #080812 70%); }
.v3 { background: radial-gradient(circle at 50% 60%, #3a2060, #0a0810 70%); }
.v4 { background: radial-gradient(circle at 30% 50%, #6a5218, #100c08 70%); }

.silhouette {
  position: absolute;
  inset: 18% 18%;
  opacity: 0.85;
}

.s-hero {
  background:
    radial-gradient(ellipse at 50% 30%, #f0d18a 0 8%, transparent 9%),
    linear-gradient(#c9a46a, #3a2410);
  clip-path: polygon(50% 8%, 62% 28%, 70% 78%, 50% 100%, 30% 78%, 38% 28%);
}

.s-city {
  background: repeating-linear-gradient(90deg, #6ee7e0 0 6px, transparent 6px 22px);
  clip-path: polygon(10% 90%, 10% 50%, 22% 50%, 22% 20%, 38% 20%, 38% 40%, 55% 40%, 55% 10%, 72% 10%, 72% 55%, 90% 55%, 90% 90%);
  opacity: 0.5;
}

.s-beast {
  background: #8b6cff;
  clip-path: polygon(50% 5%, 80% 35%, 95% 80%, 50% 95%, 8% 78%, 22% 38%);
  opacity: 0.55;
  filter: blur(1px);
}

.s-brand {
  width: 42%;
  height: 42%;
  margin: auto;
  border: 2px solid #f0d18a;
  border-radius: 50%;
  inset: 29%;
  position: absolute;
}

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(244, 239, 230, 0.3);
  padding: 0.3rem 0.55rem;
}

.project-info {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.project-info p {
  color: var(--muted);
  margin: 0.8rem 0 1.2rem;
}

.project-info span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 1px solid var(--gold);
  padding-top: 1.2rem;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  margin-bottom: 0.7rem;
  letter-spacing: 0.15em;
}

.steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(58, 29, 110, 0.45), transparent 50%),
    var(--bg-2);
}

.contact-inner {
  max-width: 720px;
}

.contact p {
  color: var(--muted);
  margin: 1.2rem 0 1.4rem;
}

.order-mail {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 2.2rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.04em;
  color: var(--gold-2);
  border-bottom: 1px solid rgba(212, 168, 83, 0.35);
  padding-bottom: 0.35rem;
}

.order-mail span {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.order-mail:hover {
  color: var(--gold);
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.gallery-head p {
  color: var(--muted);
  max-width: 36rem;
  margin-top: 0.8rem;
}

.gallery-filters {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: none;
}

.filter-btn.is-on,
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.dropzone {
  border: 1px dashed rgba(212, 168, 83, 0.4);
  background: var(--bg-2);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.dropzone.is-over {
  border-color: var(--gold);
  background: #16101c;
}

.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.dropzone-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.dropzone-inner strong {
  font-family: var(--serif);
  font-size: 1.4rem;
}

.dropzone-inner p {
  color: var(--muted);
}

.dropzone .btn {
  margin-top: 0.4rem;
  cursor: none;
}

.upload-progress {
  margin-top: 1.2rem;
}

.upload-progress span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.upload-progress i {
  display: block;
  height: 2px;
  background: var(--line);
}

.upload-progress b {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.2s;
}

.gallery-msg {
  margin-top: 0.9rem;
  color: var(--cyan);
  font-size: 0.9rem;
}

.gallery-msg.is-error {
  color: #e8a0a0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.g-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #100e16;
  cursor: none;
}

.g-del {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 239, 230, 0.28);
  background: rgba(7, 6, 10, 0.72);
  color: var(--ink);
  cursor: none;
  opacity: 0;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}

.g-card:hover .g-del,
.g-card:focus-within .g-del {
  opacity: 1;
}

.g-del svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.g-del:hover {
  border-color: #e8a0a0;
  color: #e8a0a0;
}

.g-card img,
.g-card video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.g-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(7, 6, 10, 0.92));
}

.g-meta span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.g-meta strong {
  font-weight: 400;
  font-size: 0.85rem;
}

.gallery-empty {
  color: var(--muted);
  margin-top: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 4, 8, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 6vw 3rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1.6rem;
  right: 6vw;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding: 0.5rem 0.8rem;
  cursor: none;
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: min(92vw, 1100px);
  max-height: 74vh;
  display: block;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

body.lb-open {
  overflow: hidden;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 8vw 3.2rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand p,
.footer-copy,
.footer-mail,
.owner-link {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-mail:hover,
.owner-link:hover {
  color: var(--gold);
}

.owner-link {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.owner-body {
  min-height: 100vh;
}

.owner-gate,
.owner-studio {
  padding-top: 8rem;
}

.owner-gate h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 0.8rem;
}

.owner-gate p {
  color: var(--muted);
  max-width: 28rem;
}

.owner-login {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 2rem;
  max-width: 360px;
}

.owner-login label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.owner-login input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.1rem;
  padding: 0.7rem 0;
  outline: none;
}

.owner-login input:focus {
  border-bottom-color: var(--gold);
}

.owner-studio .gallery-filters {
  margin-bottom: 1.4rem;
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
  .g-del { opacity: 1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(7, 6, 10, 0.96);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.35s;
  }
  .nav-links.open { transform: none; }
  .studio-grid,
  .cards,
  .project,
  .steps,
  .footer,
  .gallery-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .project { display: grid; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .projects-head,
  .gallery-head { flex-direction: column; align-items: start; }
  .scroll-hint { display: none; }
  .letterbox { height: 10px; }
  .nav { top: 10px; }
}
