/* Fira Sans, SIL Open Font License 1.1 (see fonts/OFL.txt). Subsets from @fontsource/fira-sans 5.0.20. */
@font-face {
  font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/fira-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/fira-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/fira-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/fira-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #D91F26; --deep: #A80A1E; --ink: #1E1B17; --dark: #2B2720; --taupe: #8A7C6A; --sand: #EFECE6;
  --sans: "Fira Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -.015em; }
.nw { white-space: nowrap; }

.top { background: var(--red); color: #fff; position: relative; overflow: hidden; }
html { scroll-padding-top: 72px; }
.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--red); color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .14); }
.bar { display: flex; align-items: center; gap: 8px 32px; min-height: 56px; padding-block: 6px; position: relative; }
.brand { font-weight: 600; font-size: 22px; line-height: 1; text-decoration: none; padding-block: 8px; }
nav { display: flex; gap: 4px 26px; font-size: 16px; }
.lang { margin-left: auto; }
nav a { text-decoration: none; padding-block: 3px; border-bottom: 2px solid transparent; }
nav a:hover { border-color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 13px 10px; background: none; border: 0; color: inherit; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: currentColor; }
.three { position: absolute; right: clamp(-48px, -2vw, -12px); bottom: -16%; width: clamp(240px, 36vw, 480px); pointer-events: none; } .three img { display: block; width: 100%; height: auto; }
.hero { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 104px) clamp(64px, 10vw, 136px); max-width: 720px; }
h1 { font-size: clamp(38px, 5.6vw, 70px); line-height: 1.04; }
.lead { font-size: 21px; line-height: 1.45; margin: 24px 0 32px; max-width: 30em; }
.btn { display: inline-block; background: #fff; color: var(--red); font-weight: 600; padding: 14px 26px; text-decoration: none; }
.btn:hover { background: var(--ink); color: #fff; }
.link { margin-left: 22px; font-weight: 600; text-underline-offset: 4px; }

.lang { display: flex; gap: 2px; font-size: 14px; line-height: 1; }
.lang a { padding: 8px 6px; text-decoration: none; border-bottom: 2px solid transparent; }
.lang a:hover { border-bottom-color: currentColor; }
.lang a[aria-current] { font-weight: 600; border-bottom-color: currentColor; }

.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mods article { padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 44px) clamp(32px, 4vw, 56px); border-right: 1px solid #DDD8CF; }
.mods article:first-child { padding-left: 0; }
.mods article:last-child { border-right: 0; padding-right: 0; }
/* Icons: Lucide, ISC License, https://lucide.dev */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mods .n { display: block; color: var(--red); margin-bottom: 18px; }
.mods .n .i { display: block; width: 52px; height: 52px; stroke-width: 1.5; }
.mods h3 { font-size: 26px; line-height: 1.15; margin-bottom: 14px; }
.mods ul { list-style: none; padding: 0; margin: 0; }
.mods li { padding-block: 8px; border-top: 1px solid #E6E2DA; font-size: 16px; line-height: 1.4; }

.once { background: var(--sand); }
.once .wrap { padding-block: clamp(40px, 6vw, 72px); }
.once p { margin: 0; font-weight: 600; font-size: clamp(28px, 4vw, 48px); line-height: 1.12; letter-spacing: -.015em; }
.once em { font-style: normal; color: var(--red); }

.model { background: var(--dark); color: #fff; }
.model .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.model h2, .two h2, .pimes h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; margin-bottom: 20px; }
.model p { margin: 0 0 16px; color: #DDD8CF; }
.model svg { width: 100%; max-width: 460px; height: auto; display: block; margin-inline: auto; overflow: visible; }
.ring { fill: none; stroke: #F0354B; stroke-width: 2; }
.node { cursor: default; outline: none; }
.node rect { fill: var(--dark); stroke: var(--taupe); stroke-width: 1.5; transition: stroke .2s; }
.node text { fill: #fff; font-size: 20px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.node:hover rect, .node:focus rect { stroke: #fff; }
.node:focus-visible rect { stroke-width: 3; }
.say { fill: #fff; font-size: 22px; font-weight: 600; text-anchor: middle; dominant-baseline: central; opacity: 0; transition: opacity .2s; pointer-events: none; }
.say.rest { fill: #B9B2A6; font-weight: 400; opacity: 1; }
.node:hover ~ .rest, .node:focus ~ .rest { opacity: 0; }
.n1:hover ~ .s1, .n1:focus ~ .s1, .n2:hover ~ .s2, .n2:focus ~ .s2, .n3:hover ~ .s3, .n3:focus ~ .s3 { opacity: 1; }

.pimes .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 104px); }
.pimes p { margin: 0 0 24px; max-width: 34em; }
.pimes h3 { font-size: 22px; margin-bottom: 16px; border-top: 4px solid var(--red); padding-top: 14px; }
.share { margin-bottom: 24px; }
.share-name { font-weight: 600; margin-bottom: 6px; }
.track { display: flex; gap: 2px; height: 14px; }
.track i { display: block; background: var(--taupe); }
.track i:first-child { background: var(--red); }
.share-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; margin-top: 6px; font-size: 15px; color: #5F5649; }
.share-labels strong { color: var(--ink); font-weight: 600; }
.pimes .source { margin: 0 0 8px; font-size: 14px; line-height: 1.45; color: #5F5649; }
.source a { text-underline-offset: 3px; }
.sizes-scroll { overflow-x: auto; margin-bottom: 14px; }
.sizes { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.35; }
.sizes th, .sizes td { padding: 10px 12px 10px 0; text-align: right; border-top: 1px solid #E6E2DA; white-space: nowrap; }
.sizes th { font-weight: 600; }
.sizes thead th { border-top: 0; font-size: 14px; color: #5F5649; vertical-align: bottom; }
.sizes th:first-child { text-align: left; }
.sizes th:last-child, .sizes td:last-child { padding-right: 0; }

.esperit { background: var(--sand); }
.esperit .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(56px, 8vw, 104px); }
.esperit figure { margin: 0; }
.esperit blockquote { margin: 0; font-weight: 600; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -.015em; }
.esperit blockquote em { font-style: normal; color: var(--red); }
.esperit figcaption { margin-top: 18px; color: #5F5649; font-size: 16px; }
.esperit cite { font-style: italic; }
.esperit .also { margin-top: 36px; padding-top: 20px; border-top: 1px solid #CFC9BD; }
.esperit .also blockquote { font-size: 22px; line-height: 1.3; letter-spacing: 0; }
.esperit h3 { font-size: 22px; margin-bottom: 8px; border-top: 4px solid var(--red); padding-top: 14px; }
.esperit ul { list-style: none; padding: 0; margin: 0; }
.esperit li { padding-block: 10px; border-top: 1px solid #CFC9BD; line-height: 1.4; }
.esperit li:first-child { border-top: 0; }
.esperit li strong { font-weight: 600; }

.two .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 56px); padding-block: clamp(56px, 7vw, 96px); }
.two h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 10px; border-top: 4px solid var(--red); padding-top: 14px; }
.two h3 .i { color: var(--red); }
.two p { margin: 0 0 10px; }
.two a { font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }

.close { background: var(--red); color: #fff; }
.close .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-end; padding-block: clamp(48px, 6vw, 80px); }
.close h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; max-width: 14em; }
.close address { font-style: normal; font-size: 18px; line-height: 1.55; }
.contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; }
.contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.contact a:hover { opacity: .8; }
footer { background: var(--ink); color: #B9B2A6; font-size: 15px; }
footer .wrap { padding-block: 22px 28px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.legal a { text-underline-offset: 3px; }

.doc { max-width: 44rem; padding-block: clamp(40px, 6vw, 80px); }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; border-top: 4px solid var(--red); padding-top: 14px; }
.doc p, .doc dl { margin: 0 0 14px; }
.doc dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 20px; }
.doc dt { font-weight: 600; }
.doc dd { margin: 0; }
.doc a { text-underline-offset: 3px; }

.pick { background: var(--red); color: #fff; min-height: 100vh; display: flex; align-items: center; }
.pick .wrap { width: 100%; padding-block: 48px; }
.pick h1 { margin-bottom: 32px; }
.pick .btn { margin: 0 12px 12px 0; }

.err .wrap { padding-block: clamp(48px, 9vw, 120px); }
.err .code { margin: 0 0 8px; font-weight: 600; font-size: clamp(96px, 22vw, 220px); line-height: .9; letter-spacing: -.04em; color: var(--red); }
.err h1 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 16px; }
.err .lead { margin: 0 0 32px; color: #5F5649; }
.err .btn { background: var(--red); color: #fff; }
.err .btn:hover { background: var(--ink); }
.err .e + .e { margin-top: clamp(48px, 8vw, 96px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid #DDD8CF; }
html.pl .err .e { display: none; }
html.pl[lang="ca"] .err .e[lang="ca"], html.pl[lang="es"] .err .e[lang="es"], html.pl[lang="en"] .err .e[lang="en"] { display: block; }

@media (max-width: 860px) {
  .mods, .model .wrap, .two .wrap, .pimes .wrap, .esperit .wrap { grid-template-columns: minmax(0, 1fr); }
  .mods article, .mods article:first-child, .mods article:last-child { padding-inline: 0; border-right: 0; border-bottom: 1px solid #DDD8CF; }
  .three { opacity: .16; }
  .bar { gap: 8px; }
  .menu-btn { display: flex; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px 16px 14px; flex-direction: column; background: var(--deep); }
  nav.open { display: flex; }
  nav a { padding-block: 10px; }
  .link { display: inline-block; margin: 14px 0 0; }
  .doc dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  html.m [data-r] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 90ms);
  }
  html.m [data-r].in { opacity: 1; transform: none; }

  a { transition: color .2s, background-color .2s, border-color .2s; }
  .btn { transition: background-color .2s, color .2s, transform .2s; }
  .btn:hover { transform: translateY(-2px); }

  html.m .three { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; translate: 0 8%; } }

  .mods .n .i { transition: transform .25s; }
  .mods article:hover .n .i { transform: translateY(-3px); }

  html.m .share[data-r] .track { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.2, .7, .2, 1) .25s; }
  html.m .share[data-r].in .track { clip-path: inset(0); }

  html.m .once em { color: inherit; transition: color .6s .5s; }
  html.m .once .in em, html.m .once em.in { color: var(--red); }
}
