/* Intro: original video over the site's continuous charcoal background. */
.brand-opening { position:relative; isolation:isolate; padding-bottom:clamp(70px,10vw,140px); }
.brand-opening::before { position:absolute; z-index:-1; inset:-70px -4% -100px; content:""; pointer-events:none; background:radial-gradient(ellipse at 50% 30%,rgba(229,170,191,.075),transparent 68%); }
.brand-opening-scroll { position:relative; }
.brand-opening-stage { position:relative; display:grid; place-items:center; height:calc(82svh - 80px); min-height:360px; max-height:950px; perspective:1200px; overflow:visible; }
.brand-opening-stickers { position:absolute; inset:0; pointer-events:none; user-select:none; }
.brand-opening-stickers .brand-sticker { position:absolute; display:block; inset:auto; width:var(--wall-size); opacity:.75; transform:translate(-50%,-50%) rotate(var(--wall-angle)); filter:drop-shadow(0 4px 5px rgba(0,0,0,.22)); }
.brand-opening-stickers .brand-sticker:nth-child(1) { left:11%; top:10%; --wall-size:18%; --wall-angle:-16deg; }
.brand-opening-stickers .brand-sticker:nth-child(2) { left:29%; top:14%; --wall-size:11%; --wall-angle:14deg; }
.brand-opening-stickers .brand-sticker:nth-child(3) { left:46%; top:9%; --wall-size:15%; --wall-angle:-8deg; }
.brand-opening-stickers .brand-sticker:nth-child(4) { left:63%; top:14%; --wall-size:12%; --wall-angle:12deg; }
.brand-opening-stickers .brand-sticker:nth-child(5) { left:80%; top:11%; --wall-size:13%; --wall-angle:-14deg; }
.brand-opening-stickers .brand-sticker:nth-child(6) { left:91%; top:23%; --wall-size:15%; --wall-angle:18deg; }
.brand-opening-stickers .brand-sticker:nth-child(7) { left:10%; top:35%; --wall-size:16%; --wall-angle:8deg; }
.brand-opening-stickers .brand-sticker:nth-child(8) { left:13%; top:54%; --wall-size:14%; --wall-angle:-15deg; }
.brand-opening-stickers .brand-sticker:nth-child(9) { left:10%; top:73%; --wall-size:12%; --wall-angle:16deg; }
.brand-opening-stickers .brand-sticker:nth-child(10) { left:12%; top:91%; --wall-size:17%; --wall-angle:-10deg; }
.brand-opening-stickers .brand-sticker:nth-child(11) { left:90%; top:41%; --wall-size:12%; --wall-angle:16deg; }
.brand-opening-stickers .brand-sticker:nth-child(12) { left:87%; top:59%; --wall-size:13%; --wall-angle:-12deg; }
.brand-opening-stickers .brand-sticker:nth-child(13) { left:90%; top:76%; --wall-size:15%; --wall-angle:10deg; }
.brand-opening-stickers .brand-sticker:nth-child(14) { left:89%; top:91%; --wall-size:13%; --wall-angle:-8deg; }
.brand-opening-stickers .brand-sticker:nth-child(15) { left:31%; top:91%; --wall-size:17%; --wall-angle:-9deg; }
.brand-opening-stickers .brand-sticker:nth-child(16) { left:49%; top:88%; --wall-size:12%; --wall-angle:12deg; }
.brand-opening-stickers .brand-sticker:nth-child(17) { left:65%; top:94%; --wall-size:17%; --wall-angle:-12deg; }
.brand-opening-stickers .brand-sticker:nth-child(18) { left:77%; top:86%; --wall-size:11%; --wall-angle:16deg; }
.brand-opening-stickers .brand-sticker:nth-child(19) { left:29%; top:35%; --wall-size:12%; --wall-angle:-18deg; }
.brand-opening-stickers .brand-sticker:nth-child(20) { left:65%; top:32%; --wall-size:15%; --wall-angle:12deg; }
.brand-opening-stickers .brand-sticker:nth-child(21) { left:34%; top:71%; --wall-size:13%; --wall-angle:-12deg; }
.brand-opening-stickers .brand-sticker:nth-child(22) { left:66%; top:69%; --wall-size:11%; --wall-angle:14deg; }
.brand-glass-card { position:absolute; z-index:1; top:50%; left:50%; width:min(76%,660px); transform:translate(-50%,-50%); }
.brand-opening-video { display:block; width:100%; max-height:70svh; object-fit:contain; mix-blend-mode:screen; -webkit-mask-image:linear-gradient(transparent,#000 4%,#000 96%,transparent),linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(transparent,#000 4%,#000 96%,transparent),linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); mask-composite:intersect; }
.brand-opening.is-scroll-enabled .brand-opening-scroll { padding-bottom:24svh; }
.brand-opening.is-scroll-enabled .brand-opening-stage { position:sticky; top:0; }
.brand-opening.is-scroll-enabled .brand-glass-card { transform:translate(-50%,-50%) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) rotateZ(var(--card-rz,0deg)); }
.brand-opening-copy { max-width:760px; margin:45px auto 0; text-align:center; }
.brand-opening-copy .eyebrow { margin-bottom:25px; }
.brand-opening-copy h1 { margin:0 0 28px; font-family:var(--sans); font-size:clamp(38px,5.6vw,76px); font-weight:500; letter-spacing:-.055em; line-height:1.09; }
.brand-opening-copy h1 em { color:var(--pink); font-style:italic; }
.brand-opening-description { max-width:580px; margin:0 auto; color:#c6bfb9; font-size:clamp(15px,1.4vw,17px); line-height:1.9; }
.brand-opening.is-scroll-enabled .brand-opening-copy { opacity:var(--copy-opacity,0); transform:translateY(var(--copy-y,24px)); }
@media(max-width:560px) {
  .brand-opening-stage { height:66svh; min-height:350px; }
  .brand-glass-card { width:95%; }
  .brand-opening-copy { margin-top:30px; text-align:left; }
  .brand-opening-copy h1 { font-size:clamp(36px,10vw,55px); }
  .brand-opening-description { font-size:15px; }
}
@media(prefers-reduced-motion:reduce) {
  .brand-opening.is-scroll-enabled .brand-opening-scroll { padding-bottom:0; }
  .brand-opening.is-scroll-enabled .brand-opening-stage { position:relative; }
  .brand-opening.is-scroll-enabled .brand-opening-copy { opacity:1; transform:none; }
  .brand-opening.is-scroll-enabled .brand-glass-card { transform:translate(-50%,-50%); }
}

/* Share one background and one centre line with the main composition. */
.brand-opening::before { content: none; }
.brand-opening-video { mix-blend-mode: normal; }
@media (min-width: 801px) {
  .page-home .site-header { padding-left: calc(var(--rail-width) + 4.2%); }
}

/* Breathing room below the header logo. */
.brand-opening { padding-top: 48px; }
@media (max-width: 800px) {
  .brand-opening { padding-top: 34px; }
}
@media (max-width: 560px) {
  .brand-opening { padding-top: 26px; }
}

/* A looping editorial arrow occupies the gap below the composition. */
.brand-discover-cue {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  max-width: 95%;
  min-height: 44px;
  padding: 8px;
  color: var(--pink);
}
.brand-discover-cue svg { width: 84px; height: 160px; flex-shrink: 0; transform: rotate(-9deg); }
.brand-discover-cue span { font-family: var(--sans); font-size: 14px; letter-spacing: .025em; }
.brand-discover-cue:hover { color: var(--pink-light); }
#brand-introduction { scroll-margin-top: 16px; }
@media(max-width:560px) {
  .brand-discover-cue { bottom: 20px; gap: 12px; }
  .brand-discover-cue svg { width: 70px; height: 140px; }
  .brand-discover-cue span { font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .brand-discover-cue { position: relative; bottom: auto; left: auto; transform: none; margin: 28px auto 0; }
}



@media (max-width: 800px) {
  .brand-opening-copy { margin-top: 120px; }
}

/* Keep the discovery arrow below the first desktop viewport. */
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .brand-opening.is-scroll-enabled .brand-opening-scroll { padding-bottom: calc(24svh + 120px); }
}

/* Transparent Apple fallback, with stable dimensions before media loads. */
.brand-opening-video[hidden] { display:none; }
.brand-opening-fallback { display:block; width:100%; height:auto; max-height:70svh; object-fit:contain; }
.brand-opening-video { aspect-ratio:900 / 810; }

/* Avoid the native blue touch highlight and the programmatic focus box. */
.brand-discover-cue, .brand-discover-cue * { -webkit-tap-highlight-color: transparent; }
.brand-discover-cue:focus:not(:focus-visible),
#brand-introduction:focus { outline: none; }
.brand-discover-cue:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }

/* Inicio: bloque rosa, cinta continua y presentacion del estudio. */
#brand-introduction {
 position:relative; isolation:isolate; max-width:none; width:100%; margin:45px 0 0;
 padding:clamp(44px,7vw,88px) clamp(24px,4.5vw,64px);
 background:var(--pink); color:var(--ink); border:0; border-radius:0; box-shadow:none; text-align:left;
}
#brand-introduction::before { content:none; }
#brand-introduction h1 { max-width:900px; margin:0 0 32px; font-family:"Poppins",Arial,sans-serif; font-size:clamp(36px,5.6vw,76px); font-weight:800; line-height:1.04; letter-spacing:-.045em; color:var(--ink); }
#brand-introduction h1 em { color:var(--cream); font-style:normal; }
#brand-introduction .brand-opening-description { max-width:540px; margin:0 0 20px; font-size:clamp(13px,1.3vw,16px); line-height:1.65; color:var(--ink); }
#brand-introduction .brand-opening-description:last-child { margin-bottom:0; }
.brand-opening { padding-bottom:0; }
.home-design-ribbon { overflow:hidden; width:100%; padding:24px 0; color:var(--pink); background:var(--ink); }
.home-design-ribbon-track { display:flex; width:max-content; animation:home-design-tape 28s linear infinite; }
.home-design-ribbon-group { display:flex; flex-shrink:0; align-items:center; gap:.35em; padding-right:.35em; white-space:nowrap; font-family:"Poppins",Arial,sans-serif; font-size:clamp(52px,9vw,132px); font-weight:800; line-height:1.1; letter-spacing:-.05em; }
.home-design-ribbon-group > span:nth-child(even) { font-size:.65em; }
@keyframes home-design-tape { to { transform:translateX(-50%); } }
#estudio { padding:12px clamp(20px,3vw,44px) 64px; border:0; }
#estudio .intro-grid { display:block; margin:0; }
#estudio .studio-heading h2 { margin:0 auto 32px; font-size:clamp(36px,5.5vw,66px); font-weight:400; text-align:center; line-height:1.08; letter-spacing:-.035em; }
#estudio .studio-heading h2 em { color:var(--pink); font-style:normal; font-weight:400; }
#estudio .studio-heading h2.reveal em::after { content:none; }
#estudio .intro-text { max-width:680px; margin:0 auto; padding:0; color:var(--pink); font-size:14px; font-style:italic; text-align:center; }
#estudio .intro-text p { font-size:clamp(12px,1.3vw,15px); line-height:1.6; margin:0 0 28px; }
#estudio > .studio-invitation { width:max-content; min-height:36px; margin:38px auto 0; padding:7px 16px; gap:10px; border:0; border-radius:99px; background:var(--pink); color:var(--ink); }
#estudio > .studio-invitation .studio-invitation-title { font-size:12px; font-weight:400; line-height:1.2; }
#estudio > .studio-invitation .studio-invitation-title em { color:inherit; font-style:normal; }
#estudio > .studio-invitation .studio-invitation-arrow { width:18px; height:18px; stroke:var(--cream); }
@media(max-width:560px) {
 #brand-introduction { margin-top:80px; padding:48px 20px; }
 #brand-introduction h1 { font-size:clamp(32px,7.8vw,44px); }
 .home-design-ribbon { padding:20px 0; }
 #estudio { padding:12px 8px 52px; }
 #estudio .studio-heading h2 { font-size:clamp(32px,8vw,44px); }
}
@media(prefers-reduced-motion:reduce) { .home-design-ribbon-track { animation:none; } }

/* Fondo extendido: se funde con el carbon antes de la navegacion lateral. */
.page-home { overflow-x:clip; }
#brand-introduction { background:transparent; }
#brand-introduction::before {
 content:""; position:absolute; z-index:-1; top:0; bottom:0;
 left:50%; width:calc(100vw - var(--rail-width)); transform:translateX(-50%);
 border:0; pointer-events:none;
 background:linear-gradient(90deg,transparent 0,var(--pink) clamp(48px,10vw,160px),var(--pink) 100%);
}
@media(max-width:800px) {
 #brand-introduction::before { width:100vw; background:linear-gradient(90deg,transparent 0,var(--pink) 5%,var(--pink) 95%,transparent 100%); }
}

/* Dejar un margen visible entre el fondo rosa y el menu lateral. */
@media(min-width:801px) {
 #brand-introduction::before {
  left:calc(50% + 24px); width:calc(100vw - var(--rail-width) - 48px);
  background:linear-gradient(90deg,transparent 0,var(--pink) clamp(64px,10vw,160px),var(--pink) 100%);
 }
}

/* Soften only the sticker backdrop, below the foreground card. */
.page-home .brand-opening-stickers::after { content:""; position:absolute; inset:0; pointer-events:none; background:rgba(255,255,255,.16); -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px); -webkit-mask-image:radial-gradient(ellipse closest-side at center,#000 0%,rgba(0,0,0,.95) 20%,rgba(0,0,0,.65) 45%,rgba(0,0,0,.25) 70%,rgba(0,0,0,.05) 88%,transparent 100%); mask-image:radial-gradient(ellipse closest-side at center,#000 0%,rgba(0,0,0,.95) 20%,rgba(0,0,0,.65) 45%,rgba(0,0,0,.25) 70%,rgba(0,0,0,.05) 88%,transparent 100%); }
.page-home #estudio .studio-heading { display:block; width:100%; text-align:center; }

/* Keep the opening composition in the same pastel palette as the logo. */
.page-home .brand-opening-stickers .brand-sticker { filter:drop-shadow(0 4px 5px rgba(0,0,0,.22)) saturate(.7) brightness(1.06); }
.page-home .brand-opening-video, .page-home .brand-opening-fallback { filter:saturate(.7) brightness(1.06); }

/* A compact sticker field keeps the mobile opening composition together. */
@media(max-width:800px) {
  .page-home .brand-opening-stickers { inset:10% 3%; }
  .page-home .brand-opening-stickers .brand-sticker { width:calc(var(--wall-size) * 1.3); }
  .page-home .brand-opening-stickers::after { -webkit-backdrop-filter:none; backdrop-filter:none; }
}
/* Algunas pegatinas se convierten en mascotas con guinos alternados. */
.brand-opening-stickers .brand-sticker--face {
  background-image:none; aspect-ratio:270 / 250;
}
.brand-sticker--face svg { display:block; width:100%; height:100%; overflow:visible; }
.opening-face-wink { opacity:0; }
@media(prefers-reduced-motion:no-preference) {
  .opening-face-wink { animation:opening-face-wink 4.8s linear infinite; }
  .brand-sticker--face:nth-child(even) .opening-face-wink { animation-delay:-1.7s; }
  .brand-sticker--face:nth-child(7) .opening-face-wink { animation-delay:-3s; }
}
@keyframes opening-face-wink { 0%,15%,25%,100% {opacity:0;} 17%,23% {opacity:1;} }

/* Caras recortadas y mas pequenas, dentro de huecos entre pegatinas. */
.page-home .brand-opening-stickers .brand-sticker--face {
  background:transparent; width:9%;
}
.page-home .brand-opening-stickers .brand-sticker--face:nth-child(2) { left:29%; top:13%; }
.page-home .brand-opening-stickers .brand-sticker--face:nth-child(7) { left:9%; top:34%; }
.page-home .brand-opening-stickers .brand-sticker--face:nth-child(12) { left:90%; top:59%; }
.page-home .brand-opening-stickers .brand-sticker--face:nth-child(18) { left:78%; top:86%; }
@media(max-width:800px) {
  .page-home .brand-opening-stickers .brand-sticker--face { width:10%; }
}

/* Contorno original completo, con margen transparente en los cuatro lados. */
.page-home .brand-opening-stickers .brand-sticker--face { aspect-ratio:320 / 280; }
.page-home .brand-opening-stickers .brand-sticker--face svg { overflow:hidden; }
