/* Homepage modules — index only */

:root {
  --home-red: #b02326;
  --home-red-bright: #c8102e;
  --home-gray-text: #666;
  --home-gray-bg: #f2f2f2;
  --home-container: min(1240px, 92vw);
}

/* -------- Module 1: Hero carousel -------- */
body.has-hero-banner main > .hero-carousel:first-child {
  margin-top: calc(-1 * var(--header-stack-h));
  min-height: 100vh;
  box-sizing: border-box;
}

.hero-carousel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero-carousel__slides {
  position: absolute;
  inset: 0;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-carousel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(120, 0, 20, 0.75) 0%,
    rgba(40, 0, 10, 0.45) 42%,
    rgba(10, 10, 15, 0.35) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-carousel__content {
  position: relative;
  z-index: 2;
  max-width: var(--home-container);
  margin: 0 auto;
  padding: calc(var(--header-stack-h) + 3.5rem) 4vw 8rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero-carousel__content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
}

.hero-carousel__content p {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  max-width: 36ch;
  opacity: 0.95;
}

.hero-carousel__cta {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  border: 1px solid #fff;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.hero-carousel__cta:hover {
  background: #fff;
  color: #1a1a1a;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-carousel__dot {
  width: 2.25rem;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.hero-carousel__dot.is-active {
  background: var(--home-red-bright);
  transform: scaleY(1.3);
}

.hero-carousel__curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(55vw, 520px);
  height: min(28vh, 240px);
  background: #fff;
  border-top-right-radius: 100%;
  z-index: 2;
  pointer-events: none;
}

/* -------- Module 2: split (image left, text right) -------- */
.module-split {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 4vw;
  background: #fff;
}

.module-split__grid {
  max-width: var(--home-container);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .module-split__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.module-split__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.module-split__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--home-gray-text);
}

.module-split__text .placeholder-line {
  height: 1em;
  background: linear-gradient(90deg, #eee 0%, #f5f5f5 50%, #eee 100%);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.module-split__text .placeholder-line--short {
  width: 70%;
}

.module-split__text .placeholder-line--medium {
  width: 88%;
}

/* CEO bio (home page) */
.ceo-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}

.ceo-bio__name {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  letter-spacing: 0.02em;
}

.ceo-bio__role {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #555;
}

.ceo-bio__section-title {
  margin: 1.35rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-red-bright);
  letter-spacing: 0.03em;
}

.ceo-bio p {
  margin: 0 0 0.85rem;
}

.ceo-bio__note {
  margin: 0 0 0.85rem !important;
  font-size: 0.9375rem;
  color: #444;
}

.ceo-bio__list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.ceo-bio__list li {
  margin-bottom: 0.35rem;
}

.ceo-bio__list--plain {
  list-style: disc;
}

/* -------- Module 3: What's New -------- */
.whats-new {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 4vw;
  background: #fff;
  overflow: hidden;
}

.whats-new__blob {
  position: absolute;
  border-radius: 50%;
  background: #ececec;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.whats-new__blob--1 {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  top: -8%;
  right: -10%;
}

.whats-new__blob--2 {
  width: min(320px, 50vw);
  height: min(320px, 50vw);
  bottom: 5%;
  left: -8%;
}

.whats-new__inner {
  position: relative;
  z-index: 1;
  max-width: var(--home-container);
  margin: 0 auto;
}

.whats-new__header {
  text-align: right;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.whats-new__accent {
  display: inline-block;
  width: 48px;
  height: 5px;
  background: var(--home-red-bright);
  margin-bottom: 0.75rem;
}

.whats-new__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #111;
}

.whats-new__subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--home-gray-text);
}

.whats-new__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 960px) {
  .whats-new__grid {
    grid-template-columns: 1.65fr 1fr;
    align-items: start;
  }
}

.whats-new__featured img {
  width: 100%;
  height: auto;
  display: block;
}

.whats-new__meta {
  font-size: 0.8125rem;
  margin: 1rem 0 0.5rem;
  color: var(--home-gray-text);
}

.whats-new__meta span {
  color: var(--home-red-bright);
  font-weight: 600;
}

.whats-new__headline {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.whats-new__featured-bar {
  margin-top: 1rem;
  background: var(--home-red-bright);
  padding: 1.1rem 1.25rem 1.2rem;
}

.whats-new__headline--on-red {
  color: #fff;
  font-size: clamp(1.05rem, 1.85vw, 1.35rem);
  line-height: 1.4;
}

.whats-new__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.whats-new__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.whats-new__item:first-child {
  padding-top: 0;
}

.whats-new__item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.whats-new__item .whats-new__headline {
  font-size: 1rem;
}

/* -------- Module 4: About -------- */
.about-block {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 4vw;
  background: #fff;
  overflow: hidden;
}

.about-block__deco {
  position: absolute;
  background: var(--home-gray-bg);
  z-index: 0;
  pointer-events: none;
}

.about-block__deco--1 {
  top: 8%;
  right: 0;
  width: 45%;
  height: 42%;
  border-top-left-radius: 48px;
}

.about-block__deco--2 {
  top: 28%;
  left: 0;
  width: 32%;
  height: 35%;
  border-radius: 0 24px 24px 0;
  opacity: 0.85;
}

.about-block__inner {
  position: relative;
  z-index: 1;
  max-width: var(--home-container);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 960px) {
  .about-block__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

.about-block__left {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.about-block__accent {
  width: 48px;
  height: 5px;
  background: var(--home-red-bright);
}

.about-block__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #111;
}

.about-block__body {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--home-gray-text);
  max-width: 42ch;
}

.about-block__btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--home-red-bright);
  color: var(--home-red-bright);
  font-weight: 600;
  font-size: 0.9375rem;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}

.about-block__btn:hover {
  background: var(--home-red-bright);
  color: #fff;
}

.about-block__img-sm img {
  width: 100%;
  height: auto;
  display: block;
}

.about-block__right img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom-left-radius: clamp(48px, 12vw, 120px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

@media (max-width: 959px) {
  .about-block__right {
    order: -1;
  }
}
