/* ============ Tokens ============ */
:root {
  --yeso: #F1F0EB;
  --papel: #FAFAF7;
  --grafito: #1F2528;
  --grafito-suave: #4A5256;
  --pizarra: #3B526B;
  --pizarra-hondo: #2C3E52;
  --salvia: #ACC7BF;
  --salvia-claro: #DCE7E3;
  --roble: #8A6436;
  --linea: #D9D7CF;
  --error: #A3312A;

  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.5rem;

  color-scheme: light;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--yeso);
  color: var(--grafito);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

a, button, input, select, textarea, label {
  -webkit-tap-highlight-color: transparent;
}

a, button { touch-action: manipulation; }

:focus-visible {
  outline: 2px solid var(--pizarra);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--salvia); color: var(--grafito); }

.container {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--grafito);
  color: var(--papel);
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 500 var(--step-0) / 1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}
.btn:active { transform: scale(0.97); }

.btn-sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--step--1); }

.btn-primary { background: var(--pizarra); color: var(--papel); }
.btn-ghost { border-color: var(--grafito); color: var(--grafito); }
.btn-light { background: var(--papel); color: var(--pizarra-hondo); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--pizarra-hondo); }
  .btn-ghost:hover { background: var(--grafito); color: var(--papel); }
  .btn-light:hover { background: var(--salvia-claro); }
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--yeso) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--linea);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo {
  width: 2.75rem; height: 2.75rem;
  border-radius: 6px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  color: var(--grafito-suave);
  transition: color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--grafito); background: rgb(31 37 40 / 0.06); }
}

.menu-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  margin-right: -0.5rem;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 6px;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 1.25rem; height: 2px;
  margin-inline: auto;
  background: var(--grafito);
  border-radius: 1px;
  transition: transform 250ms var(--ease-out), opacity 150ms ease;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { transform: translateY(-6px); }
.menu-toggle-bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  inset: 100% 0 auto;
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--yeso);
  padding: 1.5rem var(--gutter) 2rem;
  transform-origin: top center;
  transition:
    opacity 250ms var(--ease-out),
    transform 350ms var(--ease-drawer),
    display 350ms allow-discrete;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-closing { opacity: 0; transform: translateY(-8px); transition-duration: 150ms; }
@starting-style {
  .mobile-menu { opacity: 0; transform: translateY(-12px); }
}
.mobile-menu ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--linea); }
.mobile-menu li a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-decoration: none;
}
.mobile-menu .btn { width: 100%; }

@media (max-width: 859px) {
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ============ Hero ============ */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 7rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.hero-title {
  font-size: var(--step-4);
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero-lead {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  color: var(--grafito-suave);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr));
  gap: 1.25rem 2rem;
  margin: 3rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linea);
  max-width: 36rem;
}
.hero-facts dt { font-size: var(--step--1); color: var(--grafito-suave); }
.hero-facts dd { margin: 0.2rem 0 0; font-weight: 500; }

.hero-figure { margin: 0; }
.hero-photo {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #E6CDBF;
  max-height: 80vh;
  margin-inline: auto;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-figure figcaption {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  color: var(--grafito-suave);
  font-variant-numeric: tabular-nums;
}

.cotas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.cota path {
  fill: none;
  stroke: var(--grafito);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.cota .cota-ext { stroke-width: 1; opacity: 0.55; }
.cota-label rect { fill: var(--papel); }
.cota-label text {
  fill: var(--grafito);
  font: 600 20px var(--font-body);
  text-anchor: middle;
  font-variant-numeric: tabular-nums;
}

/* Hero load sequence: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 700ms var(--ease-out) both;
  }
  .hero-copy > :nth-child(1) { animation-delay: 60ms; }
  .hero-copy > :nth-child(2) { animation-delay: 140ms; }
  .hero-copy > :nth-child(3) { animation-delay: 220ms; }
  .hero-copy > :nth-child(4) { animation-delay: 300ms; }

  .hero-photo {
    animation: unveil 1100ms var(--ease-in-out) 120ms both;
  }
  .hero-photo img {
    animation: settle 1600ms var(--ease-out) 120ms both;
  }

  .cota-line, .cota-ext {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 600ms var(--ease-in-out) forwards;
  }
  .cota-tick, .cota-label {
    opacity: 0;
    animation: appear 300ms var(--ease-out) forwards;
  }

  .cota-ancho .cota-ext   { animation-delay: 1000ms; }
  .cota-ancho .cota-line  { animation-delay: 1150ms; }
  .cota-ancho .cota-tick,
  .cota-ancho .cota-label { animation-delay: 1600ms; }

  .cota-alto .cota-ext    { animation-delay: 1250ms; }
  .cota-alto .cota-line   { animation-delay: 1400ms; }
  .cota-alto .cota-tick,
  .cota-alto .cota-label  { animation-delay: 1850ms; }

  .cota-fondo .cota-ext   { animation-delay: 1500ms; }
  .cota-fondo .cota-line  { animation-delay: 1650ms; }
  .cota-fondo .cota-tick,
  .cota-fondo .cota-label { animation-delay: 2050ms; }

  .hero-figure figcaption { animation: appear 400ms ease 2100ms both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes unveil {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes settle {
  from { transform: scale(1.08); }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ Sections ============ */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-title {
  font-size: var(--step-3);
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.section-lead {
  margin-top: 1rem;
  color: var(--grafito-suave);
  max-width: 38rem;
}

/* ============ Projects ============ */
.projects { background: var(--papel); border-block: 1px solid var(--linea); }

.projects-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 2rem;
}

.filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--yeso);
  border: 1px solid var(--linea);
  border-radius: 999px;
  isolation: isolate;
}
.filter {
  position: relative;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font: 500 var(--step--1) / 1.2 var(--font-body);
  color: var(--grafito-suave);
  cursor: pointer;
  transition: color 200ms ease, transform 160ms var(--ease-out);
}
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"] { color: var(--papel); }
@media (hover: hover) and (pointer: fine) {
  .filter[aria-pressed="false"]:hover { color: var(--grafito); }
}
.filter-indicator {
  position: absolute;
  top: 0; left: 0;
  z-index: -1;
  width: var(--cw, 100%);
  height: var(--ch, 100%);
  background: var(--grafito);
  /* Only clip-path animates: the pill is carved out of a full-size layer */
  clip-path: inset(var(--t, 0) var(--r, 100%) var(--b, 0) var(--l, 0) round 999px);
  transition: clip-path 320ms var(--ease-out);
}
.filters:not(.is-ready) .filter-indicator { transition: none; }
/* Fallback before JS measures the pill */
.filters:not(.is-ready) .filter[aria-pressed="true"] { background: var(--grafito); }

/* Small screens: one swipeable row instead of a wrapped pill */
@media (max-width: 699px) {
  .projects-head > .filters { margin-inline: calc(var(--gutter) * -1); }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border: 0;
    border-radius: 0;
    background: none;
    padding: 0.25rem var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; box-shadow: inset 0 0 0 1px var(--linea); }
  .filter[aria-pressed="true"] { box-shadow: none; }
}

.project-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0; padding: 0;
}
@media (min-width: 600px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

.project[hidden] { display: none; }
.project figure { margin: 0; }
.project-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--linea);
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .project:hover .project-img img { transform: scale(1.03); }
}
.project figcaption { padding-top: 0.9rem; }
.project-name { display: block; font-weight: 600; }
.project-spec {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--step--1);
  color: var(--grafito-suave);
  font-variant-numeric: tabular-nums;
}

/* Filter transitions (View Transitions API) */
::view-transition-group(*) {
  animation-duration: 380ms;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(*):only-child {
  animation: vt-out 180ms var(--ease-out) both;
}
::view-transition-new(*):only-child {
  animation: vt-in 300ms var(--ease-out) 80ms both;
}
@keyframes vt-out { to { opacity: 0; transform: scale(0.96); } }
@keyframes vt-in { from { opacity: 0; transform: scale(0.96); } }

/* ============ Process ============ */
.process { background: var(--salvia-claro); }

.steps {
  --line-scale: 0;
  position: relative;
  display: grid;
  gap: 2.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before {
    content: "";
    position: absolute;
    top: 1.375rem;
    left: 1.375rem; right: 0;
    height: 1px;
    background: var(--grafito);
    opacity: 0.4;
    transform-origin: left center;
    transform: scaleX(var(--line-scale));
    transition: transform 1400ms var(--ease-in-out);
  }
  .steps.is-visible { --line-scale: 1; }
}

.step { position: relative; }
.step-num {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--pizarra);
  color: var(--papel);
  font-family: var(--font-display);
  font-size: var(--step-1);
  position: relative;
}
.step h3 { margin-top: 1.25rem; font-size: var(--step-2); }
.step p { margin-top: 0.6rem; color: var(--grafito-suave); max-width: 32ch; }
.step .step-time {
  margin-top: 1rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--pizarra-hondo);
}

/* ============ Workshop ============ */
.workshop-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .workshop-grid { grid-template-columns: 0.8fr 1.2fr; }
}
.workshop-photo {
  aspect-ratio: 9 / 11;
  overflow: hidden;
  border-radius: 2px;
  background: var(--linea);
}
.workshop-photo img { width: 100%; height: 100%; object-fit: cover; }

.promises {
  display: grid;
  gap: 1.75rem 2.5rem;
  margin: 2.5rem 0 0;
}
@media (min-width: 600px) { .promises { grid-template-columns: repeat(2, 1fr); } }
.promises div { padding-top: 1rem; border-top: 2px solid var(--roble); }
.promises dt { font-weight: 600; }
.promises dd { margin: 0.4rem 0 0; color: var(--grafito-suave); font-size: var(--step--1); line-height: 1.65; }

/* ============ Quote ============ */
.quote { background: var(--pizarra); color: var(--papel); }
.quote .section-lead { color: #D3DCE4; }
.quote-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
}
@media (min-width: 960px) {
  .quote-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-list {
  list-style: none;
  margin: 2.5rem 0 0; padding: 0;
  display: grid;
  gap: 0.9rem;
}
.contact-list li { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.contact-list span { min-width: 6rem; color: #D3DCE4; font-size: var(--step--1); padding-top: 0.15rem; }
.contact-list a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

.quote-form {
  display: grid;
  gap: 1.25rem 1rem;
  align-content: start;
}
@media (min-width: 600px) {
  .quote-form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--step--1);
  font-weight: 500;
  cursor: pointer;
}
.optional { font-weight: 400; color: #D3DCE4; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(250 250 247 / 0.28);
  border-radius: 6px;
  background: rgb(250 250 247 / 0.08);
  color: var(--papel);
  font: 400 var(--step-0) / 1.4 var(--font-body);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field ::placeholder { color: rgb(250 250 247 / 0.78); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--salvia);
  outline-offset: 1px;
  border-color: transparent;
  background: rgb(250 250 247 / 0.12);
}
.field [aria-invalid="true"] { border-color: #F2B8B2; }
.field-error {
  margin-top: 0.4rem;
  font-size: var(--step--1);
  color: #F8CFCA;
}

.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select-wrap select option { background-color: var(--papel); color: var(--grafito); }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem; top: 50%;
  width: 0.5rem; height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.btn-submit { min-width: 13rem; }
.btn-label {
  display: inline-block;
  transition: filter 200ms ease, opacity 200ms ease;
}
.btn-label.is-swapping { filter: blur(2px); opacity: 0; }
.form-status { font-size: var(--step--1); color: #D3DCE4; min-height: 1.4em; }

/* ============ Footer ============ */
.site-footer {
  background: var(--grafito);
  color: #C9CDCF;
  padding-block: 3.5rem 2rem;
}
.site-footer .brand-name { color: var(--papel); }
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-note { margin-top: 0.9rem; max-width: 30ch; font-size: var(--step--1); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.footer-links a {
  display: inline-block;
  padding-block: 0.35rem;
  text-decoration: none;
  font-size: var(--step--1);
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--papel); }
}
.site-footer :focus-visible { outline-color: var(--salvia); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(250 250 247 / 0.12);
  font-size: var(--step--1);
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: #1F7A4D;
  color: #fff;
  box-shadow: 0 6px 20px -6px rgb(31 37 40 / 0.45);
  transition: opacity 250ms ease, transform 160ms var(--ease-out), visibility 0s;
}
.wa-float svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.wa-float:active { transform: scale(0.95); }
.wa-float.is-hidden {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 150ms ease, transform 150ms var(--ease-out), visibility 0s linear 150ms;
}
.wa-float:focus-visible { outline-offset: 4px; border-radius: 50%; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-property: opacity, color, background-color, border-color !important;
  }
  .steps { --line-scale: 1; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation-duration: 150ms !important; }
}
