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


:root {
  --black: #0a0a0a;
  --accent: #E03050;
  --white: #f0ede8;
  --muted: #555555;
  --font-display: 'UnifrakturMaguntia', serif;
  --font-wordmark: 'UnifrakturMaguntia', serif;
  --font-body: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── SPLASH ── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transition: opacity 1.2s ease;
  overflow: hidden;
}

#splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-bg {
  position: absolute;
  inset: 0;
}

.splash-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 17%;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.3) 30%,
    rgba(0,0,0,0.05) 70%,
    rgba(0,0,0,0) 100%
  );
}

.splash-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 5rem;
}

.splash-name {
  font-family: var(--font-wordmark);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.splash-title {
  margin-top: 1rem;
  font-size: clamp(0.55rem, 1.2vw, 0.7rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.45);
  font-weight: 400;
}

.splash-cta {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.3);
  animation: blink 2.5s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* ── SITE ── */
#site {
  opacity: 0;
  transition: opacity 0.9s ease 0.3s;
}

#site.visible {
  opacity: 1;
}

.hidden {
  display: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 28px;
  color: var(--accent);
}

.nav-name {
  font-family: var(--font-wordmark);
  font-size: 0.75rem;
  color: var(--white);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

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

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 3rem 5rem;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  justify-content: center;
}

.hero-name-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-name-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-name {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-alias {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 400;
}

.hero-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

.hero-bio {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.85;
  color: #888;
  max-width: 420px;
}

.hero-bio a,
.hero-clients a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #333;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.hero-bio a:hover,
.hero-clients a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-clients {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.85;
  color: #888;
}

.hero-contact-line {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: #888;
}

.hero-contact-line a {
  color: #999;
  text-decoration: none;
  border-bottom: 1px solid #333;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.hero-contact-line a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-btn {
  display: inline-block;
  border: 1px solid #333 !important;
  border-bottom: 1px solid #333 !important;
  padding: 0.3rem 0.8rem !important;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999 !important;
  transition: border-color 0.2s, color 0.2s !important;
}

.contact-btn:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.hero-image-wrap {
  width: 100%;
  max-width: 560px;
  min-height: 500px;
  overflow: hidden;
}

.placeholder-img {
  background: #111;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%) contrast(1.1);
}

/* ── LOGO STRIP ── */
.logo-strip {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 1.5rem 0;
  background: var(--black);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}

.logo-track img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logo-track img:hover {
  opacity: 1;
}

/* Black on white → invert to white on black */
.logo-invert {
  filter: invert(1);
}

/* White on black → screen blend removes black box */
.logo-screen {
  mix-blend-mode: screen;
}

/* Colourful on white → greyscale then invert */
.logo-colour {
  filter: grayscale(1) invert(1);
}


@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION SHARED ── */
section {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

#rkhive {
  max-width: 100%;
  margin: 0;
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section-header {
  margin-bottom: 4rem;
  border-top: 1px solid #1e1e1e;
  padding-top: 1.5rem;
}

.section-label-link {
  text-decoration: none;
  border: none;
}

.section-label-link:hover .section-label {
  color: var(--accent);
}

.rkhive-name-link {
  text-decoration: none;
  border: none;
  color: inherit;
}

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── WORK GRID ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #1a1a1a;
}

.work-item {
  background: var(--black);
  cursor: pointer;
  transition: background 0.2s;
}

.work-item:hover {
  background: #111;
}

.work-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.work-thumb.placeholder {
  background: #111;
  position: relative;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: grayscale(30%);
}

.work-item:hover .work-thumb img {
  transform: scale(1.03);
}

.work-meta {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #1a1a1a;
}

.work-title {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.work-type {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-meta--tall {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.work-detail {
  display: block;
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ── ABOUT ── */
.about-text {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.7;
  max-width: 700px;
  color: #ccc;
}

/* ── RKH1V3 ── */

.rkhive-bg {
  position: absolute;
  inset: 0;
}

.rkhive-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.rkhive-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.rkhive-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.rkhive-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.45);
  margin-bottom: 1.5rem;
}

.rkhive-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 12rem);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}

.rkhive-sub {
  margin-top: 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
}

/* ── CONTACT ── */
.contact-email {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.2em;
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--accent);
}

/* ── NTS PLAYER ── */
#nts-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
}

#nts-btn {
  background: none;
  border: 1px solid #333;
  color: #888;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: border-color 0.2s, color 0.2s;
}

#nts-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

#nts-btn.playing {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── FOOTER ── */
footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 3rem;
  border-top: 1px solid #1a1a1a;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── MOBILE IMAGE ── */
.hero-mobile-image {
  display: none;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hero-mobile-image {
    display: block;
  }

  .hero-mobile-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(20%) contrast(1.1);
  }

  .hero-right {
    display: none;
  }
  nav {
    padding: 1rem 1.2rem;
  }

  .nav-name {
    font-size: 0.65rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 0.55rem;
  }

  #hero {
    grid-template-columns: 1fr;
    padding: 5rem 1.2rem 3rem;
    gap: 2rem;
    min-height: unset;
  }

  .hero-name {
    font-size: 0.55rem;
  }

  .hero-alias {
    font-size: 0.65rem;
  }

  .hero-bio {
    font-size: 0.65rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .hero-label {
    font-size: 0.5rem;
  }

  .hero-clients {
    font-size: 0.62rem;
    line-height: 1.7;
    word-break: break-word;
  }

  .hero-contact-line {
    font-size: 0.62rem;
  }

  .hero-left {
    gap: 1.2rem;
  }


  section {
    padding: 3.5rem 1.2rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .work-thumb {
    aspect-ratio: 1/1;
  }

  .work-title {
    font-size: 0.65rem;
  }

  .work-type {
    font-size: 0.5rem;
  }

  .work-meta {
    padding: 0.8rem 0.8rem;
  }

  #rkhive {
    padding: 5rem 1.2rem;
  }

  .rkhive-name {
    font-size: clamp(3rem, 18vw, 6rem);
  }

  .rkhive-sub {
    font-size: 0.55rem;
  }

  footer {
    padding: 1.5rem 1.2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  #nts-player {
    bottom: 1rem;
    right: 1rem;
  }
}
