.glade-child-home {
  overflow: hidden;
}

.glade-child-home__hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background: #655a4f center / cover no-repeat;
}

.glade-child-home__hero-media,
.glade-child-home__hero-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glade-child-home__hero-media {
  object-position: 64% center;
}

.glade-child-home__hero-veil {
  background:
    linear-gradient(90deg, rgba(26, 22, 18, .56), rgba(26, 22, 18, .2) 58%, rgba(26, 22, 18, .24)),
    linear-gradient(180deg, rgba(26, 22, 18, .18), rgba(26, 22, 18, .12) 46%, rgba(26, 22, 18, .38));
}

.glade-child-home__hero-copy {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 48px));
  margin-right: auto;
  margin-left: clamp(24px, 10vw, 160px);
  padding-top: 48px;
  text-align: left;
  text-shadow: 0 2px 18px rgba(20, 15, 11, .2);
}

.glade-child-home__eyebrow {
  margin: 0 0 20px;
  color: var(--glade-child-accent);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.glade-child-home__hero .glade-child-home__eyebrow {
  color: rgba(255, 255, 255, .8);
}

.glade-child-home__hero h1,
.glade-child-home__hero .glade-child-home__hero-title {
  max-width: 540px;
  margin: 0;
  color: #fffaf2;
  font: 400 clamp(4rem, 8vw, 7rem) / .84 var(--glade-child-display);
  letter-spacing: -.07em;
}

.glade-child-home__hero-copy > p:not(.glade-child-home__eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 250, 242, .9);
  font-size: 1rem;
  line-height: 1.65;
}

.glade-child-home__hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 30px;
}

.glade-child-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.glade-child-home__button--dark {
  background: var(--glade-child-ink);
  color: #fff;
}

.glade-child-home__button--line {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(5px);
}

.glade-child-home__section {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 108px 0;
}

.glade-child-home__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.glade-child-home__section-head h2 {
  margin: 0;
  font: 400 clamp(2.4rem, 5vw, 4.6rem) / .9 var(--glade-child-display);
  letter-spacing: -.06em;
}

.glade-child-home__section-head p {
  max-width: 340px;
  margin: 0;
  color: var(--glade-child-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.glade-child-home__text-link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.glade-child-home__category-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 14px;
}

.glade-child-home__category-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glade-child-home__category-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #e9dfd2;
}

.glade-child-home__category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.glade-child-home__category-card:hover img,
.glade-child-home__product-card:hover img {
  transform: scale(1.04);
}

.glade-child-home__category-card::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(25, 20, 16, .62));
  content: "";
}

.glade-child-home__category-label {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 22px;
  color: #fff;
}

.glade-child-home__category-label small {
  display: block;
  margin-bottom: 8px;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.glade-child-home__category-label strong {
  font: 400 2rem / 1 var(--glade-child-display);
}

.glade-child-home__product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.glade-child-home__product-card {
  min-width: 0;
}

.glade-child-home__product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: #eee8df;
}

.glade-child-home__product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.glade-child-home__product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  background: #f2cc35;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.glade-child-home__product-card h3 {
  margin: 16px 0 5px;
  font: 400 1.2rem / 1.05 var(--glade-child-display);
}

.glade-child-home__product-card h3 a {
  text-decoration: none;
}

.glade-child-home__product-card p {
  margin: 0;
  color: var(--glade-child-muted);
  font-size: .78rem;
}

.glade-child-home__product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: .76rem;
  font-weight: 700;
}

.glade-child-home__feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: #eee5da;
}

.glade-child-home__feature > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.glade-child-home__feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 7vw, 90px);
}

.glade-child-home__feature-copy h2 {
  max-width: 450px;
  margin: 0;
  font: 400 clamp(2.8rem, 5vw, 5.6rem) / .88 var(--glade-child-display);
  letter-spacing: -.06em;
}

.glade-child-home__feature-copy p {
  max-width: 430px;
  color: var(--glade-child-muted);
  line-height: 1.7;
}

.glade-child-home__feature-copy .glade-child-home__text-link {
  margin-top: 16px;
}

/* Product film: open editorial layout, with only the media stage rounded. */
.glade-child-home__film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  align-items: stretch;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto 96px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.glade-child-home__film-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 60px) clamp(24px, 4vw, 64px) clamp(28px, 4vw, 60px) 0;
}

.glade-child-home__film-copy .glade-child-home__eyebrow {
  margin-bottom: 22px;
  color: #85745e;
}

.glade-child-home__film-copy h2 {
  max-width: 360px;
  margin: 0;
  font: 400 clamp(2.6rem, 4vw, 4.1rem) / .94 var(--glade-child-display);
  letter-spacing: -.06em;
}

.glade-child-home__film-copy p:not(.glade-child-home__eyebrow) {
  max-width: 360px;
  margin: 20px 0 0;
  color: var(--glade-child-muted);
  line-height: 1.7;
}

.glade-child-home__film-copy .glade-child-home__text-link {
  margin-top: 22px;
  color: #514337;
}

.glade-child-home__film-stage {
  position: relative;
  display: grid;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #b7b1a8 url('../images/ice-maker-video-poster.jpg') center / cover no-repeat;
}

.glade-child-home__film-video {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.glade-child-home__film-video:focus-visible {
  outline: 3px solid var(--glade-child-accent);
  outline-offset: -5px;
}

.glade-child-home__media-toggle {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  background: rgba(30, 25, 20, .52);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}

.glade-child-home__media-toggle:hover {
  background: rgba(255, 255, 255, .9);
  color: var(--glade-child-ink);
  transform: translateY(-1px);
}

.glade-child-home__media-toggle:focus-visible {
  outline: 3px solid var(--glade-child-accent);
  outline-offset: 4px;
}

.glade-child-home__media-icon {
  width: 20px;
  height: 20px;
}

.glade-child-home__media-icon--play {
  display: none;
}

.glade-child-home__media-toggle:not(.is-playing) .glade-child-home__media-icon--play {
  display: block;
}

.glade-child-home__media-toggle:not(.is-playing) .glade-child-home__media-icon--pause {
  display: none;
}

.glade-child-home__film-stage .glade-child-home__media-toggle--film {
	right: auto;
	bottom: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	opacity: 1;
}

.glade-child-home__film-stage .glade-child-home__media-toggle--film.is-playing {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.glade-child-home__film-stage:hover .glade-child-home__media-toggle--film.is-playing,
.glade-child-home__film-stage:focus-within .glade-child-home__media-toggle--film.is-playing {
  opacity: .84;
  pointer-events: auto;
}

.glade-child-home__film-stage:focus-within .glade-child-home__media-toggle--film,
.glade-child-home__film-stage:hover .glade-child-home__media-toggle--film {
	opacity: 1;
}

.glade-child-home__film-stage.is-film-playing .glade-child-home__media-toggle--film.is-playing {
	top: auto;
	right: 22px;
	bottom: 22px;
	left: auto;
	width: 46px;
	height: 46px;
	opacity: .68;
	pointer-events: auto;
	transform: none;
}

.glade-child-home__film-stage.is-film-playing:hover .glade-child-home__media-toggle--film.is-playing,
.glade-child-home__film-stage.is-film-playing:focus-within .glade-child-home__media-toggle--film.is-playing,
.glade-child-home__film-stage.is-film-playing .glade-child-home__media-toggle--film.is-playing:focus-visible {
	opacity: 1;
}

.glade-child-home__hero .glade-child-home__media-toggle {
  opacity: 0;
  pointer-events: none;
}

.glade-child-home__hero:hover .glade-child-home__media-toggle,
.glade-child-home__hero:focus-within .glade-child-home__media-toggle {
  opacity: 1;
  pointer-events: auto;
}

/* Journal: light editorial grid with equal desktop media heights. */
.glade-child-home__journal {
  background: transparent;
}

.glade-child-home__journal .glade-child-home__section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.glade-child-home__journal .glade-child-home__section-head {
  margin-bottom: 28px;
}

.glade-child-home__journal .glade-child-home__section-head h2 {
  font-size: clamp(3.5rem, 5vw, 4rem);
  line-height: .96;
}

.glade-child-home__journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.glade-child-home__journal-card,
.glade-child-home__journal-card--small {
  min-height: 0;
  overflow: visible;
  background: transparent;
}

.glade-child-home__journal-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
}

/* The 1.2fr column is 1.2 times wider, so 1.6:1 matches the 4:3 1fr cards. */
.glade-child-home__journal-card:first-child img {
  aspect-ratio: 1.6 / 1;
}

.glade-child-home__journal-copy {
  position: static;
  padding: 15px 2px 0;
  color: var(--glade-child-ink);
  text-shadow: none;
}

.glade-child-home__journal-copy small {
  color: var(--glade-child-muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.glade-child-home__journal-copy h3 {
  max-width: 430px;
  margin: 8px 0 0;
  font: 400 1.5rem / 1.04 var(--glade-child-display);
}

.glade-child-home__journal-copy a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 900px) {
  .glade-child-home__section {
    width: min(calc(100% - 40px), 760px);
  }

  .glade-child-home__category-grid,
  .glade-child-home__category-grid--four {
    grid-template-columns: 1fr 1fr;
  }

  .glade-child-home__category-card:first-child {
    grid-column: 1 / -1;
  }

  .glade-child-home__product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .glade-child-home__feature {
    grid-template-columns: 1fr;
  }

  .glade-child-home__film {
    grid-template-columns: 1fr;
    width: min(calc(100% - 40px), 760px);
    margin-bottom: 76px;
  }

  .glade-child-home__film-stage {
    order: -1;
  }

  .glade-child-home__film-copy {
    padding: 38px 34px 44px;
  }

  .glade-child-home__journal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .glade-child-home__journal-card:first-child {
    grid-column: 1 / -1;
  }

  .glade-child-home__journal-card:first-child img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 650px) {
  .glade-child-home__hero {
    min-height: 84svh;
  }

  .glade-child-home__hero-copy {
    width: calc(100% - 48px);
    margin: 0 24px;
    padding-top: 62px;
  }

  .glade-child-home__hero h1,
  .glade-child-home__hero .glade-child-home__hero-title {
    font-size: clamp(3.25rem, 15vw, 5.3rem);
  }

  .glade-child-home__hero-copy > p:not(.glade-child-home__eyebrow) {
    font-size: .86rem;
  }

  .glade-child-home__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .glade-child-home__button {
    width: min(245px, 100%);
  }

  .glade-child-home__hero-media {
    object-position: 70% center;
  }

  .glade-child-home__hero-veil {
    background:
      linear-gradient(90deg, rgba(26, 22, 18, .64), rgba(26, 22, 18, .26) 80%),
      linear-gradient(180deg, rgba(26, 22, 18, .18), rgba(26, 22, 18, .18) 46%, rgba(26, 22, 18, .46));
  }

  .glade-child-home__media-toggle {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  .glade-child-home__section {
    padding: 76px 0;
  }

  .glade-child-home__section-head {
    display: block;
  }

  .glade-child-home__section-head p {
    margin-top: 18px;
  }

  .glade-child-home__category-grid,
  .glade-child-home__category-grid--four {
    grid-template-columns: 1fr;
  }

  .glade-child-home__category-card:first-child {
    grid-column: auto;
  }

  .glade-child-home__category-card {
    min-height: 330px;
  }

  .glade-child-home__product-grid {
    gap: 24px 12px;
  }

  .glade-child-home__product-card h3 {
    font-size: 1.05rem;
  }

  .glade-child-home__feature > img {
    height: 320px;
    min-height: 320px;
  }

  .glade-child-home__feature-copy {
    padding: 42px 28px 50px;
  }

  .glade-child-home__film {
    width: calc(100% - 32px);
    border-radius: 0;
  }

  .glade-child-home__film-copy {
    padding: 34px 8px 6px;
  }

  .glade-child-home__film-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .glade-child-home__film-stage {
    border-radius: 18px;
  }

  .glade-child-home__journal .glade-child-home__section {
    padding-top: 62px;
    padding-bottom: 64px;
  }

  .glade-child-home__journal .glade-child-home__section-head {
    display: block;
    margin-bottom: 26px;
  }

  .glade-child-home__journal .glade-child-home__section-head h2 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .glade-child-home__journal .glade-child-home__section-head .glade-child-home__text-link {
    display: inline-flex;
    margin-top: 16px;
    white-space: nowrap;
  }

  .glade-child-home__journal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .glade-child-home__journal-card:first-child {
    grid-column: auto;
  }

  .glade-child-home__journal-card img,
  .glade-child-home__journal-card:first-child img {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .glade-child-home__journal-copy {
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glade-child-home__category-card img,
  .glade-child-home__product-media img {
    transition: none;
  }

  .glade-child-home__hero-media,
  .glade-child-home__film-video {
    display: block;
    animation: none;
  }
}

/* Desktop-only composition adjustment; mobile copy and video positioning stay intact. */
@media (min-width: 901px) {
	.glade-child-home__hero-copy {
		margin-left: clamp(96px, 18vw, 280px);
	}
}
