/*
 * home.css
 * Styles for all homepage sections.
 *
 * RULES:
 *   1. Every value references a var(--theme-*) from tokens.css.
 *   2. BEM class naming: block__element--modifier.
 *   3. No hardcoded colours, sizes, or fonts.
 *   4. Loaded only on the index template via theme.liquid.
 */


/* ═══════════════════════════════════════════════════════════════════
   SHARED — Rose & Grey-style section heading
   Wide-spaced uppercase heading used across multiple homepage sections.
   Apply class="section-heading" alongside block-specific heading class.
   ═══════════════════════════════════════════════════════════════════ */

.section-heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--theme-color-text-primary);
  text-align: center;
  margin: 0 0 var(--theme-space-lg);
}

/* ── Placeholder SVG overrides — make Shopify placeholders fill containers ── */
.hero-banner__placeholder,
.two-up-banners__placeholder,
.lifestyle-grid__placeholder,
.category-mosaic__placeholder,
.category-cards__placeholder,
.welcome-section__placeholder-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__placeholder svg,
.two-up-banners__placeholder svg,
.lifestyle-grid__placeholder svg,
.category-mosaic__placeholder svg,
.category-cards__placeholder svg,
.welcome-section__placeholder-svg svg {
  width: 100%;
  height: 100%;
}

/* Hide hero banner when it only has a placeholder (no real media) */
.hero-banner:has(.hero-banner__placeholder) {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════════════════════════════════ */

.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: var(--theme-z-base);
}

.hero-banner__media img,
.hero-banner__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* YouTube / Vimeo iframe — scaled to cover the banner area */
.hero-banner__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;  /* 16:9 ratio */
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Poster image shown behind iframe while it loads */
.hero-banner__poster {
  position: absolute;
  inset: 0;
  z-index: var(--theme-z-base);
}

.hero-banner__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--theme-color-black);
  z-index: var(--theme-z-base);
}

.hero-banner__content {
  position: relative;
  z-index: var(--theme-z-raised);
  width: 100%;
  max-width: var(--theme-max-width-site);
  margin: 0 auto;
  padding: var(--theme-space-3xl) var(--theme-gutter-desktop);
}

.hero-banner__content--left {
  text-align: left;
  max-width: 60%;
}

.hero-banner__content--center {
  text-align: center;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-banner__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-4xl);
  font-weight: var(--theme-weight-normal);
  line-height: var(--theme-leading-tight);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--theme-color-white);
  margin: 0 0 var(--theme-space-sm);
}

.hero-banner__subheading {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-lg);
  font-weight: var(--theme-weight-normal);
  line-height: var(--theme-leading-base);
  color: var(--theme-color-white);
  margin: 0 0 var(--theme-space-lg);
  opacity: 0.9;
}

.hero-banner__cta {
  margin-top: var(--theme-space-xs);
}

@media (max-width: 767px) {
  .hero-banner__content {
    padding: var(--theme-space-2xl) var(--theme-gutter);
  }

  .hero-banner__content--left {
    max-width: 100%;
  }

  .hero-banner__heading {
    font-size: var(--theme-text-3xl);
  }

  .hero-banner__subheading {
    font-size: var(--theme-text-md);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   STRAPLINE
   ═══════════════════════════════════════════════════════════════════ */

.strapline {
  text-align: center;
}

.strapline--light-bg {
  background-color: var(--theme-color-brand-cream);
}

.strapline__inner {
  max-width: var(--theme-max-width-content);
  margin: 0 auto;
  padding: 0 var(--theme-gutter-desktop);
}

.strapline__text {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-xl);
  font-style: italic;
  font-weight: var(--theme-weight-normal);
  line-height: var(--theme-leading-base);
  color: var(--theme-color-text-primary);
}

.strapline__text p {
  margin: 0;
}

@media (max-width: 767px) {
  .strapline__inner {
    padding: 0 var(--theme-gutter);
  }

  .strapline__text {
    font-size: var(--theme-text-lg);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   FEATURED COLLECTION
   ═══════════════════════════════════════════════════════════════════ */

.featured-collection {
  padding: var(--theme-space-2xl) 0;
}

.featured-collection__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--theme-space-lg);
  gap: var(--theme-space-sm);
}

.featured-collection__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--theme-color-text-primary);
  margin: 0;
}

.featured-collection__heading em,
.featured-collection__heading i {
  font-style: normal;
  font-weight: var(--theme-weight-semibold);
}

.featured-collection__view-all {
  font-family: var(--theme-font-ui);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: var(--theme-tracking-wide);
  text-transform: uppercase;
  color: var(--theme-color-text-link);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--theme-space-3xs);
  white-space: nowrap;
  transition: color var(--theme-duration-fast) var(--theme-ease-out);
}

.featured-collection__view-all:hover {
  color: var(--theme-color-text-link-hover);
  text-decoration: none;
}

.featured-collection__grid {
  display: grid;
  grid-template-columns: var(--theme-grid-cols-collection);
  gap: var(--theme-grid-gap);
}

@media (max-width: 767px) {
  .featured-collection {
    padding: var(--theme-space-xl) 0;
  }

  .featured-collection__header {
    margin-bottom: var(--theme-space-md);
  }

  .featured-collection__heading {
    font-size: var(--theme-text-xs);
    letter-spacing: 0.25em;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   CATEGORY MOSAIC
   ═══════════════════════════════════════════════════════════════════ */

.category-mosaic {
  padding: var(--theme-space-2xl) 0;
}

.category-mosaic__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--theme-color-text-primary);
  text-align: center;
  margin: 0 0 var(--theme-space-lg);
}

.category-mosaic__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--theme-grid-gap);
  min-height: 560px;
}

.category-mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--theme-radius-md);
  display: block;
  text-decoration: none;
}

.category-mosaic__item:hover {
  text-decoration: none;
}

.category-mosaic__item--large {
  grid-row: 1 / 3;
}

.category-mosaic__item-media {
  position: absolute;
  inset: 0;
}

.category-mosaic__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--theme-duration-slow) var(--theme-ease-out);
}

.category-mosaic__item:hover .category-mosaic__item-media img {
  transform: scale(1.04);
}

.category-mosaic__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.05) 60%
  );
  z-index: var(--theme-z-base);
}

.category-mosaic__item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--theme-space-md);
  z-index: var(--theme-z-raised);
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-lg);
  font-weight: var(--theme-weight-bold);
  color: var(--theme-color-white);
  letter-spacing: var(--theme-tracking-normal);
}

.category-mosaic__item--large .category-mosaic__item-label {
  font-size: var(--theme-text-2xl);
  padding: var(--theme-space-lg);
}

@media (max-width: 767px) {
  .category-mosaic {
    padding: var(--theme-space-xl) 0;
  }

  .category-mosaic__heading {
    font-size: var(--theme-text-xs);
    letter-spacing: 0.25em;
  }

  .category-mosaic__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .category-mosaic__item {
    min-height: 220px;
  }

  .category-mosaic__item--large {
    grid-row: auto;
    min-height: 300px;
  }

  .category-mosaic__item-label {
    font-size: var(--theme-text-md);
  }

  .category-mosaic__item--large .category-mosaic__item-label {
    font-size: var(--theme-text-lg);
    padding: var(--theme-space-md);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   LOGO BAR
   ═══════════════════════════════════════════════════════════════════ */

.logo-bar {
  padding: var(--theme-space-2xl) 0;
  text-align: center;
}

.logo-bar__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: var(--theme-tracking-widest);
  text-transform: uppercase;
  color: var(--theme-color-text-secondary);
  margin: 0 0 var(--theme-space-lg);
}

.logo-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--theme-space-xl);
  flex-wrap: wrap;
}

.logo-bar__logo {
  flex: 0 0 auto;
  max-width: 120px;
  opacity: 0.6;
  transition: opacity var(--theme-duration-base) var(--theme-ease-out);
  filter: grayscale(100%);
}

.logo-bar__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-bar__logo img {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.logo-bar__quotes {
  margin-top: var(--theme-space-xl);
  display: flex;
  justify-content: center;
  gap: var(--theme-space-xl);
  flex-wrap: wrap;
}

.logo-bar__quote {
  max-width: 360px;
  text-align: center;
}

.logo-bar__quote-text {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-md);
  font-style: italic;
  line-height: var(--theme-leading-base);
  color: var(--theme-color-text-primary);
  margin: 0 0 var(--theme-space-2xs);
}

.logo-bar__quote-attribution {
  font-family: var(--theme-font-ui);
  font-size: var(--theme-text-xs);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: var(--theme-tracking-wide);
  text-transform: uppercase;
  color: var(--theme-color-text-secondary);
  margin: 0;
}

@media (max-width: 767px) {
  .logo-bar {
    padding: var(--theme-space-xl) 0;
  }

  .logo-bar__logos {
    gap: var(--theme-space-lg);
  }

  .logo-bar__logo {
    max-width: 90px;
  }

  .logo-bar__quotes {
    flex-direction: column;
    align-items: center;
    gap: var(--theme-space-lg);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PROMO BANNER
   ═══════════════════════════════════════════════════════════════════ */

.promo-banner {
  position: relative;
  overflow: hidden;
}

.promo-banner__media {
  position: absolute;
  inset: 0;
  z-index: var(--theme-z-base);
}

.promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner__inner {
  position: relative;
  z-index: var(--theme-z-raised);
  max-width: var(--theme-max-width-site);
  margin: 0 auto;
  padding: var(--theme-space-3xl) var(--theme-gutter-desktop);
  display: flex;
  align-items: center;
}

.promo-banner__panel {
  background-color: var(--theme-color-brand-dark);
  color: var(--theme-color-white);
  padding: var(--theme-space-xl);
  max-width: 480px;
  border-radius: var(--theme-radius-md);
}

.promo-banner__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-3xl);
  font-weight: var(--theme-weight-bold);
  line-height: var(--theme-leading-tight);
  color: var(--theme-color-white);
  margin: 0 0 var(--theme-space-md);
}

.promo-banner__text {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-md);
  line-height: var(--theme-leading-base);
  color: var(--theme-color-white);
  opacity: 0.85;
  margin: 0 0 var(--theme-space-lg);
}

.promo-banner__text p {
  margin: 0 0 var(--theme-space-sm);
}

.promo-banner__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .promo-banner__inner {
    padding: var(--theme-space-2xl) var(--theme-gutter);
    min-height: 400px;
    align-items: flex-end;
  }

  .promo-banner__panel {
    max-width: 100%;
    padding: var(--theme-space-lg);
  }

  .promo-banner__heading {
    font-size: var(--theme-text-2xl);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════════════════════════════ */

.category-cards {
  padding: var(--theme-space-2xl) 0;
}

.category-cards__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--theme-color-text-primary);
  text-align: center;
  margin: 0 0 var(--theme-space-lg);
}

.category-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--theme-grid-gap);
}

.category-cards__card {
  text-decoration: none;
  display: block;
  text-align: center;
}

.category-cards__card:hover {
  text-decoration: none;
}

.category-cards__card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--theme-radius-full);
  margin-bottom: var(--theme-space-sm);
}

.category-cards__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--theme-duration-slow) var(--theme-ease-out);
}

.category-cards__card:hover .category-cards__card-media img {
  transform: scale(1.06);
}

.category-cards__card-label {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-md);
  font-weight: var(--theme-weight-semibold);
  color: var(--theme-color-text-primary);
  transition: color var(--theme-duration-fast) var(--theme-ease-out);
}

.category-cards__card:hover .category-cards__card-label {
  color: var(--theme-color-brand-gold);
}

@media (max-width: 1023px) {
  .category-cards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .category-cards {
    padding: var(--theme-space-xl) 0;
  }

  .category-cards__heading {
    font-size: var(--theme-text-xs);
    letter-spacing: 0.25em;
  }

  .category-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--theme-grid-gap-sm);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   VALUE PROPS
   ═══════════════════════════════════════════════════════════════════ */

.value-props {
  padding: var(--theme-space-2xl) 0;
}

.value-props__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--theme-space-2xl);
  align-items: start;
}

.value-props__intro {
  padding-top: var(--theme-space-sm);
}

.value-props__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--theme-color-text-primary);
  margin: 0 0 var(--theme-space-md);
}

.value-props__subheading {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-md);
  line-height: var(--theme-leading-base);
  color: var(--theme-color-text-secondary);
}

.value-props__subheading p {
  margin: 0;
}

.value-props__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--theme-space-lg);
}

.value-props__prop {
  display: flex;
  flex-direction: column;
  gap: var(--theme-space-xs);
}

.value-props__prop-icon {
  color: var(--theme-color-brand-gold);
  flex-shrink: 0;
}

.value-props__prop-title {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-md);
  font-weight: var(--theme-weight-bold);
  line-height: var(--theme-leading-snug);
  color: var(--theme-color-text-primary);
  margin: 0;
}

.value-props__prop-description {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-sm);
  line-height: var(--theme-leading-base);
  color: var(--theme-color-text-secondary);
  margin: 0;
}

@media (max-width: 767px) {
  .value-props {
    padding: var(--theme-space-xl) 0;
  }

  .value-props__inner {
    grid-template-columns: 1fr;
    gap: var(--theme-space-lg);
  }

  .value-props__heading {
    font-size: var(--theme-text-xs);
    letter-spacing: 0.25em;
  }

  .value-props__grid {
    grid-template-columns: 1fr;
    gap: var(--theme-space-md);
  }

  .value-props__prop {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--theme-space-sm);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   TWO-UP BANNERS
   ═══════════════════════════════════════════════════════════════════ */

.two-up-banners {
  padding: var(--theme-space-xs) 0;
}

.two-up-banners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--theme-grid-gap);
  max-width: var(--theme-max-width-site);
  margin: 0 auto;
  padding: 0 var(--theme-gutter-desktop);
}

.two-up-banners__banner {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  text-decoration: none;
}

.two-up-banners__banner:hover {
  text-decoration: none;
}

.two-up-banners__media {
  position: absolute;
  inset: 0;
}

.two-up-banners__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--theme-duration-slow) var(--theme-ease-out);
}

.two-up-banners__banner:hover .two-up-banners__media img {
  transform: scale(1.04);
}

.two-up-banners__media--placeholder {
  background-color: var(--theme-color-bg-surface);
}

.two-up-banners__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  z-index: var(--theme-z-base);
}

.two-up-banners__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--theme-space-lg);
  z-index: var(--theme-z-raised);
  color: var(--theme-color-white);
}

.two-up-banners__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-xl);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--theme-color-white);
  margin: 0 0 var(--theme-space-3xs);
}

.two-up-banners__subheading {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-md);
  color: var(--theme-color-white);
  opacity: 0.85;
  margin: 0 0 var(--theme-space-sm);
}

.two-up-banners__cta {
  display: inline-block;
  font-family: var(--theme-font-ui);
  font-size: var(--theme-text-xs);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--theme-color-white);
  border-bottom: var(--theme-border-width) solid var(--theme-color-white);
  padding-bottom: var(--theme-space-3xs);
}

@media (max-width: 767px) {
  .two-up-banners__grid {
    grid-template-columns: 1fr;
    padding: 0 var(--theme-gutter);
  }

  .two-up-banners__banner {
    aspect-ratio: 4 / 3;
  }

  .two-up-banners__heading {
    font-size: var(--theme-text-lg);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   LIFESTYLE GRID
   ═══════════════════════════════════════════════════════════════════ */

.lifestyle-grid {
  padding: var(--theme-space-2xl) 0;
}

.lifestyle-grid__heading {
  margin-bottom: var(--theme-space-lg);
}

.lifestyle-grid__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--theme-grid-gap);
}

.lifestyle-grid__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  text-decoration: none;
}

.lifestyle-grid__item:hover {
  text-decoration: none;
}

.lifestyle-grid__media {
  position: absolute;
  inset: 0;
}

.lifestyle-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--theme-duration-slow) var(--theme-ease-out);
}

.lifestyle-grid__item:hover .lifestyle-grid__media img {
  transform: scale(1.04);
}

.lifestyle-grid__media--placeholder {
  background-color: var(--theme-color-bg-surface);
}

.lifestyle-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  z-index: var(--theme-z-base);
  opacity: 0;
  transition: opacity var(--theme-duration-base) var(--theme-ease-out);
}

.lifestyle-grid__item:hover .lifestyle-grid__overlay {
  opacity: 1;
}

.lifestyle-grid__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--theme-space-md);
  z-index: var(--theme-z-raised);
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-xs);
  font-weight: var(--theme-weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--theme-color-white);
  opacity: 0;
  transform: translateY(var(--theme-space-2xs));
  transition:
    opacity var(--theme-duration-base) var(--theme-ease-out),
    transform var(--theme-duration-base) var(--theme-ease-out);
}

.lifestyle-grid__item:hover .lifestyle-grid__label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .lifestyle-grid {
    padding: var(--theme-space-xl) 0;
  }

  .lifestyle-grid__grid {
    gap: var(--theme-grid-gap-sm);
  }

  .lifestyle-grid__label {
    opacity: 1;
    transform: none;
  }

  .lifestyle-grid__overlay {
    opacity: 1;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   WELCOME SECTION
   ═══════════════════════════════════════════════════════════════════ */

.welcome-section {
  padding: var(--theme-space-2xl) 0;
}

.welcome-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--theme-space-xl);
  align-items: stretch;
}

.welcome-section__inner--reversed {
  direction: rtl;
}

.welcome-section__inner--reversed > * {
  direction: ltr;
}

.welcome-section__media {
  overflow: hidden;
}

.welcome-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.welcome-section__placeholder {
  aspect-ratio: 4 / 5;
  background-color: var(--theme-color-bg-surface);
}

.welcome-section__content {
  padding: var(--theme-space-2xl) var(--theme-space-xl);
  border: var(--theme-border-width) solid var(--theme-color-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcome-section__heading {
  font-family: var(--theme-font-heading);
  font-size: var(--theme-text-3xl);
  font-weight: var(--theme-weight-bold);
  color: var(--theme-color-text-primary);
  margin: 0 0 var(--theme-space-lg);
  line-height: var(--theme-leading-tight);
}

.welcome-section__text {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-md);
  font-style: italic;
  line-height: var(--theme-leading-base);
  color: var(--theme-color-text-secondary);
  margin-bottom: var(--theme-space-xl);
}

.welcome-section__cta {
  font-family: var(--theme-font-ui);
  font-size: var(--theme-text-sm);
  font-weight: var(--theme-weight-bold);
  color: var(--theme-color-text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--theme-space-xs);
}

.welcome-section__cta:hover {
  color: var(--theme-color-brand-gold);
}

.welcome-section__text p {
  margin: 0 0 var(--theme-space-sm);
}

.welcome-section__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .welcome-section {
    padding: var(--theme-space-xl) 0;
  }

  .welcome-section__inner {
    grid-template-columns: 1fr;
    gap: var(--theme-space-lg);
  }

  .welcome-section__inner--reversed {
    direction: ltr;
  }

  .welcome-section__content {
    padding: var(--theme-space-lg);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════════════ */

.newsletter {
  padding: var(--theme-space-3xl) 0;
  background-color: var(--theme-color-brand-cream);
}

.newsletter--dark {
  background-color: var(--theme-color-brand-dark);
}

.newsletter__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.newsletter__heading {
  margin-bottom: var(--theme-space-sm);
}

.newsletter--dark .newsletter__heading {
  color: var(--theme-color-white);
}

.newsletter__text {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-md);
  line-height: var(--theme-leading-base);
  color: var(--theme-color-text-secondary);
  margin: 0 0 var(--theme-space-lg);
}

.newsletter--dark .newsletter__text {
  color: var(--theme-color-gray-300);
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  height: var(--theme-input-height);
  padding: 0 var(--theme-input-padding-x);
  font-family: var(--theme-font-body);
  font-size: var(--theme-input-font-size);
  color: var(--theme-color-text-primary);
  background-color: var(--theme-input-bg);
  border: var(--theme-border-width) solid var(--theme-input-border);
  border-right: none;
  border-radius: var(--theme-input-radius) 0 0 var(--theme-input-radius);
  outline: none;
  transition: border-color var(--theme-duration-fast) var(--theme-ease-out);
}

.newsletter__input:focus {
  border-color: var(--theme-input-border-focus);
  box-shadow: var(--theme-input-shadow-focus);
}

.newsletter__input::placeholder {
  color: var(--theme-color-text-muted);
}

.newsletter__btn {
  border-radius: 0 var(--theme-btn-radius) var(--theme-btn-radius) 0;
  white-space: nowrap;
}

.newsletter__success {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-sm);
  color: var(--theme-color-success);
  margin: var(--theme-space-sm) 0 0;
}

.newsletter__error {
  font-family: var(--theme-font-body);
  font-size: var(--theme-text-sm);
  color: var(--theme-color-error);
  margin: var(--theme-space-sm) 0 0;
}

@media (max-width: 767px) {
  .newsletter {
    padding: var(--theme-space-2xl) 0;
  }

  .newsletter__form {
    flex-direction: column;
    gap: var(--theme-space-2xs);
  }

  .newsletter__input {
    border-right: var(--theme-border-width) solid var(--theme-input-border);
    border-radius: var(--theme-input-radius);
  }

  .newsletter__btn {
    border-radius: var(--theme-btn-radius);
  }
}
