/* Ember Terrarium — home
   Asymmetric hero: copy column + full-bleed photograph
   Clean bento gallery below the fold */

body.et-body {
  margin: 0;
  min-height: 100vh;
  color: #F6EDE4;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: #1C110D;
  background-image:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(224, 122, 95, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 15%, rgba(123, 175, 123, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(240, 194, 122, 0.08), transparent 55%);
  -webkit-font-smoothing: antialiased;
}

.et-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.et-root > .page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.et-stage {
  flex: 1;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— Top bar —— */
.et-slash {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.et-slash-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #F6EDE4;
  text-decoration: none;
  min-width: 0;
}

.et-slash-mark em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  padding: 0.38rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 170, 0.22);
  background: rgba(48, 28, 20, 0.6);
  backdrop-filter: blur(16px);
}

.et-slash-mark strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.et-slash-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(48, 28, 20, 0.58);
  border: 1px solid rgba(255, 214, 170, 0.18);
  backdrop-filter: blur(18px);
}

.et-slash-nav a {
  color: #EADFD4;
  text-decoration: none;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.et-slash-nav a.is-on,
.et-slash-nav a:hover {
  background: #E07A5F;
  color: #1C110D;
}

.et-slash-bag {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}

.et-slash-bag.has-items {
  background: rgba(224, 122, 95, 0.22);
}

.et-slash-bag em {
  font-style: normal;
  min-width: 1.15rem;
  text-align: center;
  background: #1C110D;
  color: #F0C27A;
  border-radius: 999px;
  padding: 0.05rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
}

/* —— Hero: asymmetric split, one photograph —— */
.et-hero {
  display: grid;
  grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.35fr);
  gap: 1rem;
  min-height: min(72vh, 640px);
  align-items: stretch;
}

.et-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 2rem;
  background: rgba(48, 28, 20, 0.62);
  border: 1px solid rgba(255, 214, 170, 0.18);
  backdrop-filter: blur(22px);
}

.et-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F0C27A;
  font-weight: 700;
}

.et-hero-copy h1 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #F6EDE4;
}

.et-lede {
  margin: 0.9rem 0 0;
  color: #C4A992;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 28ch;
}

.et-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.et-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}

.et-btn:hover { transform: translateY(-1px); }

.et-btn-fill {
  background: linear-gradient(135deg, #E07A5F, #c46248);
  color: #1C110D;
}

.et-btn-fill:hover { filter: brightness(1.06); color: #1C110D; }

.et-btn-glass {
  background: rgba(255, 236, 214, 0.08);
  border-color: rgba(255, 214, 170, 0.22);
  color: #F6EDE4;
}

.et-btn-glass:hover {
  background: rgba(255, 236, 214, 0.14);
  color: #F6EDE4;
}

.et-hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: 2rem 1.2rem 2.4rem 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 170, 0.14);
  background: #2A1A14;
}

.et-hero-img,
.et-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.et-hero-fallback {
  background:
    radial-gradient(circle at 30% 30%, rgba(224, 122, 95, 0.35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(123, 175, 123, 0.25), transparent 45%),
    #2A1A14;
}

.et-hero-link {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(28, 17, 13, 0.72);
  border: 1px solid rgba(255, 214, 170, 0.22);
  color: #F6EDE4;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.et-hero-link:hover { color: #F0C27A; }

/* —— Pulse strip (below hero) —— */
.et-pulse {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.et-pulse-cell {
  padding: 0.85rem 1rem;
  border-radius: 1.15rem;
  background: rgba(48, 28, 20, 0.5);
  border: 1px solid rgba(255, 214, 170, 0.14);
}

.et-pulse-cell span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C4A992;
}

.et-pulse-cell strong {
  display: block;
  margin-top: 0.2rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #F6EDE4;
}

/* —— Section heads —— */
.et-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.et-section-head h2,
.et-beds h2,
.et-why h2 {
  margin: 0.15rem 0 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #F6EDE4;
}

.et-text-link {
  color: #F0C27A;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.et-text-link:hover { color: #E07A5F; }

/* —— Gallery bento —— */
.et-gallery,
.et-beds,
.et-why {
  margin-top: 2.4rem;
}

.et-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, 18vw);
  gap: 0.75rem;
}

.et-tile {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  color: #F6EDE4;
  text-decoration: none;
  border: 1px solid rgba(255, 214, 170, 0.14);
  background: #2A1A14;
  min-height: 150px;
  transition: transform 0.25s ease, border-color 0.25s;
}

.et-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 122, 95, 0.45);
}

.et-tile-wide { grid-column: span 2; border-radius: 1.5rem 1.1rem; }
.et-tile-tall { grid-row: span 2; border-radius: 1.6rem 1.2rem 1.8rem; }

.et-tile-media,
.et-tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.et-tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 8, 5, 0.78) 100%);
  pointer-events: none;
}

.et-tile-copy {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.et-tile-copy em {
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F0C27A;
}

.et-tile-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.et-tile-copy b {
  color: #E07A5F;
  font-size: 0.88rem;
  font-weight: 800;
}

/* —— Beds —— */
.et-bed-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.et-bed {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.05rem 1rem;
  border-radius: 1.35rem;
  background: rgba(48, 28, 20, 0.52);
  border: 1px solid rgba(255, 214, 170, 0.14);
  color: #F6EDE4;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s;
}

.et-bed:hover {
  border-color: rgba(123, 175, 123, 0.45);
  transform: translateY(-2px);
}

.et-bed span { font-size: 0.72rem; color: #C4A992; }
.et-bed strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.et-bed em {
  font-style: normal;
  color: #F0C27A;
  font-size: 0.82rem;
  font-weight: 600;
}

/* —— Why —— */
.et-why {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 2rem;
  background: rgba(48, 28, 20, 0.52);
  border: 1px solid rgba(255, 214, 170, 0.14);
}

.et-why-copy p {
  color: #C4A992;
  max-width: 40ch;
  line-height: 1.55;
}

.et-why-copy .et-btn { margin-top: 0.35rem; }

.et-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.et-why-list li {
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 236, 214, 0.06);
  border: 1px solid rgba(255, 214, 170, 0.08);
}

.et-why-list strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.et-why-list span {
  color: #C4A992;
  font-size: 0.9rem;
}

/* —— Footer —— */
.et-foot { padding: 0 0 1.4rem; }

.et-foot-glass {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border-radius: 1.4rem;
  background: rgba(48, 28, 20, 0.55);
  border: 1px solid rgba(255, 214, 170, 0.14);
}

.et-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.et-foot a { color: #F0C27A; text-decoration: none; font-weight: 600; }
.et-foot a:hover { color: #E07A5F; }
.et-foot p { margin: 0; color: #C4A992; font-size: 0.9rem; }

/* —— Motion —— */
[data-et-rise] {
  opacity: 0;
  transform: translateY(14px);
  animation: et-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

[data-et-delay="1"] { animation-delay: 0.12s; }

@keyframes et-rise {
  to { opacity: 1; transform: none; }
}

[data-et-section] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-et-section].is-in {
  opacity: 1;
  transform: none;
}

.et-tile { animation: et-tile-in 0.55s ease both; animation-delay: calc(var(--i, 0) * 0.05s); }
.et-bed { animation: et-tile-in 0.5s ease both; animation-delay: calc(var(--i, 0) * 0.04s); }

@keyframes et-tile-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-et-rise],
  [data-et-section],
  .et-tile,
  .et-bed {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .et-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .et-hero-visual {
    min-height: 52vw;
    max-height: 420px;
    border-radius: 1.6rem;
    order: -1;
  }

  .et-pulse { grid-template-columns: 1fr 1fr; }

  .et-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }

  .et-tile-wide { grid-column: span 2; }
  .et-tile-tall { grid-row: span 1; }

  .et-bed-row { grid-template-columns: 1fr 1fr; }
  .et-why { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .et-stage { width: min(100% - 1.4rem, 1180px); padding-top: 0.75rem; }

  .et-slash {
    flex-direction: column;
    align-items: stretch;
  }

  .et-slash-nav {
    border-radius: 1.15rem;
    justify-content: flex-start;
  }

  .et-hero-copy { padding: 1.25rem 1.15rem; border-radius: 1.5rem; }
  .et-hero-visual { min-height: 240px; max-height: none; }

  .et-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .et-tile-wide,
  .et-tile-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .et-bed-row { grid-template-columns: 1fr; }
  .et-pulse { gap: 0.5rem; }
  .et-pulse-cell strong { font-size: 1.3rem; }
}
