/* =============================================================================
   Eternal Thread — Homepage
   ============================================================================= */

/* ── Shared utilities ── */
.et-home-section-head {
  text-align: center;
  margin-bottom: var(--space-48);
}
.et-home-section-kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-surface-muted, #6b6b6b);
  margin-bottom: 10px;
}
.et-home-section-kicker--light { color: rgba(255,255,255,.6); }
.et-home-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--on-surface);
  margin: 0;
}

/* ── Buttons ── */
.et-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.et-btn--light    { background: #fff; color: #1a1a1a; border: 2px solid #fff; }
.et-btn--light:hover { background: transparent; color: #fff; }
.et-btn--dark     { background: #1a1a1a; color: #fff; border: 2px solid #1a1a1a; }
.et-btn--dark:hover  { background: transparent; color: #1a1a1a; }
.et-btn--ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.et-btn--ghost-light:hover { border-color: #fff; }
.et-btn--outline-dark { background: transparent; color: #1a1a1a; border: 2px solid #1a1a1a; }
.et-btn--outline-dark:hover { background: #1a1a1a; color: #fff; }
.et-btn--lg { font-size: 14px; padding: 18px 36px; }


/* ════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════ */
.et-home-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0d0d0d;
}
.et-home-hero__media {
  position: absolute;
  inset: 0;
}
.et-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.et-home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.12) 0%,
    rgba(0,0,0,.08) 40%,
    rgba(0,0,0,.65) 75%,
    rgba(0,0,0,.85) 100%
  );
}
.et-home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 var(--gutter, 24px) clamp(48px, 8vh, 100px);
}
.et-home-hero__kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.et-home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.04em;
  color: #fff;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.et-home-hero__sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
}
.et-home-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.et-home-hero__scroll-hint {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  bottom: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}


/* ════════════════════════════════════════════
   2. MARQUEE
   ════════════════════════════════════════════ */
.et-home-marquee {
  background: #1a1a1a;
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.et-home-marquee__track {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  animation: et-marquee 30s linear infinite;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.et-home-marquee__sep { color: rgba(255,255,255,.35); }
@keyframes et-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ════════════════════════════════════════════
   3. CATEGORIES
   ════════════════════════════════════════════ */
.et-home-cats {
  padding: clamp(64px, 8vw, 120px) var(--gutter, 24px);
  max-width: 1280px;
  margin-inline: auto;
}
.et-home-cats__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
}
.et-home-cat-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background: #f5f4f0;
}
.et-home-cat-tile__img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.et-home-cat-tile--featured .et-home-cat-tile__img {
  aspect-ratio: 3/4.5;
}
.et-home-cat-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.et-home-cat-tile:hover .et-home-cat-tile__img img {
  transform: scale(1.05);
}
.et-home-cat-tile__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fff;
  border-top: 1px solid #eee;
}
.et-home-cat-tile__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.et-home-cat-tile__price {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: #6b6b6b;
  letter-spacing: .06em;
}
.et-home-cat-tile__arrow {
  font-size: 18px;
  transition: transform .25s;
}
.et-home-cat-tile:hover .et-home-cat-tile__arrow { transform: translateX(4px); }


/* ════════════════════════════════════════════
   4. EDITORIAL DOUBLE
   ════════════════════════════════════════════ */
.et-home-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  overflow: hidden;
}
.et-home-editorial__left {
  position: relative;
  overflow: hidden;
}
.et-home-editorial__left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.et-home-editorial:hover .et-home-editorial__left img {
  transform: scale(1.03);
}
.et-home-editorial__caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  padding: 14px 20px;
}
.et-home-editorial__tag {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}
.et-home-editorial__caption p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: #1a1a1a;
  margin: 0;
}
.et-home-editorial__right {
  display: flex;
  flex-direction: column;
  background: #f8f7f3;
}
.et-home-editorial__text {
  flex: 0 0 auto;
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.et-home-editorial__text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0;
}
.et-home-editorial__text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 380px;
}
.et-home-editorial__secondary-img {
  flex: 1;
  overflow: hidden;
}
.et-home-editorial__secondary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ════════════════════════════════════════════
   5. BRAND STATEMENT
   ════════════════════════════════════════════ */
.et-home-statement {
  background: #111;
  color: #fff;
  padding: clamp(80px, 12vw, 160px) var(--gutter, 24px);
  text-align: center;
}
.et-home-statement__inner {
  max-width: 840px;
  margin-inline: auto;
}
.et-home-statement__quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  color: #fff;
}
.et-home-statement blockquote cite {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-style: normal;
}


/* ════════════════════════════════════════════
   6. LIFESTYLE GRID
   ════════════════════════════════════════════ */
.et-home-grid {
  padding: clamp(64px, 8vw, 120px) var(--gutter, 24px);
  max-width: 1280px;
  margin-inline: auto;
}
.et-home-grid__layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
  margin-bottom: 40px;
}
.et-home-grid__item {
  overflow: hidden;
  background: #eee;
}
.et-home-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.et-home-grid__item:hover img { transform: scale(1.04); }
.et-home-grid__item--tall {
  grid-row: span 2;
}
.et-home-grid__item--tall img { aspect-ratio: unset; height: 100%; }
.et-home-grid__cta {
  text-align: center;
}


/* ════════════════════════════════════════════
   7. ABOUT / FOUNDER
   ════════════════════════════════════════════ */
.et-home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  overflow: hidden;
}
.et-home-about__img {
  overflow: hidden;
}
.et-home-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.et-home-about__content {
  background: #f8f7f3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(48px, 7vw, 100px);
}
.et-home-about__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0;
}
.et-home-about__content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  max-width: 440px;
  margin: 0;
}


/* ════════════════════════════════════════════
   8. CTA BANNER
   ════════════════════════════════════════════ */
.et-home-cta-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.et-home-cta-banner__bg {
  position: absolute;
  inset: 0;
}
.et-home-cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 30%;
}
.et-home-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.et-home-cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: var(--gutter, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.et-home-cta-banner__content h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin: 0;
}
.et-home-cta-banner__content p {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,.7);
}


/* ════════════════════════════════════════════
   MOBILE RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .et-home-cats__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .et-home-cat-tile--featured { grid-column: span 2; }
  .et-home-cat-tile--featured .et-home-cat-tile__img { aspect-ratio: 4/3; }

  .et-home-editorial { grid-template-columns: 1fr; }
  .et-home-editorial__left { height: 460px; }
  .et-home-editorial__secondary-img { height: 300px; }

  .et-home-about { grid-template-columns: 1fr; }
  .et-home-about__img { height: 380px; }

  .et-home-grid__layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .et-home-grid__item--tall { grid-row: span 1; }
  .et-home-grid__item--tall img { aspect-ratio: 1; height: auto; }
}

@media (max-width: 600px) {
  /* ── Hero ── */
  .et-home-hero__title { font-size: clamp(3.2rem, 18vw, 5.5rem); }
  .et-home-hero__actions {
    flex-direction: column;
    align-items: stretch; /* full-width buttons = easier to tap */
    width: 100%;
    max-width: 320px;
  }
  .et-home-hero__actions .et-btn { justify-content: center; text-align: center; }
  .et-home-hero__scroll-hint { display: none; }

  /* ── Categories — single column, landscape crops to keep it short ── */
  .et-home-cats__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .et-home-cat-tile--featured { grid-column: auto; }
  /* Landscape on mobile — far less scrolling than portrait */
  .et-home-cat-tile__img             { aspect-ratio: 4/3; }
  .et-home-cat-tile--featured .et-home-cat-tile__img { aspect-ratio: 4/3; }
  .et-home-cat-tile__label           { padding: 12px 14px; }
  .et-home-cat-tile__name            { font-size: 15px; }

  /* ── Editorial ── */
  .et-home-editorial__left { height: 300px; }
  .et-home-editorial__text { padding: 28px 20px; gap: 14px; }
  .et-home-editorial__text h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .et-home-editorial__secondary-img { height: 240px; }

  /* ── Brand statement ── */
  .et-home-statement__quote { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* ── Lifestyle grid — 2 equal cols ── */
  .et-home-grid__layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .et-home-grid__item img { aspect-ratio: 1; }

  /* ── About ── */
  .et-home-about__img  { height: 280px; }
  .et-home-about__content { padding: 32px 20px; gap: 16px; }
  .et-home-about__content h2 { font-size: clamp(2rem, 10vw, 2.8rem); }

  /* ── CTA Banner ── */
  .et-home-cta-banner { min-height: 420px; }
  .et-home-cta-banner__content h2 { font-size: clamp(2.8rem, 14vw, 5rem); }

  /* ── Section headings ── */
  .et-home-section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
}
