/* ==========================================================================
   Collagen Up — static landing page
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Narin";
  src: url("../fonts/narin.woff2") format("woff2"),
       url("../fonts/narin.woff") format("woff");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NTR";
  src: url("../fonts/ntr.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #2c3142;
  --muted: #858a99;
  --footer: #86754b;
  --gold: #f2b81c;
  --container: 1170px;
  --font-body: "NTR", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Narin", "NTR", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.3334;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
}

p {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 26.667px;
}
p.small { font-size: 16px; }
img { border: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.center { text-align: center; }

/* ---------- Typography ---------- */
.h-small {
  font-size: 26px;
  line-height: 28.6px;
  font-weight: 500;
  margin: 0 0 9.5px;
}
.h-large {
  font-size: 64px;
  line-height: 70.4px;
  margin: 0 0 9.5px;
}
.h-medium {
  font-size: 52px;
  line-height: 57.2px;
  margin: 0 0 10px;
}
.lead {
  font-size: 30px;
  line-height: 26px;
  color: var(--muted);
  margin: 0 0 40px;
}
.sec-features .lead { margin-bottom: 20px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 130;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 149px;
  transition: height .3s ease;
}
.site-header.is-stuck {
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, .1);
}
.site-header.is-stuck .header-inner { height: 89px; }

.logo { display: block; flex: none; }
.logo img { display: block; width: 159px; height: 49px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 49px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 27px;
  color: #000;
  white-space: nowrap;
  padding: 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

/* Burger */
.menu-toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 120;
}
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: #2c2c2c;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 20px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  text-align: center;
}
.mobile-menu a:hover { color: #000; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 800px;
  overflow: hidden;
  background: #fff;
}
.hero-stage { position: absolute; inset: 0; }
.hero-deco,
.hero-bottles {
  position: absolute;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
.deco-cloud-1 { left: calc(50% + 532px); top: 116px; width: 262px; height: 146px; z-index: 1; }
.deco-cloud-2 { left: calc(50% + 420px); top: 152px; width: 149px; height: 83px; z-index: 2; }
.deco-wave    { left: calc(50% - 1085px); top: 611px; width: 2503px; height: 354px; z-index: 3; }
.deco-ray     { left: calc(50% - 330px); top: 327px; width: 188px; height: 188px; z-index: 4; }
.deco-sun     { left: calc(50% + 647px); top: 71px; width: 115px; height: 117px; z-index: 5; }
.hero-bottles { left: calc(50% - 567px); top: 89px; width: 1150px; height: 647px; z-index: 6; }

.hero-copy {
  position: absolute;
  z-index: 10;
  left: calc(50% - 503px);
  top: 263px;
}
.hero-kicker {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 44px;
  line-height: 50px;
  font-weight: 400;
  color: #0c0c0c;
}
.hero-title {
  margin: 10px 0 0;
  font-family: "NTR", Arial, sans-serif;
  font-size: 125px;
  line-height: 185px;
  font-weight: 400;
  color: #0c0c0c;
}

/* entrance */
.hero-copy,
.hero-bottles {
  animation: heroFade .9s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-bottles { animation-name: heroDrop; animation-delay: .1s; }
.deco-wave { animation: heroRise 1s cubic-bezier(.22, .61, .36, 1) both; animation-delay: .15s; }
.deco-sun, .deco-cloud-1, .deco-cloud-2, .deco-ray {
  animation: decoFade 1.1s ease both;
  animation-delay: .25s;
}
@keyframes heroFade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroDrop { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes decoFade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; }

.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.split-text { width: 653px; }
.split--text-right .split-text { width: 750px; }
.split-media { width: 360px; flex: none; }
.split-media img { display: block; width: 100%; height: auto; }

.sec-overview { height: 566px; padding-top: 50px; }
.sec-features { height: 603px; padding-top: 100px; }
.sec-features .split-media { margin-top: 10px; }
.sec-cildin   { height: 415px; padding-top: 20px; }
.sec-erken    { height: 628px; padding-top: 40px; }
.sec-erken .split-media { margin-top: 30px; }

.sec-erken .split-text { width: 750px; }

/* list */
.list { margin: 0; padding-left: 20px; list-style: disc; }
.list li {
  font-size: 20px;
  line-height: 26.67px;
  margin: 0 0 4.33px;
  padding-left: 0;
}
.list li::marker { color: var(--muted); }

/* separator */
.separator {
  height: 36px;
  border-top: 1px solid #ededed;
}

/* ==========================================================================
   Blue scene
   ========================================================================== */
.scene {
  position: relative;
  height: 710px;
  overflow: hidden;
  background: #fff url("../img/sky.png") repeat-x left top;
  background-size: auto 100%;
}
.scene-stage { position: absolute; inset: 0; }
.scene-stage > img { position: absolute; }
.scene-gallery { display: none; }

.scene-clouds {
  left: calc(50% - 127px);
  top: 156px;
  width: 570px;
  height: 163px;
  z-index: 1;
}
.scene-bottles {
  left: calc(50% - 368px);
  top: 67px;
  width: 857px;
  height: 482px;
  z-index: 3;
}
.scene-shadow {
  left: calc(50% + 168px);
  top: 560px;
  width: 342px;
  height: 132px;
  z-index: 4;
}
.scene-copy {
  position: absolute;
  left: calc(50% - 564px);
  top: 131px;
  z-index: 2;
  width: 560px;
}
.scene-title {
  margin: 0 0 0 3px;
  font-size: 52px;
  line-height: 22px;
  color: var(--ink);
  white-space: nowrap;
}
.scene-text {
  margin: 41px 0 0;
  width: 514px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 21px;
  line-height: 30px;
  color: #858891;
}

/* ==========================================================================
   Product selection
   ========================================================================== */
.sec-urun { height: 888px; padding-top: 1px; }
.urun-text {
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 26px;
  color: var(--muted);
}
.kits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 125px 307px;
  margin-top: 140px;
}
.kit { display: block; width: 278px; height: 185px; object-fit: cover; }

.spacer-100 { height: 100px; }

/* ==========================================================================
   Other products
   ========================================================================== */
.sec-other { height: 195px; padding-top: 20px; }
.sec-other .lead { margin: 0; }

/* ==========================================================================
   Cards
   ========================================================================== */
.sec-cards { height: 290px; padding-top: 0; }
.cards { display: flex; gap: 30px; }
.card {
  position: relative;
  display: block;
  width: 555px;
  height: 260px;
  perspective: 2220px;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.4, .2, .2, 1);
}
.card:hover, .card:focus-visible { transform: rotateY(180deg); }
.card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.card-front {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.card-back {
  background: var(--footer);
  transform: rotateY(180deg);
  padding: 104px 20px 20px;
  text-align: center;
  justify-content: flex-start;
}
.card-title {
  font-family: "NTR", sans-serif;
  font-size: 32px;
  line-height: 35.2px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 19px;
}
.card-link {
  font-size: 20px;
  line-height: 26.67px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 105px;
  background: var(--footer);
  color: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.copyright {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}
.social { display: flex; align-items: center; gap: 10px; }
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--footer);
  transition: transform .2s ease;
}
.social a:hover { transform: translateY(-2px); }

.page {
  position: relative;
  z-index: 1;
  background: #fff;
  padding-bottom: 18px;
}
.footer-spacer { height: 105px; }

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 126px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(44, 49, 66, .35);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(44, 49, 66, .6); }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive — tablet
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --container: 100%; }

  .h-large, .h-medium { font-size: 48px; line-height: 1.1; }
  .h-small { font-size: 24px; line-height: 1.1; }

  .main-nav { gap: 26px; }
  .main-nav a { font-size: 17px; }

  .split-text,
  .split--text-right .split-text,
  .sec-erken .split-text { width: 58%; }
  .split-media { width: 32%; }

  .hero-copy { left: 8%; }
  .deco-sun { left: auto; right: 2%; }

  .scene-copy { left: 6%; width: 46%; }
  .scene-title { font-size: 40px; white-space: normal; }
  .scene-text { width: 100%; font-size: 19px; line-height: 27px; }
  .scene-bottles { left: auto; right: 0; width: 60%; height: auto; top: 90px; }
  .scene-clouds { left: 30%; }
  .scene-shadow { right: 6%; }

  .urun-text { width: 100%; }
  .kits { gap: 60px 80px; }
  .card { width: calc(50% - 15px); }
}

/* ==========================================================================
   Responsive — mobile
   ========================================================================== */
@media (max-width: 767px) {
  body { font-size: 20px; }

  .container { width: 100%; padding: 0 15px; }

  .h-large { font-size: 64px; line-height: 70.4px; }
  .h-medium { font-size: 52px; line-height: 57.2px; }
  .h-small { font-size: 64px; line-height: 70.4px; }
  .lead { margin-bottom: 40px; }

  /* Header */
  .header-inner { height: 99px; }
  .site-header.is-stuck .header-inner { height: 79px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .logo img { width: 159px; height: 49px; }

  /* Hero */
  .hero { height: 585px; margin-bottom: 56px; }
  .deco-sun, .deco-cloud-1, .deco-cloud-2 { display: none; }
  .hero-bottles {
    left: calc(50% - 506px);
    top: 21px;
    width: 726px;
    height: 409px;
  }
  .deco-wave {
    left: calc(50% - 601px);
    top: 496px;
    width: 2034px;
    height: 288px;
  }
  .deco-ray { left: calc(50% + 12px); top: 265px; width: 153px; height: 153px; }
  .hero-copy { left: calc(50% - 153px); top: 396px; }
  .hero-kicker { font-size: 36px; line-height: 41px; }
  .hero-title { font-size: 67px; line-height: 99px; margin-top: -19px; }

  /* Sections */
  .split { flex-direction: column; justify-content: flex-start; }
  .split-text,
  .split--text-right .split-text,
  .sec-erken .split-text { width: 100%; }
  .split-media { width: 100%; display: flex; justify-content: center; order: -1; }
  .split-media img { width: 360px; max-width: 100%; height: auto; }
  .sec-erken .split-media { margin-top: 0; }

  .sec-overview { height: 1276px; padding-top: 70px; }
  .sec-overview .split { gap: 35px; }
  .sec-overview .split-text p { text-align: justify; }

  .separator { height: 36px; }
  .sec-overview + .separator { height: 20px; }
  .sec-cildin + .separator,
  .sec-erken + .separator { height: 0; border: 0; }
  .page { padding-bottom: 0; }

  .sec-features { height: 1322px; padding-top: 70px; }
  .sec-features .split { gap: 35px; }
  .sec-features .split-media { display: flex; margin-top: 0; }
  .sec-cildin { height: 994px; padding-top: 70px; }
  .sec-cildin .split { gap: 35px; }
  .sec-erken { height: 1356px; padding-top: 70px; }
  .sec-erken .split { gap: 55px; }

  /* Scene */
  .scene {
    height: 786px;
    padding: 0;
    background-size: auto 100%;
  }
  .scene-stage { display: none; }
  .scene-bottles, .scene-shadow { display: none; }
  .scene-clouds {
    display: block;
    left: auto;
    right: -330px;
    top: 10px;
    width: 570px;
    height: 163px;
    z-index: 0;
  }
  .scene-copy {
    position: static;
    width: 100%;
    padding: 0 15px;
  }
  .scene-gallery {
    position: relative;
    display: block;
    height: 285px;
    padding-top: 0;
    overflow: visible;
  }
  .scene-gallery img {
    position: absolute;
    left: -312px;
    top: -4px;
    display: block;
    width: 655px;
    height: auto;
    max-width: none;
  }
  .scene-title {
    margin: 25px 0 0;
    font-size: 26px;
    line-height: 28.6px;
    white-space: normal;
    text-align: left;
  }
  .scene-text {
    margin: 10px 0 0;
    width: 100%;
    font-family: var(--font-head);
    font-size: 20px;
    line-height: 26.67px;
    color: var(--muted);
  }

  /* Product selection */
  .sec-urun { height: 2095px; padding-top: 130px; }
  .sec-urun .h-medium { font-size: 64px; line-height: 70.4px; }
  .urun-text { font-size: 30px; line-height: 26px; }
  .kits { margin-top: 70px; gap: 54px 0; }
  .kit { width: 360px; max-width: 100%; height: 240px; }
  .kit:nth-child(1) { order: 2; }
  .kit:nth-child(2) { order: 3; }
  .kit:nth-child(3) { order: 1; }

  .spacer-100 { display: none; }

  /* Other products */
  .sec-other { height: 186px; padding-top: 0; margin-top: 130px; }
  .sec-other .h-large { font-size: 26px; line-height: 28.6px; font-weight: 500; margin-bottom: 9px; }
  .sec-other .lead { font-size: 30px; line-height: 26px; }

  /* Cards */
  .sec-cards { height: 549px; padding-top: 0; }
  .cards { flex-direction: column; gap: 0; }
  .card { width: 360px; max-width: 100%; height: 260px; margin: 0 auto; }
  .card-front { border-radius: 0; }
  .card-back { display: none; }

  /* Footer */
  .site-footer { height: 119px; }
  .footer-inner {
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .copyright { font-size: 18px; line-height: 24px; text-align: center; }
  .social { gap: 16px; }
  .footer-spacer { height: 119px; }

  .to-top { right: 20px; bottom: 140px; }
}
