/* SYNTX · Concepto: la X como punto donde lo disperso (arriba) sale ordenado (abajo).
   Secciones: noche → hielo → cobalto → hielo → cielo → hielo → noche */
:root {
  /* Paleta de marca */
  --royal: #060b35;
  --cobalt: #0a2777;
  --moroccan: #085cef;
  --heaven: #b2e6fb;
  --arctic: #f2fbff;

  /* Derivados de la paleta */
  --white: #ffffff;
  --ink: var(--royal);
  --ink-soft: #3d4674;
  --line: #cfe3f0;
  --on-dark-soft: #b9c8ea;
  --line-dark: #24408f;

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Albert Sans", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --gutter: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-left, 0px));
  --space: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 14px;
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--arctic);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.35rem, 5.1vw, 4.4rem); }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.7vw, 3.1rem); }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--moroccan); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--heaven); }
::selection { background: var(--moroccan); color: var(--white); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.dark { background: var(--royal); color: var(--arctic); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--arctic); color: var(--royal); border-radius: 8px; }
.skip:focus { top: 1rem; }
.section-head { max-width: 22ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.5rem;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .18s, border-color .18s, color .18s;
}
.btn-primary { background: var(--moroccan); color: var(--white); }
.btn-primary:hover { background: #0a4fd0; }
.btn-ghost { border-color: var(--line-dark); color: var(--arctic); }
.btn-ghost:hover { border-color: var(--heaven); }
.btn-light { background: var(--heaven); color: var(--royal); }
.btn-light:hover { background: var(--arctic); }
.btn-small { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--royal); color: var(--arctic); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-stuck { border-color: var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: var(--header); }
.brand { display: block; flex: none; }
.brand img { width: 124px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav li a { display: block; padding: .6rem 0; font-size: .98rem; text-decoration: none; color: var(--on-dark-soft); transition: color .18s; }
.nav li a:hover { color: var(--white); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; margin-right: -12px; padding: 12px; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-btn span { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.menu-btn span + span { margin-top: 8px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5.25px) rotate(-45deg); }

/* Portada */
.hero { overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5.5rem); }
.hero-label { margin-bottom: 1.5rem; color: var(--heaven); font-weight: 500; }
.hero-sub { max-width: 34em; margin-top: 1.6rem; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--on-dark-soft); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.trust { max-width: 38em; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-size: .98rem; color: var(--on-dark-soft); }

.flow { width: 100%; max-width: 560px; margin-inline: auto; }
.flow text { font-family: var(--body); font-weight: 500; font-size: 19px; }
.flow .wire { fill: none; stroke: #4a68b8; stroke-width: 2; }
.flow .wire-out { fill: none; stroke: var(--moroccan); stroke-width: 2.5; }
.flow .chip rect { fill: var(--cobalt); }
.flow .chip text { fill: var(--heaven); text-anchor: middle; }
.flow .out rect.card { fill: var(--arctic); }
.flow .out text { fill: var(--royal); font-weight: 700; text-anchor: middle; }
.flow .dot { fill: var(--heaven); }
.flow .bit { fill: var(--arctic); }

/* Quiénes somos */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.about-text { display: grid; gap: 1.3rem; font-size: 1.15rem; color: var(--ink-soft); align-content: start; }
.about-text strong { color: var(--ink); font-weight: 600; }
.founder { padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; }
.founder b { font-weight: 700; }

/* Servicios */
.services { background: var(--white); }
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) 240px; gap: clamp(1.25rem, 4vw, 4rem); align-items: center; padding-block: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); font-weight: 800; }
.service p { color: var(--ink-soft); max-width: 52ch; }
.service svg { width: 240px; height: 120px; }
.tech { margin-top: 2rem; color: var(--ink-soft); }
.tech b { color: var(--ink); font-weight: 700; }

/* Trazos de las ilustraciones */
.i-bg { fill: var(--arctic); }
.i-sky { fill: var(--heaven); }
.i-blue { fill: var(--moroccan); }
.i-ink { fill: var(--royal); }
.i-cobalt { fill: var(--cobalt); }
.i-white { fill: var(--white); }
.i-line { fill: none; stroke: var(--royal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.i-line-blue { fill: none; stroke: var(--moroccan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.i-line-sky { fill: none; stroke: var(--heaven); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Cómo trabajamos */
.process { background: var(--cobalt); }
.process .section-head { margin-bottom: 1.5rem; }
.thread { width: 100%; height: clamp(90px, 11vw, 150px); overflow: visible; }
.thread path { fill: none; stroke: var(--heaven); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); margin-top: 1.5rem; }
.steps .num { display: block; margin-bottom: .9rem; font: 800 2.4rem/1 var(--display); font-stretch: 112%; color: var(--heaven); font-variant-numeric: tabular-nums; }
.steps p { margin-top: .7rem; color: #d3e2f8; }
.steps .note { font-size: .95rem; color: var(--heaven); }

/* Proyectos */
.project-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 28px; }
.project-main h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
.project-main > div > p { margin-top: 1rem; color: var(--on-dark-soft); }
.trip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.trip li { position: relative; display: grid; grid-template-rows: auto 1fr; gap: .75rem; }
.trip .who { font-size: .95rem; font-weight: 600; color: var(--heaven); }
.trip .screen { display: flex; flex-direction: column; gap: .55rem; min-height: 190px; padding: 1rem; border-radius: var(--radius); background: var(--cobalt); font-size: .88rem; line-height: 1.35; }
.trip .bubble { align-self: flex-end; max-width: 92%; padding: .5rem .7rem; border-radius: 12px 12px 3px 12px; background: var(--heaven); color: var(--royal); }
.trip .bubble.in { align-self: flex-start; border-radius: 12px 12px 12px 3px; background: var(--arctic); }
.trip .call { margin-block: auto; padding: .9rem; border-radius: 12px; background: var(--arctic); color: var(--royal); }
.trip .call b, .trip .call i { display: block; font-style: normal; }
.trip .call i { margin-top: .6rem; padding: .5rem; border-radius: 8px; background: var(--moroccan); color: var(--white); text-align: center; font-weight: 600; }
.trip .row { display: flex; align-items: center; gap: .55rem; padding: .5rem .6rem; border-radius: 8px; background: rgb(6 11 53 / .55); }
.trip .row::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 3px; background: var(--heaven); }
.trip .row.busy::before { background: var(--moroccan); }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.project { display: flex; flex-direction: column; border-radius: 28px; background: var(--white); overflow: hidden; }
.project svg { width: 100%; height: auto; background: var(--heaven); }
.project div { padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.project p { margin-top: .6rem; color: var(--ink-soft); }
.project .kind, .project-main .kind { margin-top: .35rem; font-weight: 600; text-wrap: balance; }
.project .kind { color: var(--moroccan); }
.project-main > div > .kind { margin-top: .5rem; color: var(--heaven); }
.feats { display: grid; gap: .5rem; margin-top: 1.1rem; font-size: 1rem; line-height: 1.45; color: var(--ink-soft); }
.feats li { position: relative; padding-left: 1.35rem; }
.feats li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; border-radius: 3px; background: var(--moroccan); }
.project-main .feats { color: var(--on-dark-soft); }
.project-main .feats li::before { background: var(--heaven); }
.fine { margin-top: 1.25rem; font-size: .92rem; color: var(--ink-soft); }

/* Misión, visión, valores */
.purpose { background: var(--heaven); }
.purpose-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.purpose-top h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); }
.purpose-top p { margin-top: 1.1rem; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; max-width: 32em; }
.values-title { margin-top: clamp(3.5rem, 6vw, 5.5rem); margin-bottom: 1.75rem; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem clamp(1.5rem, 4vw, 4rem); }
.values dt { font: 700 1.2rem/1.2 var(--display); font-stretch: 108%; letter-spacing: -0.015em; }
.values dd { margin-top: .5rem; color: #1b2a5e; }

/* Por qué SYNTX */
.why .section-head { margin-inline: auto; text-align: center; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 24vw, 300px) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 4rem); align-items: start; grid-auto-rows: 1fr; }
.why-x { grid-column: 2; grid-row: 1 / span 2; }
.why-x img { width: 100%; }
.why-grid li p { margin-top: .6rem; color: var(--ink-soft); max-width: 34ch; }
.why-grid .l { grid-column: 1; text-align: right; }
.why-grid .l p { margin-left: auto; }
.why-grid .r { grid-column: 3; }
.why-grid .t { grid-row: 1; padding-top: .75rem; }
.why-grid .b { grid-row: 2; }

/* Preguntas */
.faq { background: var(--white); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.faq .section-head { margin: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.3rem; font: 700 1.15rem/1.3 var(--display); letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border: solid var(--moroccan); border-width: 0 2.5px 2.5px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq summary:hover { color: var(--moroccan); }
.faq details p { padding-bottom: 1.5rem; max-width: 60ch; color: var(--ink-soft); }

/* Contacto */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-intro > p { margin-top: 1.4rem; font-size: 1.15rem; color: var(--on-dark-soft); max-width: 32em; }
.contact-list { display: grid; gap: .25rem; margin-top: 2.2rem; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--line-dark); text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration-color: var(--heaven); }
.form { display: grid; gap: 1.25rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 28px; background: var(--cobalt); }
.form label, .form legend { display: block; margin-bottom: .45rem; padding: 0; font-weight: 600; font-size: 1rem; }
.form label span { font-weight: 400; color: var(--on-dark-soft); }
.form input[type="text"], .form textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid #7d96d8; border-radius: 10px; background: var(--royal); color: var(--arctic); font: 400 1rem/1.45 var(--body); }
.form textarea { min-height: 120px; resize: vertical; }
.form input[type="text"]:hover, .form textarea:hover { border-color: var(--heaven); }
.form [aria-invalid="true"] { border-color: var(--heaven); border-width: 2px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills label { position: relative; margin: 0; font-weight: 500; font-size: .98rem; cursor: pointer; }
.pills input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pills label span { display: flex; align-items: center; min-height: 44px; padding: .4rem .95rem; border: 1.5px solid #7d96d8; border-radius: 10px; color: var(--arctic); font-weight: 500; transition: background-color .15s, color .15s; }
.pills label:hover span { border-color: var(--heaven); }
.pills input:checked + span { background: var(--heaven); border-color: var(--heaven); color: var(--royal); }
.pills input:focus-visible + span { outline: 3px solid var(--heaven); outline-offset: 3px; }
.error { margin-top: .45rem; font-size: .95rem; color: var(--heaven); }
.form-note { font-size: .92rem; color: var(--on-dark-soft); }

/* Pie */
.site-footer { background: var(--royal); color: var(--on-dark-soft); font-size: .96rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 2.5rem 3rem; }
.site-footer .top { border-top: 1px solid var(--line-dark); }
.site-footer .wrap > * { min-width: 0; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.site-footer a, .site-footer button { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; }
.site-footer a:hover, .site-footer button:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.legal-line { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.6rem; }

/* Aviso de cookies */
.consent { position: fixed; z-index: 60; left: max(1rem, env(safe-area-inset-left, 0px)); right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; max-width: 900px; margin-inline: auto; padding: 1.25rem 1.5rem; border-radius: 18px; background: var(--arctic); color: var(--royal); box-shadow: 0 10px 40px rgb(6 11 53 / .35); }
.consent p { flex: 1 1 320px; font-size: .98rem; line-height: 1.5; }
.consent div { display: flex; gap: .6rem; flex: 1 1 auto; justify-content: flex-end; }
.consent .btn { flex: 1 0 auto; border-color: var(--royal); color: var(--royal); background: transparent; }
.consent .btn:hover { background: var(--heaven); }

/* Páginas legales */
.legal-hero .wrap { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16em; }
.legal-hero p { margin-top: 1.1rem; color: var(--on-dark-soft); }
.legal-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 6vw, 5rem) var(--space); align-items: start; }
.toc { position: sticky; top: calc(var(--header) + 1.5rem); max-height: calc(100vh - var(--header) - 3rem); overflow-y: auto; font-size: .95rem; }
.toc summary { font-weight: 700; padding-block: .5rem; cursor: pointer; }
.toc a { display: block; padding: .32rem 0; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--moroccan); text-decoration: underline; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 3rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.prose section { scroll-margin-top: 1rem; }
.prose p, .prose ul, .prose .table { margin-top: 1rem; }
.prose ul { display: grid; gap: .55rem; padding-left: 1.2rem; list-style: square; }
.prose li::marker { color: var(--moroccan); }
.prose a { color: var(--moroccan); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose .summary { padding: 1.5rem 1.7rem; border-radius: 18px; background: var(--heaven); margin-bottom: 3rem; }
.prose .summary p:first-child { margin-top: 0; font-weight: 700; }
.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { padding: .75rem .9rem .75rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }

.lost { min-height: 70vh; display: grid; align-items: center; }
.lost p { margin: 1.2rem 0 2rem; color: var(--on-dark-soft); }

/* Movimiento: solo cuando el visitante lo permite */
@media (prefers-reduced-motion: no-preference) {
  .thread.wait { clip-path: inset(-20% 100% -20% -2%); }
  .thread.draw { clip-path: inset(-20% -2% -20% -2%); transition: clip-path 2.2s cubic-bezier(.5, 0, .2, 1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow .move { display: none; }
  * { transition: none !important; }
}

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header) 0 0; display: none; flex-direction: column; align-items: stretch; gap: 2rem; padding: 1.5rem var(--gutter) 2.5rem; background: var(--royal); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { padding: .9rem 0; border-bottom: 1px solid var(--line-dark); font: 700 1.5rem/1.2 var(--display); color: var(--arctic); }
  .service { grid-template-columns: minmax(0, 1fr) 240px; }
  .service h3 { grid-column: 1; }
  .service p { grid-column: 1; grid-row: 2; }
  .service svg { grid-column: 2; grid-row: 1 / span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-main { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero .wrap, .about .wrap, .purpose-top, .faq .wrap, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .flow { max-width: 420px; }
  .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 1.5rem; grid-auto-rows: auto; }
  .why-grid .why-x { grid-column: 1 / -1; grid-row: 1; width: 130px; margin-inline: auto; }
  .why-grid .l, .why-grid .r { text-align: left; grid-column: auto; grid-row: auto; padding-top: 0; }
  .why-grid .l p { margin-left: 0; }
  .legal-body { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .service { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .service h3, .service p, .service svg { grid-column: 1; grid-row: auto; }
  .steps, .projects-grid, .values { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .trip { grid-template-columns: minmax(0, 1fr); }
  .trip .screen { min-height: 0; }
  .actions .btn { width: 100%; }
  .pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pills label span { height: 100%; padding: .4rem .6rem; font-size: .92rem; line-height: 1.25; }
  .project-main, .project, .form { border-radius: 20px; }
  .project-main { margin-inline: calc(var(--gutter) * -.35); }
}
