/* ==========================================================================
   NESSA ATELIER · estilos principales
   Paleta, tipografía y contraste según el Manual de identidad visual (ed. 01)
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }

:root {
	--marfil: #F7F3EE;
	--chocolate: #5A3B2E;
	--champan: #C7A87A;
	--lino: #E8D9C8;
	--topo: #9A8F7A;
	--chocolate-90: rgba(90, 59, 46, .9);
	--line: rgba(199, 168, 122, .55);

	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--accent: "Playfair Display", Georgia, serif;

	--container: 1320px;
	--gutter: clamp(20px, 4vw, 56px);
	--section: clamp(64px, 8vw, 128px);
	--header-h: 84px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--radius: 2px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--marfil);
	color: var(--chocolate);
	font-family: var(--sans);
	font-size: clamp(16px, .25vw + 15px, 18px);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--champan); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
::selection { background: var(--lino); color: var(--chocolate); }

:focus-visible { outline: 2px solid var(--chocolate); outline-offset: 3px; border-radius: 1px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--chocolate); color: var(--marfil); padding: 12px 18px; transform: translateY(-200%); transition: transform .2s; text-decoration: none; }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: calc(760px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-sm { padding-block: clamp(40px, 6vw, 80px); }

/* Rótulos y títulos */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
	color: var(--chocolate); margin: 0 0 18px; text-decoration: none;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--champan); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .eyebrow { flex-basis: 100%; margin-bottom: 0; }
.quiz-intro .section-head { margin-bottom: 24px; }
.section-title { font-size: clamp(36px, 4.2vw, 64px); margin: 0; max-width: 18ch; }

/* Botones (chocolate con texto marfil · 9,05:1) */
.btn, .button, button.button, input[type=submit], .wp-element-button, .wp-block-button__link {
	--b: var(--chocolate);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 14px 30px; border: 1px solid var(--b); border-radius: var(--radius);
	background: var(--b); color: var(--marfil);
	font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
	text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
	transition: color .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease);
}
.btn::after, .button::after, .wp-element-button::after {
	content: ""; position: absolute; inset: 0; z-index: -1; background: #3f281f;
	transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.btn:hover::after, .button:hover::after, .wp-element-button:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover, .button:hover { color: var(--marfil); }
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost, .btn--line { background: transparent; color: var(--chocolate); }
.btn--ghost::after, .btn--line::after { background: var(--chocolate); }
.btn--ghost:hover, .btn--line:hover { color: var(--marfil); }
.btn--line { min-height: 44px; padding: 10px 18px; font-size: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; background: linear-gradient(var(--champan), var(--champan)) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease-out); }
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--chocolate); }
.chip.is-active { background: var(--chocolate); border-color: var(--chocolate); color: var(--marfil); }
.chip-leaf { width: 14px; height: 14px; color: var(--champan); }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--chocolate); cursor: pointer; border-radius: 50%; text-decoration: none; transition: background .3s; }
.icon-btn:hover { background: var(--lino); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 10px; background: var(--chocolate); color: var(--marfil); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }
.badge[hidden] { display: none; }

/* Formularios */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], input[type=url], textarea, select, .input-text {
	width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--topo); border-radius: var(--radius);
	background: #fffdfa; color: var(--chocolate); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--chocolate); box-shadow: 0 0 0 3px rgba(199, 168, 122, .35); }
label { font-size: 14px; font-weight: 600; }
.search-form { display: flex; gap: 8px; max-width: 520px; }

/* --------------------------------------------------------------------------
   Barra de aviso, progreso y cabecera
   -------------------------------------------------------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 300; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--champan); transform-origin: left; transform: scaleX(var(--p, 0)); }

.notice-bar { background: var(--chocolate); color: var(--marfil); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.notice-track { position: relative; height: 38px; display: grid; }
.notice-item { grid-area: 1 / 1; margin: 0; display: grid; place-items: center; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.notice-item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.notice-item a { color: inherit; }

.site-header {
	position: sticky; top: 0; z-index: 200;
	background: rgba(247, 243, 238, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid transparent;
	transition: transform .5s var(--ease-out), border-color .3s, background .3s;
	view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--lino); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.is-scrolled .header-inner { height: 68px; }
.header-left, .header-right { display: flex; align-items: center; gap: 4px; }
.header-right { justify-content: flex-end; }
.brand { display: block; line-height: 0; }
.site-header img.brand-logo { max-width: none; }
.site-header img.brand-logo { width: auto; height: 46px; transition: height .4s var(--ease); }
.site-header img.brand-logo--firma { height: 70px; }
.site-header.is-scrolled img.brand-logo { height: 38px; }
.site-header.is-scrolled img.brand-logo--firma { height: 54px; }

.primary-nav .menu { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--champan); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.primary-nav li { position: relative; }
.primary-nav .sub-menu { position: absolute; top: 100%; left: -20px; min-width: 220px; list-style: none; margin: 0; padding: 14px 20px; background: var(--marfil); border: 1px solid var(--lino); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .3s var(--ease); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; text-transform: none; letter-spacing: 0; font-size: 15px; }
.menu-toggle { display: none; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; position: relative; height: 44px; padding: 0 6px 0 14px; text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.cart-link .badge { top: 2px; right: -6px; }
.cart-link.bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.15); } }

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.primary-nav, .hide-sm, .cart-label { display: none; }
	.menu-toggle { display: inline-grid; }
	.site-header img.brand-logo { height: 34px; }
	.site-header img.brand-logo--firma { height: 52px; }
	.site-header.is-scrolled .header-inner { height: 60px; }
	.site-header.is-scrolled img.brand-logo { height: 30px; }
}

/* --------------------------------------------------------------------------
   Paneles laterales (menú, cesta, filtros) y búsqueda
   -------------------------------------------------------------------------- */
[data-drawer][hidden] { display: none !important; }
.drawer, .search-panel { position: fixed; inset: 0; z-index: 500; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(58, 38, 30, .35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s var(--ease); }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(440px, 92vw); background: var(--marfil); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; transition: transform .55s var(--ease-out); box-shadow: 0 0 60px rgba(58, 38, 30, .15); }
.drawer--right .drawer-panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer-panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer-backdrop, .search-panel.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--lino); }
.drawer-title { font-size: 30px; margin: 0; }
.drawer-mono { mix-blend-mode: multiply; }
.mobile-nav { padding: 24px; flex: 1; }
.mobile-nav .menu { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-nav .menu a { display: block; padding: 10px 0; font-family: var(--serif); font-size: 30px; text-decoration: none; border-bottom: 1px solid var(--lino); }
.mobile-nav .sub-menu { list-style: none; padding-left: 16px; }
.mobile-nav .sub-menu a { font-size: 22px; }
.drawer-foot { padding: 24px; border-top: 1px solid var(--lino); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; font-size: 14px; }

.search-inner { position: absolute; inset: 0 0 auto; background: var(--marfil); padding: 28px 0 40px; max-height: 100vh; overflow-y: auto; transform: translateY(-100%); transition: transform .55s var(--ease-out); }
.search-panel.is-open .search-inner { transform: none; }
.search-form-big { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--chocolate); padding-bottom: 10px; }
.search-form-big input { border: 0; background: none; min-height: 64px; padding: 0; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); box-shadow: none; }
.search-form-big input:focus { box-shadow: none; }
.live-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; margin: 28px 0 0; }
.live-results:empty { display: none; }
.live-item { text-decoration: none; display: grid; gap: 8px; animation: rise .5s var(--ease-out) both; }
.live-item img { aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--lino); }
.live-item strong { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.15; }
.live-item span { font-size: 14px; }
.live-empty { grid-column: 1 / -1; }
.search-suggest { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-suggest .eyebrow { margin: 0 12px 0 0; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   Cursor personalizado (solo puntero fino)
   -------------------------------------------------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 900; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--champan); border-radius: 50%; pointer-events: none; opacity: 0; display: grid; place-items: center; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, opacity .3s, border-color .3s; }
.cursor.is-visible { opacity: 1; }
.cursor.is-link { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(199, 168, 122, .12); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--chocolate); border-color: var(--chocolate); }
.cursor-label { color: var(--marfil); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* --------------------------------------------------------------------------
   Animaciones de aparición (solo si JS lo activa y sin movimiento reducido)
   -------------------------------------------------------------------------- */
.fx-reveal [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.fx-reveal [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-out); }
.fx-reveal [data-reveal="clip"] img { transform: scale(1.1); transition: transform 1.1s var(--ease-out); }
.fx-reveal [data-reveal="card"] { transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); transition-delay: var(--d, 0ms); }
.fx-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.fx-reveal [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.fx-reveal [data-reveal="clip"].is-in img { transform: none; }

/* --------------------------------------------------------------------------
   Portada
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: relative; height: min(86vh, 980px); min-height: 520px; overflow: hidden; background: var(--lino); }
.hero-media picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; transform: scale(1.06); animation: heroIn 2.4s var(--ease-out) forwards; will-change: transform; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,38,30,0) 55%, rgba(58,38,30,.18)); pointer-events: none; }
@keyframes heroIn { from { transform: scale(1.16); filter: blur(6px); } to { transform: scale(1.04); filter: none; } }

.hero-panel { position: relative; margin-top: -120px; z-index: 2; }
.hero-panel-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero-copy { background: var(--marfil); padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px) 0 0; max-width: 820px; position: relative; }
.hero-copy::before { content: ""; position: absolute; top: 0; right: 100%; bottom: 0; width: 100vw; background: var(--marfil); }
.hero-title { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; margin: 0 0 20px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); animation: wordUp 1.2s var(--ease-out) forwards; animation-delay: calc(.5s + var(--i) * 90ms); }
@keyframes wordUp { to { transform: none; } }
.hero-text { max-width: 56ch; font-size: clamp(16px, 1.2vw, 19px); margin: 0; }
.hero-panel .btn { margin-bottom: 4px; }

.scroll-cue { position: absolute; top: calc(min(86vh, 980px) - 200px); right: var(--gutter); width: 1px; height: 64px; background: rgba(247,243,238,.45); overflow: hidden; z-index: 3; }
.scroll-cue span { position: absolute; inset: 0; background: var(--marfil); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Hojas de ginkgo */
.leaves { position: absolute; inset: 0 0 auto; height: min(86vh, 980px); pointer-events: none; z-index: 1; overflow: hidden; }
.leaf { position: absolute; top: -60px; width: 34px; color: var(--champan); opacity: 0; animation: fall linear infinite; filter: drop-shadow(0 6px 10px rgba(58,38,30,.15)); }
.leaf svg { width: 100%; height: auto; animation: sway ease-in-out infinite alternate; animation-duration: inherit; }
.leaf-1 { left: 8%;  animation-duration: 17s; animation-delay: 0s;  width: 30px; }
.leaf-2 { left: 22%; animation-duration: 22s; animation-delay: 5s;  width: 22px; }
.leaf-3 { left: 41%; animation-duration: 19s; animation-delay: 9s;  width: 38px; }
.leaf-4 { left: 58%; animation-duration: 24s; animation-delay: 2s;  width: 26px; }
.leaf-5 { left: 72%; animation-duration: 18s; animation-delay: 12s; width: 34px; }
.leaf-6 { left: 86%; animation-duration: 26s; animation-delay: 7s;  width: 20px; }
.leaf-7 { left: 94%; animation-duration: 21s; animation-delay: 15s; width: 28px; }
@keyframes fall {
	0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
	8% { opacity: .85; }
	85% { opacity: .75; }
	100% { opacity: 0; transform: translate3d(-120px, calc(min(86vh, 980px) + 80px), 0) rotate(260deg); }
}
@keyframes sway { from { transform: translateX(-24px) rotate(-18deg); } to { transform: translateX(24px) rotate(22deg); } }

/* Cinta */
.marquee { background: var(--lino); padding: 22px 0; overflow: hidden; border-block: 1px solid rgba(199,168,122,.4); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee-group span { font-family: var(--accent); font-style: italic; font-size: clamp(20px, 2vw, 28px); white-space: nowrap; }
.marquee-leaf { width: 22px; height: 22px; color: var(--champan); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Colecciones: carril horizontal */
.collections { overflow: hidden; }
.collections-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.collections-head .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.rail-nav { display: flex; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.rail-btn { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.rail-btn:hover { background: var(--chocolate); color: var(--marfil); border-color: var(--chocolate); }
.rail-btn[data-rail-prev] svg { transform: scaleX(-1); }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail-track { display: flex; gap: clamp(16px, 2vw, 32px); list-style: none; margin: 0; padding: 0; width: max-content; }
.collection-card { width: clamp(260px, 27vw, 410px); scroll-snap-align: start; }
.collection-card a { display: block; text-decoration: none; user-select: none; -webkit-user-drag: none; }
.collection-card:nth-child(even) { margin-top: clamp(24px, 5vw, 80px); }
.collection-media { margin: 0 0 20px; aspect-ratio: 4/5; overflow: hidden; background: var(--lino); }
.collection-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 1s; }
.collection-card a:hover .collection-media img { transform: scale(1.06); }
.collection-body { position: relative; padding-left: 52px; }
.collection-index { position: absolute; left: 0; top: 8px; font-family: var(--serif); font-size: 18px; color: var(--chocolate); }
.collection-index::after { content: ""; position: absolute; left: 26px; top: 50%; width: 16px; height: 1px; background: var(--champan); }
.collection-name { font-size: clamp(30px, 2.6vw, 42px); margin: 0 0 8px; }
.collection-body p { font-size: 15px; margin: 0 0 14px; max-width: 34ch; }
.rail-progress { margin-top: 48px; height: 1px; background: var(--lino); position: relative; }
.rail-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--chocolate); transform-origin: left; transition: transform .2s linear; }

/* Atelier */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.about-media { position: relative; margin: 0; aspect-ratio: 4/5; }
.about-frame { width: 100%; height: 100%; overflow: hidden; }
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-mono { z-index: 2; position: absolute; right: -50px; bottom: -40px; width: 130px; height: 130px; padding: 14px; background: var(--marfil); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.about-title { font-size: clamp(36px, 4vw, 62px); margin-bottom: 32px; }
.about-title .w { transition: opacity .3s; }
.fx-ink .about-title .w { opacity: .18; }
.fx-ink .about-title .w.on { opacity: 1; }
.about-text { font-size: clamp(16px, 1.15vw, 19px); max-width: 56ch; margin-bottom: 28px; }

/* Lupa de textura */
.detail { background: var(--lino); }
.detail-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.detail-copy p { max-width: 42ch; }
.detail-legend { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.detail-legend button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(199,168,122,.6); background: none; text-align: left; cursor: pointer; font-size: 15px; }
.detail-legend button span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--chocolate); font-size: 12px; font-weight: 600; transition: .3s; }
.detail-legend button:hover span, .detail-legend button.is-active span { background: var(--chocolate); color: var(--marfil); }
.loupe { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: none; touch-action: pan-y; background: var(--chocolate); }
.loupe > img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s; }
.loupe.is-active > img { filter: brightness(.82) saturate(.9); }
.loupe-lens { position: absolute; top: 0; left: 0; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; border: 1px solid var(--champan); box-shadow: 0 0 0 6px rgba(247,243,238,.35), 0 20px 50px rgba(0,0,0,.3); background-repeat: no-repeat; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out); z-index: 3; }
.loupe.is-active .loupe-lens { opacity: 1; transform: scale(1); }
.loupe-hint { position: absolute; left: 20px; bottom: 16px; margin: 0; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; background: var(--marfil); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: opacity .3s; z-index: 2; }
.loupe.is-active .loupe-hint { opacity: 0; }
.hotspot { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.hotspot-dot { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--marfil); color: var(--chocolate); font-size: 12px; font-weight: 700; }
.hotspot-dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--marfil); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.hotspot-label { position: absolute; left: 40px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; background: var(--marfil); padding: 6px 12px; font-size: 13px; opacity: 0; transition: .3s var(--ease-out); pointer-events: none; }
.hotspot.is-active .hotspot-label, .hotspot:hover .hotspot-label { opacity: 1; transform: translate(0, -50%); }
.loupe.is-active .hotspot { opacity: .35; }

/* Buscador de piezas */
.quiz-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.quiz-intro { position: relative; }
.quiz-leaf { width: 120px; color: var(--champan); opacity: .5; margin-top: 32px; animation: sway 6s ease-in-out infinite alternate; }
.quiz-card { position: relative; background: #fffdfa; border: 1px solid var(--lino); padding: clamp(28px, 4vw, 56px); min-height: 420px; box-shadow: 0 30px 80px -40px rgba(90,59,46,.35); }
.quiz-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lino); }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--chocolate); transition: width .6s var(--ease-out); }
.quiz-step { border: 0; margin: 0; padding: 0; animation: stepIn .6s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } }
.quiz-step legend { display: grid; gap: 10px; margin-bottom: 28px; padding: 0; }
.quiz-count { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.quiz-q { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.quiz-answers { display: grid; gap: 12px; }
.quiz-answer { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 20px 24px; border: 1px solid var(--line); background: var(--marfil); cursor: pointer; text-align: left; font-size: 17px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.quiz-answer svg { opacity: .4; transition: transform .4s var(--ease-out), opacity .3s; }
.quiz-answer:hover { border-color: var(--chocolate); transform: translateX(6px); }
.quiz-answer:hover svg { opacity: 1; transform: translateX(4px); }
.quiz-answer.is-picked { background: var(--chocolate); color: var(--marfil); border-color: var(--chocolate); }
.quiz-result { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; animation: stepIn .7s var(--ease-out); outline: none; }
.quiz-result img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.quiz-result h3 { font-size: clamp(38px, 4vw, 58px); margin: 6px 0 10px; }
.quiz-result .quiz-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 18px; }
.quiz-restart { border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; font-size: 14px; }

/* Ritual del pedido */
.ritual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); }
.ritual-stage { position: relative; }
.ritual-frame { position: sticky; top: calc(var(--header-h) + 40px); aspect-ratio: 4/5; overflow: hidden; background: var(--lino); }
.ritual-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease-out); }
.ritual-img.is-active { opacity: 1; transform: none; }
.ritual-img img { width: 100%; height: 100%; object-fit: cover; }
.ritual-seal { position: absolute; right: 24px; bottom: 24px; width: 92px; height: 92px; padding: 10px; border-radius: 50%; background: var(--marfil); z-index: 2; }
.ritual-steps { list-style: none; margin: 0; padding: 0; }
.ritual-step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .4; transition: opacity .6s var(--ease); }
.ritual-step.is-active { opacity: 1; }
.ritual-num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--champan); margin-bottom: 14px; }
.ritual-step h3 { font-size: clamp(32px, 3vw, 48px); }
.ritual-step p { max-width: 40ch; font-size: 18px; }
.ritual-img-mobile { display: none; }

/* Reborn */
.reborn { background: var(--lino); position: relative; overflow: hidden; }
.reborn-inner { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.reborn-media { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.reborn-media img { width: 100%; height: 100%; object-fit: cover; }
.reborn-seal { position: relative; width: 150px; height: 150px; margin-bottom: 28px; }
.reborn-ring { width: 100%; height: 100%; }
.reborn-ring text { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; fill: var(--chocolate); }
.reborn-leaf { position: absolute; inset: 32%; width: 36%; color: var(--champan); }
.reborn-copy .section-title { margin-bottom: 20px; }
.reborn-copy p { max-width: 46ch; margin-bottom: 30px; }

/* Opiniones */
.reviews { text-align: center; }
.reviews .section-head { justify-content: center; }
.reviews-slider { display: grid; max-width: 900px; margin: 0 auto; }
.review { grid-area: 1 / 1; margin: 0; }
.review blockquote { margin: 0 0 24px; font-family: var(--accent); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.35; }
.review figcaption { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

/* Diario */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.post-card-link { display: block; text-decoration: none; }
.post-card-media { margin: 0 0 18px; aspect-ratio: 4/3; overflow: hidden; background: var(--lino); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card-link:hover img { transform: scale(1.05); }
.post-card-meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.post-card-title { font-size: 30px; margin-bottom: 10px; }
.post-card-excerpt { font-size: 15px; }

/* Boletín */
.newsletter { background: var(--marfil); border-top: 1px solid var(--lino); }
.newsletter-inner { max-width: 720px; text-align: center; }
.newsletter-inner img { margin: 0 auto 20px; mix-blend-mode: multiply; }
.newsletter-inner .section-title { margin: 0 auto 14px; }

/* --------------------------------------------------------------------------
   Páginas interiores
   -------------------------------------------------------------------------- */
.page-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--champan); }
.page-title { font-size: clamp(44px, 5.5vw, 80px); margin: 0 auto; max-width: 16ch; }
.page-intro { max-width: 60ch; margin: 22px auto 0; font-size: 18px; }
.page-hero.has-image { padding-top: 0; }
.page-hero-media { height: min(60vh, 640px); overflow: hidden; margin-bottom: -90px; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image .page-hero-inner { position: relative; background: var(--marfil); max-width: 900px; padding-top: 48px; }

.entry-content { padding-bottom: var(--section); font-size: 18px; }
.entry-content > * { margin-block: 0 1.2em; }
.entry-content h2 { font-size: clamp(32px, 3vw, 46px); margin-top: 1.6em; }
.entry-content h3 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 1.4em; }
.entry-content blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 1px solid var(--champan); font-family: var(--accent); font-style: italic; font-size: 24px; line-height: 1.4; }
.entry-content img { height: auto; }
.entry-content .alignwide { width: min(1100px, 92vw); max-width: none; margin-inline: calc(50% - min(550px, 46vw)); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.entry-content figcaption { font-size: 14px; text-align: center; margin-top: 8px; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.home-content { padding-top: var(--section); }

.post-nav { padding-bottom: var(--section); }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--lino); padding-top: 32px; }
.post-nav a { display: grid; gap: 6px; text-decoration: none; font-family: var(--serif); font-size: 24px; }
.post-nav .nav-next { text-align: right; }
.post-nav .nav-next .eyebrow { justify-content: flex-end; }

.pagination, .woocommerce-pagination { margin-top: 64px; }
.nav-links, .woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; border: 0 !important; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.page-numbers.current { background: var(--chocolate); color: var(--marfil); border-color: var(--chocolate); }

.empty-state, .not-found { text-align: center; padding-block: var(--section); display: grid; justify-items: center; gap: 12px; }
.not-found img { mix-blend-mode: multiply; margin-bottom: 12px; }
.not-found .search-form { margin: 20px 0; width: 100%; }

/* Comentarios */
.comments-area { padding-bottom: var(--section); }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 24px 0; border-bottom: 1px solid var(--lino); }

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */
.site-footer { background: var(--lino); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.site-footer .footer-logo img { width: 200px; height: auto; mix-blend-mode: multiply; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; font-size: 15px; }
.footer-title { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin: 8px 0 20px; }
.footer-menu { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-menu a { text-decoration: none; background: linear-gradient(var(--chocolate), var(--chocolate)) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.footer-menu a:hover { background-size: 100% 1px; }
.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, color .3s; }
.social a:hover { background: var(--chocolate); color: var(--marfil); }
.footer-claim { margin-top: clamp(48px, 7vw, 100px); overflow: hidden; line-height: 1.05; }
.footer-claim-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.footer-claim span { display: inline-flex; align-items: center; gap: .4em; padding-right: .4em; white-space: nowrap; font-family: var(--accent); font-style: italic; font-size: clamp(48px, 8.4vw, 150px); color: var(--champan); opacity: .75; }
.footer-claim span svg { width: .42em; height: .42em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 28px; margin-top: 24px; border-top: 1px solid rgba(199,168,122,.5); font-size: 13px; }
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.about-grid, .detail-grid, .quiz-grid, .reborn-inner { grid-template-columns: 1fr; }
	.about-mono { right: 16px; bottom: -40px; width: 100px; height: 100px; }
	.ritual-grid { grid-template-columns: 1fr; }
	.ritual-stage { display: none; }
	.ritual-step { min-height: 0; padding: 32px 0; opacity: 1; }
	.ritual-img-mobile { display: block; margin-top: 18px; aspect-ratio: 4/3; overflow: hidden; }
	.ritual-img-mobile img { width: 100%; height: 100%; object-fit: cover; }
	.hero-panel { margin-top: -60px; }
	.hero-panel-inner { flex-direction: column; align-items: stretch; }
	.hero-copy { padding-right: 20px; }
	.hero-panel .btn { align-self: flex-start; }
	.hero-media { height: 72vh; min-height: 440px; }
	.scroll-cue { display: none; }
	.quiz-result { grid-template-columns: 1fr; }
	.quiz-result img { max-width: 220px; }
	.rail-nav { display: none; }
	.loupe { aspect-ratio: 1; }
}
@media (max-width: 600px) {
	.posts-grid, .footer-grid { grid-template-columns: 1fr; }
	.collection-card:nth-child(even) { margin-top: 0; }
	.collection-card { width: 78vw; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
}

/* Movimiento reducido: sin animaciones decorativas */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.leaves, .scroll-cue { display: none; }
	.hero-title .w > span { transform: none; }
	.marquee-track { animation: none; flex-wrap: wrap; }
}

/* Transiciones entre páginas (se activan desde Contenido del tema › Experiencia) */
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

@media (max-width: 600px) {
	.notice-bar { font-size: 11px; letter-spacing: .08em; }
	.notice-track { height: auto; min-height: 38px; }
	.notice-item { padding: 8px 0; }
}

/* --------------------------------------------------------------------------
   Bienvenida: burbuja y ventana con el buscador de piezas
   -------------------------------------------------------------------------- */
.welcome-teaser {
	position: fixed; left: 24px; bottom: 24px; z-index: 140;
	display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px;
	border: 1px solid var(--line); border-radius: 100px; background: var(--marfil); color: var(--chocolate);
	font-family: var(--serif); font-size: 21px; font-style: italic; cursor: pointer;
	box-shadow: 0 20px 50px -20px rgba(90,59,46,.45);
	opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .3s;
}
.welcome-teaser.is-visible { opacity: 1; transform: none; }
.welcome-teaser:hover { box-shadow: 0 24px 60px -18px rgba(90,59,46,.55); }
.welcome-teaser-leaf { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--chocolate); color: var(--champan); }
.welcome-teaser-leaf svg { width: 24px; animation: sway 3.6s ease-in-out infinite alternate; }
.welcome-teaser-close { position: fixed; left: 20px; bottom: 76px; z-index: 141; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--marfil); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .5s .3s; }
.welcome-teaser-close.is-visible { opacity: 1; }
.welcome-teaser[hidden], .welcome-teaser-close[hidden] { display: none; }
body:has(.sticky-buy.is-visible) .welcome-teaser { bottom: 96px; }
body:has(.sticky-buy.is-visible) .welcome-teaser-close { bottom: 148px; }

.welcome { position: fixed; inset: 0; z-index: 520; display: grid; place-items: center; padding: 20px; }
.welcome.is-open .drawer-backdrop { opacity: 1; }
.welcome-dialog {
	position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; overscroll-behavior: contain;
	display: grid; grid-template-columns: 1fr; background: var(--marfil);
	box-shadow: 0 40px 100px -30px rgba(40,25,18,.6);
	opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.welcome.is-open .welcome-dialog { opacity: 1; transform: none; }
.welcome-dialog.has-image { grid-template-columns: 5fr 7fr; }
.welcome-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--marfil); }
.welcome-media { position: relative; margin: 0; min-height: 100%; background: var(--lino); }
.welcome-media > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.welcome-mono { position: absolute; left: 50%; bottom: 24px; width: 80px; height: 80px; margin-left: -40px; padding: 8px; border-radius: 50%; background: var(--marfil); }
.welcome-body { padding: clamp(28px, 4vw, 52px); }
.welcome-title { font-size: clamp(32px, 3.2vw, 46px); margin: 0 0 10px; padding-right: 30px; }
.welcome-text { margin-bottom: 22px; }
.welcome .quiz-card { min-height: 0; padding: 26px; box-shadow: none; }
.welcome .quiz-q { font-size: clamp(24px, 2.2vw, 32px); }
.welcome .quiz-answer { padding: 15px 18px; font-size: 16px; }
.welcome .quiz-result { grid-template-columns: 120px 1fr; gap: 20px; }
.welcome .quiz-result h3 { font-size: 38px; }
.welcome-news { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); animation: rise .6s var(--ease-out); }
.welcome-news-title { font-family: var(--serif); font-size: 26px; margin: 0 0 4px; }

@media (max-width: 760px) {
	.welcome { align-items: end; padding: 0; }
	.welcome-dialog, .welcome-dialog.has-image { grid-template-columns: 1fr; max-height: 92vh; border-radius: 18px 18px 0 0; transform: translateY(100%); }
	.welcome.is-open .welcome-dialog { transform: none; }
	.welcome-media { display: none; }
	.welcome-teaser { left: 14px; bottom: 14px; font-size: 18px; padding-right: 18px; }
	.welcome-teaser-close { left: 10px; bottom: 62px; }
	.welcome .quiz-result { grid-template-columns: 90px 1fr; }
}
