:root {
  --bg: #f7f5f2;
  --fg: #111111;
  --muted: #6a6a6a;
  --line: #e4e0da;
  --red: #e10600;
  --black: #0a0a0a;
  --font-fantasma: "Bodoni Moda", "Times New Roman", serif;
  --font-londres: "Alfa Slab One", "Rockwell", "Times New Roman", serif;
  --font-display: "Cormorant Garamond", "Bodoni Moda", Georgia, serif;
  --font-ui: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* Brand type */
.logo-fantasma,
.logo-londres {
  text-transform: uppercase;
  font-synthesis: none;
}

@keyframes brand-red-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.logo-fantasma,
.logo-londres {
  background-image: linear-gradient(
    115deg,
    #ff4a3a 0%,
    #e10600 22%,
    #ffb0a8 38%,
    #e10600 55%,
    #9a0400 72%,
    #ff2a20 88%,
    #e10600 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: brand-red-sheen 5.5s ease-in-out infinite;
}

.logo-fantasma {
  font-family: var(--font-fantasma);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-londres {
  font-family: var(--font-londres);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.logo-wordmark {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
}

/* Header — Prada-like centered wordmark */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-solid {
  border-bottom-color: var(--line);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  line-height: 1;
  text-align: center;
}

.brand-mark .logo-fantasma {
  font-size: 0.95rem;
}

.brand-londres {
  height: 0.7rem;
  width: auto;
  margin-top: 0.12rem;
  filter: drop-shadow(0 0 6px rgba(225, 6, 0, 0.25));
}

.inline-londres {
  display: inline-block;
  height: 0.9em;
  width: auto;
  vertical-align: -0.12em;
  margin-left: 0.12em;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--fg);
}

.nav a {
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}

/* Hero — cinematic full-bleed logo film */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--pad) 4rem;
  overflow: hidden;
  color: #f4efe6;
  background: #0a0a0a;
}

.hero-film {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-film__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none;
  transition: opacity 1.4s ease;
  background: #0a0a0a;
  filter: none;
}

.hero-film__slide.is-active {
  opacity: 1;
}

.hero-film__slide--full,
.hero-film__slide--matte {
  background: #0a0a0a;
  background-image: none;
  filter: none;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(40rem, 100%);
  margin: 0 auto;
  gap: 1rem;
}

/* First slide only: logo centered, text sits right under it */
.hero-mark {
  display: none;
  width: min(38vw, 280px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.hero.is-logo-slide .hero-mark {
  display: block;
}

.hero-film__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.22) 40%, rgba(0, 0, 0, 0.58) 100%),
    radial-gradient(ellipse 70% 50% at 50% 45%, transparent 30%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  transition: opacity 1s ease;
}

/* Second slide: original matte look with veil */
.hero.is-copy-on:not(.is-logo-slide) .hero-film__veil {
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.9s;
}

.hero.is-copy-on .hero-copy {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

/* First slide: keep copy tight under logo (no vertical stretch) */
.hero.is-logo-slide .hero-copy {
  flex: 0 0 auto;
  gap: 0.75rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-kicker {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
}

.hero-brand {
  margin: 0;
  line-height: 0.92;
}

.hero-brand .line {
  display: block;
}

.hero-brand .logo-fantasma {
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  filter: drop-shadow(0 0 24px rgba(225, 6, 0, 0.25));
}

.hero-londres {
  display: block;
  margin-top: 0.45rem;
  width: min(420px, 78vw);
  margin-inline: auto;
}

.hero-londres img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(225, 6, 0, 0.35));
}

.hero-meaning {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}

.hero-lede {
  margin: 0;
  max-width: 22rem;
  color: rgba(244, 239, 230, 0.78);
  font-size: 1rem;
  font-weight: 300;
}

.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.hero .text-link {
  color: #f4efe6;
}

.text-link:hover {
  opacity: 1;
}

.hero-film__progress {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.hero-film__progress span {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-film__progress span i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #f4efe6;
}

.hero-film__progress span.is-active i {
  animation: film-bar 8s linear forwards;
}

@keyframes film-bar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Sections */
.about,
.drop,
.pillars,
.founders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 5.5rem var(--pad);
  border-top: 1px solid var(--line);
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .about,
  .drop,
  .pillars,
  .founders {
    grid-template-columns: 160px 1fr;
    gap: 3rem;
    padding: 6.5rem var(--pad);
  }
}

.eyebrow {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e10600;
  background-image: linear-gradient(
    110deg,
    #7a0400 0%,
    #e10600 28%,
    #ff6b5a 42%,
    #fff0ec 50%,
    #ff6b5a 58%,
    #e10600 72%,
    #7a0400 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: eyebrow-shine 2.8s linear infinite;
}

.about .eyebrow {
  letter-spacing: 0.28em;
}

@keyframes eyebrow-shine {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: #e10600;
    color: #e10600;
  }
}

.section-body h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: var(--fg);
}

.section-lede {
  margin: 0 0 2.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
}

.about-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
  }
}

.about-lead p {
  margin: 0 0 1.5rem;
  color: #4a4845;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.65;
  max-width: 38rem;
}

.about-lead strong {
  color: var(--fg);
  font-weight: 600;
}

.about-side {
  display: grid;
  gap: 2.5rem;
}

.about-mark {
  display: grid;
  place-items: center;
}

.about-mark img {
  width: min(320px, 80%);
  height: auto;
}

.about-aside {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.aside-label {
  margin: 0 0 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.about-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-aside li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.about-aside li:last-child {
  border-bottom: none;
}

.aside-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Shop departments */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.shop-filter {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.shop-filter:hover,
.shop-filter.is-active {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.shop-root {
  display: grid;
  gap: 3.5rem;
}

.shop-dept__head {
  margin-bottom: 1.5rem;
}

.shop-dept__label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.shop-dept__blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 28rem;
}

.shop-collection + .shop-collection {
  margin-top: 2.5rem;
}

.shop-collection__head {
  margin-bottom: 1rem;
}

.shop-collection__head h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.shop-collection__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34rem;
}

.shop-empty {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.shop-empty.is-in {
  opacity: 1;
  transform: none;
}

.shop-empty p {
  margin: 0;
  font-size: 0.9rem;
}

.shop-empty__note {
  margin-top: 0.4rem !important;
  color: var(--muted);
  font-size: 0.82rem !important;
}

/* Products — editorial list */
.product-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product.is-in {
  opacity: 1;
  transform: none;
}

.product-media {
  display: none;
}

.product-meta {
  display: contents;
}

.product-meta h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-meta .price {
  justify-self: end;
  align-self: start;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.product.is-oos .price {
  text-decoration: line-through;
  opacity: 0.45;
}

.product-colors {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
}

.product-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  align-items: center;
  margin-top: 0.15rem;
}

.product-sku,
.product-sizes {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-status {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid color-mix(in srgb, var(--red) 35%, transparent);
  padding: 0.22rem 0.5rem;
}

@media (min-width: 700px) {
  .product {
    grid-template-columns: 1.15fr 1fr auto;
    align-items: baseline;
  }

  .product-colors {
    grid-column: auto;
  }

  .product-foot {
    grid-column: 1 / -1;
  }
}

/* Pillars */
.pillar-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.pillar h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-fantasma);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pillar p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }
}

/* Founders */
.founder-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 700px) {
  .founder-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.founder {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.founder-aka {
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.founder h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-fantasma);
  font-size: 1.45rem;
  font-weight: 600;
}

.founder p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}

/* CTA */
.cta-band {
  text-align: center;
  padding: 5rem var(--pad) 6rem;
  border-top: 1px solid var(--line);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-goat {
  width: min(220px, 48vw);
  height: auto;
  margin: 0 0 1.75rem;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-fantasma);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-band p {
  margin: 1rem auto 1.25rem;
  max-width: 36rem;
  color: var(--muted);
}

.cta-band .text-link {
  color: var(--fg);
  margin-bottom: 2rem;
}

.cta-band .logo-fantasma {
  font-size: 0.95em;
}

.cta-logo {
  width: min(200px, 42vw);
  height: auto;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
}

/* Footer — house style */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem var(--pad) 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 800px) {
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-label {
  margin: 0 0 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer-house ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-house a,
.footer-legal a {
  color: var(--muted);
  font-size: 0.92rem;
  font-family: var(--font-display);
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-house a:hover,
.footer-legal a:hover {
  color: var(--fg);
}

.footer-bar {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-note,
.footer-place {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-film__slide {
    transform: none;
  }
}
