/* AURÈ · identidad del Quest integrado (Travel Discovery en /descubre-tu-viaje/). Se publica como css/aure.css y se
   carga después de css/discovery.css. La paleta de esa hoja ya llega remapeada (scripts/build-quest.mjs); aquí van
   las tipografías del sitio, el wordmark, la salida «Volver a AURÈ» y los ajustes de ritmo y contraste que piden
   EB Garamond e Inter (más anchas y con más peso que las del prototipo). El prototipo no se modifica. */

/* EB Garamond 400 y su itálica en titulares; Inter 400/600 en interfaz. Mismos archivos que usa el sitio. */
@font-face { font-family: 'EB Garamond Variable'; src: url('../assets/fonts/eb-garamond-latin-wght-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'EB Garamond Variable'; src: url('../assets/fonts/eb-garamond-latin-wght-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Variable'; src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Variable'; src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--aure-ivory: #F7EFE4; --aure-sand: #E4D1B8; --aure-espresso: #382619; --aure-coffee: #765E49; --aure-bronze: #A27C55;
	font-synthesis-weight: none;
}
body { font-size: 1rem; line-height: 1.6; letter-spacing: 0; }

/* Rótulos en versalitas: Inter 600 con menos interletraje que el prototipo */
.eyebrow, .tag, .bar-btn, .bar-link, .cta, .btn, .ghost, .demo-tag, .progress-text, .extra-label, .field-wrap, .unit, .seg-label,
.station .when-n, .statement .n, .scroll-cue, .pick-demo-label, .budget-note span, .demo-images, .insp-badge, .insp-credit,
.sheet-steps, .sheet-answers summary, .bar-demo { font-weight: 600; }
.eyebrow { letter-spacing: .22em; }
.cta, .btn { letter-spacing: .16em; }
.ghost, .bar-btn, .bar-link { letter-spacing: .16em; }
.demo-tag, .demo-images, .pick-demo-label, .progress-text { letter-spacing: .16em; }
.pill, .chip { letter-spacing: .04em; }

/* Titulares: EB Garamond ocupa más que la tipografía del prototipo; se ajusta la escala para conservar el aire */
h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; }
.intro-copy h1 { font-size: clamp(3rem, 9vw, 7.6rem); line-height: 1.02; }
.head h2 { font-size: clamp(2.3rem, min(6vw, 8svh), 5.2rem); line-height: 1.04; }
.opt-row .t { font-size: clamp(1.65rem, min(3.2vw, 4.8svh), 2.6rem); }
.pill-lg { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
.station .t { font-size: clamp(1.35rem, 2.2vw, 1.95rem); }
.statement .t { font-size: clamp(1.6rem, 2.9vw, 2.35rem); }
.bar-opt { font-weight: 400; font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.count { font-weight: 400; }
.result-hero h1 { font-size: clamp(3rem, 8.8vw, 8rem); line-height: 1.02; }
.picks-head h2 { font-size: clamp(2.5rem, 6.4vw, 6rem); }
.pick h3 { font-weight: 400; font-size: clamp(3rem, 8vw, 8rem); line-height: 1.02; }
.pick-editorial { font-size: clamp(1.35rem, 2.4vw, 2.1rem); line-height: 1.18; }
.because { font-weight: 400; font-size: 1.2rem; }
.story h2 { font-size: clamp(2.7rem, 7vw, 6.2rem); line-height: 1.04; }
.insp-copy h2 { font-size: clamp(2.7rem, 6.6vw, 5.8rem); }
.sheet h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.hint, .lead, .pick-text, .story-lead, .insp-text, .picks-head p { font-weight: 400; }

/* Wordmark AURÈ: marfil sobre oscuro y espresso sobre claro (el prototipo ya alterna las dos imágenes según el fondo) */
.logo { height: 28px; width: auto; margin-left: 0; }
.bar-brand { min-height: 44px; gap: 1rem; }
.story-mark { width: 3.6rem; }

/* Salida a la portada del sitio */
.bar-home { white-space: nowrap; }

/* Foco visible: el bronce no alcanza 3:1 sobre arena ni sobre los tonos claros intermedios */
:focus-visible { outline-width: 2px; outline-offset: 4px; }
.layout-arch :focus-visible, .layout-horizon :focus-visible, .layout-mist :focus-visible, .pick-1 :focus-visible, .sheet :focus-visible,
body[data-tone='light'] .bar :focus-visible { outline-color: var(--ink); }
body[data-tone='dark'] .bar :focus-visible { outline-color: var(--paper); }
.field:focus { border-color: var(--fg); box-shadow: 0 2px 0 0 var(--fg); }

/* Texto sobre arena: espresso (el café no alcanza contraste de texto) */
.station .when-n { color: var(--ink); }

@media (max-width: 760px) {
	body { font-size: 1rem; }
	/* Cabecera: wordmark (≥ 120 px), salida a la portada e idioma abreviado, con objetivos táctiles de 44 px */
	.bar { column-gap: .5rem; padding: 0 .7rem 0 1.25rem; }
	.logo { height: 26px; }
	.bar-right { gap: 0; }
	.bar-btn, .bar-link { font-size: .58rem; letter-spacing: .12em; padding: 0 .5rem; }
	.bar-btn[data-lang-toggle] { min-width: 44px; justify-content: center; font-size: 0; }
	.bar-btn[data-lang-toggle]::after { content: attr(lang); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
	/* El aviso del entorno deja su sitio en la cabecera a la salida: cuelga bajo ella, a la derecha, donde no tapa
	   ni el contenido ni los botones (abajo chocaría con «Atrás / Continuar» en pantallas cortas). */
	.bar-demo { position: absolute; top: 100%; right: .7rem; padding: .24rem .5rem; border: 1px solid rgba(247, 239, 228, .35); border-top: 0; background: rgba(56, 38, 25, .92); color: var(--aure-ivory); font-size: .5rem; letter-spacing: .14em; opacity: 1; pointer-events: none; }
	body[data-view='intro'] .bar-demo { display: none; } /* la apertura ya muestra el mismo aviso bajo el botón */

	.intro-copy h1 { font-size: clamp(2.7rem, 12vw, 3.6rem); }
	.head h2 { font-size: clamp(1.95rem, 8.6vw, 2.65rem); }
	.layout-arch .head h2 { font-size: clamp(1.9rem, 8.2vw, 2.5rem); }
	.opt-row .t { font-size: 1.6rem; }
	.pill-lg { font-size: 1.42rem; }
	.result-hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.5rem); }
	.pick h3 { font-size: clamp(2.6rem, 13vw, 3.7rem); }
	.pick-editorial { font-size: 1.35rem; }
	.picks-head h2 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
	.story h2 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
	.insp-copy h2 { font-size: clamp(2.6rem, 13vw, 3.7rem); }
	.cta, .btn { letter-spacing: .12em; font-size: .68rem; }
	.scene .content > .actions .ghost { letter-spacing: .1em; }
	.eyebrow { letter-spacing: .18em; }
}
@media (max-width: 350px) {
	.bar { padding: 0 .45rem 0 1rem; column-gap: .3rem; }
	.logo { height: 25.5px; }
	.bar-btn, .bar-link { font-size: .54rem; letter-spacing: .08em; padding: 0 .4rem; }
}
