:root {
  --bg: #090c14;
  --text: #f7f5ef;
  --muted: #cfcbbe;
  --line: rgba(255, 255, 255, 0.2);
  --glass: rgba(10, 12, 20, 0.55);
  --pop-1: #ffd55d;
  --pop-2: #ff7f5d;
  --pop-3: #68d6cb;
  --pop-4: #7bc1ff;
  --radius: 24px;
  --shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
  --studio-1: #f2f4f7;
  --studio-2: #cfd8e8;
  --pop-a: #ff6f8f;
  --pop-b: #ffd166;
  --pop-c: #61dafb;
  --editorial-a: #d61f3c;
  --editorial-b: #14070c;
  --anchor-offset: 6.2rem;
  --top-anchor-offset: 7.4rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: linear-gradient(145deg, #05070d 0%, #0b1223 48%, #111225 100%);
  position: relative;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: -15%;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 127, 93, 0.23), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(104, 214, 203, 0.24), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(123, 193, 255, 0.24), transparent 36%),
    radial-gradient(circle at 22% 70%, rgba(255, 213, 93, 0.2), transparent 34%);
  filter: blur(6px);
  animation: hueShift 16s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

@keyframes hueShift {
  from {
    transform: scale(1) translate3d(-1%, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(1%, 1%, 0);
  }
}

.site-header {
  width: min(1150px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.65);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0.9rem;
  z-index: 10;
  gap: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #141414;
  background: linear-gradient(140deg, var(--pop-1), var(--pop-2));
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  min-width: 0;
}

nav {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.42rem 0.62rem;
  cursor: pointer;
}

.lang-btn.is-active {
  background: rgba(255, 213, 93, 0.2);
  color: #fff7df;
}

main {
  width: min(1150px, calc(100% - 2rem));
  margin: 1.8rem auto 4rem;
  display: grid;
  gap: 1.2rem;
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

#top {
  scroll-margin-top: var(--top-anchor-offset);
}

.hero,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  padding: clamp(1.3rem, 4.2vw, 3.2rem);
}

.kicker {
  margin: 0;
  color: var(--pop-3);
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Abril Fatface", serif;
  font-size: clamp(2.2rem, 5.8vw, 4.8rem);
  line-height: 0.98;
  margin-top: 0.45rem;
}

h1 span {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.92rem, 2.1vw, 1.2rem);
  color: var(--pop-1);
  margin-top: 0.85rem;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.tone-ribbon {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.tone-ribbon span {
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  font-size: 0.72rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.tone-ribbon span:nth-child(1) {
  color: #dbe9ff;
}

.tone-ribbon span:nth-child(2) {
  color: #ffe08b;
}

.tone-ribbon span:nth-child(3) {
  color: #ff9ca9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  color: #121212;
  background: linear-gradient(130deg, var(--pop-1), var(--pop-2));
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero-cards {
  display: grid;
  gap: 0.8rem;
}

.hero-visual {
  display: grid;
  gap: 0.8rem;
}

.hero-photo-frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(224, 231, 243, 0.2), rgba(114, 196, 238, 0.18), rgba(255, 153, 177, 0.18));
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero-photo-caption {
  margin: 0;
  padding: 0.6rem 0.7rem;
  font-size: 0.78rem;
  color: #f2f0e9;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 14, 24, 0.65);
}

.hero-photo-frame.is-empty .hero-photo {
  display: none;
}

.hero-photo-frame.is-empty .hero-photo-caption {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.spot-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem;
}

.spot-card h2 {
  font-size: 1.05rem;
  color: var(--pop-4);
}

.spot-card p {
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.sticker-card {
  background: linear-gradient(155deg, rgba(255, 127, 93, 0.35), rgba(255, 213, 93, 0.38));
  border-color: rgba(255, 213, 93, 0.45);
  transform: rotate(-2deg);
}

.sticker-card p {
  color: #131313;
  font-family: "Abril Fatface", serif;
  font-size: 1.55rem;
  margin: 0;
  line-height: 0.95;
}

.sticker-card span {
  display: block;
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

.panel {
  padding: clamp(1.1rem, 2.8vw, 2rem);
}

.panel p {
  color: var(--muted);
  line-height: 1.65;
}

#about {
  background: linear-gradient(140deg, rgba(238, 244, 255, 0.12), rgba(133, 194, 255, 0.1), rgba(255, 255, 255, 0.04));
}

#about h2 {
  color: #d9edff;
}

#about p {
  color: #e6eef8;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: "Abril Fatface", serif;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

.section-head a {
  text-decoration: none;
  color: var(--pop-4);
  font-weight: 600;
}

.dna-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

#style {
  background: linear-gradient(140deg, rgba(255, 121, 157, 0.13), rgba(255, 209, 102, 0.11), rgba(255, 255, 255, 0.04));
}

#style h2 {
  color: #ffe4ae;
}

.dna-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 226, 173, 0.35);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
}

.dna-label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff0b8;
}

.dna-card h3 {
  margin-top: 0.35rem;
  font-size: 1.06rem;
  color: #fff7df;
}

.dna-card p {
  margin-top: 0.4rem;
  font-size: 0.93rem;
  color: #fff2d1;
}

.look-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.look-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 0.9rem;
}

.look-card h3 {
  font-size: 1.05rem;
}

.look-card p {
  margin: 0.38rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.look-minimal {
  background: linear-gradient(140deg, rgba(242, 244, 247, 0.17), rgba(207, 216, 232, 0.1));
}

.look-pop {
  background: linear-gradient(140deg, rgba(255, 111, 143, 0.2), rgba(255, 209, 102, 0.14), rgba(97, 218, 251, 0.15));
}

.look-editorial {
  background: linear-gradient(130deg, rgba(214, 31, 60, 0.24), rgba(20, 7, 12, 0.38));
}

.personality-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

#personality {
  background: linear-gradient(140deg, rgba(255, 111, 143, 0.14), rgba(98, 218, 251, 0.11), rgba(255, 255, 255, 0.04));
}

#personality h2 {
  color: #ffd3df;
}

#personality > p {
  color: #ffe7ee;
}

.personality-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 188, 208, 0.35);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
}

.personality-card h3 {
  font-size: 1.04rem;
  color: #ffe2ec;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.pill {
  display: inline-flex;
  border: 1px solid rgba(255, 208, 221, 0.45);
  border-radius: 999px;
  padding: 0.32rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.2;
  color: #ffeef3;
  background: rgba(255, 122, 170, 0.16);
}

.gallery-note {
  margin: 0.4rem 0 0.8rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.04);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-card {
  grid-column: span 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1422;
  transition: transform 240ms ease;
}

.gallery-card.tone-minimal {
  border-color: rgba(216, 227, 244, 0.55);
}

.gallery-card.tone-pop {
  border-color: rgba(255, 194, 117, 0.58);
}

.gallery-card.tone-editorial {
  border-color: rgba(224, 71, 99, 0.58);
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 8;
}

.gallery-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-card.tall .gallery-image {
  aspect-ratio: 1 / 1.35;
}

.gallery-card.wide .gallery-image {
  aspect-ratio: 2 / 1;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 2.65rem;
  display: flex;
  justify-content: space-between;
  padding: 0.6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #f8f8f8;
  font-size: 0.72rem;
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-meta {
  padding: 0.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.05));
}

.gallery-caption {
  margin: 0;
  color: #e3e1d8;
  font-size: 0.83rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-link:hover .gallery-overlay,
.gallery-link:focus-visible .gallery-overlay {
  opacity: 1;
}

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

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 1rem;
  color: var(--muted);
}

.site-footer {
  width: min(1150px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  color: #aea999;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

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

  .gallery-card,
  .gallery-card.wide {
    grid-column: span 6;
  }

  .dna-grid {
    grid-template-columns: 1fr;
  }

  .look-grid {
    grid-template-columns: 1fr;
  }

  .personality-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 20px;
    flex-direction: column;
    gap: 0.65rem;
  }

  .header-tools {
    width: 100%;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery-card,
  .gallery-card.wide {
    grid-column: span 12;
  }

  .gallery-card.tall .gallery-image,
  .gallery-card.wide .gallery-image,
  .gallery-image {
    aspect-ratio: 1 / 1;
  }

  :root {
    --anchor-offset: 9.2rem;
    --top-anchor-offset: 10.4rem;
  }
}

@media (min-width: 721px) and (max-width: 1060px) {
  .site-header {
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .header-tools {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav {
    justify-content: center;
  }
  :root {
    --anchor-offset: 8rem;
    --top-anchor-offset: 9.2rem;
  }
}
