/* Work: portada inmersiva, índice de proyectos y pieza destacada. */
.studio-work { background: #fff; color: #171717; }
.studio-work .studio-header { transition: transform 350ms ease; }
.studio-work .studio-header:not(.is-scrolled):not(.is-menu-open) { background: transparent; color: #fff; box-shadow: none; }
.studio-work .studio-header .brand { color: var(--studio-blue); }
.studio-work .studio-header:not(.is-scrolled):not(.is-menu-open) .studio-navigation,
.studio-work .studio-header:not(.is-scrolled):not(.is-menu-open) .menu-toggle { color: #fff; }
.studio-work .studio-header .brand__logo { filter: none; }
.studio-work .studio-navigation .current-menu-item > a { font-weight: 600; }
.studio-work .studio-header.is-scrolled:not(.is-sticky-visible):not(.is-menu-open) { visibility: hidden; opacity: 0; pointer-events: none; transition: none; }
.studio-work .studio-header.is-scrolled:not(.is-menu-open) .studio-navigation { transition: none; }
.work-page { flex: 1; min-width: 0; isolation: isolate; }
.work-content { position: relative; z-index: 1; display: flow-root; padding-bottom: clamp(100px, 10vw, 240px); background: #fff; }
.work-hero { position: sticky; top: 0; z-index: 0; isolation: isolate; height: 100vh; height: 100svh; overflow: hidden; background: #6b6559; color: #fff; }
.work-hero::after { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(180deg, #0002, #00000008 35%, #00000008 75%, #0002); }
.work-hero__content { position: relative; z-index: 2; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: 36px; height: 100%; padding: calc(var(--studio-header-height) + 25px) var(--studio-gutter) clamp(30px, 3.2vw, 80px); }
.work-services { width: min(100%, 1100px); margin: 0; padding: 0; list-style: none; text-align: center; font-size: clamp(17px, 1.4vw, 29px); line-height: 1.45; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; text-shadow: 0 1px 16px #0003; }
.work-services a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
.work-services a:hover, .work-services a:focus-visible { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; }
.work-content { scroll-margin-top: calc(var(--studio-header-height) + 20px); }
.work-content:focus { outline: none; }
.work-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; margin: 0; padding: clamp(40px, 4vw, 80px) clamp(22px, 2.15vw, 56px) 20px; color: var(--studio-blue); }
.work-filters fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.work-filters legend { padding: 0; font-size: 14px; }
.work-filters__hint { margin: 8px 0 20px; font-size: 12px; }
.work-filters__options { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.work-filters__options label { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; font-size: 13px; }
.work-filters__options input { width: 15px; height: 15px; margin: 0; accent-color: var(--studio-blue); }
.work-filters button { padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--studio-blue); font-size: 12px; }
.work-filters button:disabled { opacity: .45; cursor: default; }
.work-filters.is-enhanced .work-filters__apply { display: none; }
.work-results-status, .work-results-empty { margin: 0; padding: 10px clamp(22px, 2.15vw, 56px); color: var(--studio-blue); font-size: 12px; }
.work-results-empty { padding-block: 60px; font-size: 16px; }
.work-content [hidden] { display: none !important; }
.work-results-status ~ .work-projects { padding-top: 30px; }
.work-session { display: flex; align-items: center; justify-content: center; width: clamp(280px, 28vw, 650px); max-width: 100%; min-height: clamp(56px, 4.2vw, 100px); padding: 14px 24px; border: 1px solid #ffffffa6; background: #ffffff26; color: #fff; -webkit-backdrop-filter: blur(18px) saturate(115%); backdrop-filter: blur(18px) saturate(115%); box-shadow: inset 0 0 0 1px #ffffff12; text-align: center; text-decoration: none; font-size: clamp(16px, 1.175vw, 23px); line-height: 1.3; transition: background 250ms ease, border-color 250ms ease; }
.work-hero .work-session { position: relative; top: clamp(-44px, -4vh, -28px); }
.work-session:hover { background: #ffffff40; border-color: #fff; color: #fff; }
.work-session:focus-visible { outline-color: #fff; }
.work-hero__setup { position: absolute; z-index: 3; top: calc(var(--studio-header-height) + 24px); left: var(--studio-gutter); right: var(--studio-gutter); color: #fff; font-size: 13px; text-align: center; }
.work-projects { padding: clamp(70px, 7vw, 170px) clamp(22px, 2.15vw, 56px) clamp(70px, 4vw, 100px); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 2.5vw, 65px) clamp(18px, 1.15vw, 32px); }
.work-card { min-width: 0; }
.work-card__link { display: block; color: inherit; text-decoration: none; }
.work-card__link:hover { color: inherit; }
.work-card__image { aspect-ratio: 1; overflow: hidden; background: #e7e7e3; }
.work-card__image img, .work-featured__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 850ms cubic-bezier(0.2, 0.65, 0.25, 1); }
.work-card__caption { padding: 22px 4px 0; }
.work-card__caption h2 { margin: 0; font-size: clamp(16px, 1.25vw, 24px); line-height: 1.25; letter-spacing: 0.16em; font-weight: 400; text-transform: uppercase; }
.work-card__caption p { margin: 5px 0 0; color: #777; font-size: clamp(14px, 1.05vw, 20px); line-height: 1.4; }
.work-featured { margin-top: clamp(20px, 1.5vw, 40px); }
.work-featured__image { aspect-ratio: 16 / 7; overflow: hidden; background: #e7e7e3; }
.work-featured .work-card__caption { padding: 28px var(--studio-gutter) 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .work-card__link:hover img { transform: scale(1.025); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .work-session { background: #30303099; }
}
@media (min-width: 1000px) {
  .studio-work .studio-header .studio-navigation .menu { gap: clamp(30px, 4.2vw, 90px); }
  .studio-work .studio-header .studio-navigation a { font-size: clamp(14px, 1.05vw, 21px); }
}
@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .work-hero__content { gap: 24px; padding-top: calc(var(--studio-header-height) + 30px); padding-bottom: 30px; }
  .work-services { font-size: clamp(15px, 3.8vw, 18px); line-height: 1.45; }
  .work-session { width: 100%; max-width: 380px; min-height: 58px; font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-card__caption { padding-top: 18px; }
  .work-featured__image { aspect-ratio: 4 / 5; }
  .work-content { padding-bottom: 120px; }
}
@media (max-height: 500px) {
  .work-hero__content { gap: 14px; padding-top: calc(var(--studio-header-height) + 10px); padding-bottom: 16px; }
  .work-services { font-size: 14px; line-height: 1.3; }
  .work-session { min-height: 44px; padding: 8px 16px; font-size: 15px; }
}
