/* The brands' one-page sites (src/lib/brandSiteHtml.ts), from the design bundle of 2026-10-21.
   scripts/brand-sites/build.mjs appends one rule per brand: its accent colour and the desktop
   crop of its picture strip (--accent, --clip). Phones below 600px, as on birr-ponte.com. */
@font-face {
  font-family: Manrope;
  src: url(/assets/manrope-var.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html.light {
  --bg: #f5f1e7;
  --fg: #0d1b2a;
}
html.dark {
  --bg: #0f1b2d;
  --fg: #f5f0e6;
}
html,
body {
  background: var(--bg);
  color: var(--fg);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
.pan:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}
main {
  max-width: 1216px;
  margin: 0 auto;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
}
.head {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.logo {
  display: block;
  align-self: flex-start;
  width: auto;
  height: clamp(72px, calc(0.08 * min(1120px, 100vw - 96px)), 112px);
}
.pan {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: var(--clip);
}
.strip {
  position: relative;
}
.strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.snap {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  scroll-snap-align: start;
  pointer-events: none;
}
.s1 {
  left: 0;
}
.s2 {
  left: 33.3333%;
}
.s3 {
  left: 66.6667%;
}
.dots {
  display: none;
}
.text {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}
h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  text-wrap: pretty;
}
.we {
  font-size: 18px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 680px;
  text-wrap: pretty;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
}
.links a {
  color: var(--accent);
}
.quiet {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 72px;
  color: #b8b4a8;
}
.quiet p {
  font-size: 15px;
  margin: 0;
}
footer {
  font-size: 14px;
}
footer a {
  color: #b8b4a8;
}
@media (max-width: 599.98px) {
  main {
    padding: 32px 20px 48px;
    gap: 40px;
  }
  .head {
    gap: 28px;
  }
  .logo {
    height: 72px;
  }
  h1 {
    font-size: 22px;
  }
  .pan {
    aspect-ratio: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pan::-webkit-scrollbar {
    display: none;
  }
  .pan.owned {
    scroll-snap-type: x proximity;
  }
  .strip {
    width: 300%;
  }
  html.js .dots {
    display: flex;
    justify-content: center;
    margin-top: -7px;
  }
  .dots button {
    width: 44px;
    height: 44px;
    margin: 0 -13px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .dots span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b8b4a8;
    opacity: 0.4;
    transition:
      background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .dots [aria-current="true"] span {
    background: #c9a84c;
    opacity: 1;
  }
  .text {
    margin-top: 0;
    gap: 24px;
  }
  .we,
  .links,
  .quiet {
    margin-top: 0;
  }
  .links {
    gap: 24px;
  }
  .quiet {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dots span {
    transition: none;
  }
}

[data-brand="birrart"] {
  --accent: #9D174D;
  --clip: 2521 / 894;
}
[data-brand="birrquantum"] {
  --accent: #7C3AED;
  --clip: 2511 / 853;
}
[data-brand="birrreach"] {
  --accent: #DC2626;
  --clip: 2521 / 894;
}
[data-brand="birrrota"] {
  --accent: #14A8A6;
  --clip: 2512 / 942;
}
[data-brand="birrtech"] {
  --accent: #4F46E5;
  --clip: 2515 / 851;
}
[data-brand="birrtrade"] {
  --accent: #C0620F;
  --clip: 2525 / 903;
}
