
/* === PIEZAS RESPONSIVE === */
@media (max-width: 1180px) {
  .pieces-home__intro,
  .pieces-home__feature,
  .pieces-catalog__intro,
  .piece-story,
  .piece-story--reverse,
  .pieces-hero {
    grid-template-columns:1fr;
  }
  .pieces-home__copy,
  .pieces-catalog__intro>p:last-child {
    justify-self:start;
    max-width:650px;
  }
  .pieces-home__feature-note {
    max-width:560px;
  }
  .pieces-home__gallery {
    grid-template-columns:1fr 1fr;
  }
  .pieces-home__card--tall {
    grid-row:span 2;
  }
  .pieces-hero {
    min-height:auto;
    gap:48px;
    padding-top:140px;
  }
  .pieces-hero__media {
    height:min(78vw,700px);
  }
  .piece-story--reverse .piece-story__media,
  .piece-story--reverse .piece-story__copy {
    grid-column:auto;
    grid-row:auto;
  }
  .piece-story__media,
  .piece-story__media>img,
  .piece-story__media>video,
  .piece-story__media--pair>img {
    min-height:520px;
  }
  .piece-story__copy {
    max-width:650px;
  }
  .piece-activation__grid {
    grid-template-columns:1fr 1fr;
  }
  .piece-activation__grid article:nth-child(2) {
    border-right:0;
  }
  .piece-activation__grid article:nth-child(n+3) {
    border-top:1px solid rgba(23,28,29,.18);
  }
}

@media (max-width: 680px) {
  .pieces-home__intro {
    gap:30px;
  }
  .pieces-home__feature {
    margin-top:52px;
    gap:20px;
  }
  .pieces-home__feature-media {
    aspect-ratio:4/5;
  }
  .pieces-home__gallery {
    grid-template-columns:1fr;
    gap:34px;
  }
  .pieces-home__card--tall {
    grid-row:auto;
  }
  .pieces-home__card img,
  .pieces-home__card--tall img {
    aspect-ratio:4/5;
  }
  .pieces-home__end {
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }
  .pieces-hero {
    padding-top:120px;
  }
  .pieces-hero__copy h1 {
    font-size:clamp(48px,15vw,72px);
  }
  .pieces-hero__media {
    height:118vw;
    max-height:680px;
  }
  .pieces-catalog__intro {
    margin-bottom:72px;
    gap:28px;
  }
  .piece-story,
  .piece-story--reverse {
    gap:28px;
    margin-bottom:84px;
  }
  .piece-story__media,
  .piece-story__media>img,
  .piece-story__media>video {
    min-height:0;
    aspect-ratio:4/5;
  }
  .piece-story__media--pair {
    grid-template-columns:1fr 1fr;
    min-height:0;
  }
  .piece-story__media--pair>img {
    min-height:0;
    aspect-ratio:3/5;
  }
  .piece-story__copy h3 {
    font-size:38px;
  }
  .piece-activation__heading {
    grid-template-columns:1fr;
    gap:24px;
    margin-bottom:48px;
  }
  .piece-activation__heading .section-label {
    grid-column:auto;
  }
  .piece-activation__grid {
    grid-template-columns:1fr;
  }
  .piece-activation__grid article,
  .piece-activation__grid article+article {
    padding:24px 0;
    border-right:0;
    border-top:1px solid rgba(23,28,29,.18);
  }
  .piece-activation__grid article:first-child {
    border-top:0;
  }
}


/* === HOME PIEZAS · 4 IMÁGENES === */
@media (max-width:1180px){
  .pieces-home__gallery--four{
    grid-template-columns:1fr 1fr;
  }
  .pieces-home__stack{
    gap:22px;
  }
}
@media (max-width:680px){
  .pieces-home__gallery--four{
    grid-template-columns:1fr;
  }
  .pieces-home__stack{
    display:grid;
    gap:34px;
  }
  .pieces-home__gallery--four > .pieces-home__card--tall img,
  .pieces-home__stack .pieces-home__card img{
    aspect-ratio:4/5;
  }
}

/* PIEZAS · ADQUISICIÓN RESPONSIVE */
@media (max-width:1180px){
  .pieces-acquire__intro{grid-template-columns:1fr;gap:28px}
  .pieces-acquire__intro .section-label{grid-column:auto}
  .pieces-acquire__intro>p:last-child{justify-self:start;max-width:650px}
  .pieces-acquire__paths{grid-template-columns:1fr}
  .pieces-acquire__path,.pieces-acquire__path+.pieces-acquire__path{padding:28px 0;border-right:0;border-top:1px solid rgba(238,237,232,.13)}
  .pieces-acquire__path:first-child{border-top:0}
  .pieces-acquire__path>span{margin-bottom:18px}
}

/* LEGALES */
@media (max-width:760px){
  .legal-content section{grid-template-columns:1fr;gap:20px;padding:32px 0}
  .legal-content p,.legal-content dl{grid-column:1}
  .legal-data>div{grid-template-columns:1fr;gap:6px}
}


/* =========================================================
   RESPONSIVE GLOBAL · 53 DESIGN LAB
   Corrige navegación, grids y tipografía en tablet/móvil.
   ========================================================= */

@media (max-width: 1180px) {
  :root {
    --gutter: clamp(24px, 5vw, 48px);
    --header-height: 88px;
  }

  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .section-space {
    padding-block: 88px;
  }

  h1 {
    font-size: clamp(52px, 8.5vw, 78px);
  }

  h2 {
    font-size: clamp(38px, 6vw, 58px);
  }

  /* HOME · proceso */
  .process-route {
    gap: 72px;
  }

  .process-route::before,
  .process-axis {
    display: none;
  }

  .process-row,
  .process-row--media-right,
  .process-row--media-left {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 30px;
  }

  .process-copy,
  .process-row--media-right .process-copy,
  .process-row--media-left .process-copy {
    order: 1;
    width: 100%;
    max-width: 650px;
    padding: 0;
    align-self: flex-start;
  }

  .process-media,
  .process-row--media-right .process-media,
  .process-row--media-left .process-media {
    order: 2;
    width: min(100%, 620px);
    max-width: 620px;
    align-self: flex-start;
  }

  /* HOME · aplicaciones */
  .application-grid {
    grid-template-columns: 1fr;
  }

  .application-grid::before {
    display: none;
  }

  .application,
  .application + .application {
    min-height: auto;
    padding: 42px 0;
    border-top: 1px solid rgba(238,237,232,.12);
  }

  .application:first-child {
    border-top: 0;
  }

  /* HOME · Shin-Sabi */
  .shin-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
  }

  .shin-intro h2 {
    font-size: clamp(54px, 10vw, 82px);
    line-height: .92;
    letter-spacing: -.02em;
  }

  .shin-definition {
    max-width: 650px;
    padding-bottom: 0;
  }

  .shin-media {
    margin-top: 56px;
    aspect-ratio: 16/9;
  }

  .shin-notes {
    gap: 48px;
  }

  /* HOME · sobre */
  .about-head-grid,
  .about-editorial {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-head {
    margin-bottom: 54px;
  }

  .about h2 {
    max-width: 100%;
    font-size: clamp(48px, 8vw, 70px);
  }

  .about-byline {
    margin: 0;
  }

  .about-media {
    max-width: 620px;
  }

  .about-copy {
    max-width: 650px;
    padding-top: 0;
  }

  /* HOME · contacto */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-intro,
  .contact-intro p,
  .contact-form {
    max-width: 100%;
  }

  .contact-form {
    justify-self: stretch;
  }

  .contact h2 {
    white-space: normal;
  }

  /* FOOTER */
  .footer-main {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 24px 36px;
  }

  /* WELLNESS */
  .wellness-hero__content {
    width: min(620px, 100%);
    margin-left: 0;
    margin-right: 0;
    padding-inline: var(--gutter);
  }

  .wellness-anchor__grid,
  .wellness-partnerships__intro {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .wellness-route {
    min-height: auto;
    padding-bottom: 0;
  }

  .wellness-route__header h2 {
    width: min(760px, 100%);
  }

  .wellness-route__steps {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 56px;
    grid-template-columns: 1fr 1fr;
  }

  .wellness-step,
  .wellness-step:hover,
  .wellness-step:focus-visible,
  .wellness-step.is-active {
    min-height: 300px;
    padding: 30px 24px 34px;
  }

  .wellness-options {
    grid-template-columns: 1fr;
  }

  .wellness-option,
  .wellness-option:last-child {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(238,237,232,.17);
  }

  .wellness-option:first-child {
    border-top: 0;
  }

  .wellness-dossier {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  /* STUDIO */
  .studio-hero__content {
    width: min(620px, 100%);
    margin-left: 0;
    margin-right: 0;
    padding-inline: var(--gutter);
  }

  .studio-matter__grid,
  .studio-collab__intro {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .studio-specs {
    min-height: auto;
    padding-bottom: 0;
  }

  .studio-specs__header h2 {
    width: min(760px, 100%);
  }

  .studio-specs__steps {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 56px;
    grid-template-columns: 1fr 1fr;
  }

  .studio-spec,
  .studio-spec:hover,
  .studio-spec:focus-visible,
  .studio-spec.is-active {
    min-height: 310px;
    padding: 30px 24px 34px;
  }

  .studio-options {
    grid-template-columns: 1fr;
  }

  .studio-option,
  .studio-option:last-child {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(238,237,232,.17);
  }

  .studio-option:first-child {
    border-top: 0;
  }

  .studio-dossier {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  /* SHIN-SABI PAGE */
  .shinsabi-hero__content {
    width: min(650px, 100%);
    margin-left: 0;
    margin-right: 0;
    padding-inline: var(--gutter);
  }

  .shinsabi-origin__grid,
  .shinsabi-axes__head,
  .shinsabi-completion__grid,
  .shinsabi-crack__intro,
  .shinsabi-53dl__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .shinsabi-axis-grid {
    grid-template-columns: 1fr;
  }

  .shinsabi-axis {
    border-right: 0;
    border-top: 1px solid rgba(238,237,232,.17);
  }

  .shinsabi-axis:first-child {
    border-top: 0;
  }

  .shinsabi-crack__notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-height: 84px;
  }

  body {
    font-size: 17px;
  }

  .site-header {
    height: var(--header-height);
    padding-inline: var(--gutter);
    background: var(--ink);
  }

  .site-header .brand img {
    height: 66px;
    width: auto;
  }

  .js-enabled .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--paper);
    font-family: Urbanist, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .09em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .navigation {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 26px var(--gutter) 44px;
    overflow-y: auto;
    background: var(--ink);
    font-size: 18px;
  }

  .site-header.menu-open .navigation {
    display: flex;
  }

  .navigation > a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(238,237,232,.12);
  }

  .navigation a[aria-current="page"]::after {
    left: 0;
    bottom: 7px;
    transform: none;
  }

  .navigation .languages {
    margin: 26px 0 0;
  }

  /* HOME HERO */
  .home-page .hero {
    min-height: 100svh;
    padding-top: var(--header-height);
  }

  .home-page .hero-content {
    width: 100%;
    margin: auto 0 0;
    padding: 110px 0 64px;
  }

  .home-page .hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 10.5vw, 70px);
    line-height: .98;
  }

  .hero-description {
    max-width: 560px;
    font-size: 17px;
  }

  /* HOME PIEZAS */
  .pieces-home__intro {
    gap: 32px;
  }

  .pieces-home__feature {
    margin-top: 56px;
  }

  /* PROCESS */
  .process-intro {
    margin-bottom: 56px;
  }

  .process-heading h2 {
    font-size: clamp(42px, 8vw, 62px);
  }

  /* SHIN HOME */
  .shin-notes {
    grid-template-columns: 1fr;
  }

  .shin-closing {
    align-items: flex-start;
    flex-direction: column;
  }

  /* ABOUT */
  .about-media {
    width: 100%;
  }

  /* CONTACT */
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field--name {
    border-right: 0;
  }

  .contact-field--email {
    border-bottom: 1px solid rgba(238,237,232,.18);
  }

  /* FOOTER */
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-motto {
    align-items: flex-start;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-bottom .languages {
    justify-self: start;
  }

  /* SECONDARY HEROES */
  .wellness-hero,
  .studio-hero,
  .shinsabi-hero {
    min-height: 100svh;
    padding-top: var(--header-height);
  }

  .wellness-hero__content,
  .studio-hero__content,
  .shinsabi-hero__content {
    padding: 120px var(--gutter) 64px;
  }

  .wellness-hero h1,
  .studio-hero h1,
  .shinsabi-hero h1 {
    font-size: clamp(48px, 11vw, 72px);
    line-height: .96;
  }

  .wellness-route__steps,
  .studio-specs__steps {
    grid-template-columns: 1fr;
  }

  .wellness-step,
  .studio-spec {
    min-height: auto;
    border-right: 0;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.24);
  }

  .wellness-step__copy,
  .studio-spec__copy {
    max-height: none;
    opacity: 1;
    margin-top: 20px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 22px;
    --header-height: 78px;
  }

  .section-space {
    padding-block: 70px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .section-label {
    padding-top: 16px;
  }

  .site-header .brand img {
    height: 58px;
  }

  .home-page .hero-content {
    padding-top: 90px;
    padding-bottom: 48px;
  }

  .home-page .hero h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .hero-description {
    margin-top: 24px;
  }

  .actions {
    margin-top: 30px;
  }

  .hero-button {
    width: 100%;
    min-width: 0;
  }

  .pieces-home__feature {
    grid-template-columns: 1fr;
  }

  .pieces-home__feature-media {
    aspect-ratio: 4/5;
  }

  .process-copy h3 {
    font-size: 34px;
  }

  .process-media {
    width: 100%;
  }

  .shin-intro h2 {
    font-size: clamp(46px, 15vw, 64px);
  }

  .shin-media {
    aspect-ratio: 4/3;
  }

  .about h2,
  .contact h2 {
    font-size: clamp(44px, 12vw, 60px);
  }

  .contact>.section-label {
    margin-bottom: 36px;
  }

  .contact-field,
  .contact-form-bottom {
    padding-inline: 20px;
  }

  .footer-logo {
    width: 96px;
  }

  .footer-motto {
    font-size: 28px;
  }

  .wellness-hero__content,
  .studio-hero__content,
  .shinsabi-hero__content {
    padding-top: 100px;
    padding-bottom: 52px;
  }

  .wellness-hero h1,
  .studio-hero h1,
  .shinsabi-hero h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .wellness-anchor h2,
  .wellness-partnerships h2,
  .studio-matter h2,
  .studio-collab h2,
  .shinsabi-origin h2,
  .shinsabi-axes h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .wellness-dossier__button,
  .studio-dossier__button {
    width: 100%;
    min-width: 0;
  }

  .legal-content {
    overflow-wrap: anywhere;
  }
}


/* =========================================================
   HOME · ajustes tablet/móvil
   Concepto: texto primero, imagen después y centrada.
   Formulario: una sola línea en el selector.
   ========================================================= */

@media (max-width:1180px) {
  .home-page .philosophy {
    grid-template-columns:1fr;
    gap:42px;
    align-items:start;
  }

  .home-page .philosophy .split-copy {
    order:1;
    width:100%;
    max-width:680px;
    justify-self:start;
  }

  .home-page .philosophy .material-media {
    order:2;
    width:min(100%,680px);
    min-height:0;
    aspect-ratio:4/5;
    justify-self:center;
    margin:0 auto;
  }

  .home-page .philosophy .material-media img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  .contact-field--interest select {
    border-bottom:0;
  }

  .contact-field--interest select:focus {
    border-bottom-color:transparent;
  }

  .contact-field--interest::after {
    display:none;
  }
}

@media (max-width:680px) {
  .home-page .philosophy {
    gap:34px;
  }

  .home-page .philosophy .material-media {
    width:100%;
    aspect-ratio:4/5;
  }
}
