:root {
  --bg: #080808;
  --panel: #121212;
  --panel-soft: #181818;
  --ink: #f4f1ea;
  --muted: #b9b4aa;
  --accent: #be623c;
  --line: rgba(244, 241, 234, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Public Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: radial-gradient(circle at 20% -10%, #26160f 0%, var(--bg) 34%),
    linear-gradient(130deg, #0d0d0d 0%, #050505 60%);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 12%, rgba(190, 98, 60, 0.15), transparent 24%),
    radial-gradient(circle at 8% 70%, rgba(190, 98, 60, 0.08), transparent 28%);
  z-index: -1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem clamp(1.1rem, 3vw, 3.2rem);
  border-bottom: 1px solid transparent;
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: blur(8px);
  z-index: 30;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.88);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.04em;
}

.brand-logo {
  display: block;
  width: 3.1rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #000;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  letter-spacing: 0.07em;
}

.brand-est {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  color: var(--muted);
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 2rem);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.19em;
}

.site-nav a {
  position: relative;
  padding: 0.3rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 0.2rem;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
}

.menu-toggle .menu-label {
  width: auto;
  height: auto;
  background: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 0.8rem 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #111;
  border-color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.header-cta {
  justify-self: end;
}

.social-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 52%;
  left: clamp(0.4rem, 1.7vw, 1.6rem);
  transform: translateY(-50%);
  z-index: 20;
  display: grid;
  gap: 0.42rem;
}

.social-rail a {
  width: 2.1rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  background: rgba(10, 10, 10, 0.5);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-rail a:hover,
.social-rail a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(3px);
}

main {
  padding-top: 5.5rem;
}

section {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: min(100vh, 900px);
  margin-bottom: clamp(4.5rem, 7vw, 6rem);
  display: grid;
  align-items: end;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 5.8rem);
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.95) 100%);
  z-index: -1;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background: linear-gradient(100deg, rgba(6, 6, 6, 0.78) 20%, rgba(6, 6, 6, 0.55) 50%, rgba(6, 6, 6, 0.86) 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-tag {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(3.2rem, 10vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.hero p {
  margin: 1.2rem 0 0;
  width: min(52ch, 100%);
  font-size: clamp(0.98rem, 1.45vw, 1.15rem);
  color: #dfdbd2;
}

.hero .btn {
  margin-top: 1.8rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.3rem, 3vw, 3rem);
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.panel-photo {
  margin: 0;
  min-height: 420px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.panel-copy {
  padding: clamp(1rem, 2vw, 1.8rem);
}

.panel-copy h2,
.section-head h2,
.shop-copy h2,
.promo-card h2 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.95;
}

.panel-copy p {
  margin: 0 0 1rem;
  color: #d8d4cd;
}

.button-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.studios,
.artists,
.shop-highlight,
.promo {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.02), transparent 40%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(1.3rem, 3vw, 2.5rem);
}

.section-head {
  max-width: 740px;
  margin-bottom: 1.6rem;
}

.sample-designs-title {
  font-size: clamp(1.7rem, 4vw, 3.2rem);
}

@media (min-width: 1100px) {
  .studios .section-head {
    max-width: 100%;
  }

  .sample-designs-title {
    white-space: nowrap;
  }
}

.section-head p {
  margin-top: 0;
  color: #d6d2c8;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.studio-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.studio-card img {
  height: 165px;
  width: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}

.studio-card h3 {
  margin: 0.85rem 0 0.25rem;
  padding-inline: 0.85rem;
  font-family: var(--display);
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.studio-card p {
  margin: 0 0 1rem;
  padding-inline: 0.85rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.shop-highlight {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  align-items: center;
}

.shop-copy p {
  color: #d6d1c8;
}

.shop-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.shop-mosaic img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.artists-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.artists-head h2 {
  margin-bottom: 0;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-page #gallery.artists {
  width: min(1380px, calc(100% - 2rem));
}

.gallery-page .artist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.artist-grid img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(14%);
}

.promo {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0.8rem;
  align-items: stretch;
}

.promo-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  padding: clamp(1rem, 2vw, 1.7rem);
}

.promo p {
  color: #d2cec4;
}

.promo img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.site-footer {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 1.2rem;
  background: rgba(7, 7, 7, 0.7);
}

.footer-brand p,
.footer-contact p {
  margin: 0.4rem 0;
  color: #d5d0c7;
}

.footer-logo {
  width: min(11rem, 100%);
  height: auto;
  margin-bottom: 0.5rem;
}

.footer-est {
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.73rem;
  color: var(--muted);
}

.footer-small {
  max-width: 34ch;
  color: var(--muted);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-contact a {
  width: fit-content;
  border-bottom: 1px solid transparent;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  border-bottom-color: var(--accent);
}

.site-footer iframe {
  width: 100%;
  min-height: 180px;
  border: 1px solid var(--line);
  filter: grayscale(100%) contrast(0.95);
}

.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.footer-meta ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-meta li {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.footer-meta p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.quick-links {
  margin-right: auto;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.55s ease, opacity 0.55s ease;
}

body.loaded .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}

body.loaded .hero-content > *:nth-child(1) {
  transition-delay: 0.08s;
}

body.loaded .hero-content > *:nth-child(2) {
  transition-delay: 0.16s;
}

body.loaded .hero-content > *:nth-child(3) {
  transition-delay: 0.24s;
}

body.loaded .hero-content > *:nth-child(4) {
  transition-delay: 0.32s;
}

@media (max-width: 1100px) {
  .gallery-page .artist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo {
    grid-template-columns: 1fr;
  }

  .promo img {
    height: 260px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .gallery-page .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    flex-direction: column;
  }

  .brand-est {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: rgba(5, 5, 5, 0.97);
    border-bottom: 1px solid var(--line);
    display: grid;
    justify-items: start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav a {
    width: 100%;
    padding: 0.95rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.open {
    max-height: 340px;
  }

  .hero {
    min-height: 85vh;
  }

  .split,
  .shop-highlight,
  .artists-head,
  .artist-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .artists-head {
    align-items: start;
  }

  .studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-rail {
    left: auto;
    right: 0.7rem;
    top: auto;
    bottom: 0.8rem;
    transform: none;
    display: flex;
  }

  .social-rail a {
    width: 1.7rem;
  }
}

@media (max-width: 540px) {
  .gallery-page #gallery.artists {
    width: min(1200px, calc(100% - 1.1rem));
  }

  main {
    padding-top: 4.8rem;
  }

  section {
    width: min(1200px, calc(100% - 1.1rem));
    margin-bottom: 2.9rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .brand-logo {
    width: 2.55rem;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }

  .panel-photo {
    min-height: 280px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .artist-grid img,
  .promo img {
    height: 190px;
  }
}


  .artist-grid img.gallery-fallback {
    object-fit: contain;
    background: #0f0f0f;
    padding: 1rem;
  }
