@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Quicksand:wght@500;600;700&family=Saira:wght@400;500;600;700&family=Work+Sans:wght@300;400;600&display=swap');

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

:root {
  --bg:      #0d0b14;
  --amber:   #e07830;
  --amber2:  #c05020;
  --warm-white: #f0ece4;
  --muted:   #8a8070;
  --red:     #ef3d3d;
  --blue:    #2f5ef0;
}

html { background: var(--bg); }

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  color: var(--warm-white);
  background: transparent;
  font-size: 18px;
  line-height: 1.8;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(13,11,20,0.7), transparent);
}

.nav-logo {
  font-family: 'Saira', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-decoration: none;
}

.nav-links a {
  color: var(--warm-white);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-left: 2.5rem;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--amber); }

/* ── Fixed background photo ── */
#bg-photo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.92;
  z-index: 1;
  pointer-events: none;
  filter: brightness(1.15) contrast(1.05) saturate(1.1) sepia(0.08);
  transition: opacity 2.5s ease;
}

/* ── Background video ── */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  filter: brightness(1.4) contrast(1.0) saturate(0.9);
  transition: opacity 2.5s ease;
}

.bg-video.visible { opacity: 0.85; }
#bg-photo.hidden  { opacity: 0; }

/* ── Grain overlay ── */
#grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Hero ── */
#hero {
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(13,11,20,0.55) 0%, rgba(13,11,20,0.0) 55%),
    linear-gradient(to top, rgba(13,11,20,0.6) 0%, rgba(13,11,20,0.1) 60%, rgba(13,11,20,0.25) 100%);
}

.hero-text {
  position: absolute;
  bottom: 8rem;
  right: 4rem;
  text-align: right;
  z-index: 2;
}

.hero-name {
  font-family: 'Saira', sans-serif;
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: 1;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #ef3d3d, #ff8a3d, #ff4fa3, #b83dff, #ef3d3d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: rainbow-flow 12s linear infinite;
}

@keyframes rainbow-flow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-name span.dot {
  padding: 0 0.08em;
  font-size: 0.65em;
  vertical-align: 0.18em;
  display: inline-block;
}

.hero-location {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-white);
}

.hero-tagline {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.88);
}

.hero-tagline em {
  color: var(--warm-white);
  font-style: normal;
}

.hero-actions {
  position: absolute;
  bottom: 3.5rem;
  right: 4rem;
  z-index: 2;
}

.hero-cta {
  margin-right: 1rem;
  display: inline-block;
  border: 2px solid var(--amber);
  color: var(--amber);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.8em 2em;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
}

.hero-cta.secondary {
  border-color: var(--warm-white);
  color: var(--warm-white);
}

.hero-cta.secondary:hover { background: var(--muted); color: var(--bg); }

.hero-cta:hover { background: var(--amber); color: var(--bg); }

/* ── Mobile hero fix ── */
@media (max-width: 700px) {
  .hero-text {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 6.5rem;
  }

  .hero-name {
    font-size: clamp(2.4rem, 13vw, 4.5rem);
  }

  .hero-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 2rem;
  }
}

/* ── Sections ── */
section {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3.5rem max(3rem, calc(50vw - 410px));
}

section:not(#hero) {
  background: rgba(13,11,20,0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

section + section {
  border-top: 1px solid rgba(240,236,228,0.08);
}

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

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--warm-white);
}

p { color: rgba(240,236,228,0.75); margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--warm-white); font-weight: 600; }

/* ── Residencies ── */
.residency-list {
  list-style: none;
  margin-top: 1rem;
}

.residency-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(240,236,228,0.08);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.residency-list li:first-child { border-top: 1px solid rgba(240,236,228,0.08); }

.residency-venue {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--warm-white);
  min-width: 180px;
}

.residency-detail {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── Instagram embed ── */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--amber);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2rem;
  border-bottom: 1px solid var(--amber2);
  padding-bottom: 0.3em;
  transition: color 0.2s;
}
.instagram-link:hover { color: var(--warm-white); }

/* ── Contact ── */
.contact-email {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  color: var(--warm-white);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--amber); }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  border-top: 1px solid rgba(240,236,228,0.08);
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--amber); }
