/* Ajustes de inicio, idiomas, experiencias y recursos técnicos. */
/* Fila de fotografías visible cuando la galería está cerrada. */
.gallery-fold[open]+.gallery-preview{display:none}
.gallery-preview{padding-top:24px}
.preview-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.preview-top p{margin:0;color:var(--green);font-size:.875rem}
.preview-controls{display:flex;gap:8px}
.preview-controls button{width:40px;height:40px;border:1px solid #153f3555;background:transparent;color:var(--green);border-radius:50%;font-size:1.2rem;cursor:pointer}
.preview-controls button:hover:not(:disabled){background:var(--lime)}
.preview-controls button:disabled{opacity:.3;cursor:default}
.photo-strip{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#153f3555 transparent;padding:6px 4px 16px}
.preview-thumb{display:block;flex:0 0 23%;min-width:0;scroll-snap-align:start;border-radius:3px;overflow:hidden}
.preview-thumb img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .25s}
.preview-thumb:hover img{transform:scale(1.035)}
.photo-strip:focus-visible,.preview-thumb:focus-visible{outline:2px solid var(--green);outline-offset:2px}
@media(max-width:950px) and (min-width:801px){.header.editorial-header{gap:20px}.editorial-header nav{gap:20px}}
@media(max-width:680px){.preview-thumb{flex-basis:44%}.photo-strip{gap:12px}.editorial-header nav{gap:22px}}
@media(prefers-reduced-motion:reduce){.preview-thumb img{transition:none}}
/* Ajustes de inicio, idiomas, experiencias y recursos técnicos. */
.header{background:#153f35;color:#fff;border-bottom:1px solid #ffffff30}
.header .portfolio-label,.header .wordmark strong{color:#fff}
.header .nav-contact{background:var(--lime);color:#153f35;font-weight:700}
.header .nav-contact:hover{background:#dafb8c}
.header a:focus-visible,.header select:focus-visible{outline:3px solid var(--lime);outline-offset:4px}
.hero-bottom p{font-size:clamp(1.1rem,1.5vw,1.3rem);line-height:1.55;max-width:760px}
.hero-bottom p strong{font-weight:700}
.hero-support{display:block;margin-top:12px;font-size:1.05rem}
.principles span,.principles span:first-child{font-weight:300;color:var(--ink);transition:color .2s}
.principles span:hover{color:var(--rust)}
.career-fold{padding:0;border-top:1px solid #153f3555;border-bottom:1px solid #153f3555}
.career-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 0;list-style:none}
.career-fold>summary h3{font-size:clamp(1.4rem,2.5vw,2rem);line-height:1.2}
.career-content{padding:0 0 20px}
.career-content .career-item:last-child{border-bottom:0}
.language-picker{display:flex;align-items:center;gap:8px;font-size:.875rem}
.language-picker label{font-size:.75rem}
.language-picker select{font:inherit;color:#fff;background:#153f35;border:1px solid #ffffff80;border-radius:4px;padding:8px;max-width:100px;cursor:pointer}
.language-picker option{background:#153f35;color:#fff}
.language-picker option:disabled{color:#bac6c0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.technical{scroll-margin-top:125px}
@media(max-width:1150px){.header{gap:16px}.header nav{gap:14px}.language-picker label{display:none}}
@media(max-width:800px){.header nav{order:4}.header .wordmark{margin-left:0;margin-right:auto}.language-picker{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.principles span{transition:none}}

/* Cabecera editorial: arena translúcida sobre el contenido al desplazarse. */
.header.editorial-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:36px;padding:26px 5%;background:rgba(233,224,207,.82);color:var(--green);border-bottom:1px solid rgba(21,63,53,.18);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:0}
.editorial-header .wordmark{display:flex;flex-direction:column;gap:9px;margin:0 auto 0 0;flex-shrink:0}
.editorial-header .wordmark strong{color:var(--green);font-size:1.25rem;font-weight:650;letter-spacing:-.035em;white-space:nowrap;line-height:1.1}
.editorial-header .wordmark .portfolio-label{display:block;color:var(--green);font-size:.625rem;letter-spacing:.2em;font-weight:400;line-height:1.2}
.editorial-header nav{order:0;display:flex;flex-basis:auto;flex-wrap:nowrap;max-width:none;gap:32px;font-size:.875rem;font-weight:400}
.editorial-header nav a{display:inline-flex;align-items:center;gap:8px;padding:7px 0;border:0;border-radius:0;background:transparent;color:var(--green);white-space:nowrap}
.editorial-header nav a:hover{text-decoration:none;box-shadow:inset 0 -3px var(--lime)}
.editorial-header .wordmark:hover{text-decoration:none}
.editorial-header .editorial-contact span{font-size:1rem}
.language-links{display:flex;align-items:center;gap:8px;font-size:.75rem;white-space:nowrap}
.language-links [aria-current]{font-weight:700}
.language-links [aria-disabled]{color:#687266;cursor:default}
.language-links>span[aria-hidden]{color:#7d8375}
.editorial-header a:focus-visible{outline:2px solid var(--green);outline-offset:5px}
@supports not ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){.header.editorial-header{background:#e9e0cf}}
@media(max-width:800px){.header.editorial-header{flex-wrap:wrap;gap:18px 24px;padding:20px 6%}.editorial-header .wordmark{margin-right:auto}.editorial-header nav{order:3;flex-basis:100%;justify-content:flex-start;gap:28px}.language-links{margin-left:auto}}
@media(max-width:370px){.header.editorial-header{gap:16px 12px}.editorial-header .wordmark strong{font-size:1.1rem}.language-links{gap:5px;font-size:.7rem}}

/* Navegación real entre las cuatro versiones; recursos compartidos. */
.editorial-header nav.language-links{order:0;flex-basis:auto;flex-shrink:0;flex-wrap:nowrap;gap:7px;font-size:.75rem;justify-content:flex-start}
.editorial-header .language-links a{font-size:inherit;font-weight:400;color:#526454;padding:8px 0}
.editorial-header .language-links a[aria-current="page"]{font-weight:750;color:var(--green);box-shadow:inset 0 -2px var(--green)}
.editorial-header .language-links a:hover{color:var(--green);box-shadow:inset 0 -3px var(--lime)}
html[lang="fr"] .hero h1{font-size:clamp(2.5rem,6vw,5.8rem)}
@media(max-width:800px){.editorial-header nav.language-links{order:0;flex-basis:auto;margin-left:auto;gap:7px}}
@media(max-width:680px){html[lang="fr"] .hero h1{font-size:clamp(2.1rem,8.8vw,3.4rem)}}
