/**
 * SonicMaps landing page (index-new.html) — section styles.
 * Requires sm-site.css (tokens, buttons, header, footer).
 * Image URLs are relative to this file: ../../images/ is html/images/.
 */

/* ---------- Hero: sunset sky + skyline ---------- */

/* Same sky as the old #amanecer: a 32x1024 strip stretched to the hero's height and tiled sideways.
   The colour is only what shows until the image arrives. */
.hero { background: #5E94CF url(../../images/grad-blue.png) repeat-x 0 0 / auto 100%; }

.hero__content {
    padding-top: clamp(23px, 4vw, 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Same scale as the old #smlogowhite (30% of the viewport), never below 150px, capped at 280px.
   The PNG has transparent padding under the arrow, so the pull towards the wordmark below is
   proportional to the width (-23px at 280px) to look the same at every size. */
.hero__logo {
    --logo-w: clamp(150px, 30vw, 280px);
    width: var(--logo-w);
    height: auto;
    margin-bottom: calc(var(--logo-w) * -0.082);
}

.hero__title {
    margin: 0;
    font-family: var(--sm-serif);
    font-weight: 400;
    font-size: clamp(60px, 13vw, 96px);
    line-height: 1;
    color: var(--sm-ink-hero);
}
.hero__title span { color: #FFFFFF; text-shadow: 0 2px 18px rgba(20, 36, 58, 0.25); }

.hero__lead {
    margin: 0;
    max-width: 680px;
    font-family: var(--sm-serif);
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.23;
    font-weight: 400;
    color: #FFFFFF;
}

/* Both messages share one grid cell, so the block is as tall as the taller one and
   nothing below it moves when they cross-fade. */
.hero-rotator { display: grid; margin-top: 8px; }
@media (min-width: 769px) { .hero-rotator { margin-top: 23px; } }

.hero-rotator__item {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}
.hero-rotator__item.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.45s ease 0.45s, transform 0.45s ease 0.45s, visibility 0s linear 0.45s;
}

.hero-rotator__lead { margin: 0; font-family: var(--sm-serif); font-size: clamp(17px, 2vw, 21px); font-weight: 400; color: var(--sm-ink-hero); line-height: 1.23;}

/* Plain condensed text with "|" separators, as in the old site: it must not look like a button */
.pill-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1px 0;
    font-family: 'Barlow Condensed', 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
    font-size: clamp(22px, 2.6vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}
.pill-list li + li::before {
    content: "|" / "";
    margin: 0 0.16em;
    font-family: var(--sm-serif);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
}

/* Invisible line break, only active on small screens (3 + 2 items, no orphan "|") */
.pill-list__break { display: none; }
@media (max-width: 700px) {
    .pill-list__break { display: block; flex-basis: 100%; height: 0; }
    .pill-list__break::before,
    .pill-list__break + li::before { content: none !important; }
}

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

.hero__skyline {
    margin-top: 8px;
    height: 30vw;
    background: url(../../images/skyline.svg) top center / 100% auto no-repeat;
}
@media (max-width: 768px) {
    .hero__skyline { background-image: url(../../images/skyline.webp); margin-top: -23px;}
}

/* ---------- Trusted by (night band under the skyline) ---------- */

/* The skyline's lower part is solid #080808, the same as this band, so the band can overlap it.
   The skyline is 30vw tall, so the overlap is in vw too (-50px looked right at 1500px wide). */
.trusted { margin-top: -1.33vw; background: var(--sm-night); color: #C9D2DE; }

.trusted__inner {
    padding-top: 16px;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.trusted__lead { margin: 0; font-size: 15px; text-align: center; color: #AEB8C6; }

.marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: sm-marquee 45s linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__list {
    list-style: none;
    margin: 0;
    padding: 0 56px 0 0;
    display: flex;
    align-items: center;
    gap: 56px;
}
.marquee__list li { flex-shrink: 0; line-height: 0; }
/* images/clients/*.webp are white-on-transparent. Square marks get more height than the wide
   wordmarks so they all carry about the same visual weight. */
.marquee__list img { display: block; height: 68px; width: auto; opacity: 0.9; }
.marquee__list img.is-wide { height: 46px; }

@keyframes sm-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- What is SonicMaps ---------- */

.about { background: var(--sm-surface); border-bottom: 1px solid var(--sm-border); }

.about__grid { display: flex; flex-wrap: wrap; gap: 56px; }

.about__text,
.about__cards { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; }
.about__text { gap: 18px; }
.about__cards { gap: 16px; justify-content: center; }

.about__title { margin: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; }
.about__text p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--sm-muted); }

.info-card {
    background: var(--sm-bg);
    border-radius: 16px;
    padding: 24px 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.info-card__body { display: flex; flex-direction: column; gap: 6px; }
.info-card__body strong { font-size: 18px; }
.info-card__body span { font-size: 15px; line-height: 1.55; color: var(--sm-muted); }

.icon-chip {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sm-blue-tint);
    color: var(--sm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-chip svg { width: 22px; height: 22px; }
.icon-chip--green { width: 40px; height: 40px; border-radius: 10px; background: var(--sm-green-tint); color: var(--sm-green); }
.icon-chip--green svg { width: 20px; height: 20px; }

/* ---------- Product sections: shared heading ---------- */

.product-title { margin: 0; font-size: clamp(38px, 6vw, 52px); line-height: 1.05; }
.product-title--editor span { color: var(--sm-editor); }
.product-title--player span { color: var(--sm-player); }
.product-title--embed span { color: #e39c2f }

/* ---------- Editor ---------- */

.editor__inner { display: flex; flex-direction: column; gap: 56px; }

.editor__intro { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.editor__tagline { margin: 0; font-size: clamp(19px, 2.6vw, 22px); font-weight: 700; }
.editor__intro p:last-child { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sm-muted); }

/* Los pasos son una lista a la izquierda y una sola captura a la derecha, la del paso
   elegido. Cuatro capturas a la vez ocupaban media pantalla y nadie las leía. */
.steps { display: grid; gap: 10px; }

/* El número va en la misma línea que el título, no encima: con cinco pasos esa línea
   de más era lo que estiraba la columna muy por debajo del alto de la captura. */
.step {
    margin: 0;
    width: 100%;
    font: inherit;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    row-gap: 4px;
    align-items: baseline;
    cursor: pointer;
}
.step:hover { background: var(--sm-surface); }
.step[aria-expanded="true"] {
    background: var(--sm-surface);
    border-color: var(--sm-border);
    box-shadow: 0 1px 2px rgba(14, 26, 43, 0.06);
}
.step__n { grid-area: 1 / 1; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--sm-blue); }
.step strong { grid-area: 1 / 2; font-size: 19px; line-height: 1.3; }
.step__desc { grid-area: 2 / 1 / 3 / -1; font-size: 15px; line-height: 1.5; color: var(--sm-muted); }

.step__panel { background: #1E2633; border: 1px solid var(--sm-border); border-radius: 18px; overflow: hidden; }
.step__panel img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* La captura se abre en grande. El cursor de lupa es nativo; el chip existe porque en
   táctil no hay cursor que insinúe nada. */
.step__zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.step__zoom-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 26, 43, 0.72);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
}
.step__zoom-badge svg { width: 19px; height: 19px; }
/* Donde hay ratón el chip espera al hover; en táctil se queda siempre visible */
@media (hover: hover) {
    .step__zoom-badge { opacity: 0; transition: opacity 0.15s ease; }
    .step__zoom:hover .step__zoom-badge,
    .step__zoom:focus-visible .step__zoom-badge { opacity: 1; }
}

/* Sin JS no hay nada que plegar, así que se ven las cinco capturas */
html:not(.js) .step__panel { display: block; }

/* Móvil: acordeón. El paso plegado se queda en su título para que la lista no se alargue */
@media (max-width: 899px) {
    .step[aria-expanded="false"] .step__desc { display: none; }
    .step { padding: 12px 16px; }
}

@media (min-width: 900px) {
    /* 390 + 40 de hueco dejan el panel en 722 px dentro del contenedor de 1152. Menos sus
       dos bordes de 1px (box-sizing: border-box) son los 720 de la captura pequeña, que
       así se dibuja 1:1 sin reescalar. Si se toca el borde del panel, recalcular esto. */
    .steps { grid-template-columns: minmax(300px, 390px) 1fr; gap: 10px 40px; align-items: start; }
    .steps > .step { grid-column: 1; }
    /* Las filas van explícitas porque los paneles no están en orden de documento aquí:
       si algún día hay un sexto paso, hay que añadir su fila y ampliar el span. */
    .steps > .step:nth-of-type(1) { grid-row: 1; }
    .steps > .step:nth-of-type(2) { grid-row: 2; }
    .steps > .step:nth-of-type(3) { grid-row: 3; }
    .steps > .step:nth-of-type(4) { grid-row: 4; }
    .steps > .step:nth-of-type(5) { grid-row: 5; }
    .steps > .step__panel { grid-column: 2; grid-row: 1 / 6; }
}

.editor__features { display: flex; flex-direction: column; gap: 28px; }
.editor__features h3 { margin: 0; font-size: clamp(24px, 3.4vw, 28px); font-weight: 800; letter-spacing: -0.01em; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }

.feature-card {
    /* El relleno va en variable porque la miniatura lo compensa con margen negativo
       para salir a sangre, y en móvil este valor cambia. */
    --card-pad: 28px;
    margin: 0;
    width: 100%;
    font: inherit;
    color: inherit;
    text-align: left;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    border-radius: 16px;
    padding: var(--card-pad);
    /* El icono va junto al título, no encima. La tercera fila es 1fr para que la miniatura
       pueda empujarse al fondo con su margen automático. */
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: 14px;
    row-gap: 12px;
    align-items: center;
    cursor: pointer;
    /* Recorta la miniatura a sangre con el radio de la tarjeta, sin repetir el número */
    overflow: hidden;
}
.feature-card > .icon-chip { grid-area: 1 / 1; }
.feature-card > strong { grid-area: 1 / 2; }
.feature-card > strong + span { grid-area: 2 / 1 / 3 / -1; }
.feature-card__media { grid-area: 3 / 1 / 4 / -1; }
.feature-card strong { font-size: 18px; }
/* Solo la descripción, no cualquier span: un `> span` a secas le ganaría en especificidad
   al color del .icon-chip y al de la llamada, y los dejaría grises. */
.feature-card > strong + span { font-size: 15px; line-height: 1.55; color: var(--sm-muted); }
.feature-card:hover { border-color: #C9D4E4; box-shadow: 0 2px 10px rgba(14, 26, 43, 0.07); }

/* El texto largo vive en la tarjeta pero solo se ve dentro del visor */
.feature-card__detail { display: none; }

/* La miniatura va al fondo: con descripciones de distinto largo, todas quedan alineadas.
   El recorte a 16/9 es cosa del CSS, así que los ficheros pueden tener proporciones
   dispares (van de 1.53 a 1.73) sin descuadrar la rejilla. */
.feature-card__media {
    /* Sale a sangre por los lados y por abajo: el margen negativo anula el relleno de la
       tarjeta, y el `auto` de arriba la mantiene pegada al fondo aunque el texto sea corto. */
    margin: auto calc(var(--card-pad) * -1) calc(var(--card-pad) * -1);
    position: relative;
    display: block;
    cursor: zoom-in;
}
.feature-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #1E2633;
}

.feature-card__badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(14, 26, 43, 0.72);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
}
.feature-card__badge--zoom { right: 10px; bottom: 10px; width: 34px; height: 34px; }
.feature-card__badge--zoom svg { width: 17px; height: 17px; }
/* El de reproducir no se esconde nunca: es lo que distingue un vídeo de una captura */
.feature-card__badge--play {
    top: calc(50% + 2px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(14, 26, 43, 0.78);
    transition: background-color 0.15s ease;
}
.feature-card__badge--play svg { width: 22px; height: 22px; margin-left: 3px; }
.feature-card:hover .feature-card__badge--play { background: var(--sm-blue); }

@media (hover: hover) {
    .feature-card__badge--zoom { opacity: 0; transition: opacity 0.15s ease; }
    .feature-card:hover .feature-card__badge--zoom,
    .feature-card:focus-visible .feature-card__badge--zoom { opacity: 1; }
}

.editor__cta { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.editor__cta span { font-size: 14px; color: var(--sm-muted-2); }

/* ---------- Player ---------- */

.player { background: var(--sm-surface); border-top: 1px solid var(--sm-border); }

.player__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }

.player__phone-col { flex: 1 1 320px; display: flex; justify-content: center; }

/* The phone strip is not transparent: it is painted on a flat #F3F3F3, which shows as a box on
   the white section. The stage is the same grey, so the two read as one deliberate panel. */
.player__stage { background: #F3F3F3; border-radius: 28px; padding: 28px clamp(20px, 6vw, 48px); }

/* SMPlayer-Animation.webp is a strip of three 460x910 phone frames (bezel included).
   With the strip at 300% width, background-position-x 0 / 50% / 100% shows frame 1 / 2 / 3. */
.player__phone {
    width: min(300px, 64vw);
    aspect-ratio: 460 / 910;
    background: url(../../images/SMPlayer-Animation.webp) 0 0 / 300% 100% no-repeat;
    animation: sm-phone 9s step-end infinite;
}
@keyframes sm-phone {
    0% { background-position-x: 0; }
    33.33% { background-position-x: 50%; }
    66.66% { background-position-x: 100%; }
}

.player__content { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.player__intro { display: flex; flex-direction: column; gap: 16px; }
.player__intro p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sm-muted); }

.player__features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px 32px; }

.player-feature { display: flex; gap: 14px; align-items: flex-start; }
.player-feature__body { display: flex; flex-direction: column; gap: 4px; }
.player-feature__body strong { font-size: 16px; }
.player-feature__body span { font-size: 14px; line-height: 1.55; color: var(--sm-muted); }

/* ---------- Featured projects ---------- */

.featured { border-top: 1px solid var(--sm-border); padding: clamp(56px, 8vw, 96px) 0; }

.featured__inner { display: flex; flex-direction: column; gap: 32px; }

.featured__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
/* Familia y peso los pone .serif en el HTML, como en los demás h2. Sin peso ni
   tracking propios: Marcellus solo se carga en 400, y pedirle 800 obligaría al
   navegador a falsear la negrita. Algo más grande que antes porque la serif, a
   igual cuerpo, lee más pequeña que la Manrope en 800 que había aquí. */
.featured__head h2 { margin: 0; font-size: clamp(28px, 4vw, 34px); }

/* Título y entradilla agrupados: .featured__head es un flex con el enlace al otro
   lado, y sueltos el párrafo caería como una tercera columna. Mismo tratamiento
   que las entradillas de editor y player, y el ancho tope de editor__intro para
   que la línea no se estire a los 1152px del contenedor. */
.featured__heading { display: flex; flex-direction: column; gap: 16px; min-width: 0; max-width: 760px; }
.featured__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sm-muted); }

/* Tres por fila como máximo: las carátulas llevan el título dentro, y a cuatro
   columnas el texto queda ilegible. El suelo de un tercio del ancho impide que
   entre una cuarta; por debajo manda el mínimo de 260px y bajan a dos o una.
   auto-fill, no auto-fit: las columnas vacías se mantienen, así una última fila
   incompleta conserva el ancho de columna en vez de estirarse a todo lo ancho. */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(260px, (100% - 40px) / 3)), 1fr));
    gap: 20px;
}

/* Sin JS no hay botón que pulsar, así que los extra se quedan a la vista. */
.js .project-grid:not(.is-full) .project-card--extra { display: none; }

.project-card {
    display: block;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    border-radius: 16px;
    overflow: hidden;
    color: var(--sm-ink);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.project-card:hover { color: var(--sm-ink); transform: translateY(-3px); box-shadow: 0 18px 32px -20px rgba(14, 26, 43, 0.45); }
.project-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #DCE3EC; }

.featured__more { margin: 24px 0 0; text-align: center; }
/* ---------- Embed ---------- */

/* Blanca, para seguir el blanco/gris que alternan about, editor, player y featured.
   Los bordes separan de las secciones grises que tiene encima y debajo. */
.embed {
    background: var(--sm-surface);
    border-top: 1px solid var(--sm-border);
    border-bottom: 1px solid var(--sm-border);
}

.embed__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }

.embed__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.embed__text p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sm-muted); }
.embed__text p.embed__note { font-size: 14px; color: var(--sm-muted-2); }
.embed__note a { color: var(--sm-blue); }
.embed__note a:hover { color: var(--sm-blue-dark); }

.embed__demo { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.embed__demo iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 1px solid var(--sm-border);
    border-radius: 18px;
    background: #DCE3EC;
}
.embed__demo span { font-size: 14px; color: var(--sm-muted-2); }

/* ---------- Testimonials ---------- */

.reviews__inner { display: flex; flex-direction: column; gap: 48px; }
.reviews__title { margin: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; text-align: center; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }

.review {
    margin: 0;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; }
.review__pull { font-size: 18px; line-height: 1.5; font-weight: 500; }
.review__full { display: none; font-size: 15px; line-height: 1.6; color: var(--sm-muted); }

/* "Read the full reviews" swaps each pull quote for the complete text */
.review-grid.is-full { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.review-grid.is-full .review__pull { display: none; }
.review-grid.is-full .review__full { display: block; }

.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; object-fit: cover; background: #DCE3EC; }
.review__who { display: flex; flex-direction: column; gap: 2px; }
.review__who strong { font-size: 15px; }
.review__who span { font-size: 13px; color: var(--sm-muted-2); }

.reviews__more { margin: 0; text-align: center; }

/* ---------- Final call to action ---------- */

.cta { padding-bottom: var(--sm-section-pad); }

.cta__box {
    background: #e3e7eb;
    border-radius: 24px;
    padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    color: var(--sm-ink-hero);
}
.cta__box h2 { margin: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; }
.cta__box p { margin: 0; font-size: 18px; font-weight: 600; }
.cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
    .hero__cta { width: 100%; }
    .hero__cta .btn { flex: 1 1 100%; }
    .about__grid, .embed__inner { gap: 40px; }
    .player__inner { gap: 40px; }
    .editor__inner { gap: 40px; }
    .review { padding: 22px; }
    /* Vía la variable, para que el margen negativo de la miniatura siga al relleno */
    .feature-card { --card-pad: 22px; }
    .info-card { padding: 20px; }
    .embed__demo iframe { height: 380px; }
    /* Nueve tarjetas a todo lo ancho harían una columna larguísima: dos por fila */
    .project-grid { grid-template-columns: 1fr 1fr; gap: 12px; }}

/* ---------- Reduced motion: nothing moves, nothing is lost ---------- */

@media (prefers-reduced-motion: reduce) {
    /* Both hero messages are shown stacked instead of rotating */
    .hero-rotator { gap: 20px; }
    .hero-rotator__item { grid-area: auto; opacity: 1; visibility: visible; transform: none; transition: none; }

    .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
    .marquee__list { flex-wrap: wrap; justify-content: center; gap: 16px 40px; padding-right: 0; }
    .marquee__list--dup { display: none; }

    .player__phone { animation: none; background-position-x: 100%; }
    .project-card { transition: none; }
    .project-card:hover { transform: none; }
}
