/* Floating editorial navigation: shared by every page. */
body { --nav-ink:#f4f0e8; --nav-accent:#e5aabf; --nav-bg:rgba(38,37,38,.96); --nav-border:rgba(244,240,232,.24); }
body.nav-on-light { --nav-ink:#262526; --nav-accent:#e5aabf; --nav-bg:rgba(244,240,232,.96); --nav-border:rgba(38,37,38,.22); }
body .site-header .brand-mark,body .drawer-brand { display:none; }
body.page-home { --home-gutter:max(6%,calc((100% - 1060px)/2)); }
body .main-content { margin-left:0; padding-top:112px; }
body .site-footer { margin-left:0; }
body.page-home .main-content { padding-top:100px; }
html { scroll-padding-top:112px; }
@media(min-width:801px) {
 body .site-header { display:none; }
 body .side-nav,body.page-home .side-nav {
  position:fixed; z-index:50; inset:16px auto auto 50%;
  transform:translateX(-50%); width:min(1200px,calc(100% - 48px));
  max-height:none; overflow:visible; display:flex; flex-direction:row; align-items:center;
  gap:4px; padding:8px; border:1px solid var(--nav-border); border-radius:18px;
  background:var(--nav-bg); background-image:none; color:var(--nav-ink);
  box-shadow:0 8px 28px rgba(0,0,0,.1); backdrop-filter:blur(16px);
  transition:background .25s,border-color .25s,box-shadow .25s;
  animation:nav-arrive .6s cubic-bezier(.2,.7,.2,1) both;
 }
 body .side-nav .nav-link,body.page-home .side-nav .nav-link {
  flex:1 1 auto; justify-content:center; gap:8px; min-height:48px; margin:0;
  padding:10px 12px; border:0; border-radius:11px; white-space:nowrap;
  color:var(--nav-ink) !important; font-size:12px;
  transition:background .22s,translate .22s;
 }
 body .side-nav .nav-link > span:first-child { color:var(--nav-ink) !important; opacity:.55; font-size:8px; align-self:flex-start; }
 body .side-nav .nav-link::before { content:none; }
 body .side-nav .nav-link::after { position:absolute; content:''; left:18px; right:18px; bottom:6px; height:2px; background:var(--nav-accent); transform:scaleX(0); transform-origin:left; transition:transform .25s; }
 body .side-nav .nav-link:is(:hover,:focus-visible,[aria-current="page"])::after { transform:scaleX(1); }
 body .side-nav .nav-link:is(:hover,:focus-visible) { background:color-mix(in srgb,var(--nav-ink) 8%,transparent); translate:0 -2px; }
 body .side-nav .nav-contact { border:1px solid var(--nav-border); }
 body .side-nav .nav-contact .arrow-icon { transition:transform .25s; }
 body .side-nav .nav-contact:hover .arrow-icon { transform:translate(2px,-2px); }
 body .side-nav .nav-language,body.page-home .side-nav .nav-language { margin:0 4px 0 8px; flex-shrink:0; }
 body .side-nav .language-switcher,body.page-home .side-nav .language-switcher { gap:5px; }
 body .side-nav .language-switcher a,body.page-home .side-nav .language-switcher a {
  color:var(--nav-ink); border-color:var(--nav-border); padding:7px; font-size:9px;
 }
 body .side-nav .language-switcher a[aria-current],body.page-home .side-nav .language-switcher a[aria-current] { border-color:var(--nav-accent); }
}
@media(min-width:801px) and (max-width:1100px) {
 body .side-nav,body.page-home .side-nav { width:calc(100% - 24px); gap:0; }
 body .side-nav .nav-link,body.page-home .side-nav .nav-link { font-size:10px; padding-inline:7px; gap:4px; }
 body .side-nav .language-switcher a span { display:none; }
}
@media(max-width:800px) {
 body .site-header,body.page-home .site-header {
  position:fixed; z-index:30; inset:0 0 auto; height:80px; min-height:80px;
  display:flex; justify-content:space-between; background:var(--nav-bg); background-image:none;
  color:var(--nav-ink); border-bottom:1px solid var(--nav-border); box-shadow:none;
  transition:background .25s,color .25s;
 }
 body .site-header .menu-toggle span,body.page-home .site-header .menu-toggle span { background:var(--nav-ink); }
 body .site-header .menu-toggle::after,body.page-home .site-header .menu-toggle::after { color:var(--nav-ink); }
 body .site-header .header-cta,body.page-home .site-header .header-cta { color:var(--nav-ink); border-color:var(--nav-border); }
 body .site-header .header-cta span,body.page-home .site-header .header-cta span { color:inherit; }
 body .main-content,body.page-home .main-content { padding-top:100px; }
 body .side-nav .mobile-drawer-top { justify-content:flex-end; }
}
/* Card copy must stay light against the charcoal card stock. */
body.page-home .idea-carousel .idea-slide:nth-child(n) { --slide-bg:#262526; --slide-text:#f4f0e8; background:#262526; color:#f4f0e8; }
body.page-home .idea-carousel .idea-slide h3,body.page-home .idea-carousel .idea-slide > p { color:#f4f0e8; opacity:1; }
body.page-home .idea-carousel .idea-slide-link,body.page-home .idea-carousel .idea-slide-symbol { color:#e5aabf; }
@keyframes nav-arrive { from { opacity:0; translate:0 -14px; } to { opacity:1; translate:0 0; } }
@media(prefers-reduced-motion:reduce) {
 body .side-nav,body.page-home .side-nav,body .side-nav .nav-link,body .side-nav .nav-link::after { animation:none; transition:none; }
 body .side-nav .nav-link:is(:hover,:focus-visible) { translate:none; }
}
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav { --nav-ink:inherit; --nav-line:var(--nav-border); }
 body.page-home .side-nav .nav-link:is(.is-active,:hover,:focus-visible,[aria-current="page"]) { color:var(--nav-ink) !important; }
}

/* Full-width masthead: logo, uppercase navigation, languages. */
body .nav-brand { display:none; }
body .side-nav .nav-link { text-transform:uppercase; letter-spacing:.055em; }
body .side-nav .nav-link > span:first-child { display:none; }
body .side-nav .nav-contact > span[aria-hidden="true"] { display:inline-flex; }
body .side-nav .language-switcher a { border:0; border-radius:0; }
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav {
  inset:0 0 auto; transform:none; width:100%; min-height:80px;
  padding:10px clamp(20px,4vw,76px); gap:8px;
  border:0; border-radius:0; box-shadow:none;
 }
 body .side-nav .nav-brand {
  display:flex; flex:0 0 84px; align-items:center; justify-content:center;
  margin-right:clamp(8px,2vw,36px);
 }
 body .side-nav .nav-brand img { display:block; width:84px; height:56px; object-fit:contain; transition:transform .3s; }
 body .side-nav .nav-brand:hover img { transform:rotate(-4deg) scale(1.04); }
 body.nav-on-light .side-nav .nav-brand img { filter:brightness(.48) saturate(.7); }
 body .side-nav .nav-link,body.page-home .side-nav .nav-link {
  border:0; border-radius:0; font-size:11px; padding-inline:10px;
 }
 body .side-nav .nav-language,body.page-home .side-nav .nav-language { margin-left:auto; }
 body .side-nav .language-switcher a,body.page-home .side-nav .language-switcher a { border:0; border-radius:0; }
 body .main-content,body.page-home .main-content { padding-top:80px; }
}
@media(min-width:801px) and (max-width:1100px) {
 body .side-nav,body.page-home .side-nav { width:100%; padding-inline:16px; gap:2px; }
 body .side-nav .nav-brand { flex-basis:60px; margin-right:6px; }
 body .side-nav .nav-brand img { width:60px; }
 body .side-nav .nav-link,body.page-home .side-nav .nav-link { font-size:9px; letter-spacing:.025em; padding-inline:5px; }
}
@media(max-width:800px) {
 body .site-header,body.page-home .site-header { border:0; }
 body .site-header .brand-mark,body.page-home .site-header .brand-mark {
  display:block; position:absolute; left:50%; top:10px;
  width:82px; height:58px; transform:translateX(-50%); animation:none;
 }
 body .side-nav .nav-brand { display:none; }
}

/* Compact floating navigation with the studio's own icon language. */
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav {
  inset:16px auto auto 50%; transform:translateX(-50%);
  width:min(1020px,calc(100% - 48px)); min-height:64px;
  padding:7px 12px; gap:6px; border:0; border-radius:22px;
  box-shadow:0 8px 28px rgba(0,0,0,.14);
 }
 body .side-nav .nav-link,body.page-home .side-nav .nav-link {
  min-height:48px; padding:10px 12px; border-radius:14px; gap:8px;
 }
 body .side-nav .nav-link .mobile-nav-item {
  display:inline-flex; order:-1; align-items:center; flex-shrink:0;
  margin:0; color:inherit;
 }
 body .side-nav .mobile-nav-item svg {
  width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round; transition:transform .25s;
 }
 body .side-nav .mobile-nav-item > span { display:none; }
 body .side-nav .nav-link:hover .mobile-nav-item svg { transform:translateY(-2px) rotate(-6deg); }
 body .side-nav .nav-link::after { bottom:5px; left:14px; right:14px; }
}
@media(min-width:801px) and (max-width:1100px) {
 body .side-nav .nav-link,body.page-home .side-nav .nav-link { padding-inline:8px; gap:6px; font-size:10px; }
}
@media(max-width:800px) {
 body .site-header,body.page-home .site-header {
  inset:12px 16px auto; width:calc(100% - 32px); height:64px; min-height:64px;
  padding:6px 16px; border-radius:20px; box-shadow:0 6px 24px rgba(0,0,0,.12);
 }
}
/* The opening card owns the complete first screen, below a floating menu. */
body.page-home .main-content { padding-top:0; }
body.page-home .main-content > .brand-opening { padding-block:0; min-height:100svh; }
body.page-home .brand-opening-scroll { min-height:100svh; }
body.page-home .brand-opening-stage {
 height:100svh; min-height:100svh; max-height:none;
}
body.page-home .main-content > #brand-introduction.home-introduction {
 --section-pink:#e5aabf; width:100%; margin:0;
 padding:64px var(--home-gutter); background:#e5aabf;
 box-shadow:none; clip-path:none; text-align:center;
}
body.page-home .brand-opening-video,body.page-home .brand-opening-fallback {
 pointer-events:none; user-select:none; -webkit-user-select:none;
 -webkit-tap-highlight-color:transparent;
}
a,button,video,[tabindex] { -webkit-tap-highlight-color:transparent; }
a:focus:not(:focus-visible),button:focus:not(:focus-visible),video:focus:not(:focus-visible) { outline:none; }
@media(prefers-reduced-motion:reduce) {
 body .side-nav .mobile-nav-item svg { transition:none; }
 body .side-nav .nav-link:hover .mobile-nav-item svg { transform:none; }
}

/* A constant white navigation surface, independent of section colour. */
body,body.nav-on-light {
 --nav-ink:#262526; --nav-accent:#e5aabf; --nav-bg:#fff;
 --nav-border:rgba(38,37,38,.18);
}
body .side-nav,body.page-home .side-nav { --nav-ink:#262526; background:var(--site-white, #f4f0e8); background-image:none; color:#262526; }
body .side-nav .nav-link,body.page-home .side-nav .nav-link { color:#262526 !important; }
body .side-nav .language-switcher a,body.page-home .side-nav .language-switcher a { color:#262526; }
body .side-nav .drawer-close { color:#262526; }
body .site-header,body.page-home .site-header { background:var(--site-white, #f4f0e8); color:#262526; }
body.page-home .brand-opening .brand-glass-card { top:46%; }
body.page-home .studio-discover {
 position:absolute; z-index:3; bottom:max(20px,env(safe-area-inset-bottom)); left:50%;
 transform:translateX(-50%); display:flex; align-items:center; gap:16px;
 width:max-content; max-width:88%; padding:8px 12px;
 color:#e5aabf; font-size:12px; letter-spacing:.035em; line-height:1.4;
 text-align:left; -webkit-tap-highlight-color:transparent;
 transition:color .25s;
}
body.page-home .studio-discover span { max-width:180px; }
body.page-home .studio-discover svg { flex-shrink:0; width:48px; height:64px; overflow:visible; }
.studio-discover-line { fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
body.page-home .studio-discover:hover { color:#fff; }
body.page-home .studio-discover:focus-visible { outline:2px solid #e5aabf; outline-offset:4px; border-radius:12px; }
@media(prefers-reduced-motion:no-preference) {
 .studio-discover svg { animation:studio-arrow-dance 2.8s ease-in-out infinite; transform-origin:50% 20%; }
 .studio-discover-line { stroke-dasharray:180; animation:studio-arrow-ink 2.8s ease-in-out infinite; }
}
@keyframes studio-arrow-dance {
 0%,100% { transform:translateY(-3px) rotate(-6deg); }
 45% { transform:translateY(7px) rotate(5deg); }
 65% { transform:translateY(2px) rotate(-2deg); }
}
@keyframes studio-arrow-ink { 0%,100% { stroke-dashoffset:0; } 45% { stroke-dashoffset:12; } }
@media(max-width:560px) {
 body.page-home .studio-discover { gap:12px; font-size:11px; }
 body.page-home .studio-discover svg { width:40px; height:56px; }
}

/* A white studio dock with playful pink tabs and moving line icons. */
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav {
  width:min(1050px,calc(100% - 40px)); padding:8px 12px;
  border-radius:12px 30px 12px 30px;
  box-shadow:7px 7px 0 rgba(229,170,191,.8),0 12px 30px rgba(0,0,0,.15);
 }
 body .side-nav .nav-link,body.page-home .side-nav .nav-link {
  overflow:hidden; isolation:isolate; border-radius:8px 18px 8px 18px;
  font-weight:600; transition:translate .25s,background .25s,rotate .25s;
 }
 body .side-nav .nav-link[aria-current="page"] { background:#e5aabf; }
 body .side-nav .nav-link:is(:hover,:focus-visible) { background:#e5aabf; rotate:-2deg; translate:0 -3px; }
 body .side-nav .nav-link:nth-of-type(even):is(:hover,:focus-visible) { rotate:2deg; }
 body .side-nav .nav-link::after { background:#e5aabf; height:3px; border-radius:3px; }
 body .side-nav .nav-link .mobile-nav-item svg { width:19px; height:19px; }
 body .side-nav .nav-link:hover .mobile-nav-item svg { transform:rotate(-12deg) scale(1.15); }
 body .side-nav .nav-language { padding-left:12px; border-left:1px dashed #c49aa9; }
}
body.page-home .main-content > .brand-opening { padding-inline:4vw; }
body.page-home .opening-mascot {
 position:absolute; z-index:2; top:46%; width:clamp(150px,21vw,310px);
 transform:translateY(-50%) rotate(-12deg); pointer-events:none; user-select:none;
}
body.page-home .opening-mascot--pink { left:0; }
body.page-home .opening-mascot--white { right:0; transform:translateY(-50%) rotate(12deg); }
.opening-mascot svg { display:block; width:100%; height:auto; overflow:hidden; }
.hero-wink { opacity:0; }
body.page-home .brand-opening .brand-glass-card { width:min(50%,620px); }
body.page-home .studio-discover svg { width:52px; height:76px; }
.studio-discover-line { stroke-width:4; stroke-dasharray:none; animation:none; }
@media(prefers-reduced-motion:no-preference) {
 .opening-mascot svg { animation:mascot-sway 5s ease-in-out infinite; }
 .opening-mascot--white svg { animation-delay:-2.5s; }
 .hero-wink { animation:hero-face-wink 4.5s linear infinite; }
 .opening-mascot--white .hero-wink { animation-delay:-2.2s; }
 .studio-discover svg { animation:discover-arrow-drop 1.8s cubic-bezier(.45,0,.3,1) infinite; }
}
@keyframes mascot-sway { 0%,100% { transform:translateY(0) rotate(-3deg); } 50% { transform:translateY(-14px) rotate(3deg); } }
@keyframes hero-face-wink { 0%,34%,45%,100% { opacity:0; } 36%,43% { opacity:1; } }
@keyframes discover-arrow-drop { 0%,100% { transform:translateY(-5px); } 55% { transform:translateY(8px); } 75% { transform:translateY(3px); } }
@media(max-width:800px) {
 body .site-header,body.page-home .site-header { border-radius:10px 24px 10px 24px; box-shadow:4px 4px 0 #e5aabf; }
 body.page-home .brand-opening .brand-glass-card { top:39%; width:min(88%,560px); }
 body.page-home .opening-mascot { top:73%; width:clamp(100px,26vw,180px); }
 body.page-home .opening-mascot--pink { left:8%; }
 body.page-home .opening-mascot--white { right:8%; }
 body.page-home .studio-discover { bottom:16px; }
}
@media(prefers-reduced-motion:reduce) {
 body .side-nav .nav-link:is(:hover,:focus-visible) { rotate:none; translate:none; }
}

/* White frosted glass; the desktop dock appears on approach, then slips away. */
body .side-nav,body.page-home .side-nav {
 background:rgba(255,255,255,.8);
 -webkit-backdrop-filter:blur(20px) saturate(1.25);
 backdrop-filter:blur(20px) saturate(1.25);
 box-shadow:0 8px 30px rgba(0,0,0,.12);
}
body .site-header,body.page-home .site-header {
 background:rgba(255,255,255,.8);
 -webkit-backdrop-filter:blur(20px) saturate(1.25);
 backdrop-filter:blur(20px) saturate(1.25);
 box-shadow:0 6px 24px rgba(0,0,0,.1);
}
.nav-reveal-trigger { display:none; }
@media(min-width:801px) and (hover:hover) and (pointer:fine) {
 .nav-hover-zone { position:fixed; z-index:50; top:0; left:0; width:100%; height:116px; pointer-events:none; }
 .nav-hover-zone::before { content:''; position:absolute; inset:0 0 auto; height:28px; pointer-events:auto; }
 .nav-reveal-trigger {
  display:block; position:absolute; left:50%; top:0; transform:translateX(-50%);
  padding:4px 18px; border:0; border-radius:0 0 12px 12px;
  background:rgba(255,255,255,.8); color:#262526; cursor:pointer;
  font-size:9px; letter-spacing:.12em; text-transform:uppercase;
  pointer-events:auto; transition:opacity .2s;
 }
 body .nav-hover-zone .side-nav,body.page-home .nav-hover-zone .side-nav {
  opacity:0; visibility:hidden; translate:0 -115%; pointer-events:none;
  animation:none;
  transition:opacity .22s .12s,translate .3s .12s,visibility 0s .42s;
 }
 body .nav-hover-zone:is(:hover,:focus-within) .side-nav,
 body.page-home .nav-hover-zone:is(:hover,:focus-within) .side-nav {
  opacity:1; visibility:visible; translate:0 0; pointer-events:auto;
  transition:opacity .2s,translate .3s,visibility 0s;
 }
 .nav-hover-zone:is(:hover,:focus-within) .nav-reveal-trigger { opacity:0; }
 body .main-content { padding-top:32px; }
 body.page-home .main-content { padding-top:0; }
}
@media(prefers-reduced-motion:reduce) {
 body .nav-hover-zone .side-nav,body.page-home .nav-hover-zone .side-nav,
 body .nav-hover-zone:is(:hover,:focus-within) .side-nav,
 body.page-home .nav-hover-zone:is(:hover,:focus-within) .side-nav { transition:none; }
}

/* Keep the frosted dock visible; neutral hover colours replace pink tabs. */
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav {
  position:fixed; opacity:1; visibility:visible; translate:0 0; pointer-events:auto;
 }
 body .side-nav .nav-link[aria-current="page"],
 body .side-nav .nav-link:is(:hover,:focus-visible),
 body.page-home .side-nav .nav-link[aria-current="page"],
 body.page-home .side-nav .nav-link:is(:hover,:focus-visible) {
  background:#e7e7e5; color:#262526 !important;
 }
 body .side-nav .nav-link::after { background:#8e8e89; }
 body .side-nav .nav-language { border-left-color:#cececa; }
 body .main-content { padding-top:112px; }
 body.page-home .main-content { padding-top:0; }
}
@media(max-width:800px) {
 body .side-nav .nav-link:is(:hover,:focus-visible,[aria-current="page"]),
 body.page-home .side-nav .nav-link:is(:hover,:focus-visible,[aria-current="page"]) {
  background:#e7e7e5; color:#262526 !important;
 }
 body .site-header .menu-toggle:is(:hover,:focus-visible) { background:#e7e7e5; }
}

/* The studio anchor is a scroll destination, never a highlighted touch box. */
body.page-home #estudio-inicio,
body.page-home #estudio-inicio:focus,
body.page-home #estudio-inicio:focus-visible,
body.page-home .studio-discover:focus:not(:focus-visible) {
 outline:none; -webkit-tap-highlight-color:transparent;
}
body.page-home .studio-discover * { -webkit-tap-highlight-color:transparent; }
body.page-home #estudio > .studio-invitation {
 background:#262526; color:#f4f0e8;
 transition:background .25s,transform .25s;
}
body.page-home #estudio > .studio-invitation:hover { background:#3c3b3c; transform:translateY(-2px); }
body.page-home #estudio > .studio-invitation .studio-invitation-arrow {
 width:20px; height:20px; stroke:#f4f0e8; stroke-width:5;
}
body.page-home .studio-discover .studio-discover-line { stroke-width:5.5; }
@media(prefers-reduced-motion:reduce) {
 body.page-home #estudio > .studio-invitation { transition:none; }
 body.page-home #estudio > .studio-invitation:hover { transform:none; }
}

/* The floating menu uses the same radius on every corner. */
body .side-nav,body.page-home .side-nav,
body .site-header,body.page-home .site-header { border-radius:22px; }
body .side-nav .nav-link,body.page-home .side-nav .nav-link { border-radius:14px; }

/* All pages reserve the measured height of the floating navigation. */
:root { --menu-clearance:112px; }
html { scroll-padding-top:var(--menu-clearance); }
body[class] .main-content { padding-top:var(--menu-clearance); }
body.page-home .main-content > .brand-opening,
body.page-home .brand-opening-scroll {
 min-height:calc(100svh - var(--menu-clearance));
}
body.page-home .brand-opening-stage {
 height:calc(100svh - var(--menu-clearance));
 min-height:calc(100svh - var(--menu-clearance));
 max-height:none;
}
@media(min-width:801px) {
 body.page-questionnaire .questionnaire-intro { top:var(--menu-clearance); }
}
@media(max-width:800px) {
 :root { --menu-clearance:100px; }
}

/* The dock folds into an icon rail when the top position would cover copy. */
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav {
  transition:left .24s cubic-bezier(.22,.8,.25,1),top .24s cubic-bezier(.22,.8,.25,1),
   width .24s cubic-bezier(.22,.8,.25,1),transform .24s cubic-bezier(.22,.8,.25,1),
   border-radius .24s,box-shadow .2s;
 }
 body.nav-at-left .side-nav,body.page-home.nav-at-left .side-nav {
  left:10px; top:112px; right:auto; transform:none;
  width:64px; min-height:0; max-height:calc(100dvh - 136px);
  flex-direction:column; gap:6px; padding:8px 6px; border-radius:22px;
  animation:none;
 }
 body.nav-at-left .side-nav .nav-link,body.page-home.nav-at-left .side-nav .nav-link {
  flex:0 0 auto; width:50px; min-height:48px; padding:10px;
  font-size:0; gap:0; overflow:visible; border-radius:15px;
 }
 body.nav-at-left .side-nav .nav-link .mobile-nav-item svg { width:21px; height:21px; }
 body.nav-at-left .side-nav .nav-link::before {
  content:attr(data-nav-label); position:absolute; left:62px; top:50%;
  transform:translate(-6px,-50%); width:max-content; max-width:240px; height:auto;
  padding:10px 14px; border-radius:12px; background:var(--site-white, #f4f0e8); color:#262526;
  font-size:11px; letter-spacing:.04em; opacity:0; pointer-events:none;
  box-shadow:0 5px 20px rgba(0,0,0,.12); transition:opacity .2s,transform .2s;
 }
 body.nav-at-left .side-nav .nav-link:is(:hover,:focus-visible)::before { opacity:1; transform:translate(0,-50%); }
 body.nav-at-left .side-nav .nav-link::after { left:16px; right:16px; bottom:4px; }
 body.nav-at-left .side-nav .nav-language,body.page-home.nav-at-left .side-nav .nav-language {
  margin:4px 0 0; padding:8px 0 0; border:0; border-top:1px solid #cececa;
 }
 body.nav-at-left .side-nav .language-switcher { flex-direction:column; gap:4px; }
 body.nav-at-left .side-nav .language-switcher a span { display:none; }
 body.nav-at-left .side-nav .language-switcher a { padding:6px; }
 body.page-home { --home-gutter:max(88px,6%,calc((100% - 1060px)/2)); }
 body:not(.page-home) .main-content { padding-inline:max(88px,7.2%); }
}
@media(prefers-reduced-motion:reduce) {
 body .side-nav,body.page-home .side-nav { transition:none; }
}
@media(min-width:801px) and (max-height:580px) {
 body.nav-at-left .side-nav,body.page-home.nav-at-left .side-nav { top:16px; max-height:calc(100dvh - 32px); }
}

/* Restore the project enquiry alongside the other animated navigation icons. */
body .side-nav .nav-contact > span[aria-hidden="true"]:not(.mobile-nav-item) { display:none; }
body .side-nav .language-switcher a,
body.page-home .side-nav .language-switcher a {
 position:relative; border-radius:9px; transition:background .2s,box-shadow .2s;
}
body .side-nav .language-switcher a[aria-current="true"],
body.page-home .side-nav .language-switcher a[aria-current="true"] {
 background:#dededb; color:#262526; font-weight:700;
 box-shadow:inset 0 -3px 0 #666662;
}
body .side-nav .language-switcher a:hover,
body.page-home .side-nav .language-switcher a:hover { background:#e7e7e5; }
@media(min-width:801px) {
 body .side-nav .nav-link,body.page-home .side-nav .nav-link { padding-inline:9px; font-size:10px; }
 body.nav-at-left .side-nav .nav-link,body.page-home.nav-at-left .side-nav .nav-link { font-size:0; }
 body .side-nav .nav-contact:hover .mobile-nav-item svg { animation:enquiry-wave .5s ease-in-out; }
}
@media(min-width:801px) and (max-width:1100px) {
 body .side-nav .nav-link,body.page-home .side-nav .nav-link { padding-inline:5px; font-size:9px; gap:5px; }
 body.nav-at-left .side-nav .nav-link,body.page-home.nav-at-left .side-nav .nav-link { font-size:0; }
}
@keyframes enquiry-wave { 0%,100% { transform:rotate(0); } 30% { transform:rotate(-12deg); } 70% { transform:rotate(8deg); } }
@media(prefers-reduced-motion:reduce) { body .side-nav .nav-contact:hover .mobile-nav-item svg { animation:none; } }

/* The opening is now a trio: two oversized winking faces and the studio logo. */
body.page-home .opening-logo {
 position:absolute; z-index:1; top:44%; left:50%; transform:translate(-50%,-50%);
 width:min(42vw,640px); text-align:center;
}
body.page-home .opening-logo img { display:block; width:100%; height:auto; object-fit:contain; }
body.page-home .opening-mascot {
 top:44%; width:clamp(200px,28vw,420px);
}
body.page-home .opening-mascot--pink { left:-1%; }
body.page-home .opening-mascot--white { right:-1%; }
@media(prefers-reduced-motion:no-preference) {
 .opening-logo img { animation:studio-logo-breathe 5s ease-in-out infinite; }
 .opening-logo { animation:studio-logo-arrive .9s cubic-bezier(.2,.75,.25,1) both; }
}
@keyframes studio-logo-breathe {
 0%,100% { transform:scale(1) rotate(-1deg); }
 50% { transform:scale(1.045) rotate(1deg); }
}
@keyframes studio-logo-arrive {
 from { opacity:0; translate:0 24px; filter:blur(8px); }
 to { opacity:1; translate:0 0; filter:blur(0); }
}
@media(max-width:800px) {
 body.page-home .opening-logo { top:33%; width:min(72vw,460px); }
 body.page-home .opening-mascot { top:65%; width:clamp(140px,38vw,260px); }
 body.page-home .opening-mascot--pink { left:3%; }
 body.page-home .opening-mascot--white { right:3%; }
}
@media(max-width:800px) and (max-height:600px) {
 body.page-home .opening-logo { top:32%; width:44vw; }
 body.page-home .opening-mascot { top:38%; width:25vw; }
 body.page-home .opening-mascot--pink { left:0; }
 body.page-home .opening-mascot--white { right:0; }
}

/* Watery white glass: softer opacity and bright inner reflections. */
body .side-nav,body.page-home .side-nav,
body .site-header,body.page-home .site-header {
 background:linear-gradient(125deg,rgba(255,255,255,.64),rgba(255,255,255,.42) 52%,rgba(255,255,255,.54));
 -webkit-backdrop-filter:blur(24px) saturate(1.45) brightness(1.12);
 backdrop-filter:blur(24px) saturate(1.45) brightness(1.12);
 box-shadow:inset 0 1px 1px rgba(255,255,255,.85),inset 0 -1px 2px rgba(255,255,255,.3),0 8px 28px rgba(0,0,0,.12);
}
body .side-nav .nav-link:is(:hover,:focus-visible,[aria-current="page"]),
body.page-home .side-nav .nav-link:is(:hover,:focus-visible,[aria-current="page"]) {
 background:rgba(255,255,255,.48); color:#262526 !important;
}
body .side-nav .language-switcher a[aria-current="true"],
body.page-home .side-nav .language-switcher a[aria-current="true"] {
 background:rgba(255,255,255,.55);
}

/* Closing card details resumes the loop even when focus returns to the opener. */
body.page-home .idea-carousel.is-looping.dialog-resumed:not(.is-paused) .idea-carousel-track { animation-play-state:running; }
html.idea-detail-open body.page-home .idea-carousel .idea-carousel-track { animation-play-state:paused; }

/* Neutral text: black on light sections, white on dark sections and cards. */
body .main-content :is(h1,h2,h3) em { color:inherit !important; }
body.page-home .main-content > :is(#estudio,#brand-introduction,.home-design-ribbon,.idea-carousel,.home-workflow) { color:#262526; }
body.page-home .main-content > :is(.brand-universe,.budget-request) { color:#fff; }
body.page-home .main-content > :is(#estudio,#brand-introduction,.idea-carousel,.home-workflow) :is(h1,h2,h3,p,.eyebrow,.text-link,.workflow-step-number,.brand-universe-closing) { color:#262526; }
body.page-home .main-content > :is(.brand-universe,.budget-request) :is(h1,h2,h3,p,.eyebrow,.text-link,.brand-touchpoints,.brand-universe-closing) { color:#fff; }
body.page-home #estudio .intro-text,
body.page-home #estudio .studio-heading h2 em,
body.page-home #brand-introduction h1 em { color:#262526 !important; }
body.page-home .idea-carousel .idea-slide:nth-child(n),
body.page-home .idea-carousel .idea-slide :is(h3,p,.idea-slide-link,.idea-slide-symbol) { color:#fff; }
body.page-home .idea-detail-dialog,
body.page-home .idea-detail-dialog :is(h3,p,.idea-detail-close,.idea-detail-action,.idea-slide-symbol,.idea-slide-number) { color:#fff; }
body.page-home .idea-detail-dialog .idea-detail-action { border-color:rgba(255,255,255,.55); }
body.page-home .idea-detail-dialog :is(.idea-detail-action,.idea-detail-close):hover { background:#e7e7e5; color:#262526; }
body.page-home .main-content .text-link svg { color:inherit; }
body.page-home .studio-discover,
body.page-home .studio-discover:hover { color:#fff; }
body.page-home .main-content > .idea-carousel .idea-slide :is(h3,p,.idea-slide-link,.idea-slide-symbol) { color:#fff; }

/* Keep moving page content from showing through the navigation surface. */
body .side-nav,body.page-home .side-nav,
body .site-header,body.page-home .site-header {
 background:var(--site-white, #f4f0e8);
 -webkit-backdrop-filter:none;
 backdrop-filter:none;
 box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 8px 28px rgba(0,0,0,.12);
}
@media(min-width:801px) {
 body:not(.nav-at-left) .side-nav { overflow:hidden; }
 body.nav-at-left .side-nav { overflow:visible; }
}

/* Switch docking positions immediately, without travelling across the page. */
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav,
 body.nav-at-left .side-nav,body.page-home.nav-at-left .side-nav {
  transition:none;
  animation:none;
 }
}

/* A small elastic bubble follows the screen edge instead of crossing the copy. */
.nav-jelly-transit {
 position:fixed; z-index:51; width:56px; height:56px; border-radius:22px;
 display:flex; align-items:center; justify-content:center; gap:4px;
 background:var(--site-white, #f4f0e8); box-shadow:0 5px 18px rgba(0,0,0,.1);
 pointer-events:none; will-change:transform;
}
.nav-jelly-transit i { display:block; width:4px; height:4px; border-radius:50%; background:#262526; }

/* Mobile navigation keeps the same white glass on every page and section. */
@media(max-width:800px) {
 body,body.nav-on-light { --nav-ink:#262526; --nav-accent:#262526; --nav-border:rgba(38,37,38,.22); }
 body .site-header,body.page-home .site-header {
  background:rgba(255,255,255,.66);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
 }
 body .side-nav,body.page-home .side-nav {
  --nav-ink:#262526; background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(22px); backdrop-filter:blur(22px);
 }
 body .side-nav .nav-link,body.page-home .side-nav .nav-link,
 body .side-nav .drawer-close,body .side-nav .nav-language { color:#262526 !important; }
 body .site-header .menu-toggle { border-color:rgba(38,37,38,.35); }
 body .site-header::after {
  content:'1616 / GRAPHIC CLUB'; position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%); font-size:10px; font-weight:700;
  letter-spacing:.12em; white-space:nowrap; color:#262526; pointer-events:none;
 }
 body .site-header .brand-mark { display:none; }
 body.page-home .main-content { padding-top:80px; }
 body.page-home .opening-logo { top:24%; }
 body.page-home .main-content > .idea-carousel .idea-slide :is(h3,p,.idea-slide-number,.idea-slide-link,.idea-slide-symbol) {
  color:#fff !important; opacity:1;
 }
 body.page-home .idea-carousel .idea-slide > p { font-size:14px; line-height:1.65; }
 body .site-footer {
  --pink:#fff; --pink-light:#fff; --muted:#fff;
  color:#fff; padding-inline:6%; padding-bottom:max(24px,env(safe-area-inset-bottom));
 }
 body .site-footer :is(a,p,span,small),body .site-footer a:is(:hover,:focus-visible) { color:#fff; }
 body .site-footer .footer-logo { border-color:currentColor; }
 body .site-footer :is(p,a,.footer-copy) { font-size:12px; line-height:1.6; }
 body.page-home { padding-bottom:0; background:#e5aabf; }
 body.page-home .site-footer {
  --pink:#262526; --pink-light:#262526; --muted:#262526;
  margin-bottom:0; background:#e5aabf; color:#262526; padding-inline:6%;
 }
 body.page-home .site-footer :is(a,p,span,small),
 body.page-home .site-footer a:is(:hover,:focus-visible) { color:#262526; }
}
@media(max-width:800px) {
 body .site-header .brand-mark,body.page-home .site-header .brand-mark { display:none; }
 html:has(body.page-home) { background:#e5aabf; }
}

/* Desktop footer enquiry keeps a neutral colour, including its arrow. */
@media(min-width:801px) {
 body .site-footer .footer-questionnaire,
 body .site-footer .footer-questionnaire:is(:hover,:focus-visible,:active) {
  color:#fff; border-bottom-color:currentColor;
 }
 body.page-home .site-footer .footer-questionnaire,
 body.page-home .site-footer .footer-questionnaire:is(:hover,:focus-visible,:active) { color:#262526; }
 body .site-footer .footer-questionnaire .arrow-icon { color:inherit; stroke:currentColor; }
}

/* The enquiry uses the same foreground as the other navigation links. */
body .side-nav .nav-link.nav-contact,
body .side-nav .nav-link.nav-contact span,
body .side-nav .nav-link.nav-contact:is(:hover,:focus-visible,:active,[aria-current="page"]) {
 color:var(--nav-ink, #262526) !important;
}
body .side-nav .nav-link.nav-contact .mobile-nav-item svg {
 color:inherit;
 stroke:currentColor;
}

/* Card copy overrides section heading colours at every viewport width. */
body.page-home .main-content > .idea-carousel .idea-slide:nth-child(n) {
 --slide-bg:#262526; --slide-text:#fff;
 background:#262526; color:#fff;
}
body.page-home .main-content > .idea-carousel .idea-slide :is(h3,p,.idea-slide-number,.idea-slide-link,.idea-slide-symbol) {
 color:#fff !important; opacity:1;
}
body.page-home .idea-carousel .idea-slide > p {
 display:block; font-size:14px; line-height:1.65;
}
body.page-home .idea-carousel .idea-slide-link { font-size:12px; line-height:1.5; }

/* Footer copy stays readable on both pink and charcoal backgrounds. */
body .site-footer {
 --footer-ink:#fff;
 background:#262526;
 color:var(--footer-ink); font-size:12px; line-height:1.6;
}
body.page-home .site-footer { --footer-ink:#262526; }
body .site-footer :is(a,p,span,small),
body .site-footer a:is(:hover,:focus-visible,:active) {
 color:var(--footer-ink); opacity:1;
}
body .site-footer .footer-brand { font-size:13px; }
body .site-footer .footer-brand small { font-size:10px; letter-spacing:.08em; }
body .site-footer :is(.footer-copy,.footer-process,.footer-faq,.language-switcher a) { font-size:12px; }
body .site-footer .footer-questionnaire { font-size:14px; border-bottom-color:var(--footer-ink); }
body .site-footer :is(.footer-logo,.social-links a,.language-switcher a) { border-color:var(--footer-ink); }
body .site-footer a:focus-visible { outline:2px solid var(--footer-ink); outline-offset:4px; }

/* The open drawer has its own surface so its state cannot restore dark stock. */
@media(max-width:800px) {
 body .side-nav,body .side-nav.is-open,
 body.page-home .side-nav,body.page-home .side-nav.is-open {
  background:var(--site-white, #f4f0e8); background-image:none; color:#262526;
  --nav-ink:#262526; --nav-accent:#262526;
 }
 body.page-home .main-content { background:#262526; padding-top:80px; }

}
@media(min-width:801px) {
 body .side-nav,body.page-home .side-nav {
  background:rgba(255,255,255,.48);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);
  backdrop-filter:blur(20px) saturate(1.2);
 }
}

/* Two faces and the centred logo fill the opening screen again. */
body.page-home .main-content { background:#262526; }
body.page-home .main-content > .brand-opening,
body.page-home .brand-opening-scroll,
body.page-home .brand-opening-stage {
 height:calc(100svh - var(--menu-clearance));
 min-height:calc(100svh - var(--menu-clearance));
 max-height:none;
}
body.page-home .home-design-ribbon-group { font-size:clamp(68px,12vw,180px); }
@media(max-width:800px) {
 body.page-home .main-content { padding-top:80px; }
 body.page-home .main-content > .brand-opening,
 body.page-home .brand-opening-scroll,
 body.page-home .brand-opening-stage {
  height:calc(100svh - 80px); min-height:calc(100svh - 80px);
 }
}
/* Lighter glass on the desktop dock and the mobile drawer. */
body .side-nav,body .side-nav.is-open,
body.page-home .side-nav,body.page-home .side-nav.is-open {
 background:rgba(255,255,255,.48);
 -webkit-backdrop-filter:blur(20px) saturate(1.2);
 backdrop-filter:blur(20px) saturate(1.2);
}

/* A slightly quicker wink, with the same three-part composition on phones. */
@media(prefers-reduced-motion:no-preference) {
 .hero-wink { animation-duration:4.5s; }
 .opening-mascot--white .hero-wink { animation-delay:-2.2s; }
}
@media(max-width:800px) {
 body.page-home .opening-logo {
  top:44%; left:50%; width:46%; transform:translate(-50%,-50%);
 }
 body.page-home .opening-mascot { top:44%; width:25%; }
 body.page-home .opening-mascot--pink { left:0; }
 body.page-home .opening-mascot--white { right:0; }
}

/* Switch cleanly between open eye and lid, without ghosting both together. */
@media(prefers-reduced-motion:no-preference) {
 .hero-wink { animation-timing-function:steps(1,end); }
}


/* Supplied open and closed drawings, aligned within the same SVG canvas. */
.face-frame--closed { opacity:0; }
@media(prefers-reduced-motion:no-preference) {
 .face-frame--open { animation:supplied-face-open 4.5s ease-in-out infinite; }
 .face-frame--closed { animation:supplied-face-closed 4.5s ease-in-out infinite; }
 .opening-mascot--white .face-frame { animation-delay:-2.2s; }
}
@keyframes supplied-face-open {
 0%,34%,45%,100% { opacity:1; }
 36%,42% { opacity:0; }
}
@keyframes supplied-face-closed {
 0%,34%,45%,100% { opacity:0; }
 36%,42% { opacity:1; }
}

/* Shared mobile header; no pink shadow or pink page edge at the top. */
@media(max-width:800px) {
 body .site-header,body.page-home .site-header { box-shadow:none; border:0; }
 html:has(body.page-home),body.page-home { background:#262526; }
}
/* Dejar huella: oversized studio lettering and the existing editorial copy. */
body.page-home .main-content > #brand-introduction.home-introduction {
 position:relative; isolation:isolate; overflow:hidden;
 width:calc(100% - clamp(24px,6vw,96px)); margin:36px auto;
 min-height:430px; border-radius:22px;
 padding:66px clamp(26px,4vw,64px) 52px 59%;
 background:#e5aabf; text-align:left;
 box-shadow:0 12px 35px rgba(0,0,0,.14);
}
body.page-home #brand-introduction.home-introduction::before {
 content:''; position:absolute; z-index:-1; inset:0 47% 0 0;
 background-color:#30252c;
 background-image:url('imagenes/huella-1616.svg'),
  repeating-linear-gradient(115deg,transparent 0 40px,rgba(255,255,255,.035) 41px 42px);
 background-repeat:no-repeat,repeat;
 background-position:center,center;
 background-size:125% 115%,auto;
}
body.page-home #brand-introduction.home-introduction::after {
 content:''; position:absolute; top:20px; right:22px; width:54px; height:36px;
 background:url('imagenes/logo-vector.svg') center / contain no-repeat;
 filter:brightness(0); opacity:.85;
}
body.page-home #brand-introduction.home-introduction h1 {
 max-width:12ch; margin:0 0 25px; font-size:clamp(36px,4.1vw,66px);
 line-height:1.02; letter-spacing:-.055em;
}
body.page-home #brand-introduction.home-introduction .brand-opening-description {
 max-width:40ch; margin:0 0 16px; font-size:14px; line-height:1.65;
}
@media(max-width:800px) {
 body.page-home .main-content > #brand-introduction.home-introduction {
  margin-block:24px; min-height:0; padding:285px 26px 30px;
 }
 body.page-home #brand-introduction.home-introduction::before {
  inset:0 0 auto; height:250px; background-size:105% 125%,auto;
 }
 body.page-home #brand-introduction.home-introduction::after { top:267px; right:20px; width:40px; height:28px; }
 body.page-home #brand-introduction.home-introduction h1 { font-size:clamp(35px,7vw,56px); }
}

/* Reference composition: low panoramic pink card with cropped slanted type. */
body.page-home .main-content > #brand-introduction.home-introduction {
 width:calc(100% - clamp(24px,5vw,88px)); max-width:1500px;
 min-height:350px; margin:36px auto; border-radius:20px;
 padding:56px 6% 34px 66%; background:#e5aabf;
 background-image:repeating-linear-gradient(25deg,transparent 0 3px,rgba(62,30,43,.025) 3px 4px);
}
body.page-home #brand-introduction.home-introduction::before {
 inset:-4% 36% -8% -3%; height:auto;
 background-color:#30252c;
 background-image:url('imagenes/huella-1616.svg');
 background-size:115% 125%; background-position:center; background-repeat:no-repeat;
}
body.page-home #brand-introduction.home-introduction h1 {
 font-family:var(--sans); font-weight:800; font-size:clamp(30px,3.3vw,54px);
 line-height:.97; letter-spacing:-.055em; margin-bottom:20px; max-width:13ch;
}
body.page-home #brand-introduction.home-introduction .brand-opening-description {
 font-size:12px; line-height:1.45; margin-bottom:10px;
}
body.page-home #brand-introduction.home-introduction::after { top:20px; right:24px; width:48px; height:32px; }
@media(max-width:800px) {
 body.page-home .main-content > #brand-introduction.home-introduction {
  min-height:0; padding:235px 24px 28px; margin-block:24px;
 }
 body.page-home #brand-introduction.home-introduction::before {
  inset:0 0 auto; height:210px; background-size:110% 140%;
 }
 body.page-home #brand-introduction.home-introduction h1 { font-size:38px; max-width:14ch; }
 body.page-home #brand-introduction.home-introduction .brand-opening-description { font-size:14px; line-height:1.6; }
 body.page-home #brand-introduction.home-introduction::after { top:230px; right:18px; width:36px; }
}

/* Full section artwork: textured numbers, with all copy kept as live text. */
body.page-home .main-content > #brand-introduction.home-introduction {
 width:100%; max-width:none; margin:0; border-radius:0;
 min-height:clamp(390px,34vw,590px); padding:70px 5% 60px 67%;
}
body.page-home #brand-introduction.home-introduction::before {
 inset:0 36% 0 0; height:auto;
 background-image:url('imagenes/huella-numeros-textura.png');
 background-size:cover; background-position:center;
}
body.page-home #brand-introduction.home-introduction::after { content:none; }
body.page-home #brand-introduction.home-introduction h1 { font-size:clamp(38px,4vw,68px); }
body.page-home #brand-introduction.home-introduction .brand-opening-description { font-size:14px; line-height:1.6; }
@media(max-width:800px) {
 body.page-home .main-content > #brand-introduction.home-introduction { min-height:0; padding:300px 7% 38px; }
 body.page-home #brand-introduction.home-introduction::before { inset:0 0 auto; height:265px; background-size:cover; }
 body.page-home #brand-introduction.home-introduction h1 { font-size:clamp(38px,8vw,58px); }
}
body.page-home #brand-introduction.home-introduction::before { background-size:100% 100%; }

/* Explicit columns keep all four digits visible and balance the copy. */
body.page-home .main-content > #brand-introduction.home-introduction {
 display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr);
 grid-template-rows:1fr auto 1fr; column-gap:0; row-gap:20px;
 min-height:0; padding:0; text-align:left;
}
body.page-home #brand-introduction.home-introduction::before { content:none; }
body.page-home #brand-introduction.home-introduction .huella-artwork {
 display:block; grid-column:1; grid-row:1 / 4;
 width:100%; height:100%; min-height:0; object-fit:contain;
 background:#30252c; align-self:stretch;
}
body.page-home #brand-introduction.home-introduction h1 {
 grid-column:2; grid-row:1; align-self:end;
 width:auto; max-width:none; margin:40px 8% 0;
 font-size:clamp(36px,4.2vw,76px); line-height:1.04;
}
body.page-home #brand-introduction.home-introduction .brand-opening-description {
 grid-column:2; width:auto; max-width:none; margin:0 8%;
 font-size:clamp(15px,1.25vw,22px); line-height:1.65; text-align:left;
}
body.page-home #brand-introduction.home-introduction .brand-opening-description:last-child {
 align-self:start; margin-bottom:40px;
}
@media(max-width:800px) {
 body.page-home .main-content > #brand-introduction.home-introduction {
  grid-template-columns:minmax(0,1fr); grid-template-rows:auto; row-gap:18px; padding:0 0 30px;
 }
 body.page-home #brand-introduction.home-introduction .huella-artwork { grid-column:1; grid-row:1; height:auto; }
 body.page-home #brand-introduction.home-introduction h1 { grid-column:1; grid-row:2; margin:12px 7% 0; font-size:clamp(36px,8vw,58px); }
 body.page-home #brand-introduction.home-introduction .brand-opening-description { grid-column:1; margin-inline:7%; font-size:16px; }
 body.page-home #brand-introduction.home-introduction .brand-opening-description:last-child { margin-bottom:0; }
}

/* Uploaded banner composition, retaining selectable translated copy. */
body.page-home .main-content > #brand-introduction.home-introduction {
 display:block; position:relative; aspect-ratio:2048 / 891; min-height:0;
 width:100%; padding:0; margin:0; background:#e5aac0; background-image:none; overflow:hidden;
}
body.page-home #brand-introduction.home-introduction .huella-artwork {
 position:absolute; inset:auto 0 0 auto; width:50.05%; height:50.62%;
 margin:0; min-height:0; background:transparent; pointer-events:none;
}
body.page-home #brand-introduction.home-introduction h1 {
 position:absolute; left:1.8%; top:19%; width:60%; max-width:none;
 margin:0; font-size:6.4vw; line-height:.98; letter-spacing:-.045em;
 font-weight:800; text-align:left;
}
body.page-home .main-content > #brand-introduction.home-introduction h1 em { color:#f4f0e8 !important; }
body.page-home #brand-introduction.home-introduction .brand-opening-description {
 position:absolute; left:3.55%; top:56%; width:44%; max-width:none;
 margin:0; font-size:1.55vw; line-height:1.45; text-align:left;
}
body.page-home #brand-introduction.home-introduction .brand-opening-description:last-child { top:72%; margin:0; }
@media(max-width:800px) {
 body.page-home .main-content > #brand-introduction.home-introduction { aspect-ratio:auto; padding:44px 7% 0; }
 body.page-home #brand-introduction.home-introduction h1 { position:static; width:100%; font-size:clamp(34px,7.5vw,58px); margin:0 0 28px; }
 body.page-home #brand-introduction.home-introduction .brand-opening-description,
 body.page-home #brand-introduction.home-introduction .brand-opening-description:last-child { position:static; width:100%; margin:0 0 20px; font-size:16px; line-height:1.6; }
 body.page-home #brand-introduction.home-introduction .huella-artwork { position:relative; display:block; inset:auto; width:116.28%; height:auto; aspect-ratio:1025 / 451; margin:30px -8.14% 0; }
}
@media(max-width:800px) {
 body.page-home .main-content > #brand-introduction.home-introduction { display:flex; flex-direction:column; }
 body.page-home #brand-introduction.home-introduction h1 { order:1; }
 body.page-home #brand-introduction.home-introduction .brand-opening-description { order:2; }
 body.page-home #brand-introduction.home-introduction .brand-opening-description:last-child { order:3; }
 body.page-home #brand-introduction.home-introduction .huella-artwork { order:4; flex-shrink:0; }
}

/* About page closes with the studio pink footer. */
body.page-about .site-footer {
 --footer-ink:#262526;
 --pink:#262526; --pink-light:#262526; --muted:#262526;
 background:#e5aabf; color:#262526; border-top-color:rgba(38,37,38,.2);
}
body.page-about .site-footer :is(a,p,span,small),
body.page-about .site-footer a:is(:hover,:focus-visible,:active),
body.page-about .site-footer .footer-questionnaire:is(:hover,:focus-visible,:active) { color:#262526; }

/* Continuous full-width approach section, flush with the pink footer. */
body.page-about .main-content { padding-inline:0; padding-bottom:0; }
body.page-about .about-intro { padding-inline:7%; }
body.page-about .about-approach {
 width:100%; margin:0; box-sizing:border-box;
 padding:clamp(44px,6vw,96px) max(88px,7.2%);
}
@media(max-width:800px) {
 body.page-about .about-approach { padding:44px 7%; }
}

/* Upright type throughout every page, including emphasis and SVG labels. */
html body,html body *,html body *::before,html body *::after { font-style:normal !important; }

/* No frame around the numeral artwork. */
body.page-home #brand-introduction.home-introduction .huella-artwork { border:0; outline:0; box-shadow:none; }

/* Paper faces placed across section boundaries, outside the reading column. */
body.page-home .home-sticker-seam {
 position:relative; width:100%; height:0; margin:0; padding:0; z-index:4;
 pointer-events:none;
}
.home-paper-sticker {
 position:absolute; top:0; width:clamp(110px,14vw,205px);
 filter:drop-shadow(2px 7px 4px rgba(0,0,0,.24));
 transform:translateY(-50%) rotate(var(--sticker-tilt));
}
.home-sticker-seam--right .home-paper-sticker { right:3%; --sticker-tilt:13deg; }
.home-sticker-seam--left .home-paper-sticker { left:max(78px,3%); --sticker-tilt:-15deg; }
.home-paper-sticker svg { display:block; width:100%; height:auto; overflow:visible; }
@media(prefers-reduced-motion:no-preference) {
 .home-paper-sticker.is-stuck { animation:paper-sticker-press .75s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes paper-sticker-press {
 0% { opacity:0; transform:translateY(-65%) rotate(calc(var(--sticker-tilt) - 12deg)) scale(1.18); filter:drop-shadow(8px 22px 10px rgba(0,0,0,.2)); }
 55% { opacity:1; transform:translateY(-50%) rotate(var(--sticker-tilt)) scale(.96); filter:drop-shadow(1px 2px 1px rgba(0,0,0,.25)); }
 78% { transform:translateY(-50%) rotate(var(--sticker-tilt)) scale(1.025); }
 100% { opacity:1; transform:translateY(-50%) rotate(var(--sticker-tilt)) scale(1); filter:drop-shadow(2px 7px 4px rgba(0,0,0,.24)); }
}
@media(max-width:800px) {
 .home-paper-sticker { width:100px; }
 .home-sticker-seam--right .home-paper-sticker { right:3%; }
 .home-sticker-seam--left .home-paper-sticker { left:3%; }
}

/* Stickers bridge the existing section edges without adding any space. */
body.page-home .home-sticker-seam {
 height:0; margin:0; padding:0; background:transparent; overflow:visible;
}
body.page-home .home-sticker-seam .home-paper-sticker {
 top:0; width:clamp(76px,7vw,110px);
}
body.page-home .home-sticker-seam--right .home-paper-sticker { right:14px; left:auto; }
body.page-home .home-sticker-seam--left .home-paper-sticker { left:90px; right:auto; }
body.page-home .home-sticker-seam--center .home-paper-sticker {
 left:calc(50% - clamp(76px,7vw,110px) / 2); right:auto; --sticker-tilt:10deg;
}
@media(max-width:800px) {
 body.page-home .home-sticker-seam .home-paper-sticker { width:64px; }
 body.page-home .home-sticker-seam--left .home-paper-sticker { left:8px; }
 body.page-home .home-sticker-seam--right .home-paper-sticker { right:8px; }
 body.page-home .home-sticker-seam--center .home-paper-sticker { left:calc(50% - 32px); }
}
/* Black project footer with readable text, links and social icons. */
body.page-projects .site-footer {
 --footer-ink:#fff;
 background:#262526;
 color:var(--footer-ink);
 border-top-color:rgba(255,255,255,.18);
}

/* Decorative artwork stays within the viewport at intermediate desktop widths. */
body.page-home { overflow-x:clip; }
html:has(body.page-home) { overflow-x:clip; }

/* Every project-footer link stays white, including the enquiry hover state. */
body.page-projects .site-footer :is(a,p,span,small),
body.page-projects .site-footer a:is(:hover,:focus-visible,:active),
body.page-projects .site-footer .footer-questionnaire,
body.page-projects .site-footer .footer-questionnaire:is(:hover,:focus-visible,:active) {
 color:var(--footer-ink); opacity:1;
}
/* Remove the rule immediately above the process link. */
body .site-footer .footer-center .footer-questionnaire {
 border-bottom:0;
}

/* Process uses a solid black surface without the dotted page texture. */
body.page-process {
 --ink:#262526; --cream:#fff; --muted:#c6bfc3; --line:rgba(255,255,255,.2);
 --pink-light:#e5aabf;
 background:#262526; color:#fff; color-scheme:dark;
}
body.page-process::before,body.page-process::after { content:none; }
body.page-process .main-content { background:#262526; padding-bottom:0; }
body.page-process .site-footer {
 --footer-ink:#262526;
 background:#e5aabf;
 color:var(--footer-ink);
 border-top-color:rgba(38,37,38,.18);
}
body.page-process .site-footer :is(a,p,span,small),
body.page-process .site-footer a:is(:hover,:focus-visible,:active),
body.page-process .site-footer .footer-questionnaire:is(a,:hover,:focus-visible,:active) { color:var(--footer-ink); }
body.page-process .client-process-step small { color:#c6bfc3; }
body.page-process .client-process-step > span,
body.page-process .main-content .eyebrow,
body.page-process .main-content .text-link { color:#e5aabf; }
body.page-process .button-pink:hover { background:#ecc0d1; color:#262526; }
body.page-process .process-final {
 --cream:#262526; --muted:#575155; --line:rgba(38,37,38,.2);
 padding-block:clamp(56px,6vw,88px);
 text-align:center;
 background:#fff;
 color:#262526;
 box-shadow:0 0 0 100vmax #fff;
 clip-path:inset(0 -100vmax);
}
.page-process .process-final .button + .button { margin-left:20px; }
@media(max-width:560px) {
 .page-process .process-final .button + .button { margin:16px 0 0; }
}

/* Pure white shared by every solid white surface. */
:root { --site-white:#fff; }

/* Give the footer content more presence across the desktop column. */
@media(min-width:801px) {
 body .site-footer {
  padding-block:36px 28px;
  column-gap:clamp(28px,5vw,80px);
  row-gap:16px;
  align-items:center;
 }
 body .site-footer .footer-brand {
  grid-row:1 / 3;
  align-self:center;
  gap:14px;
  font-size:20px;
 }
 body .site-footer .footer-brand small { font-size:12px; }
 body .site-footer .footer-logo { width:48px; height:48px; font-size:18px; }
 body .site-footer .footer-center { gap:12px; }
 body .site-footer .footer-questionnaire { font-size:clamp(20px,1.6vw,28px); line-height:1.3; }
 body .site-footer .footer-questionnaire .arrow-icon { width:22px; height:22px; }
 body .site-footer :is(.footer-process,.footer-faq) { font-size:15px; }
 body .site-footer .social-links { gap:12px; }
 body .site-footer .social-links a { width:42px; height:42px; }
 body .site-footer .social-links svg { width:19px; height:19px; }
 body .site-footer .footer-copy { font-size:13px; }
 body .site-footer > .language-switcher { margin-top:4px; }
 body .site-footer > .language-switcher a { font-size:13px; }
}

/* Icons and labels follow their link on every menu surface and state. */
body[class] .side-nav .nav-link :is(span,svg) { color:inherit !important; }
body[class] .side-nav .nav-link svg { stroke:currentColor; }
body[class] .side-nav .nav-link:is(:hover,:focus-visible,[aria-current="page"]) {
 background:#e7e7e5; color:#262526 !important;
}

.nav-edge-zone { display:none; }
@media(min-width:801px) and (hover:hover) and (pointer:fine) {
 body.nav-at-left .nav-edge-zone {
  display:block; position:fixed; inset:0 auto 0 0; width:24px; z-index:49;
  mix-blend-mode:difference;
 }
 body.nav-at-left .nav-edge-zone::after {
  content:''; position:absolute; left:6px; top:var(--nav-edge-center,50%); width:10px; height:76px;
  transform:translateY(-50%);
  background:#fff;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 76'%3E%3Cpath d='M5 13C3 26 7 44 5 63' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition:opacity .18s ease;
 }
 body.nav-at-left .side-nav,body.page-home.nav-at-left .side-nav {
  transform:translate3d(calc(-100% - 12px),0,0);
  scale:1;
  width:64px;
  min-width:64px;
  animation:none;
  transition:none;
 }
 body.nav-at-left.nav-edge-ready .side-nav {
  transition:transform .5s ease-in-out;
 }
 body.nav-at-left:has(.nav-edge-zone:hover) .side-nav,
 body.nav-at-left .side-nav:is(:hover,:focus-within) {
  transform:translate3d(0,0,0);
 }
 body.nav-at-left:has(.side-nav:is(:hover,:focus-within)) .nav-edge-zone::after,
 body.nav-at-left .nav-edge-zone:hover::after { opacity:0; }
}
@media(prefers-reduced-motion:reduce) {
 body.nav-at-left.nav-edge-ready .side-nav { transition:none; }
}

/* Mobile uses the same light glass and dark ink as the desktop navigation. */
@media(max-width:800px) {
 body[class] :is(.site-header,.side-nav,.side-nav.is-open) {
  --nav-ink:#262526; --nav-accent:#e5aabf;
  --nav-border:rgba(38,37,38,.18);
  color:#262526;
  background:rgba(255,255,255,.48);
  background-image:none;
  border-color:var(--nav-border);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);
  backdrop-filter:blur(20px) saturate(1.2);
 }
 body[class] .site-header :is(.header-cta,.header-cta span),
 body[class] .side-nav :is(.drawer-close,.language-switcher a) { color:#262526; }
 body[class] .site-header .menu-toggle span { background:#262526; }
 body[class] .site-header .menu-toggle::after { color:#262526; }
}

/* One glass opacity for every page, top bar, side rail and mobile drawer. */
body[class] .side-nav,
body[class] .side-nav.is-open,
body[class] .site-header {
 background:rgba(255,255,255,.48);
 background-image:none;
 -webkit-backdrop-filter:blur(20px) saturate(1.2);
 backdrop-filter:blur(20px) saturate(1.2);
}

/* Shared action buttons across content pages and service dialogs. */
body[class] .action-button {
 display:inline-flex !important; align-items:center !important; justify-content:center !important;
 gap:22px !important; min-height:46px !important; height:auto;
 max-width:100%; padding:12px 19px !important;
 border:1px solid transparent !important; border-radius:2px !important;
 background:#e5aabf !important; color:#262526 !important;
 font-family:var(--sans) !important; font-size:12px !important; font-weight:600 !important;
 line-height:1.5 !important; letter-spacing:normal !important; text-transform:none !important;
 text-decoration:none !important; text-shadow:none !important; box-shadow:none !important;
 cursor:pointer; transition:transform .25s ease,background .25s ease,color .25s ease !important;
}
body[class] .action-button:is(:hover,:focus-visible) {
 background:#ecc0d1 !important; color:#262526 !important; transform:translateY(-3px);
}
body[class] .action-button:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
body[class] .action-button :is(span,.arrow-icon) { color:inherit !important; }
body[class] .action-button .arrow-icon {
 flex:0 0 18px; width:18px; height:18px; stroke:currentColor; fill:none; transform:none;
}
body[class] .action-button::after { content:none !important; }
body[class] .action-button:disabled { cursor:wait; opacity:.65; transform:none; }
@media(prefers-reduced-motion:reduce) {
 body[class] .action-button { transition:none !important; }
 body[class] .action-button:is(:hover,:focus-visible) { transform:none; }
}

/* The navigation palette never changes with the page or section behind it. */
body.page-about .about-card-cue.action-button {
 display:flex !important;
 width:fit-content;
 margin:12px auto 36px;
}
body[class] :is(.side-nav,.side-nav.is-open,.site-header) {
 --nav-ink:#262526;
 --nav-accent:#e5aabf;
 --nav-bg:rgba(255,255,255,.48);
 --nav-border:rgba(38,37,38,.18);
 --nav-line:rgba(38,37,38,.18);
 background:var(--nav-bg);
 background-image:none;
 color:var(--nav-ink);
 border-color:var(--nav-border);
 opacity:1;
 -webkit-backdrop-filter:blur(20px) saturate(1.2);
 backdrop-filter:blur(20px) saturate(1.2);
 box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 8px 28px rgba(0,0,0,.12);
}

.nav-edge-hint {
 position:absolute; left:30px; top:var(--nav-edge-center,50%);
 width:80px; height:36px; margin-top:-18px;
 color:#fff; opacity:0; pointer-events:none;
 transition:opacity .2s ease;
}
.nav-edge-hint svg { display:block; width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.nav-edge-hint.is-visible { opacity:1; animation:nav-edge-point 1.5s ease-in-out infinite; }
.nav-edge-hint.is-visible.is-obstructed { opacity:0; }
body.nav-at-left:has(.side-nav:is(:hover,:focus-within)) .nav-edge-hint { opacity:0; }
@keyframes nav-edge-point { 0%,100% { transform:translateX(12px); } 50% { transform:translateX(0); } }
@media(prefers-reduced-motion:reduce) { .nav-edge-hint.is-visible { animation:none; } }

/* Shared budget enquiry section, matching the process page. */
body[class] .main-content:has(> .project-cta:last-child) { padding-bottom:0; }
body[class] .main-content > .project-cta {
 --cream:#262526; --muted:#575155; --line:rgba(38,37,38,.2);
 display:block; margin:0 auto; padding-block:clamp(56px,6vw,88px);
 background:#fff; color:#262526; text-align:center;
 border-top:0; border-bottom:0;
 box-shadow:0 0 0 100vmax #fff; clip-path:inset(0 -100vmax);
}
body[class] .project-cta h2 {
 margin:0 0 24px; color:#262526; font-family:var(--sans);
 font-size:clamp(30px,4vw,49px); font-weight:500; line-height:1.15; letter-spacing:-.045em;
}
body[class] .project-cta h2 em { color:inherit; font:inherit; }
.project-cta-actions { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:16px 20px; }
body[class] .project-cta-actions .action-button { margin:0; }
@media(max-width:560px) {
 .project-cta-actions { flex-direction:column; }
}

/* Keep the carousel motion control legible on the pink section. */
body[class] .idea-carousel .idea-carousel-controls .idea-motion-toggle {
 min-height:44px; padding:10px 18px;
 background:#262526; color:#fff;
 border:1px solid #262526; border-radius:99px;
 font-family:var(--sans); font-size:13px; font-weight:600; line-height:1.4;
 opacity:1; cursor:pointer;
}
body[class] .idea-carousel .idea-carousel-controls .idea-motion-toggle:hover { background:#403b3e; color:#fff; }
body[class] .idea-motion-toggle:focus-visible { outline:2px solid #262526; outline-offset:4px; }

@media(prefers-reduced-motion:no-preference) {
 body.page-home .workflow-step.reveal {
  transition:opacity 1.2s ease,transform 1.2s cubic-bezier(.2,.7,.2,1);
 }
}

/* Alternate the idea carousel and process film with readable brand colours. */
body.page-home .main-content > .idea-carousel {
 --section-pink:#fff; --cream:#262526; --muted:#575155;
 --line:rgba(38,37,38,.22); background:#fff; color:#262526;
}
body.page-home .idea-carousel-heading :is(h2,p,em),
body.page-home .idea-carousel-bottom { color:#262526; }
body.page-home .main-content > .home-workflow {
 --section-pink:#e5aabf; --cream:#262526; --muted:#493d43;
 --line:rgba(38,37,38,.3); background:#e5aabf; color:#262526;
}
body.page-home .home-workflow :is(h2,h3,p,em,figcaption,.workflow-film-heading,.workflow-step-number) { color:#262526; }
body.page-home .home-workflow .workflow-film {
 background:#fff; border-color:#fff;
}
body.page-home .home-workflow .workflow-step-number { border-color:rgba(38,37,38,.45); }
body.page-home .home-workflow .workflow-step::after { background:rgba(38,37,38,.35); }
body.page-home .home-workflow .workflow-record-dot { background:#262526; }

/* Home closes on the same soft black as the other dark surfaces. */
body.page-home .site-footer {
 --footer-ink:#fff; --cream:#fff; --muted:#fff;
 --pink:#fff; --pink-light:#fff; --section-pink:#262526;
 background:#262526; color:#fff; border-top-color:rgba(255,255,255,.2);
}
body.page-home .site-footer :is(a,p,span,small),
body.page-home .site-footer .footer-questionnaire,
body.page-home .site-footer a:is(:hover,:focus-visible,:active),
body.page-home .site-footer .footer-questionnaire:is(:hover,:focus-visible,:active) {
 color:#fff; opacity:1;
}
body.page-home .site-footer :is(.footer-logo,.social-links a,.language-switcher a) { border-color:rgba(255,255,255,.7); }
body.page-home .site-footer a:focus-visible { outline-color:#fff; }

/* Winking studio faces fill the outer edges without covering footer links. */
body[class] .site-footer { position:relative; }
.footer-mascot {
 position:absolute; top:auto; bottom:18px; width:clamp(52px,5vw,96px);
 transform:rotate(-9deg); pointer-events:none;
}
.footer-mascot--left { left:20%; }
.footer-mascot--right { right:20%; transform:rotate(9deg); }
.footer-mascot svg { display:block; width:100%; height:auto; overflow:visible; }
.footer-mascot--right .face-frame { animation-delay:-2.2s; }
@media(max-width:800px) {
 body[class] .site-footer:has(.footer-mascot) { padding-bottom:88px; }
 .footer-mascot { width:56px; top:auto; bottom:14px; transform:rotate(-9deg); }
 .footer-mascot--left { left:22%; }
 .footer-mascot--right { right:22%; transform:rotate(9deg); }
}

/* The faces have their own row below the links and language selector. */
body[class] .site-footer .footer-mascots {
 grid-column:1 / -1; grid-row:5;
 display:flex; justify-content:space-between; align-items:center;
 width:min(100%,600px); justify-self:center; margin:12px auto 0; padding:12px 16px;
}
body[class] .footer-mascots .footer-mascot {
 position:relative; inset:auto; flex-shrink:0;
 width:clamp(96px,10vw,160px);
}
@media(max-width:800px) {
 body[class] .site-footer:has(.footer-mascot) { padding-bottom:24px; }
 body[class] .site-footer .footer-mascots { width:min(100%,260px); }
}

/* Each face sits below its corresponding outer footer column. */
body[class] .site-footer .footer-mascots { display:contents; }
body[class] .site-footer .footer-brand { grid-row:1; }
body[class] .site-footer .footer-mascot--left {
 grid-column:1; grid-row:2; justify-self:start; margin:32px 0 0 28px;
}
body[class] .site-footer .footer-mascot--right {
 grid-column:3; grid-row:2; justify-self:end; margin:32px 28px 0 0;
}
@media(max-width:560px) {
 body[class] .site-footer .footer-mascot--left { margin-left:24px; }
 body[class] .site-footer .footer-mascot--right { grid-column:2; margin-right:20px; }
}

/* Compact mobile header and opening; desktop framing stays unchanged. */
@media(max-width:800px) {
 body[class] .site-header {
  inset:6px 12px auto; width:calc(100% - 24px);
  height:54px; min-height:54px; padding:5px 10px; border-radius:18px;
 }
 body[class] .site-header .menu-toggle { width:44px; height:44px; min-height:44px; }
 body[class] .site-header .header-cta { padding:7px 9px; font-size:10px; }
 body[class] .site-header::after { font-size:9px; letter-spacing:.08em; }
 body[class].page-home .main-content { padding-top:72px; }
 body[class].page-home .main-content > .brand-opening,
 body[class].page-home .brand-opening-scroll,
 body[class].page-home .brand-opening-stage {
  height:calc(78svh - 72px); min-height:calc(78svh - 72px); max-height:none;
 }
 body[class].page-home .studio-discover { bottom:22px; }
}
/* Pantalla de carga sin marco de dialogo ni fondo rectangular en la mascota. */
dialog.page-transition {
 position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none;
 margin:0; padding:0; border:0; outline:0; border-radius:0; box-shadow:none;
 background:#262526; overflow:hidden; opacity:1; transition:opacity .25s ease;
}
dialog.page-transition[open] { display:grid; place-items:center; }
dialog.page-transition::backdrop { background:#262526; }
dialog.page-transition.is-complete { opacity:0; pointer-events:none; }
.page-transition-mascot { position:relative; width:clamp(100px,18vw,170px); aspect-ratio:270 / 240; }
.page-transition-base, .page-transition-fill { position:absolute; inset:0; }
.page-transition-base { filter:grayscale(1); opacity:.35; }
.page-transition-fill { transition:clip-path .2s ease; }
.page-transition-mascot svg { display:block; width:100%; height:100%; }

/* El banner de diseno grafico queda visible desde la primera pantalla. */
body[class].page-home {
 --opening-ribbon-height:calc(clamp(68px,12vw,180px) * 1.1 + 48px);
 --opening-top-space:var(--menu-clearance);
}
body[class].page-home .main-content > .brand-opening,
body[class].page-home .brand-opening-scroll,
body[class].page-home .brand-opening-stage {
 height:calc(100svh - var(--opening-top-space) - var(--opening-ribbon-height) - 12px);
 min-height:0;
 max-height:none;
}
@media(max-width:800px) {
 body[class].page-home { --opening-top-space:72px; }
}
@media(max-width:560px) {
 body[class].page-home { --opening-ribbon-height:calc(clamp(68px,12vw,180px) * 1.1 + 40px); }
}

/* A solid mobile bar avoids backdrop blur artifacts while Safari scrolls. */
@media (max-width: 800px) {
 body[class] .site-header[class] {
  top: calc(max(12px, env(safe-area-inset-top, 0px)) + 8px);
  --nav-bg: #e4e2de;
  background: var(--nav-bg);
  box-shadow: none;
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
 }
}

.mobile-home-link { display: none; }
@media (max-width: 800px) {
 body[class] .site-header::after { content: none; }
 body[class] .site-header .mobile-home-link {
  display: flex; align-items: center; justify-content: center;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  min-height: 44px; padding: 0 4px; color: #262526; text-decoration: none;
  font-size: 9px; font-weight: 700; letter-spacing: .08em; white-space: nowrap;
 }
 .mobile-home-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
}

/* Brand light stays on the social buttons' outer rings. */
body .site-footer .social-links a {
 position:relative;
 --social-ring:#fff;
 --social-glow:rgba(255,255,255,.45);
}
body .site-footer .social-links a[href*="instagram.com"] {
 --social-ring:conic-gradient(from 210deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5,#feda75);
 --social-glow:rgba(214,41,118,.55);
}
body .site-footer .social-links a[href*="wa.me"] {
 --social-ring:#25d366;
 --social-glow:rgba(37,211,102,.55);
}
body .site-footer .social-links a[href*="linkedin.com"] {
 --social-ring:#0a66c2;
 --social-glow:rgba(10,102,194,.55);
}
body .site-footer .social-links a[href*="tiktok.com"] {
 --social-ring:conic-gradient(#25f4ee,#25f4ee,#fe2c55,#fe2c55,#25f4ee);
 --social-glow:rgba(37,244,238,.45);
}
body .site-footer .social-links a::after {
 content:"";
 position:absolute;
 inset:-1px;
 border-radius:inherit;
 padding:2px;
 background:var(--social-ring);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 -webkit-mask-composite:xor;
 mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 mask-composite:exclude;
 opacity:0;
 pointer-events:none;
 transition:opacity .2s ease;
}
body .site-footer .social-links a:is(:hover,:focus-visible) {
 border-color:transparent;
 color:var(--footer-ink);
 box-shadow:0 0 12px 2px var(--social-glow);
}
body .site-footer .social-links a:is(:hover,:focus-visible)::after { opacity:1; }
body .site-footer .social-links a { transition:border-color .2s ease,box-shadow .2s ease; }
@media (prefers-reduced-motion:reduce) {
 body .site-footer .social-links a,
 body .site-footer .social-links a::after { transition:none; }
}

/* Keep the mobile header hidden at rest after scrolling down. */
@media (max-width:800px) {
 body[class] .site-header[class] { transition:translate .25s ease, opacity .25s ease; }
 body[class]:not(.menu-open) .site-header.is-scroll-hidden {
  translate:0 calc(-100% - env(safe-area-inset-top, 0px) - 40px);
  opacity:0; pointer-events:none;
 }
}
@media (max-width:800px) and (prefers-reduced-motion:reduce) {
 body[class] .site-header[class] { transition:none; }
}
