/* Alba — siempre nunca ahora */

@font-face {
  font-family: "From Skyler";
  src: url("assets/brand/FromSkyler.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bone: #e2d4b9;
  --bistre: #442916;
  --vermilion: #dc653b;
  --periwinkle: #c8d2ea;
  --bone-soft: #ece2cd;
  --bone-deep: #d6c4a4;
  --ease: cubic-bezier(.6,.05,.05,1);
  --gutter: clamp(16px, 3vw, 40px);
  --nav-h: 64px;
}

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

html, body {
  background: var(--bone);
  color: var(--bistre);
  font-family: "Courier Prime", "Courier New", ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/brand/texture-weave.jpg");
  background-size: 700px auto;
  background-repeat: repeat;
  opacity: .35;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--vermilion); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--vermilion); color: var(--bone); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  z-index: 50;
  background: transparent;
  transition: background .5s var(--ease), transform .4s var(--ease), color .5s var(--ease);
  color: var(--bistre);
}
.nav.is-solid {
  background: rgba(226, 212, 185, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bistre);
  border-bottom: 1px solid rgba(68,41,22,.1);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--vermilion);
  transition: background .5s var(--ease), transform .6s var(--ease);
  box-shadow: 0 4px 14px rgba(68,41,22,.16);
}
.nav__logo-mark {
  display: block;
  width: 38px;
  height: auto;
  transition: opacity .4s var(--ease);
}
.nav__logo:hover { transform: translateY(-1px); }

.nav__links {
  display: flex; gap: clamp(16px, 2.4vw, 36px);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: .04em;
}
.nav__links a { padding: 6px 0; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* Hero — Sabine spotlight collage */
.hero {
  position: relative;
  background: var(--bone-soft);
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 90px)) clamp(24px, 6vw, 90px) clamp(60px, 8vw, 110px);
  overflow: hidden;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.hero__piece { margin: 0; }
.hero__piece img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(16px, 2vw, 30px) clamp(8px, 2vw, 20px);
  color: var(--bistre);
}
.hero__kicker {
  font-size: clamp(14px, 1.1vw, 18px);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero__body {
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.7;
  opacity: .85;
}
.hero__sketch {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: clamp(8px, 2vw, 20px) auto;
  mix-blend-mode: multiply;
}
.hero__sign {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(16px, 3vw, 48px);
  text-align: center;
  font-family: "From Skyler", "Courier Prime", cursive;
  font-size: clamp(64px, 10vw, 160px);
  letter-spacing: .005em;
  text-transform: lowercase;
  line-height: .95;
  color: var(--periwinkle);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 900px) {
  .hero__sign {
    position: static;
    font-size: clamp(48px, 14vw, 90px);
    margin-top: 8px;
  }
}

.hero__brand {
  position: absolute;
  left: clamp(24px, 6vw, 90px);
  bottom: clamp(28px, 4vw, 48px);
  color: var(--bistre);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .65;
}

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 80px); }
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero__piece img { max-width: 480px; margin: 0 auto; }
  .hero__text { order: 2; padding: 12px 0; }
  .hero__piece--left  { order: 1; }
  .hero__piece--right { order: 3; }
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(68,41,22,.25) 0%, rgba(68,41,22,.05) 40%, rgba(68,41,22,.6) 100%);
}

.hero__words {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(4px, 1vw, 14px);
  color: var(--bone);
  text-align: center;
  pointer-events: none;
}
.hero__word {
  font-family: "From Skyler", "Courier Prime", cursive;
  font-size: clamp(72px, 16vw, 240px);
  line-height: .85;
  font-weight: 400;
  letter-spacing: -.01em;
  text-transform: lowercase;
  text-shadow:
    0 2px 0 rgba(0,0,0,.18),
    0 18px 60px rgba(0,0,0,.45);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.08));
}

.hero__brand {
  position: absolute; left: var(--gutter); bottom: clamp(24px, 4vw, 48px);
  color: var(--bone);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Collection */
.collection {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(60px, 8vw, 120px);
  background:
    linear-gradient(180deg, var(--periwinkle) 0%, var(--bone-soft) 38%, var(--bone-soft) 100%);
  isolation: isolate;
}
/* Painted texture pop — top band, vibrant orange/periwinkle */
.collection::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70vh;
  background-image: url("assets/brand/texture-paint.jpg");
  background-size: cover;
  background-position: center top;
  opacity: .85;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}
/* Sky cloud accent — softer, comes in below */
.collection::after {
  content: "";
  position: absolute;
  top: 30vh; left: 0; right: 0;
  height: 50vh;
  background-image: url("assets/brand/texture-sky.jpg");
  background-size: cover;
  background-position: center;
  opacity: .35;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.collection > * { position: relative; z-index: 1; }
.collection .collection__kicker {
  color: var(--bone);
  background: transparent;
  padding: 0;
  display: inline-block;
}
.collection .collection__title { color: var(--bone); }
.collection .collection__sub { color: var(--bone); opacity: .85; }
.collection__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 720px;
}
.collection__kicker {
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--vermilion);
}
.collection__title {
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 400;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: -.02em;
}
.collection__sub {
  font-size: 14px;
  color: rgba(68,41,22,.7);
  margin-top: 8px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px) clamp(12px, 1.6vw, 22px);
}
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

.tile {
  cursor: pointer;
  position: relative;
  display: flex; flex-direction: column;
  gap: 10px;
}
.tile__media {
  position: relative;
  overflow: hidden;
  background: var(--bone-soft);
  aspect-ratio: 2/3;
}
.tile__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.tile__media .is-alt { opacity: 0; }
.tile:hover .tile__media .is-base { opacity: 0; }
.tile:hover .tile__media .is-alt { opacity: 1; transform: scale(1.03); }

.tile__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  font-size: 13px;
  padding: 0 2px;
}
.tile__name { font-weight: 400; }
.tile__price { color: rgba(68,41,22,.7); white-space: nowrap; }

.notice {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  margin: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px) clamp(18px, 3vw, 32px);
  background: rgba(226, 212, 185, .55);
  border: 1px solid rgba(68,41,22,.15);
  border-radius: 2px;
  color: var(--bistre);
}
@media (min-width: 720px) {
  .notice { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
}
.notice__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notice__label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--vermilion);
}
.notice__text {
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: .02em;
}
.notice__text a {
  color: var(--bistre);
  border-bottom: 1px solid rgba(68,41,22,.4);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.notice__text a:hover { color: var(--vermilion); border-color: var(--vermilion); }
.notice__text strong { font-weight: 700; }

.tile__detail {
  align-self: flex-start;
  margin: 0 2px;
  padding: 6px 0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bistre);
  border-bottom: 1px solid rgba(68,41,22,.35);
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.tile__detail:hover { color: var(--vermilion); border-color: var(--vermilion); }

/* Detail modal — editorial behind-the-piece */
.detail {
  position: fixed; inset: 0;
  width: min(960px, 92vw);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--bone-soft);
  color: var(--bistre);
  overflow: hidden;
  border-radius: 2px;
}
.detail::backdrop { background: rgba(68,41,22,.55); }
.detail__close {
  position: absolute; top: 10px; right: 14px;
  width: 36px; height: 36px;
  font-size: 24px;
  color: var(--bistre);
  z-index: 3;
}
.detail__body {
  display: flex; flex-direction: column;
  gap: clamp(16px, 2.5vw, 28px);
  padding: clamp(28px, 4vw, 48px);
  max-height: 92vh;
  overflow-y: auto;
}
.detail__kicker {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .75;
}
.detail__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.5vw, 18px);
}
.detail__gallery img {
  width: 100%; height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.detail__desc {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
  letter-spacing: .04em;
  max-width: 620px;
}

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

/* Spotlight — editorial product feature (Koi, etc.) */
.spotlight {
  position: relative;
  background: var(--bone-soft);
  padding: clamp(60px, 9vw, 130px) clamp(24px, 6vw, 90px);
  overflow: hidden;
}
.spotlight__layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.spotlight__piece { margin: 0; }
.spotlight__piece img {
  width: 100%;
  height: auto;
  display: block;
}
.spotlight__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(16px, 2vw, 30px) clamp(8px, 2vw, 20px);
  color: var(--bistre);
}
.spotlight__kicker {
  font-size: clamp(14px, 1.1vw, 18px);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.spotlight__body {
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.7;
  opacity: .85;
}
.spotlight__sign {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(16px, 3vw, 48px);
  text-align: center;
  font-family: "From Skyler", "Courier Prime", cursive;
  font-size: clamp(64px, 10vw, 160px);
  letter-spacing: .005em;
  text-transform: lowercase;
  line-height: .95;
  color: var(--periwinkle);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 900px) {
  .spotlight__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .spotlight__piece img { max-width: 480px; margin: 0 auto; }
  .spotlight__text { order: 2; padding: 12px 0; }
  .spotlight__piece--left  { order: 1; }
  .spotlight__piece--right { order: 3; }
  .spotlight__sign {
    position: static;
    font-size: clamp(48px, 14vw, 90px);
    margin-top: 8px;
  }
}

/* Trilogy — siempre / nunca / ahora */
.trilogy {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(68,41,22,.12);
  border-bottom: 1px solid rgba(68,41,22,.12);
}
@media (min-width: 900px) {
  .trilogy { grid-template-columns: repeat(3, 1fr); }
}
.trilogy__block {
  position: relative;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 4vw, 56px);
  min-height: clamp(380px, 54vh, 640px);
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  isolation: isolate;
  overflow: hidden;
  transition: background-color .5s var(--ease);
}
.trilogy__block + .trilogy__block { border-top: 1px solid rgba(68,41,22,.12); }
@media (min-width: 900px) {
  .trilogy__block + .trilogy__block { border-top: 0; border-left: 1px solid rgba(68,41,22,.12); }
}
.trilogy__word {
  font-family: "From Skyler", "Courier Prime", cursive;
  font-size: clamp(72px, 11vw, 168px);
  line-height: .85;
  text-transform: lowercase;
  letter-spacing: -.01em;
}
.trilogy__body {
  display: flex; flex-direction: column; gap: 6px;
  font-size: clamp(14px, 1.4vw, 17px);
  max-width: 28ch;
  opacity: .9;
}

/* Siempre — bone bg, bistre type. Lo permanente. */
.trilogy__block--siempre { background: var(--bone-soft); color: var(--bistre); }
.trilogy__block--siempre .trilogy__word { color: var(--bistre); }

/* Nunca — periwinkle, distante, lo que se deja atrás. */
.trilogy__block--nunca { background: var(--periwinkle); color: var(--bistre); }
.trilogy__block--nunca .trilogy__word { color: var(--bistre); }
.trilogy__block--nunca .trilogy__body { color: rgba(68,41,22,.75); }

/* Ahora — vermilion + animación de marca, urgente, presente. */
.trilogy__block--ahora { background: var(--vermilion); color: var(--bone); }
.trilogy__block--ahora .trilogy__word { color: var(--bone); position: relative; z-index: 2; }
.trilogy__block--ahora .trilogy__body { color: rgba(226,212,185,.92); position: relative; z-index: 2; }
.trilogy__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .9;
  pointer-events: none;
}

.trilogy__block:hover .trilogy__word {
  transform: translateX(4px);
  transition: transform .6s var(--ease);
}

/* Manifesto — vibrant painted bg, bone type single-tone */
.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--vermilion);
  background-image: url("assets/brand/texture-paint.jpg");
  background-size: cover;
  background-position: center;
  color: var(--bone);
  isolation: isolate;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(220,101,59,.35) 0%, rgba(220,101,59,.55) 100%);
  z-index: 0;
}
.manifesto > * { position: relative; z-index: 1; }
.manifesto__text p { color: var(--bone); }
.manifesto__text p:first-child { color: var(--bone); }
@media (min-width: 900px) {
  .manifesto { grid-template-columns: 1fr 1fr; min-height: 90vh; }
}
.manifesto__media {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  filter: saturate(.9) contrast(1.05);
}
@media (min-width: 900px) {
  .manifesto__media { aspect-ratio: auto; }
}
.manifesto__text {
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(14px, 2vw, 22px);
}
.manifesto__text p {
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.25;
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(68,41,22,.12);
  background: var(--bone-soft);
}
@media (min-width: 800px) {
  .footer { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer__brand { font-size: 28px; letter-spacing: -.01em; }
.footer__tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-top: 4px; }
.footer__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 8px; }
.footer__link { display: block; padding: 4px 0; font-size: 14px; }
.footer__col--bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(68,41,22,.12);
  padding-top: 16px;
  font-size: 12px;
  opacity: .6;
}

/* WhatsApp bubble */
.bubble {
  position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--bistre);
  color: var(--bone);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  box-shadow: 0 6px 24px rgba(68,41,22,.25);
  z-index: 60;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.bubble:hover { transform: translateY(-2px); background: var(--vermilion); color: var(--bone); }
.bubble svg { transform: translateY(-1px); }

/* Modal */
.modal {
  border: 0; padding: 0; background: var(--bone);
  width: min(1100px, 96vw);
  max-height: 92vh;
  border-radius: 0;
  color: var(--bistre);
  box-shadow: 0 30px 80px rgba(68,41,22,.3);
}
.modal::backdrop { background: rgba(68,41,22,.6); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } }

.modal__close {
  position: absolute; top: 8px; right: 12px;
  font-size: 32px; line-height: 1;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  z-index: 2;
}
.modal__body {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 92vh;
  overflow: auto;
}
@media (min-width: 800px) {
  .modal__body { grid-template-columns: 1.1fr 1fr; }
}
.modal__media {
  position: relative;
  background: var(--bone-soft);
  aspect-ratio: 2/3;
  overflow: hidden;
}
.modal__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .6s var(--ease);
}
.modal__media .is-alt { opacity: 0; }
.modal__media:hover .is-alt { opacity: 1; }

.modal__info {
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column;
  gap: 14px;
}
.modal__kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--vermilion); }
.modal__info h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 400; line-height: 1.1; }
.modal__price { font-size: 16px; }
.modal__desc { font-size: 14px; color: rgba(68,41,22,.75); }
.modal__label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-top: 8px; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  padding: 10px 14px;
  border: 1px solid rgba(68,41,22,.3);
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.size:hover { border-color: var(--bistre); }
.size.is-selected {
  background: var(--bistre);
  color: var(--bone);
  border-color: var(--bistre);
}

.cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 22px;
  background: var(--vermilion);
  color: var(--bone);
  font-size: 14px;
  letter-spacing: .04em;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.cta:hover { background: var(--bistre); color: var(--bone); transform: translateY(-1px); }

.modal__note {
  font-size: 12px;
  opacity: .6;
  line-height: 1.5;
}

/* Preloader — alba intro */
.preloader {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: var(--vermilion);
  z-index: 200;
  overflow: hidden;
  transition: opacity .8s var(--ease);
}
.preloader__video {
  width: min(72vw, 56vh);
  height: auto;
  display: block;
  pointer-events: none;
}
.preloader__skip {
  position: absolute;
  bottom: clamp(20px, 4vw, 36px);
  right: clamp(20px, 4vw, 36px);
  color: var(--bone);
  background: transparent;
  border: 1px solid rgba(226,212,185,.5);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: .7;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.preloader__skip:hover { opacity: 1; border-color: var(--bone); }

body.is-loading { overflow: hidden; }
body.is-loading [data-reveal] {
  opacity: 0 !important;
  transform: translateY(18px) !important;
}
body.intro-done .preloader { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .preloader { display: none !important; }
}

/* ===================================================================
   Mobile optimizations
   =================================================================== */
@media (max-width: 600px) {
  :root {
    --gutter: 16px;
    --nav-h: 56px;
  }

  /* Nav */
  .nav { padding: 0 14px; }
  .nav__logo { width: 44px; height: 44px; }
  .nav__logo-mark { width: 30px; }
  .nav__links { gap: 14px; font-size: 12px; }
  .nav__links a { padding: 10px 0; }

  /* Hero + Spotlight — compact 2-up layout on mobile */
  .hero,
  .spotlight {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 70px;
  }
  .spotlight {
    padding-top: 44px;
    padding-bottom: 70px;
  }
  .hero__layout,
  .spotlight__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left  right"
      "text  text";
    gap: 10px;
    align-items: start;
  }
  .hero__piece--left,
  .spotlight__piece--left  { grid-area: left; }
  .hero__piece--right,
  .spotlight__piece--right { grid-area: right; }
  .hero__text,
  .spotlight__text         { grid-area: text; }
  .hero__piece img,
  .spotlight__piece img {
    max-width: 100%;
    margin: 0;
  }
  .hero__text,
  .spotlight__text {
    gap: 12px;
    padding: 18px 6px 4px;
    /* order overrides from earlier breakpoint reset to grid-area */
  }
  .hero__piece--left,
  .hero__piece--right,
  .spotlight__piece--left,
  .spotlight__piece--right { order: unset; }
  .hero__text,
  .spotlight__text { order: unset; }
  .hero__kicker,
  .spotlight__kicker { font-size: 11px; letter-spacing: .18em; }
  .hero__body,
  .spotlight__body { font-size: 11.5px; letter-spacing: .06em; line-height: 1.5; }
  .hero__sketch { max-width: 220px; margin: 4px auto; }
  .hero__sign,
  .spotlight__sign {
    font-size: clamp(34px, 12vw, 56px);
    margin-top: 4px;
  }
  .hero__brand { font-size: 10px; bottom: 14px; left: 16px; }

  /* Collection */
  .collection {
    padding: 90px 16px 50px;
  }
  .collection__head { margin-bottom: 28px; }
  .collection__title { font-size: clamp(40px, 12vw, 64px); }
  .collection__sub { font-size: 13px; }

  /* Notice */
  .notice {
    padding: 18px 16px;
    gap: 16px;
    margin: 18px 0 28px;
  }
  .notice__text { font-size: 12.5px; line-height: 1.6; }
  .notice__label { font-size: 9.5px; }

  /* Grid */
  .grid { gap: 18px 12px; }
  .tile__detail { padding: 10px 0; font-size: 11.5px; }

  /* Trilogy — 3 columns side by side on mobile */
  .trilogy { grid-template-columns: repeat(3, 1fr); }
  .trilogy__block {
    padding: 22px 10px;
    min-height: 0;
    gap: 10px;
    justify-content: flex-start;
  }
  .trilogy__block + .trilogy__block {
    border-top: 0;
    border-left: 1px solid rgba(68,41,22,.12);
  }
  .trilogy__word { font-size: clamp(22px, 7.5vw, 32px); line-height: .9; }
  .trilogy__body { font-size: 9.5px; line-height: 1.45; gap: 3px; max-width: none; letter-spacing: 0; }

  /* Manifesto */
  .manifesto__text { padding: 56px 22px; }
  .manifesto__text p { font-size: clamp(18px, 5vw, 24px); line-height: 1.4; }

  /* Footer */
  .footer { gap: 24px 16px; padding: 50px 18px 24px; }
  .footer__brand { font-size: 24px; }
  .footer__link { padding: 8px 0; }

  /* WhatsApp bubble — icon only on small screens */
  .bubble {
    padding: 14px;
    font-size: 0;
    gap: 0;
    bottom: 14px;
    right: 14px;
  }
  .bubble svg { transform: none; width: 22px; height: 22px; }

  /* Product modal — full screen feel */
  .modal {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .modal__body {
    max-height: 100vh;
    grid-template-columns: 1fr;
  }
  .modal__media { aspect-ratio: 4/5; }
  .modal__info { padding: 22px 20px 32px; gap: 12px; }
  .size { padding: 12px 16px; font-size: 14px; min-width: 56px; }
  .cta { padding: 16px 22px; font-size: 14px; }

  /* Detail modal — full screen on mobile */
  .detail {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .detail__body {
    padding: 50px 18px 24px;
    max-height: 100vh;
    gap: 18px;
  }
  .detail__gallery { grid-template-columns: 1fr; gap: 10px; }
  .detail__gallery img { aspect-ratio: 4/5; }
  .detail__close { top: 6px; right: 8px; width: 40px; height: 40px; font-size: 28px; }
  .detail__desc { font-size: 13.5px; }
}

/* Extra-narrow phones */
@media (max-width: 380px) {
  .hero__piece img,
  .spotlight__piece img { max-width: 300px; }
  .hero__sketch { max-width: 240px; }
  .collection__title { font-size: 38px; }
  .nav__links { gap: 10px; font-size: 11px; }
}
