/* Euro Peptides, direction 2: photography first. Prototype stylesheet (not the theme). */

:root {
  --paper: #fff; --mist: #f1f4f3; --photo: #e2e7e7; --line: #dde3e2; --line-strong: #7d8996;
  --ink: #0f1c2e; --ink-muted: #4e5b6b; --klein: #1f3bcb; --klein-dark: #182fa6; --klein-soft: #e9edfc;
  --marine: #0f1c2e; --deep: #07172a; --marine-raised: #17283f; --marine-line: #263852;
  --on-marine: #fff; --on-marine-muted: #a9b4c2;
  --go: #0b7a55;
  --cap-metabolic: #c98b3a; --cap-longevity: #7e9c82; --cap-skin: #b97a6a; --cap-gh: #5c7a99; --cap-recovery: #3e8a8a; --cap-neuro: #7a6aa8;
  --display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-float: 0 18px 48px rgba(15, 28, 46, 0.18), 0 2px 6px rgba(15, 28, 46, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--klein); outline-offset: 2px; border-radius: 3px; }
.on-dark :focus-visible { outline-color: #fff; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: calc(1280px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.flag { width: 24px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(15, 28, 46, 0.14); flex: none; object-fit: cover; }
.flag--sm { width: 20px; height: 15px; }
.oval { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 26px; padding: 0 9px; border: 1.5px solid currentColor; border-radius: 999px; font: 600 12px/1 var(--display); letter-spacing: 0.02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1.5px solid transparent; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 120ms, border-color 120ms, color 120ms; white-space: nowrap; }
.btn--primary { background: var(--klein); color: #fff; }
.btn--primary:hover { background: var(--klein-dark); }
.btn--secondary { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.42); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.link { color: var(--klein); font-weight: 600; text-underline-offset: 3px; }
.on-dark .link { color: #fff; }

/* Top block: delivery line, header, hero, ledger share the photograph's ground */
.top { background: var(--deep); color: var(--on-marine); }
.util { border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.util .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.util__delivery { display: flex; align-items: center; gap: 10px; color: var(--on-marine-muted); }
.util__delivery strong { color: #fff; font-weight: 500; }
.util__right { display: flex; gap: 24px; color: var(--on-marine-muted); }
.util__right a { text-decoration: none; }
.util__right a:hover { color: #fff; }

.head .wrap { display: flex; align-items: center; min-height: 72px; gap: 40px; }
.head__logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 30px; font-weight: 500; font-size: 16px; }
.nav a { text-decoration: none; padding: 12px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.head__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 6px; cursor: pointer; color: inherit; }
.icon-btn svg, .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lang { display: inline-flex; align-items: center; height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, 0.42); background: none; color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.cart-btn:hover { border-color: #fff; }
.cart-btn__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--deep); font-size: 13px; line-height: 22px; text-align: center; }
.menu-btn { display: none; }

.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; min-height: 460px; display: flex; align-items: center; }
.hero__copy { position: relative; z-index: 1; max-width: 860px; padding: 44px 0 48px; }
.hero h1 { font: 600 clamp(38px, 5vw, 72px)/0.96 var(--display); letter-spacing: -0.035em; }
.hero h1 span { color: #8fa0b8; display: block; }
.hero__lead { margin-top: 22px; max-width: 30em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--on-marine-muted); }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { display: block; position: absolute; top: 0; bottom: 0; right: calc(var(--pad) - 30px); height: 100%; aspect-ratio: 3712 / 3686; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 32%, #000 86%, transparent); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__mini { display: none; }

.ledger { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.ledger .wrap { display: flex; align-items: stretch; min-height: 60px; }
.ledger dl { display: flex; flex: 1; }
.ledger dl > div { display: flex; align-items: baseline; gap: 10px; padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; }
.ledger dl > div:last-child { border-right: 0; }
.ledger dt { color: var(--on-marine-muted); font-size: 14px; }
.ledger dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.ledger__link { align-self: center; font-size: 15px; }

/* Sections */
.section { padding: 88px 0; }
.section--tight { padding: 48px 0 72px; }
.section--mist { background: var(--mist); }
.section--marine { background: var(--marine); color: var(--on-marine); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
h2 { font: 600 clamp(28px, 3.1vw, 42px)/1.04 var(--display); letter-spacing: -0.028em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-muted); max-width: 34em; }
.section--marine .lead { color: var(--on-marine-muted); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--photo); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }
.card__body { padding-top: 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font: 600 21px/1.2 var(--display); letter-spacing: -0.015em; }
.card h3 a { text-decoration: none; }
.card:hover h3 a { color: var(--klein); }
.card__cas { margin-top: 3px; font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sizes span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color 120ms, background-color 120ms; }
.sizes input:checked + span { border-color: var(--klein); background: var(--klein-soft); color: var(--klein); font-weight: 600; }
.sizes input:focus-visible + span { outline: 2px solid var(--klein); outline-offset: 2px; }
.card__buy { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { display: block; font: 600 23px/1.15 var(--sans); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.permg { display: block; font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.vat { margin-top: 28px; font-size: 14px; color: var(--ink-muted); }

/* Trust row */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust > div { display: flex; gap: 14px; padding: 26px 24px 26px 0; }
.trust > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.trust .ico { margin-top: 2px; color: var(--ink); }
.trust strong { display: block; font-weight: 600; line-height: 1.35; }
.trust span { display: block; font-size: 15px; line-height: 1.45; color: var(--ink-muted); }

/* Research areas */
.areas__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.area { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.area:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.cap { grid-row: 1 / span 3; width: 56px; height: 56px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.16), inset 0 0 0 8px rgba(15, 28, 46, 0.1); }
.area h3 { font: 600 20px/1.25 var(--display); letter-spacing: -0.012em; }
.area h3 a { text-decoration: none; }
.area h3 a::after { content: ""; position: absolute; inset: 0; }
.area:hover h3 a { color: var(--klein); }
.area__count { font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.area__list { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

/* Certificates */
.coa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: center; }
.coa__facts { margin-top: 32px; border-top: 1px solid var(--marine-line); }
.coa__facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--marine-line); font-size: 16px; }
.coa__facts dt { color: var(--on-marine-muted); }
.lookup { margin-top: 32px; }
.lookup label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.lookup__row { display: flex; gap: 10px; max-width: 460px; }
.lookup input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 6px; border: 1.5px solid #5b6b82; background: var(--marine-raised); color: #fff; font-variant-numeric: tabular-nums; }
.lookup input::placeholder { color: #8a97a8; }
.sheet { background: #fff; color: var(--ink); border-radius: 6px; padding: 30px 32px 26px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1.5px solid var(--ink); }
.sheet__head img { height: 26px; width: auto; }
.sheet__head p { font: 600 15px/1 var(--display); letter-spacing: -0.01em; }
.sheet dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.sheet dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sheet dt { color: var(--ink-muted); }
.sheet dd { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.chroma { margin-top: 20px; }
.chroma svg { width: 100%; height: auto; overflow: visible; }
.chroma text { font: 500 11px var(--sans); fill: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sheet__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--go); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Delivery */
.delivery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 72px; align-items: start; }
.delivery p + p { margin-top: 14px; }
.notice { display: flex; gap: 12px; margin-top: 26px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; line-height: 1.5; max-width: 34em; }
.notice .ico { margin-top: 1px; }
.countries { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.countries li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 500; }
.countries .oval { margin-left: auto; color: var(--ink-muted); border-width: 1px; font-size: 11px; height: 22px; min-width: 34px; padding: 0 7px; }
.countries__more { margin-top: 16px; font-size: 15px; color: var(--ink-muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: start; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-muted); max-width: 44em; }

/* Research library */
.mono { border-top: 1px solid var(--line); }
.mono li { display: grid; grid-template-columns: 220px 180px 1fr auto; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mono strong { font: 600 19px/1.3 var(--display); letter-spacing: -0.01em; }
.mono span { color: var(--ink-muted); font-size: 15px; font-variant-numeric: tabular-nums; }

/* Footer */
.foot { background: var(--marine); color: var(--on-marine); padding: 56px 0 32px; font-size: 15px; }
.foot__notice { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--marine-line); font-size: 17px; max-width: none; }
.foot__cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 40px 0; }
.foot__cols img { height: 32px; width: auto; }
.foot__cols p { margin-top: 16px; color: var(--on-marine-muted); max-width: 22em; }
.foot h3 { font: 600 15px/1.3 var(--sans); margin-bottom: 12px; }
.foot li { margin-bottom: 8px; }
.foot li a { color: var(--on-marine-muted); text-decoration: none; }
.foot li a:hover { color: #fff; text-decoration: underline; }
.foot__base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--marine-line); color: var(--on-marine-muted); font-size: 14px; }
.foot__langs { display: flex; gap: 8px; flex-wrap: wrap; }
.foot__langs .oval { font-size: 11px; height: 24px; text-decoration: none; }
.foot__langs .oval[aria-current] { color: #fff; }
.proto { background: #fff7e0; color: #4a3a00; font-size: 13px; line-height: 1.5; padding: 12px 0; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(7, 23, 42, 0.5); opacity: 0; pointer-events: none; transition: opacity 240ms; z-index: 30; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); box-shadow: var(--shadow-float); transform: translateX(104%); transition: transform 240ms var(--ease); z-index: 31; display: flex; flex-direction: column; }
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; }
.ship { padding: 16px 24px; background: var(--mist); font-size: 15px; }
.ship__bar { height: 4px; margin-top: 10px; border-radius: 999px; background: #d5dcdb; overflow: hidden; }
.ship__bar i { display: block; height: 100%; width: 0; background: var(--klein); transition: width 240ms var(--ease); }
.drawer__items { flex: 1; overflow: auto; padding: 4px 24px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; background: var(--photo); }
.line strong { display: block; font: 600 16px/1.3 var(--display); }
.line span { font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.line b { font-weight: 600; font-variant-numeric: tabular-nums; }
.drawer__empty { padding: 40px 0; color: var(--ink-muted); }
.drawer__foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.drawer__note { margin: 6px 0 14px; font-size: 14px; color: var(--ink-muted); }
.drawer__foot .btn { width: 100%; }
.drawer__ruo { display: flex; gap: 10px; margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.drawer__ruo .ico { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; } }

/* Tablet */
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: -10px; }
  .head .wrap { gap: 8px; min-height: 64px; }
  .util__right { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid .card:nth-child(n + 7) { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .areas__head, .coa, .delivery, .faq { grid-template-columns: 1fr; gap: 36px; }
  .areas { grid-template-columns: 1fr 1fr; }
  .area:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .area:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .ledger dl > div:nth-child(n + 4) { display: none; }
  .ledger dl > div:nth-child(3) { border-right: 0; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .mono li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .mono li span:nth-of-type(2) { display: none; }
  .section { padding: 64px 0; }
}

/* Phone */
@media (max-width: 767px) {
  .head__logo img { height: 28px; }
  .cart-btn span:first-of-type { display: none; }
  .cart-btn { padding: 0 10px; }
  .icon-btn--search { display: none; }
  .hero .wrap { display: block; min-height: 0; }
  .br-d { display: none; }
  .hero__photo { position: relative; right: auto; height: 250px; margin: 0 -10px 0 auto; }
  .hero__mini { display: block; position: absolute; left: var(--pad); top: 46px; z-index: 1; font-size: 14px; }
  .hero__mini div { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); min-width: 124px; }
  .hero__mini dt { color: var(--on-marine-muted); font-size: 13px; line-height: 1.3; }
  .hero__mini dd { font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.35; }
  .hero__copy { padding: 14px 0 32px; }
  .hero__lead { margin-top: 14px; }
  .hero__cta { margin-top: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .ledger { display: none; }
  .section--tight { padding: 36px 0 56px; }
  .section__head { margin-bottom: 20px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
  .grid .card:nth-child(n + 7) { display: flex; }
  .card h3 { font-size: 18px; }
  .chip { left: 8px; top: 8px; font-size: 12px; padding: 4px 8px; }
  .sizes { gap: 6px; }
  .sizes span { height: 34px; padding: 0 11px; }
  .card__buy { flex-direction: column; align-items: stretch; }
  .trust { grid-template-columns: 1fr; }
  .trust > div, .trust > div + div { padding: 18px 0; border-left: 0; }
  .trust > div + div { border-top: 1px solid var(--line); }
  .areas { grid-template-columns: 1fr; }
  .area, .area:nth-child(even) { padding: 20px 0; border-left: 0; }
  .sheet { padding: 22px 18px 18px; }
  .sheet dl { grid-template-columns: 1fr; }
  .coa__facts div { grid-template-columns: 110px 1fr; }
  .countries { grid-template-columns: 1fr; }
  .lookup__row { flex-direction: column; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot__cols > div:first-child { grid-column: 1 / -1; }
  .faq summary { font-size: 17px; }
}

/* Review fixes */
.drawer { visibility: hidden; transition: transform 240ms var(--ease), visibility 0s 240ms; }
.cart-open .drawer { visibility: visible; transition: transform 240ms var(--ease); }
.section__head .link, .ledger dd, .ledger__link { white-space: nowrap; }
@media (max-width: 1023px) {
  .hero__copy { max-width: 62%; }
  .ledger dl > div:nth-child(n + 3) { display: none; }
  .ledger dl > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 767px) {
  .hero__copy { max-width: none; }
  .lookup input { flex: none; }
  .sheet__head img { height: 20px; }
  .sheet__head p { font-size: 13px; }
}

/* ===== Direction 3: Euro (appended to the direction 2 styles) ===== */
.ribbon { height: 4px; }
.section--deep { background: var(--deep); color: var(--on-marine); }
.section--deep .lead { color: var(--on-marine-muted); }

/* Batch code as a European number plate */
.plate { display: inline-flex; align-items: stretch; height: 26px; border-radius: 5px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); vertical-align: middle; font: 600 14px/26px var(--display); letter-spacing: 0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plate i { font-style: normal; background: var(--klein); color: #fff; font-size: 10px; padding: 0 6px; letter-spacing: 0.02em; }
.plate b { font-weight: 600; padding: 0 9px 0 8px; }
.on-dark .plate { box-shadow: none; }
.sheet .plate { box-shadow: inset 0 0 0 1.5px var(--ink); height: 22px; line-height: 22px; font-size: 12px; }
.ledger dl > div { align-items: center; padding-top: 0; }

/* Hero: the same line in the five other languages */
.hero__langs { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: 500 clamp(15px, 1.35vw, 19px)/1.3 var(--display); letter-spacing: -0.01em; color: #c9d3e0; transition: opacity 300ms; min-height: 26px; }
.hero__langs.is-out { opacity: 0; }
.hero__langs .oval { font-size: 11px; height: 24px; min-width: 38px; flex: none; }
.hero__lead { margin-top: 14px; }
.hero__copy { padding: 40px 0 44px; }

/* Countries row */
.marquee { border-top: 1px solid rgba(255, 255, 255, 0.12); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee__track li { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 28px; font: 500 15px/1 var(--display); color: #c9d3e0; white-space: nowrap; }
.marquee__track .flag { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.marquee__track .oval { height: 22px; min-width: 34px; font-size: 10.5px; border-width: 1px; color: #8fa0b8; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Headings carry their five translations */
.echo { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font: 500 14px/1.4 var(--display); color: var(--ink-muted); }
.echo span + span { padding-left: 16px; border-left: 1px solid var(--line-strong); }
.on-dark .echo { color: #8fa0b8; }
.on-dark .echo span + span { border-color: #3a4d68; }

/* Departures board */
.board { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.board li { display: grid; grid-template-columns: 24px 1fr 56px 96px; align-items: center; gap: 16px; min-height: 58px; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.board strong { font: 600 19px/1.2 var(--display); letter-spacing: -0.01em; }
.board .oval { justify-self: start; height: 24px; min-width: 38px; font-size: 11px; color: #c9d3e0; border-width: 1px; }
.board .days { text-align: right; }
.board .flag { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.board li.board__head { min-height: 40px; grid-template-columns: 1fr 56px 96px; font-size: 13px; color: #8fa0b8; border-bottom-color: rgba(255, 255, 255, 0.3); }
.board__head span:last-child { text-align: right; }
.section--deep .countries__more { color: var(--on-marine-muted); margin-top: 22px; }
.foot__pay { color: #8fa0b8; }

@media (max-width: 1023px) {
  .board { column-gap: 32px; }
  .board li { grid-template-columns: 24px 1fr 48px 80px; gap: 12px; }
  .board li.board__head { grid-template-columns: 1fr 48px 80px; }
  .board strong { font-size: 17px; }
}
@media (max-width: 767px) {
  .board { grid-template-columns: 1fr; }
  .board li.board__head--2 { display: none; }
  .hero__mini .plate { height: 24px; font-size: 13px; line-height: 24px; }
  .hero__langs { align-items: flex-start; min-height: 42px; margin-top: 14px; }
  .marquee__track li { height: 44px; padding: 0 18px; font-size: 14px; }
  .echo { font-size: 13px; gap: 4px 12px; }
  .echo span + span { padding-left: 12px; }
  .section__head { align-items: flex-start; flex-direction: column; gap: 12px; }
}

/* Fold tuning */
.hero__copy { padding: 32px 0 36px; }
.ledger .wrap { min-height: 52px; }
.marquee__track li { height: 44px; }
.section--tight { padding-top: 36px; }
@media (max-width: 767px) { .echo { display: none; } .hero__copy { padding: 14px 0 28px; } }

/* ===== Direction 4: rounded, more blue, animated (appended to v3) ===== */
:root {
  --sky: #eef2ff; --sky-line: #d5ddfb;
  --r-lg: 40px; --r-md: 26px; --r-sm: 16px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
body { background: var(--paper); }

/* Softer controls */
.btn { border-radius: 999px; min-height: 52px; padding: 0 26px; transition: background-color 160ms, border-color 160ms, color 160ms, transform 200ms var(--spring); }
.btn:active { transform: scale(0.96); }
.btn--sm { min-height: 46px; padding: 0 20px; }
.btn--secondary:hover { background: var(--klein); border-color: var(--klein); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--deep); }
.cart-btn, .icon-btn { border-radius: 999px; }
.plate { border-radius: 8px; }
.chip { padding: 6px 12px; }
.ribbon { height: 5px; background-size: 200% 100%; animation: ribbon 60s linear infinite; }
.ribbon--pill { margin: 0 var(--pad) 14px; border-radius: 999px; height: 6px; }
@keyframes ribbon { to { background-position: -200% 0; } }

/* Rounded islands */
.top { border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.island { margin-inline: clamp(8px, 1.4vw, 20px); border-radius: var(--r-lg); overflow: hidden; }
.foot { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.section--klein { background: var(--klein); color: #fff; }
.section--klein .lead { color: #dfe5ff; }
.section--klein .echo { color: #c3cdfa; }
.section--klein .echo span + span { border-color: rgba(255, 255, 255, 0.35); }
.section--klein .coa__facts, .section--klein .coa__facts div { border-color: rgba(255, 255, 255, 0.26); }
.section--klein .coa__facts dt { color: #c9d2fb; }
.section--klein .lookup input { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); border-radius: 999px; padding: 0 20px; height: 52px; }
.section--klein .lookup input::placeholder { color: #c3cdfa; }
.sheet { border-radius: var(--r-md); box-shadow: 0 30px 60px rgba(7, 23, 42, 0.28); transform: rotate(1.4deg); }

/* Hero: glow, vial, country bubbles */
.hero__glow { position: absolute; right: -60px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(46, 84, 255, 0.5), rgba(31, 59, 203, 0.16) 45%, transparent 68%); pointer-events: none; }
.hero__photo { mix-blend-mode: lighten; translate: var(--px, 0) var(--py, 0); transition: translate 500ms var(--ease); }
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.bubble { position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 13px/1 var(--display); letter-spacing: 0.02em; color: #fff; translate: var(--px, 0) var(--py, 0); transition: translate 600ms var(--ease); animation: pop 700ms var(--spring) both, float var(--dur) ease-in-out infinite; animation-delay: calc(500ms + var(--i) * 90ms), calc(1200ms + var(--i) * 90ms); }
.bubble .flag { border-radius: 4px; }
@keyframes pop { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Hero entrance */
.js .hero h1, .js .hero__langs, .js .hero__lead, .js .hero__cta { animation: rise 900ms var(--ease) both; }
.js .hero__langs { animation-delay: 140ms; }
.js .hero__lead { animation-delay: 220ms; }
.js .hero__cta { animation-delay: 300ms; }
.js .hero__photo img { animation: vial 1400ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes vial { from { opacity: 0; transform: scale(1.08) translateY(18px); } to { opacity: 1; transform: none; } }
.hero__langs { transition: opacity 300ms, transform 300ms var(--ease); }
.hero__langs.is-out { transform: translateY(8px); }

/* Floating menu */
.dock { position: fixed; z-index: 20; top: 12px; left: 50%; display: flex; align-items: center; gap: 8px; width: min(760px, calc(100% - 24px)); padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(15, 28, 46, 0.06); transform: translate(-50%, -160%); transition: transform 500ms var(--spring); }
.dock.is-on { transform: translate(-50%, 0); }
.dock__logo img { height: 34px; width: auto; }
.dock__nav { display: flex; gap: 4px; margin: 0 auto; font-weight: 500; font-size: 15px; }
.dock__nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; transition: background-color 160ms; }
.dock__nav a:hover { background: var(--sky); color: var(--klein); }
.dock .cart-btn__count { background: #fff; color: var(--klein); margin-left: 2px; }
.bump { animation: bump 420ms var(--spring); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* Product cards */
.card__media { border-radius: var(--r-md); }
.card__media img { transition: transform 700ms var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card { transition: transform 300ms var(--ease); }
.sizes span { height: 38px; padding: 0 16px; transition: border-color 120ms, background-color 120ms, transform 200ms var(--spring); }
.sizes label:active span { transform: scale(0.92); }

/* Trust tiles */
.trust { border: 0; gap: 14px; }
.trust > div, .trust > div + div { padding: 24px; border: 0; border-radius: var(--r-md); background: var(--sky); flex-direction: column; gap: 16px; }
.trust .ico { box-sizing: content-box; padding: 13px; border-radius: 50%; background: #fff; color: var(--klein); margin: 0; }

/* Research area tiles */
.areas { border: 0; gap: 14px; }
.area, .area:not(:nth-child(3n + 1)) { border: 0; padding: 26px; border-radius: var(--r-md); background: color-mix(in srgb, var(--c) 15%, #fff); grid-template-columns: 64px 1fr; transition: transform 300ms var(--spring), background-color 200ms; }
.area:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--c) 24%, #fff); }
.area .cap { width: 64px; height: 64px; box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.2), inset 0 0 0 9px rgba(15, 28, 46, 0.08), 0 8px 18px color-mix(in srgb, var(--c) 45%, transparent); transition: transform 500ms var(--spring); }
.area:hover .cap { transform: scale(1.12) rotate(-8deg); }
.area__list, .area__count { color: #3b4858; }

/* Board */
.board li { border-bottom-color: rgba(255, 255, 255, 0.1); }

/* FAQ as soft cards */
.section--mist { background: var(--sky); }
.faq__list { border: 0; display: grid; gap: 10px; }
.faq details { border: 0; border-radius: var(--r-sm); background: #fff; padding: 0 24px; transition: box-shadow 200ms; }
.faq details[open] { box-shadow: 0 10px 30px rgba(31, 59, 203, 0.1); }
.faq summary::after { transition: transform 300ms var(--spring); }
#faq.section { margin-inline: clamp(8px, 1.4vw, 20px); border-radius: var(--r-lg); }

/* Library rows */
.mono { border: 0; }
.mono li { border: 0; padding: 20px 24px; border-radius: var(--r-sm); transition: background-color 160ms; }
.mono li:hover { background: var(--sky); }
.mono li + li { margin-top: 4px; }

/* Cart drawer */
.drawer { border-radius: var(--r-md) 0 0 var(--r-md); transition: transform 420ms var(--spring), visibility 0s 420ms; }
.cart-open .drawer { transition: transform 420ms var(--spring); }
.ship { border-radius: var(--r-sm); margin: 14px 16px 0; background: var(--sky); }
.line img { border-radius: 12px; }

/* Scroll reveals (only when v4.js is running and motion is allowed) */
.js:not(.still) [data-reveal] { opacity: 0; transition: opacity 700ms var(--ease) var(--d, 0ms), transform 800ms var(--ease) var(--d, 0ms); }
.js:not(.still) [data-reveal="up"] { transform: translateY(36px); }
.js:not(.still) [data-reveal="flip"] { transform: perspective(600px) rotateX(-70deg); transform-origin: 50% 0; }
.js:not(.still) [data-reveal].is-in { opacity: 1; transform: none; }
.js:not(.still) .chroma__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js:not(.still) .sheet.is-in .chroma__line { stroke-dashoffset: 0; transition: stroke-dashoffset 2200ms var(--ease) 300ms; }
.js:not(.still) .chroma text { opacity: 0; transition: opacity 500ms 1500ms; }
.js:not(.still) .sheet.is-in .chroma text { opacity: 1; }
.js:not(.still) .sheet { transform: rotate(5deg) translateY(40px); opacity: 0; transition: transform 1000ms var(--spring), opacity 600ms; }
.js:not(.still) .sheet.is-in { transform: rotate(1.4deg); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .ribbon, .bubble, .js .hero h1, .js .hero__langs, .js .hero__lead, .js .hero__cta, .js .hero__photo img { animation: none; }
}

@media (max-width: 1023px) {
  .bubble:nth-child(n + 4) { display: none; }
  .bubble:nth-child(1) { right: 250px !important; }
  .bubble:nth-child(3) { right: 240px !important; top: 78% !important; }
  .hero__glow { width: 460px; height: 460px; }
  .trust > div:nth-child(n + 3) { border: 0; }
  .area:nth-child(even) { padding: 26px; border: 0; }
  .dock__nav a:nth-child(n + 3) { display: none; }
}
@media (max-width: 767px) {
  :root { --r-lg: 28px; --r-md: 20px; }
  .bubbles { display: none; }
  .hero__glow { right: -120px; top: 150px; width: 380px; height: 380px; }
  .card__media { border-radius: 18px; }
  .trust > div, .trust > div + div { padding: 18px; flex-direction: row; border: 0; }
  .area, .area:nth-child(even) { padding: 20px; }
  .sheet { transform: none; }
  .js:not(.still) .sheet.is-in { transform: none; }
  .dock__nav a:nth-child(n + 2) { display: none; }
  .faq details { padding: 0 18px; }
  .mono li { padding: 16px 12px; }
}

/* Review fixes */
.trust .ico { flex: none; }
#faq.section { margin-top: 14px; }
.faq .echo { display: none; }
.areas__head { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 1023px) { .areas__head { grid-template-columns: 1fr; } }

/* ===== Direction 4, part 2: map, free-delivery meter, Euro details (appended to v4.css) ===== */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 520ms; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* Top bar: greeting and the euro coin */
.hello { display: inline-block; min-width: 0; margin-right: 8px; padding-right: 10px; border-right: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font: 600 13px/1.2 var(--display); transition: opacity 240ms, transform 240ms var(--ease); }
.hello.is-out { opacity: 0; transform: translateY(6px); }
.util__right { align-items: center; }
.util__free { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.coin { position: relative; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ffe58a, #f2b705 62%, #c98d00); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45), inset 0 0 0 5px #d9a400, 0 8px 18px rgba(201, 141, 0, 0.35); animation: coin 5s ease-in-out infinite; flex: none; }
.coin i { font: 800 26px/1 var(--display); font-style: normal; color: #7a5600; }
.coin--sm { width: 20px; height: 20px; box-shadow: inset 0 0 0 1.5px #d9a400; animation-duration: 6s; }
.coin--sm i { font-size: 11px; }
@keyframes coin { 0%, 70%, 100% { transform: rotateY(0); } 85% { transform: rotateY(360deg); } }

/* Language menu */
.langwrap { position: relative; }
.langmenu { position: absolute; right: -8px; top: 50px; z-index: 12; min-width: 190px; padding: 8px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-float); animation: menu 260ms var(--spring); transform-origin: 80% 0; }
.langmenu[hidden] { display: none; }
.langmenu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.langmenu a:hover, .langmenu a[aria-current] { background: var(--sky); color: var(--klein); }
.langmenu .oval { font-size: 11px; height: 24px; min-width: 38px; }
@keyframes menu { from { opacity: 0; transform: scale(0.9) translateY(-6px); } }

/* E-road badge next to the catalogue link */
.link--eroad { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.eroad { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 6px; background: #00824a; color: #fff; box-shadow: inset 0 0 0 1.5px #00824a, inset 0 0 0 3px #fff; font: 700 13px/1 var(--display); letter-spacing: 0.02em; text-decoration: none; }
.link--eroad:hover .eroad { transform: rotate(-4deg) scale(1.06); }
.eroad { transition: transform 300ms var(--spring); }

/* Free-delivery strip and meter */
.freeship { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 22px 28px; margin-top: 30px; padding: 24px 32px; border-radius: var(--r-md); background: var(--sky); }
.freeship__text strong { display: block; font: 600 21px/1.2 var(--display); letter-spacing: -0.015em; }
.freeship__text span { display: block; margin-top: 4px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.meter { --p: 0; position: relative; padding: 20px 20px 0 18px; }
.meter__track { position: relative; height: 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--sky-line); }
.meter__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); min-width: 14px; border-radius: 999px; background: repeating-linear-gradient(115deg, var(--klein) 0 12px, #3554e6 12px 24px); background-size: 200% 100%; transition: width 900ms var(--spring); }
.meter.is-moving .meter__fill { animation: stripes 1.4s linear infinite; }
@keyframes stripes { to { background-position: -53px 0; } }
.meter__parcel { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--klein); box-shadow: 0 6px 16px rgba(31, 59, 203, 0.28), inset 0 0 0 2px var(--klein); transition: left 900ms var(--spring), background-color 300ms, color 300ms; z-index: 1; }
.meter.is-moving .meter__parcel { animation: bob 1.1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px) rotate(-4deg); } }
.meter__parcel .ico { grid-area: 1 / 1; width: 20px; height: 20px; opacity: 0; transform: scale(0.4); transition: opacity 240ms, transform 400ms var(--spring); }
.meter:not([data-stage]) [data-stage="box"], .meter[data-stage="box"] [data-stage="box"], .meter[data-stage="truck"] [data-stage="truck"], .meter[data-stage="done"] [data-stage="done"] { opacity: 1; transform: none; }
.meter[data-stage="done"] .meter__parcel { background: var(--go); color: #fff; box-shadow: 0 6px 16px rgba(11, 122, 85, 0.35); }
.meter__goal { position: absolute; top: 50%; right: -16px; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--sky-line), 0 4px 10px rgba(15, 28, 46, 0.1); transition: transform 500ms var(--spring); }
.meter[data-stage="done"] .meter__goal { transform: scale(1.25); }
.meter__ends { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--ink-muted); }
.meter--sm { padding: 16px 18px 0 16px; }
.confetti { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }
.ship { padding: 16px 18px 14px; }
.ship__text { font-weight: 600; }
.fly { position: fixed; z-index: 40; border-radius: 50%; background-size: cover; background-position: 50% 42%; box-shadow: 0 10px 30px rgba(15, 28, 46, 0.3), inset 0 0 0 3px #fff; pointer-events: none; }
.pop { animation: bump 420ms var(--spring); }

/* Europe: map and destination card */
.europe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; }
.dest { display: grid; grid-template-columns: auto 1fr; gap: 18px 18px; align-items: center; margin-top: 30px; padding: 22px 24px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.dest__flag { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.dest__hello { font-size: 14px; color: #9fb1ff; font-weight: 500; }
.dest__name { display: flex; align-items: center; gap: 12px; font: 600 26px/1.15 var(--display); letter-spacing: -0.02em; }
.dest__name .oval { font-size: 11px; height: 24px; min-width: 38px; color: #c9d3e0; border-width: 1px; }
.dest__facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.dest__facts dt { font-size: 13px; color: var(--on-marine-muted); }
.dest__facts dd { font-weight: 500; font-size: 15px; }
.dest.swap .dest__flag, .dest.swap .dest__body { animation: swap 520ms var(--spring); }
@keyframes swap { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chipbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: none; color: #dbe3ee; font-size: 14px; cursor: pointer; transition: background-color 160ms, border-color 160ms, color 160ms, transform 240ms var(--spring); }
.chipbtn:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.chipbtn[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--deep); font-weight: 600; }
.chipbtn .flag { border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(15, 28, 46, 0.18); }

.map { position: relative; }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map .d { fill: rgba(255, 255, 255, 0.1); }
.map .d.eu { fill: #4667ff; cursor: pointer; transform-box: fill-box; transform-origin: center; transition: fill 360ms, transform 520ms var(--spring); }
.map .d.eu.on { fill: #fff; transform: scale(1.5); }
.js:not(.still) .map .d { opacity: 0; transition: opacity 900ms, fill 360ms, transform 520ms var(--spring); }
.js:not(.still) .map.is-in .d { opacity: 1; }
.map__arc { fill: none; stroke: #ffd24a; stroke-width: 0.16; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map__arc.go { animation: arc 1100ms var(--ease) forwards; }
@keyframes arc { to { stroke-dashoffset: 0; } }
.map__pin { fill: #ffd24a; }
.map__ring { fill: none; stroke: #ffd24a; stroke-width: 0.1; transform-box: fill-box; transform-origin: center; opacity: 0; }
.map__ring.go { animation: ring 1600ms ease-out 700ms infinite; }
@keyframes ring { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(2.4); } }
.map__tag { position: absolute; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; background: #fff; color: var(--deep); font: 600 12px/1 var(--display); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); transform: translate(12px, -130%); pointer-events: none; transition: left 600ms var(--spring), top 600ms var(--spring); white-space: nowrap; }
.map__tag.go { animation: tag 520ms var(--spring) 500ms both; }
@keyframes tag { from { opacity: 0; scale: 0.5; } }

/* Certificate stamp */
.sheet { position: relative; }
.stamp { position: absolute; right: 22px; bottom: 44px; width: 112px; height: 112px; color: var(--go); transform: rotate(-14deg); opacity: 0.9; pointer-events: none; }
.stamp text { fill: currentColor; font-family: var(--display); }
.js:not(.still) .stamp { opacity: 0; transform: rotate(-30deg) scale(2.2); }
.js:not(.still) .sheet.is-in .stamp { opacity: 0.9; transform: rotate(-14deg) scale(1); transition: transform 420ms cubic-bezier(0.2, 1.4, 0.4, 1) 2500ms, opacity 200ms 2500ms; }

/* Footer: the plates and the country links */
.plates { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0 8px; }
.plates .oval { height: 30px; min-width: 48px; font-size: 12px; color: #8fa0b8; border-width: 1px; margin: 0; transition: color 200ms, border-color 200ms, transform 300ms var(--spring); cursor: default; }
.plates .oval:hover { color: #fff; transform: translateY(-3px) rotate(-3deg); }
.plates .oval.is-ep { background: var(--klein); border-color: var(--klein); color: #fff; }
.foot__seo { padding: 28px 0 32px; border-top: 1px solid var(--marine-line); }
.foot__seo ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 24px; }
.foot__seo li { margin: 0; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .coin, .meter.is-moving .meter__fill, .meter.is-moving .meter__parcel, .map__ring.go { animation: none; } .map__arc { stroke-dashoffset: 0; } }

@media (max-width: 1023px) {
  .freeship { grid-template-columns: auto 1fr; }
  .freeship .meter { grid-column: 1 / -1; }
  .europe { grid-template-columns: 1fr; gap: 28px; }
  .map { max-width: 460px; margin-inline: auto; width: 100%; order: -1; }
  .util__free { display: none; }
}
@media (max-width: 767px) {
  .hello { display: none; }
  .freeship { padding: 20px 18px 18px; gap: 16px; }
  .coin { width: 44px; height: 44px; }
  .coin i { font-size: 21px; }
  .freeship__text strong { font-size: 18px; }
  .dest__facts { grid-template-columns: 1fr 1fr; }
  .dest__name { font-size: 22px; }
  .stamp { width: 88px; height: 88px; right: 12px; bottom: 40px; }
  .langmenu { right: -60px; }
  .chipbtn { height: 34px; font-size: 13px; }
}

/* Review fixes */
.stamp { right: 26px; bottom: 112px; width: 100px; height: 100px; }
@media (max-width: 767px) { .stamp { right: 14px; bottom: 96px; width: 84px; height: 84px; } .foot__seo ul { grid-template-columns: 1fr 1fr; gap: 6px 16px; } .foot__seo li { font-size: 13px; } }

/* ===== Hero: the Euro Peptides logo, animated (appended after _euro2.css) ===== */
.brandmark { --h: clamp(86px, 10.6vw, 152px); display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.hero .brandmark h1 { font: 600 clamp(42px, 5.6vw, 82px)/0.92 var(--display); letter-spacing: -0.04em; }
.hero .brandmark h1 i { font-style: normal; }
.epmark { position: relative; flex: none; width: calc(var(--h) * 1.56); height: var(--h); border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 calc(var(--h) * 0.062) #fff; cursor: pointer; transition: background-color 380ms; }
.epmark__codes { display: block; transform: translateY(calc(var(--h) * var(--n) * -1)); }
.epmark__codes b { display: block; height: var(--h); font: 800 calc(var(--h) * 0.42)/var(--h) var(--display); letter-spacing: -0.01em; text-align: center; color: #fff; transition: color 300ms; }
.epmark.spin .epmark__codes { animation: reel 1750ms cubic-bezier(0.16, 0.72, 0.12, 1) both; }
@keyframes reel { from { transform: translateY(0); } }
.epmark.done, .no-js .epmark { background: #fff; }
.epmark.done b, .no-js .epmark b { color: var(--klein); }
.js .epmark { animation: pop 700ms var(--spring) both; }
.js .epmark.done { animation: land 700ms var(--spring); }
@keyframes land { 0% { transform: scale(0.9); } 55% { transform: scale(1.07) rotate(-2deg); } }
.hero__tag { margin-top: clamp(14px, 1.6vw, 22px); font: 600 clamp(22px, 2.9vw, 40px)/1.08 var(--display); letter-spacing: -0.028em; color: #8fa0b8; text-wrap: balance; }
.js .hero__tag { animation: rise 900ms var(--ease) 120ms both; }
.js .hero .brandmark h1 { animation: word 1000ms var(--ease) 350ms both; }
@keyframes word { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-18px); } to { opacity: 1; clip-path: inset(0 -10% 0 0); transform: none; } }
.hero__langs { margin-top: 14px; font-size: clamp(14px, 1.2vw, 17px); color: #c9d3e0; }
.hero__lead { margin-top: 12px; max-width: 28em; }
.hero__cta { margin-top: 24px; }
.hero__copy { padding: 30px 0 34px; }

/* Research areas: the count sits in the colour */
.area .cap { display: grid; place-items: center; color: #fff; font: 700 21px/1 var(--display); letter-spacing: -0.02em; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 45%, transparent); }
.area:hover .cap { transform: scale(1.12) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) { .js .epmark, .js .hero .brandmark h1, .js .hero__tag, .js .epmark.done, .epmark.spin .epmark__codes { animation: none; } }
@media (max-width: 767px) { .brandmark { --h: 78px; gap: 14px; } .hero .brandmark h1 { font-size: 40px; } .hero__tag { font-size: 23px; } .hero__copy { padding: 12px 0 26px; } }

/* ===== Turnable vials, halftone hero, number band, footer mark (appended after _hero.css) ===== */
.vial { position: relative; display: block; overflow: hidden; }
.vial__still, .vial__still img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vial__frame { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: var(--ratio); transform: translate(-50%, -50%); display: none; transition: transform 700ms var(--ease); }
.vial__frame picture, .vial__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vial__label { position: absolute; left: var(--gx); top: var(--gy); width: var(--gw); height: var(--gh); }
.vial.is-live .vial__frame { display: block; }
.vial.is-live .vial__still { visibility: hidden; }
.vial.is-live.show-still .vial__frame { display: none; }
.vial.is-live.show-still .vial__still { visibility: visible; }
.card:hover .card__media.vial img { transform: none; }
.card:hover .vial__frame { transform: translate(-50%, -50%) scale(1.045); }
.vial[data-mode="drag"] { cursor: grab; touch-action: pan-y; user-select: none; }
.vial[data-mode="drag"].is-dragging { cursor: grabbing; }
.turnhint { position: absolute; left: 50%; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 600; transform: translateX(-50%); box-shadow: 0 6px 16px rgba(15, 28, 46, 0.14); transition: opacity 400ms, transform 400ms var(--ease); pointer-events: none; }
.turnhint .ico { width: 16px; height: 16px; color: var(--klein); animation: turn 2.6s var(--ease) infinite; }
@keyframes turn { 50%, 100% { transform: rotate(360deg); } }
.vial:not(.is-live) .turnhint, .vial.was-turned .turnhint, .vial.show-still .turnhint { opacity: 0; transform: translateX(-50%) translateY(8px); }

/* Hero: halftone field instead of a soft glow; the photograph blends into it */
.hero__photo { mix-blend-mode: normal; isolation: isolate; }
.hero__photo .vial { width: 100%; height: 100%; overflow: visible; }
.hero__photo .vial__frame { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; }
.hero__photo .vial img { mix-blend-mode: lighten; }
.hero__dots, .hero__dots::before { position: absolute; inset: -4% -10%; content: ""; }
.hero__dots { background: radial-gradient(circle, #2f52ff 0 1.5px, transparent 2.1px) 0 0 / 12px 12px; -webkit-mask-image: radial-gradient(ellipse 50% 54% at 62% 50%, #000 18%, transparent 74%); mask-image: radial-gradient(ellipse 50% 54% at 62% 50%, #000 18%, transparent 74%); }
.hero__dots::before { inset: 0; background: radial-gradient(circle, #4a6bff 0 3.1px, transparent 3.7px) 0 0 / 12px 12px; -webkit-mask-image: radial-gradient(ellipse 28% 34% at 62% 50%, #000 0, transparent 100%); mask-image: radial-gradient(ellipse 28% 34% at 62% 50%, #000 0, transparent 100%); }

/* Number band */
.section--stats { padding: 26px 0 84px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.stats li { padding: 22px 24px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 600 clamp(54px, 8.4vw, 124px)/0.92 var(--display); letter-spacing: -0.055em; color: var(--klein); }
.stats span { display: block; margin-top: 12px; max-width: 13em; font-size: 17px; line-height: 1.35; color: var(--ink-muted); }

/* Certificate: machine-readable line */
.mrz { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font: 500 11px/1.6 var(--sans); letter-spacing: 0.2em; color: var(--ink-muted); white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }

/* Footer: the mark, very large, running off the bottom edge */
.foot { overflow: hidden; padding-bottom: 0; }
.foot__base { padding-bottom: 28px; }
.foot__giant { display: flex; align-items: center; gap: 0.16em; margin: 6px 0 -0.1em; font: 600 10.4vw/0.86 var(--display); letter-spacing: -0.05em; color: #172a4d; white-space: nowrap; user-select: none; padding-inline: var(--pad); }
.foot__giant-mark { display: inline-grid; place-items: center; flex: none; width: 1.22em; height: 0.78em; border: 0.05em solid currentColor; border-radius: 50%; }
.foot__giant-mark i { font-style: normal; font-size: 0.4em; font-weight: 800; letter-spacing: -0.01em; }

@media (max-width: 1023px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n + 3) { margin-top: 28px; border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .section--stats { padding: 8px 0 56px; }
  .stats li { padding: 16px 12px 0 0; }
  .stats li + li { padding-left: 14px; }
  .stats li:nth-child(3) { padding-left: 0; }
  .stats span { font-size: 15px; }
  .mrz { font-size: 9px; letter-spacing: 0.14em; }
  .turnhint { bottom: 12px; }
}
/* Generated by tools/render-vials.py: where the glass sits in each photograph, in percent. */
.vial[data-kind="pack"] { --gx: 30.014%; --gy: 38.104%; --gw: 39.973%; --gh: 34.615%; --ratio: 1792 / 2240; }
.vial[data-kind="hero"] { --gx: 50.108%; --gy: 34.622%; --gw: 33.136%; --gh: 35.409%; --ratio: 2800 / 2780; }

/* Ribbon: the flag colours of the 27 countries, left to right */
.ribbon { background: linear-gradient(90deg, #c8102e 0.000% 1.299%, #fff 1.299% 2.597%, #c8102e 2.597% 3.896%, #000 3.896% 5.195%, #fdda24 5.195% 6.494%, #ef3340 6.494% 7.792%, #fff 7.792% 9.091%, #00966e 9.091% 10.390%, #d62612 10.390% 11.688%, #ff0000 11.688% 12.987%, #fff 12.987% 14.286%, #171796 14.286% 15.584%, #fff 15.584% 16.883%, #d57800 16.883% 18.182%, #fff 18.182% 19.481%, #d7141a 19.481% 20.779%, #11457e 20.779% 22.078%, #c8102e 22.078% 23.377%, #fff 23.377% 24.675%, #c8102e 24.675% 25.974%, #0072ce 25.974% 27.273%, #000 27.273% 28.571%, #fff 28.571% 29.870%, #fff 29.870% 31.169%, #003580 31.169% 32.468%, #fff 32.468% 33.766%, #0055a4 33.766% 35.065%, #fff 35.065% 36.364%, #ef4135 36.364% 37.662%, #000 37.662% 38.961%, #dd0000 38.961% 40.260%, #ffce00 40.260% 41.558%, #0d5eaf 41.558% 42.857%, #fff 42.857% 44.156%, #0d5eaf 44.156% 45.455%, #ce2939 45.455% 46.753%, #fff 46.753% 48.052%, #477050 48.052% 49.351%, #169b62 49.351% 50.649%, #fff 50.649% 51.948%, #ff883e 51.948% 53.247%, #009246 53.247% 54.545%, #fff 54.545% 55.844%, #ce2b37 55.844% 57.143%, #9e3039 57.143% 58.442%, #fff 58.442% 59.740%, #9e3039 59.740% 61.039%, #fdb913 61.039% 62.338%, #006a44 62.338% 63.636%, #c1272d 63.636% 64.935%, #ed2939 64.935% 66.234%, #fff 66.234% 67.532%, #00a1de 67.532% 68.831%, #fff 68.831% 70.130%, #cf142b 70.130% 71.429%, #ae1c28 71.429% 72.727%, #fff 72.727% 74.026%, #21468b 74.026% 75.325%, #fff 75.325% 76.623%, #dc143c 76.623% 77.922%, #006600 77.922% 79.221%, #ff0000 79.221% 80.519%, #002b7f 80.519% 81.818%, #fcd116 81.818% 83.117%, #ce1126 83.117% 84.416%, #fff 84.416% 85.714%, #0b4ea2 85.714% 87.013%, #ee1c25 87.013% 88.312%, #fff 88.312% 89.610%, #005da4 89.610% 90.909%, #ed1c24 90.909% 92.208%, #aa151b 92.208% 93.506%, #f1bf00 93.506% 94.805%, #aa151b 94.805% 96.104%, #006aa7 96.104% 97.403%, #fecc00 97.403% 98.701%, #006aa7 98.701% 100.000%); }
