:root {
  --black: #080a0c;
  --black-soft: #0d1013;
  --panel: #11151a;
  --panel-2: #161b21;
  --ink: #f4f6f8;
  --muted: rgba(244, 246, 248, .68);
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .21);
  --white: #ffffff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(22px, 4vw, 64px);
  color: #fff;
}
.header-brand img {
  width: 58px;
  height: 68px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-actions a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  color: rgba(255,255,255,.88);
}
.header-actions a:hover { color: #fff; }
.contact-button {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  padding: 11px 18px;
  transition: .2s ease;
}
.contact-button:hover { background: white; color: var(--black); }

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: url("assets/hero.jpg") center center / cover no-repeat;
  color: white;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,6,8,.91) 0%, rgba(4,6,8,.58) 42%, rgba(4,6,8,.14) 76%),
    linear-gradient(0deg, rgba(4,6,8,.76) 0%, transparent 46%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, 90vw);
  padding: 170px clamp(24px, 7vw, 112px) clamp(64px, 10vh, 112px);
}
.hero h1 {
  font-size: clamp(52px, 7vw, 106px);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 0 0 28px;
  max-width: 760px;
}
.hero p {
  max-width: 700px;
  margin: 0 0 40px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
  color: rgba(255,255,255,.84);
}
.scroll-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.scroll-link span { font-size: 22px; }

.brand-gateway {
  padding: 112px clamp(22px, 5vw, 72px) 132px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.035), transparent 34%),
    var(--black-soft);
}
.section-heading { max-width: var(--max); margin: 0 auto 56px; }
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.58);
}
.section-heading h2, .business h2, .contact h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.brand-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-tile {
  min-height: 340px;
  padding: 48px 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  overflow: hidden;
}
.brand-tile:last-child { border-right: 0; }
.brand-tile:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.045);
  border-color: var(--line-strong);
}
.brand-tile img {
  width: 80%;
  max-height: 150px;
  object-fit: contain;
  transition: transform .25s ease;
}
.brand-tile:hover img { transform: scale(1.04); }
.brand-tile span {
  margin-top: 30px;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.brand-bioracer img {
  width: 92%;
  filter: brightness(0) invert(1);
}
.brand-bottles img { width: 100%; }
.brand-outlet img { width: 82%; }

.business {
  padding: 0 clamp(22px, 5vw, 72px);
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.06);
}
.business:nth-of-type(even) { background: var(--black-soft); }
.business-inner {
  max-width: var(--max);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: stretch;
}
.business-inner.reverse { grid-template-columns: 1.08fr .92fr; }
.business-inner.reverse .business-copy { order: 2; }
.business-inner.reverse .logo-stage { order: 1; }
.business-copy {
  padding: clamp(68px, 8vw, 118px) clamp(20px, 6vw, 86px) clamp(68px, 8vw, 118px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reverse .business-copy {
  padding-left: clamp(20px, 6vw, 86px);
  padding-right: 0;
}
.business-copy h2 {
  max-width: 620px;
  font-size: clamp(42px, 5.6vw, 78px);
}
.business-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 28px 0 36px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
  font-weight: 800;
  padding-bottom: 7px;
  border-bottom: 2px solid currentColor;
  color: #fff;
}
.primary-link span { font-size: 18px; }
.bioracer-visual {
  min-height: 580px;
  background: url("assets/hero.jpg") 67% center / cover no-repeat;
  margin: 52px 0;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}
.logo-stage {
  margin: 52px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 6vw, 90px);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.bottles-stage {
  background:
    radial-gradient(circle at 25% 25%, rgba(34,172,202,.17), transparent 34%),
    radial-gradient(circle at 80% 75%, rgba(215,51,133,.13), transparent 38%),
    var(--panel);
}
.bottles-stage img { width: min(620px, 95%); }
.outlet-stage {
  background: linear-gradient(145deg, #171717, #090909);
}
.outlet-stage img { width: min(590px, 94%); }

.contact {
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.035), transparent 30%),
    #060708;
  color: white;
  padding: 122px clamp(22px, 6vw, 90px) 58px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.contact-intro, .contact-grid, .company-line {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.contact-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  column-gap: 50px;
}
.contact-intro .eyebrow { grid-column: 1 / -1; }
.contact-intro p:last-child {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,.68);
  max-width: 480px;
}
.contact-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-card {
  padding: 40px 32px 44px 0;
  border-right: 1px solid var(--line);
}
.contact-card + .contact-card { padding-left: 32px; }
.contact-card:last-child { border-right: 0; }
.contact-card h3 {
  margin: 0 0 24px;
  font-size: 22px;
  color: #fff;
}
.contact-card a {
  display: block;
  width: fit-content;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  margin: 10px 0;
  font-size: 17px;
}
.contact-card a:hover { color: white; }
/* Yleiset yhteydenotot: sama neutraali väri kuin muissa korteissa. */
.contact-card.emphasis h3 { color: #fff; }

.company-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-top: 36px;
  color: rgba(255,255,255,.62);
  font-size: 15px;
  line-height: 1.65;
}
.company-line > div { display: grid; gap: 4px; }
.company-line strong { color: rgba(255,255,255,.86); }
.company-line address {
  margin: 0;
  font-style: normal;
  text-align: right;
}

footer {
  background: #030405;
  color: rgba(255,255,255,.58);
  padding: 28px clamp(22px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.07);
}
footer img {
  width: 36px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .72;
}
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: white; }

@media (max-width: 900px) {
  .header-actions > a:not(.contact-button) { display: none; }
  .brand-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .brand-tile {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand-tile img { max-height: 120px; }
  .business { padding: 0; }
  .business-inner, .business-inner.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .business-inner.reverse .business-copy,
  .business-inner.reverse .logo-stage { order: initial; }
  .business-copy, .reverse .business-copy { padding: 78px 28px; }
  .bioracer-visual, .logo-stage { margin: 0; min-height: 440px; }
  .contact-intro { grid-template-columns: 1fr; }
  .contact-intro p:last-child { margin-top: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card, .contact-card + .contact-card {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .contact-card:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  .site-header { padding: 18px 20px; }
  .header-brand img { width: 42px; height: 52px; }
  .contact-button { padding: 9px 14px; }
  .hero {
    min-height: 92svh;
    background-position: 63% center;
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(5,7,9,.9) 0%, rgba(5,7,9,.35) 78%);
  }
  .hero-content { padding: 150px 24px 58px; width: 100%; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero p { font-size: 17px; }
  .brand-gateway { padding: 82px 20px 94px; }
  .section-heading { margin-bottom: 36px; }
  .brand-tile { min-height: 220px; padding: 34px 18px 22px; }
  .business-copy h2 { font-size: 43px; }
  .business-copy > p:not(.eyebrow) { font-size: 16px; }
  .bioracer-visual, .logo-stage { min-height: 340px; }
  .contact { padding: 84px 24px 44px; }
  .company-line { flex-direction: column; gap: 18px; }
  .company-line address { text-align: left; }
  footer { flex-wrap: wrap; }
}
