:root {
  color-scheme: dark;
  --bg: #07040d;
  --bg-elevated: rgba(16, 11, 24, 0.78);
  --bg-strong: rgba(20, 15, 30, 0.94);
  --text: #f8f4ff;
  --muted: rgba(228, 224, 238, 0.74);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --silver: #d9dce8;
  --purple: #7b39ff;
  --purple-soft: #b27bff;
  --magenta: #ff66d4;
  --glow: rgba(155, 99, 255, 0.34);
  --shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: "Suisse Intl", "Avenir Next", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(123, 57, 255, 0.17), transparent 24%),
    radial-gradient(circle at 85% 16%, rgba(255, 102, 212, 0.11), transparent 18%),
    radial-gradient(circle at 50% 85%, rgba(88, 44, 170, 0.18), transparent 28%),
    linear-gradient(160deg, #040207 0%, #09040f 30%, #12071e 68%, #04030a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  opacity: 0.22;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

#root {
  isolation: isolate;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.title-letter {
  animation: title-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(180ms + (var(--char-index, 0) * 80ms));
}

.hero-fade {
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0ms);
}

.ambient-blob {
  position: fixed;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.ambient-blob-one {
  top: 8vh;
  left: -10vw;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(123, 57, 255, 0.34) 0%, transparent 72%);
  animation: blob-float-one 22s ease-in-out infinite;
}

.ambient-blob-two {
  top: 12vh;
  right: -8vw;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  animation: blob-float-two 28s ease-in-out infinite;
}

.ambient-blob-three {
  bottom: 4vh;
  left: 32vw;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(255, 102, 212, 0.18) 0%, transparent 72%);
  animation: blob-float-three 25s ease-in-out infinite;
}

.page-frame {
  position: relative;
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: 1.25rem clamp(1.1rem, 2vw, 2rem) 5rem;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 2.5rem);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 36px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(18, 11, 31, 0.9) 0%, rgba(11, 8, 18, 0.86) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding-inline: 0.35rem;
}

.chrome-brand,
.chrome-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.chrome-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chrome-links a {
  transition: border-color 250ms ease, transform 250ms ease, background-color 250ms ease;
}

.chrome-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(0.5rem, 1vw, 1rem) 0 clamp(0.5rem, 2vw, 1rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(123, 57, 255, 0.14));
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title-lockup {
  margin-top: clamp(1.3rem, 2vw, 2rem);
  margin-bottom: 1.15rem;
}

.title-line {
  display: flex;
  gap: 0.14em;
  overflow: hidden;
}

.title-letter {
  display: inline-block;
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.75rem);
  line-height: 0.84;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}

.hero-tagline {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease,
    background-color 250ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.button-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(123, 57, 255, 0.34));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.highlight-card {
  min-height: 10rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.highlight-index {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.highlight-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.highlight-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: clamp(30rem, 70vh, 48rem);
}

.hero-spotlight {
  position: absolute;
  inset: -6%;
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
  background-image: radial-gradient(
    circle at 50% 48%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(173, 114, 255, 0.18) 14%,
    rgba(90, 34, 138, 0.08) 28%,
    transparent 52%
  );
  transition: background-image 260ms ease;
}

.portrait-stage,
.floating-frame {
  position: absolute;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
  transition: transform 320ms ease;
}

.portrait-stage {
  inset: 3.5rem 8rem 5rem 0;
  z-index: 1;
}

.portrait-panel,
.floating-frame img {
  width: 100%;
  height: 100%;
}

.portrait-panel img,
.floating-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-caption,
.floating-copy {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 7, 18, 0.18), rgba(11, 7, 18, 0.78));
  backdrop-filter: blur(14px);
}

.portrait-kicker,
.floating-copy span {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-caption strong,
.floating-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.floating-frame-top {
  top: 0;
  right: 0;
  width: min(16.5rem, 34%);
  height: 45%;
  z-index: 3;
}

.floating-frame-bottom {
  right: 1.35rem;
  bottom: 0.6rem;
  width: min(18rem, 40%);
  height: 34%;
  z-index: 3;
}

.gallery-section {
  position: relative;
  margin-top: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2rem) 0 0;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: 1.5rem;
  align-items: end;
  padding: 0 clamp(0.35rem, 1vw, 0.6rem);
}

.gallery-heading h2 {
  margin: 1rem 0 0;
  max-width: 14ch;
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: 0.03em;
}

.gallery-heading p {
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 5.4rem;
  gap: 1rem;
  margin-top: 2.3rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 450ms ease, opacity 700ms ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(5, 3, 10, 0.78) 100%);
  z-index: 1;
}

.gallery-media,
.gallery-media img,
.gallery-overlay {
  position: absolute;
  inset: 0;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms ease, filter 700ms ease;
}

.gallery-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 4, 13, 0) 0%, rgba(7, 4, 13, 0.14) 52%, rgba(7, 4, 13, 0.78) 100%),
    radial-gradient(circle at top right, rgba(176, 123, 255, 0.22), transparent 34%);
  opacity: 0.92;
  transition: opacity 500ms ease;
}

.gallery-copy,
.gallery-index {
  position: absolute;
  z-index: 2;
}

.gallery-copy {
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  transform: translateY(0.8rem);
  opacity: 0.7;
  transition: transform 500ms ease, opacity 500ms ease;
}

.gallery-copy span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-copy h3 {
  margin: 0;
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
}

.gallery-index {
  top: 1rem;
  right: 1rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 9, 18, 0.5);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.05);
  filter: saturate(1.08) blur(1px);
}

.gallery-card:hover {
  transform: translateY(-10px);
}

.gallery-card:hover .gallery-copy {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.layout-a {
  grid-column: span 5;
  grid-row: span 7;
}

.layout-b {
  grid-column: span 3;
  grid-row: span 5;
}

.layout-c {
  grid-column: span 4;
  grid-row: span 6;
}

.layout-d {
  grid-column: span 4;
  grid-row: span 4;
}

.layout-e {
  grid-column: span 3;
  grid-row: span 5;
}

.layout-f {
  grid-column: span 5;
  grid-row: span 6;
}

.layout-g {
  grid-column: span 3;
  grid-row: span 4;
}

.layout-h {
  grid-column: span 4;
  grid-row: span 5;
}

@keyframes title-rise {
  from {
    opacity: 0;
    transform: translateY(112%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blob-float-one {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(26px, -22px, 0) scale(1.08);
  }

  66% {
    transform: translate3d(-12px, 14px, 0) scale(0.96);
  }
}

@keyframes blob-float-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(-34px, 24px, 0) scale(0.94);
  }

  66% {
    transform: translate3d(12px, -18px, 0) scale(1.06);
  }
}

@keyframes blob-float-three {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(12px, -18px, 0) scale(1.05);
  }

  66% {
    transform: translate3d(-20px, 8px, 0) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-blob-one,
  .ambient-blob-two,
  .ambient-blob-three,
  .title-letter,
  .hero-fade {
    animation: none;
  }

  .title-letter,
  .hero-fade {
    opacity: 1;
    transform: none;
  }

  .portrait-stage,
  .floating-frame,
  .gallery-card,
  .gallery-media img,
  .gallery-copy,
  .gallery-overlay {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 44rem;
  }

  .hero-visual {
    min-height: 38rem;
  }

  .portrait-stage {
    inset: 2.5rem 9rem 4rem 0;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 5rem;
  }

  .layout-a,
  .layout-f {
    grid-column: span 4;
  }

  .layout-b,
  .layout-e,
  .layout-g {
    grid-column: span 2;
  }

  .layout-c,
  .layout-d,
  .layout-h {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .page-frame {
    padding-bottom: 4rem;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .portrait-stage {
    inset: 1.5rem 7rem 4rem 0;
  }

  .floating-frame-top {
    width: 12.5rem;
  }

  .floating-frame-bottom {
    width: 14.5rem;
  }
}

@media (max-width: 720px) {
  .page-frame {
    padding-inline: 0.8rem;
  }

  .hero-section {
    border-radius: 28px;
    padding: 1rem;
  }

  .hero-chrome {
    flex-direction: column;
    align-items: flex-start;
  }

  .chrome-links {
    width: 100%;
  }

  .hero-visual {
    min-height: 31rem;
  }

  .portrait-stage {
    inset: 1.25rem 0 8rem 0;
  }

  .floating-frame-top {
    top: auto;
    right: 0.85rem;
    bottom: 1rem;
    width: 9.5rem;
    height: 12rem;
  }

  .floating-frame-bottom {
    right: auto;
    left: 0.85rem;
    bottom: 0.75rem;
    width: 11rem;
    height: 8.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(18rem, auto);
  }

  .gallery-card,
  .layout-a,
  .layout-b,
  .layout-c,
  .layout-d,
  .layout-e,
  .layout-f,
  .layout-g,
  .layout-h {
    grid-column: 1 / -1;
    grid-row: span 1;
    min-height: 25rem;
  }
}

@media (max-width: 560px) {
  .title-line {
    gap: 0.11em;
  }

  .title-letter {
    font-size: clamp(3.15rem, 18vw, 5.1rem);
  }

  .hero-tagline {
    font-size: 0.98rem;
    letter-spacing: 0.12em;
  }

  .hero-description,
  .gallery-heading p {
    font-size: 0.96rem;
  }

  .button,
  .chrome-brand,
  .chrome-links a,
  .eyebrow {
    width: 100%;
    justify-content: center;
  }

  .cta-row {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .portrait-stage {
    inset: 0.75rem 0 8.4rem 0;
  }

  .portrait-caption,
  .floating-copy {
    padding: 0.85rem 0.92rem;
  }

  .gallery-card,
  .layout-a,
  .layout-b,
  .layout-c,
  .layout-d,
  .layout-e,
  .layout-f,
  .layout-g,
  .layout-h {
    min-height: 21rem;
  }
}
