:root { --showcase-height: clamp(500px, 34vw, 640px); }

.banner { position: relative; height: var(--showcase-height); overflow: hidden; color: #fff; background: #2b3336; }
.banner-slides, .banner-slide { position: absolute; inset: 0; }
.banner-slide { opacity: 0; pointer-events: none; transition: opacity .8s var(--ease); }
.banner-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,13,17,.64) 0%, rgba(4,13,17,.18) 58%, transparent 80%); }
.banner-copy { position: absolute; z-index: 1; top: 50%; left: clamp(24px, 7vw, 120px); max-width: 760px; transform: translateY(-50%); }
.banner-copy p { margin-bottom: 20px; color: var(--blue, #69c9df); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.banner-copy h1, .banner-copy h2 { max-width: 760px; margin-bottom: 32px; color: #fff; font-size: clamp(42px, 4.6vw, 68px); }
.banner-copy a { display: inline-flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; }
.banner-copy a span:last-child { transition: transform .25s var(--ease); }
.banner-copy a:hover span:last-child { transform: translateX(5px); }
.banner-controls { position: absolute; z-index: 3; right: clamp(24px, 4vw, 72px); bottom: 22px; display: flex; align-items: center; }
.banner-arrow { display: none; }
.banner-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.banner-dots button {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width var(--duration-normal) var(--ease);
}
.banner-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transform: translate(-50%, -50%);
  transition: all var(--duration-normal) var(--ease);
}
.banner-dots button.is-active {
  width: 36px;
  border-radius: 2px;
}
.banner-dots button.is-active::before {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.25);
  transform: translate(-50%, -50%);
}
.banner-dots button.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: #fff;
  transform-origin: left center;
  transform: scaleX(0);
  animation: bannerProgress 5.5s linear forwards;
}
.banner.is-paused .banner-dots button.is-active::after {
  animation-play-state: paused;
}
@keyframes bannerProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .banner-dots button.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
}

.featured-heading {
  padding-top: clamp(36px, 4vw, 56px);
  margin-bottom: clamp(16px, 2vw, 28px);
}

.featured-heading + .hero {
  margin-top: 0;
}

.hero {
  width: min(80vw, 1540px); height: var(--showcase-height); display: grid; grid-template-columns: 1.15fr .85fr;
  margin: 0 auto; background: #edf0f0; overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; order: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 72px); }
.hero h2 { margin-bottom: 22px; font-size: clamp(38px, 4vw, 56px); font-weight: 600; line-height: 1.1; }
.hero-lead { max-width: 560px; margin-bottom: 38px; color: #4f5557; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.48; }
.hero-media { order: 1; min-height: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s var(--ease); }
.hero:hover .hero-media img { transform: scale(1.025); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card { height: var(--showcase-height); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #e6e6e4; }
.feature-card { grid-column: 1 / -1; }
.feature-card:nth-child(2) .card-copy { order: 2; }
.feature-card:nth-child(2) .card-media { order: 1; }
.feature-card--reverse .card-copy { order: 2; }
.feature-card--reverse .card-media { order: 1; }
.card-media { min-width: 0; overflow: hidden; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature-card:hover img { transform: scale(1.025); }
.card-copy { display: flex; justify-content: center; flex-direction: column; padding: clamp(36px, 5vw, 72px); color: var(--ink); background: #e8ecee; }
.card-copy h3 { margin-bottom: 12px; }
.card-copy p:not(.card-index, .card-model, .card-tagline) { max-width: 420px; color: var(--muted); line-height: 1.65; }
.card-copy p.card-model { margin-bottom: 20px; color: var(--blue-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.card-copy .card-tagline { margin-bottom: 8px; color: var(--ink); font-size: clamp(20px, 1.8vw, 28px); font-weight: 600; line-height: 1.25; }
.card-index { color: var(--blue-dark); font-size: 11px; letter-spacing: .15em; }
.feature-card--palazzo .card-copy { background: #edf5f7; }
.feature-card--prana .card-copy { background: #e8ecee; }

.section#products {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
}

.split-section { width: min(80vw, 1540px); min-height: var(--showcase-height); height: auto; display: grid; grid-template-columns: .9fr 1.1fr; margin: clamp(48px, 4.5vw, 76px) auto 0; background: var(--soft); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.split-copy { align-self: center; max-width: 720px; padding: clamp(28px, 3.5vw, 48px); }
.split-copy h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 20px; }
.split-copy > p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.nobel-science-card {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.2vw, 24px) 0;
  margin: 0 0 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.nobel-badge-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
}
.nobel-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nobel-science-card__content {
  flex: 1;
}
.nobel-science-card__eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-dark, #16809c);
  letter-spacing: 1.2px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.nobel-science-card__title {
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 700;
  color: var(--ink, #101416);
  margin-bottom: 6px;
  line-height: 1.35;
}
.nobel-science-card__body {
  font-size: clamp(12.5px, 1.05vw, 14px);
  line-height: 1.65;
  color: var(--muted, #4a4a4a);
  margin: 0;
}

.applications { padding-top: clamp(48px, 4.5vw, 76px); padding-bottom: 0; }
.application-layout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.application-card { min-width: 0; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.application-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.application-card:hover > img { transform: scale(1.025); }
.application-card-title { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; color: var(--ink); background: #fff; }
.application-card h3 { margin: 0; color: inherit; font-size: clamp(16px, 1.2vw, 20px); font-weight: 600; text-wrap: pretty; }
.application-card-title span { color: var(--blue-dark); font-size: 18px; transition: transform var(--duration-normal) var(--ease); }
.application-card:hover .application-card-title span { transform: translate(3px, -3px); }

.story { background: #fff; }
.story-intro { display: grid; place-items: center; padding: clamp(48px, 4.5vw, 76px) 24px clamp(24px, 3.5vw, 40px); color: var(--ink); background: #fff; }
.story-heading { margin-bottom: 0; }
.video-wrap { width: 100%; margin: 0; background: #000; }
.video-wrap video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.partners { overflow: hidden; }
.partner-grid { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--line); background: #fff; }
.partner-grid img { width: 100%; height: 84px; padding: 14px 16px; object-fit: contain; border-right: 1px solid var(--line); border-bottom: 0; transition: transform .3s ease; }
.partner-grid img:hover { transform: scale(1.06); }
.partner-grid img:last-child { border-right: 0; }

@media (max-width: 1000px) {
  :root { --showcase-height: 440px; }
  .hero { height: var(--showcase-height); }
  .feature-card { height: 440px; }
  .split-section { height: var(--showcase-height); }
  .split-copy { padding: 64px 48px; }
  .application-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(8, 1fr); }
  .partner-grid img { height: 72px; padding: 10px 12px; }
}

@media (min-width: 1001px) {
  .section { width: min(80vw, 1540px); max-width: none; padding-right: 0; padding-left: 0; }
}

@media (max-width: 700px) {
  :root { --showcase-height: 380px; }
  .banner { height: 380px; }
  .banner-shade { background: linear-gradient(90deg, rgba(4,13,17,.7), rgba(4,13,17,.2)); }
  .banner-copy { right: 24px; }
  .banner-copy h2 { font-size: 38px; }
  .banner-controls { bottom: 16px; }
  .banner-dots { gap: 6px; padding: 4px 8px; }
  .banner-dots button { width: 22px; height: 22px; }
  .banner-dots button.is-active { width: 32px; }
  .featured-heading { padding: 56px 24px 36px; }
  .featured-heading h2 { font-size: 34px; }
  .section-heading h2, .story-heading h2 { font-size: 34px; }
  .story-intro { min-height: 230px; padding: 48px 24px 52px; }
  .story-heading h2 { margin-bottom: 18px; }
  .story-heading p { font-size: 16px; line-height: 1.7; }
  .hero { width: 100%; height: auto; grid-template-columns: 1fr; margin-bottom: 72px; }
  .hero-copy { padding: 48px 24px 44px; }
  .hero-media { height: 320px; }
  .product-grid, .split-section { grid-template-columns: 1fr; }
  .feature-card { height: auto; grid-template-columns: 1fr; }
  .feature-card--reverse .card-copy, .feature-card--reverse .card-media { order: initial; }
  .card-copy { min-height: 180px; padding: 32px 24px; }
  .card-media { height: 300px; }
  .split-section { width: 100%; height: auto; margin: 72px 0; }
  .split-media { height: 300px; }
  .split-copy { padding: 48px 24px; }
  .application-layout { grid-template-columns: 1fr; gap: 18px; }
  .application-card-title { min-height: 52px; padding: 10px 14px; }
  .application-card h3 { font-size: 17px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .partner-grid img { height: 68px; padding: 12px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .partner-grid img:nth-child(4n) { border-right: 0; }
  .partner-grid img:nth-last-child(-n+4) { border-bottom: 0; }
}
