/* ============================================================
   ELERIE — Design System v5
   "A home under construction" — simple, elegant, playful.
   Every pattern here maps to a native Bricks Builder element:
   sections, containers, grids, buttons, CSS transitions.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --cream:       #F6F0E2;
  --cream-deep:  #EEE5D0;
  --emerald:     #1B664C;   /* matches official logo green */
  --emerald-ink: #123527;
  --scarlet:     #C2401F;
  --olive:       #7C9A4E;
  --khaki:       #A79B66;
  --bougain:     #B23A6D;
  --mint:        #A8D8C0;

  --ink:      var(--emerald-ink);
  --ink-60:   rgba(18, 53, 39, .62);
  --ink-30:   rgba(18, 53, 39, .28);
  --hairline: rgba(18, 53, 39, .14);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Space Grotesk", system-ui, -apple-system, sans-serif;
  --hand:  "Caveat", "Segoe Script", cursive;

  --arch: 160px 160px 22px 22px;
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(18, 53, 39, .35);
  --ease: cubic-bezier(.34, 1.3, .5, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--scarlet); color: var(--cream); }

/* ---------- Layout utilities ---------- */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 780px; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--deep { background: var(--cream-deep); }
.section--ink  { background: var(--emerald-ink); color: var(--cream); }

.section-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.section-grid--flip { direction: rtl; }
.section-grid--flip > * { direction: ltr; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: "✳ "; color: var(--olive); }
.eyebrow--light { color: var(--mint); }
.eyebrow--light::before { color: var(--scarlet); }

.section-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 22ch;
  margin-bottom: 1.4rem;
}
.section-head em,
.page-hero-head em,
.hero-head em {
  font-style: italic;
  font-weight: 300;
  color: var(--scarlet);
}
.section--ink .section-head em { color: var(--mint); }

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-60);
  max-width: 58ch;
  margin-bottom: 2rem;
}
.section--ink .section-lead { color: rgba(246, 240, 226, .8); }

.section-copy p + p { margin-top: 1.1rem; }
.section-copy p { color: var(--ink-60); max-width: 56ch; }
.section-copy p strong, .section-copy p em { color: var(--ink); }
.section-copy .btn { margin-top: 1.8rem; }

.hand-note {
  font-family: var(--hand);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--khaki);
  transform: rotate(-1.6deg);
  display: inline-block;
}
.hand-note--inline { font-size: 1.15rem; margin-left: .4rem; }

.lead {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
}

.pull {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--scarlet);
  padding-left: 1.4rem;
  margin: 2.2rem 0;
  color: var(--ink);
}

.fineprint { font-size: .82rem; color: var(--ink-60); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s ease;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(18, 53, 39, .35); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 26px; width: auto; transition: transform .3s var(--ease); }
.nav-logo:hover img { transform: rotate(-2deg) scale(1.04); }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links > a:not(.btn) {
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink-60);
  position: relative;
  padding: .3rem 0;
  transition: color .25s ease;
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--scarlet);
  border-radius: 2px;
  transition: right .3s var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links > a:not(.btn):hover::after,
.nav-links > a.is-here::after { right: 0; }
.nav-links > a.is-here { color: var(--ink); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .92em 1.75em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .28s var(--ease), background .28s ease,
              color .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.btn:active { transform: scale(.95); }

.btn--solid  { background: var(--emerald); color: var(--cream); }
.btn--solid:hover {
  background: var(--emerald-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(18, 53, 39, .5);
}

.btn--scarlet { background: var(--scarlet); color: var(--cream); }
.btn--scarlet:hover {
  background: #A83418;
  transform: translateY(-2px) rotate(-1.2deg);
  box-shadow: 0 12px 24px -12px rgba(194, 64, 31, .55);
}

.btn--ghost { border-color: var(--ink-30); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--mint); transform: translateY(-2px) rotate(-1deg); }

.btn--ghost-light { border-color: rgba(246, 240, 226, .45); color: var(--cream); background: transparent; }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(246, 240, 226, .12); transform: translateY(-2px); }

.btn--sm { padding: .7em 1.35em; font-size: .85rem; }

.btn-arrow { display: inline-block; transition: transform .28s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-arrow--back { transform: scaleX(-1); }
.btn:hover .btn-arrow--back { transform: scaleX(-1) translateX(4px); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  right: -6vw;
  top: 50%;
  transform: translateY(-50%) rotate(6deg);
  width: clamp(280px, 38vw, 560px);
  opacity: .05;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.4vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.hero-body { max-width: 46ch; color: var(--ink-60); font-size: 1.06rem; }
.hand-note--hero { margin-top: 1.7rem; }

.hero-art { position: relative; }
.hero-arch {
  background: var(--cream-deep);
  border-radius: var(--arch);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.house-svg { width: 100%; height: auto; }
.house-svg .ink { stroke: var(--emerald-ink); stroke-linecap: round; }
.house-svg .bract { fill: var(--bougain); }
.house-svg .b2 { fill: var(--scarlet); }
.house-svg .b3 { fill: #C95A7E; }
.house-svg .leaf { fill: var(--olive); }
.house-svg .flor circle:first-child { fill: var(--cream); }
.house-svg .flor-dot { fill: var(--emerald-ink); }
.house-svg .flor { transform-origin: center; transform-box: fill-box; animation: bloom 5s ease-in-out infinite; }
.house-svg .flor:nth-of-type(2) { animation-delay: 1.2s; }
.house-svg .flor:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes bloom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

.hero-art-note { text-align: center; margin-top: 1.1rem; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--emerald);
  color: var(--cream);
  overflow: hidden;
  padding: .85rem 0;
  transform: rotate(-.6deg) scale(1.01);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: .04em;
  padding-right: 1rem;
}
.marquee-track i { font-style: normal; color: var(--mint); padding: 0 .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ WELCOME ============ */
.welcome-lines {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  transform: rotate(1deg);
  transition: transform .35s var(--ease);
}
.welcome-lines:hover { transform: rotate(0deg) translateY(-4px); }
.welcome-lines p { color: var(--ink-60); }
.welcome-lines .wl-strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--scarlet);
  font-style: italic;
}
.welcome-lines .wl-em { font-style: italic; color: var(--emerald); font-weight: 500; }

/* ============ ROOMS — ENTER THE HOUSE (6 puertas alineadas, grid 3×2) ============ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.room {
  position: relative;
  background: var(--cream-deep);
  border-radius: var(--arch);
  padding: 2.6rem 1.9rem 2.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .35s var(--ease), box-shadow .35s ease, background .35s ease;
}
/* la perilla de la puerta */
.room::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 56%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink-30);
  transition: transform .3s var(--ease), background .3s ease;
}
.room:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--cream); }
.room:hover::after { background: var(--scarlet); transform: scale(1.35); }

.room-icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 1.3rem;
  transition: transform .4s var(--ease);
}
.room:hover .room-icon { transform: rotate(-10deg) scale(1.1); }

.room--foundation .room-icon { background: var(--emerald); }
.room--table      .room-icon { background: var(--scarlet); }
.room--hallway    .room-icon { background: var(--bougain); }
.room--living     .room-icon { background: var(--cream); color: var(--emerald); }
.room--bedroom    .room-icon { background: var(--khaki); }
.room--garden     .room-icon { background: var(--olive); }

.room-name {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: .5rem;
}
.room-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: .8rem;
}
.room-copy { font-size: .92rem; color: var(--ink-60); margin-bottom: 1.4rem; }
.room-copy strong { color: var(--ink); }

.room-ctas { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.room-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--scarlet);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color .25s ease;
}
.room-link:hover { border-color: var(--scarlet); }

.room--living { background: var(--emerald); color: var(--cream); }
.room--living:hover { background: var(--emerald-ink); }
.room--living::after { background: var(--mint); }
.room--living .room-name { color: var(--mint); }
.room--living .room-copy { color: rgba(246, 240, 226, .82); }
.room--living .room-copy strong { color: var(--cream); }
.room--living .room-link { color: var(--mint); }
.room--living .room-link:hover { border-color: var(--mint); }

/* ============ WHAT WE'RE BUILDING — worktable ============ */
.building { background: var(--cream-deep); }
.worktable { position: relative; min-height: 420px; }
.wt-card {
  position: absolute;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.3rem 1.4rem;
  transition: transform .35s var(--ease);
}
.wt-card:hover { transform: rotate(0deg) translateY(-5px) !important; }
.wt-tag {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--khaki);
  margin-bottom: .5rem;
}
.wt-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.wt-title--sm { font-size: 1.1rem; }
.wt-small { font-size: .85rem; color: var(--ink-60); font-style: italic; }
.wt-face {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--mint);
  margin: .9rem 0;
  position: relative;
}
.wt-face::before, .wt-face::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.wt-face::before { left: 20px; }
.wt-face::after { right: 20px; }

.wt-card--mock  { top: 4%;  left: 2%;  width: 240px; transform: rotate(-3deg); }
.wt-card--note  { top: 0;   right: 6%; width: 210px; transform: rotate(2.5deg); background: var(--mint); }
.wt-card--paper { bottom: 6%; left: 22%; width: 250px; transform: rotate(-1.5deg); }

.wt-swatches {
  position: absolute;
  bottom: 0; right: 4%;
  display: flex;
  gap: .5rem;
  background: var(--cream);
  padding: .7rem .9rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.sw { width: 26px; height: 26px; border-radius: 50%; }
.sw--emerald { background: var(--emerald); }
.sw--scarlet { background: var(--scarlet); }
.sw--bougain { background: var(--bougain); }
.sw--olive   { background: var(--olive); }
.sw--mint    { background: var(--mint); }

.wt-tape {
  position: absolute;
  width: 84px; height: 26px;
  background: rgba(167, 155, 102, .35);
  border-radius: 2px;
}
.wt-tape--1 { top: -10px; left: 110px; transform: rotate(-8deg); }
.wt-tape--2 { top: 32%; right: 90px; transform: rotate(14deg); }

/* ============ FOUNDING FAMILIES ============ */
.families { background: var(--emerald-ink); color: var(--cream); }
.families-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; text-align: center; }
.families .section-head { margin-left: auto; margin-right: auto; }
.families-lead { color: rgba(246, 240, 226, .85); font-size: 1.1rem; }
.families-questions {
  margin: 1.6rem auto;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--mint);
  max-width: 52ch;
}
.families p { color: rgba(246, 240, 226, .8); }
.families p + p { margin-top: 1rem; }

.apply {
  margin-top: 2.8rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: left;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.apply-progress {
  height: 6px;
  background: var(--cream-deep);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.apply-progress-bar {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--scarlet);
  border-radius: 99px;
  transition: width .45s var(--ease);
}

.apply-step { display: none; border: 0; }
.apply-step.is-active { display: block; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.apply-count {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--khaki);
  margin-bottom: 1.2rem;
}
.apply-label {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 1.1rem 0 .55rem;
}
.apply-label:first-of-type { margin-top: 0; }
.apply-hint { font-size: .9rem; color: var(--ink-60); margin: -.2rem 0 .7rem; }

.apply-input {
  width: 100%;
  background: var(--cream-deep);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: .95rem 1.15rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}
.apply-input::placeholder { color: var(--ink-30); }
.apply-input:focus { outline: none; border-color: var(--emerald); background: var(--cream); }
.apply-input--area { resize: vertical; min-height: 90px; }

.apply-error {
  display: none;
  margin-top: .8rem;
  font-size: .88rem;
  color: var(--scarlet);
  font-weight: 500;
}
.apply-step.has-error .apply-error { display: block; }
.apply-step.has-error .apply-input { border-color: var(--scarlet); }

.apply-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.apply-nav .btn:only-child,
.apply-nav [data-next]:last-child { margin-left: auto; }

.apply-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.chip {
  padding: .65em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--ink-30);
  background: transparent;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--emerald); transform: translateY(-2px); }
.chip.is-on { background: var(--emerald); border-color: var(--emerald); color: var(--cream); transform: rotate(-2deg); }

.apply-done { text-align: center; padding: 1.4rem 0 .6rem; }
.apply-done-flower { width: 110px; margin: 0 auto 1.4rem; animation: bloom 4s ease-in-out infinite; }
.apply-done-head { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; margin-bottom: .8rem; }
.apply-done-text { color: var(--ink-60); max-width: 44ch; margin: 0 auto 1rem; }

/* ============ LIVING INHERITANCE ============ */
.rules-wall { display: grid; gap: .7rem; }
.rules-item {
  background: var(--cream-deep);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
  transition: transform .3s var(--ease), background .3s ease;
}
.rules-item:hover { transform: translateX(6px) rotate(-.5deg); background: var(--mint); }
.rules-item--strike { text-decoration: line-through; text-decoration-color: var(--scarlet); color: var(--ink-60); }
.rules-item--strike span { text-decoration: none; font-style: italic; display: inline-block; }
.rules-item--mute { color: var(--ink-30); }

.edit-box {
  margin-top: 2.2rem;
  background: var(--cream-deep);
  border: 1.5px dashed var(--khaki);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.edit-box-title { font-family: var(--serif); font-size: 1.25rem; }
.edit-box-sub { font-size: .92rem; color: var(--ink-60); margin: .5rem 0 1.2rem; }

.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline-form .apply-input { flex: 1 1 220px; background: var(--cream); border-color: var(--hairline); }
.inline-form .apply-input:focus { border-color: var(--emerald); }
.inline-form--center { justify-content: center; max-width: 560px; margin: 0 auto; }
.inline-done {
  margin-top: 1.2rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--emerald);
  text-align: center;
}

/* ============ VIDEO ============ */
.video-block {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--emerald-ink);
  border-radius: var(--arch);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.video-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246, 240, 226, .14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.video-play {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 0;
  background: var(--scarlet);
  color: var(--cream);
  font-size: 1.7rem;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease;
}
.video-play:hover { transform: scale(1.1) rotate(-4deg); }
.video-play.is-playing { background: var(--mint); color: var(--ink); }
.video-caption {
  position: absolute;
  bottom: 1.4rem;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--hand);
  font-size: 1.25rem;
  color: var(--mint);
}

.video-script {
  max-width: 640px;
  margin: 2.6rem auto 0;
  text-align: center;
}
.video-script p { color: var(--ink-60); }
.video-script p + p { margin-top: 1rem; }
.vs-head { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink) !important; }
.vs-beats { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--emerald) !important; }
.vs-close { color: var(--ink) !important; margin-top: 1.4rem !important; }

/* ============ FOUNDERS ============ */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  max-width: 900px;
  margin: 0 auto;
}
.founder { text-align: center; }
.founder-arch {
  border-radius: var(--arch);
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 4.6;
  margin-bottom: 1.3rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.founder:hover .founder-arch { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.founder--lidy  .founder-arch { background: var(--emerald); }
.founder--julia .founder-arch { background: var(--scarlet); }
.founder-arch::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -14%;
  width: 70%;
  aspect-ratio: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: .14;
  transform: rotate(8deg);
}
.founder--lidy  .founder-arch::after { background-image: url("assets/icon-cream.png"); }
.founder--julia .founder-arch::after { background-image: url("assets/icon-cream.png"); }
.founder-initial {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
}
.founder-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-bottom: .5rem; }
.founder figcaption p:not(.founder-name) { font-size: .94rem; color: var(--ink-60); max-width: 40ch; margin: 0 auto; }
.founder figcaption em { color: var(--ink); }

.founders-meet {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 640px;
  margin: 1rem auto 0;
}
.founders-meet p { color: var(--ink-60); }
.founders-meet p + p { margin-top: 1rem; }
.founders-meet strong { color: var(--ink); }
.founders-meet .btn { margin-top: 1.6rem; }

/* ============ CONVERSATIONS — clips & episodes ============ */
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.clip-thumb {
  border-radius: var(--arch);
  aspect-ratio: 4 / 4.4;
  display: grid;
  place-items: center;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.clip:hover .clip-thumb { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow); }
.clip-thumb--1 { background: var(--emerald); }
.clip-thumb--2 { background: var(--bougain); }
.clip-thumb--3 { background: var(--khaki); }
.clip-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease;
}
.clip-play:hover { transform: scale(1.12); }
.clip-play.is-playing { background: var(--scarlet); color: var(--cream); }
.clip-title { margin-top: .9rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; text-align: center; }

.episodes { display: grid; }
.episode {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.6rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left .3s var(--ease);
}
.episode:first-child { border-top: 1px solid var(--hairline); }
.episode:hover { padding-left: .8rem; }
.ep-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--khaki);
}
.ep-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.3; }
.ep-meta { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60); margin-top: .3rem; }
.ep-play {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-30);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.ep-play:hover { background: var(--emerald); border-color: var(--emerald); color: var(--cream); transform: scale(1.08); }
.ep-play.is-playing { background: var(--scarlet); border-color: var(--scarlet); color: var(--cream); }

.platforms { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* ============ LETTERS ============ */
.letters-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.letters-inner .section-head, .letters-inner .section-lead { margin-left: auto; margin-right: auto; }
.letters-tags { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin: 1.8rem 0 2.2rem; }
.letters-tags span {
  padding: .5em 1.1em;
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-60);
  transition: all .25s var(--ease);
  cursor: default;
}
.letters-tags span:hover { border-color: var(--scarlet); color: var(--scarlet); transform: rotate(-2deg); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.article {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.article:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-cover {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: var(--cream);
}
.article-cover--1 { background: var(--emerald); }
.article-cover--2 { background: var(--scarlet); }
.article-cover--3 { background: var(--bougain); }
.article-cover--4 { background: var(--olive); }
.article-cover--5 { background: var(--khaki); }
.article-cover--6 { background: var(--emerald-ink); }
.article-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.article-cat {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: .55rem;
}
.article-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.28; margin-bottom: .6rem; }
.article-excerpt { font-size: .9rem; color: var(--ink-60); margin-bottom: 1.2rem; }
.article-link {
  margin-top: auto;
  font-size: .9rem;
  font-weight: 500;
  color: var(--emerald);
  text-decoration: none;
}
.article-link:hover { color: var(--scarlet); }
.article-link .btn-arrow { transition: transform .28s var(--ease); }
.article-link:hover .btn-arrow { transform: translateX(4px); }

/* ============ NEWSLETTER / PASS-ON ============ */
.pass-on { background: var(--cream-deep); }
.pass-on-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.pass-on-inner .section-head, .pass-on-inner .section-lead { margin-left: auto; margin-right: auto; }

/* ============ COLLECTION — products ============ */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.product {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem 2rem;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.section--deep .product { background: var(--cream); }
.product:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: var(--shadow); }
.product-badge {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  background: var(--scarlet);
  color: var(--cream);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45em 1em;
  border-radius: 999px;
  transform: rotate(2deg);
}
.product-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 1.3rem;
  transition: transform .4s var(--ease);
}
.product:hover .product-icon { transform: rotate(-10deg) scale(1.08); }
.pi--bougain { background: var(--bougain); }
.pi--emerald { background: var(--emerald); }
.pi--scarlet { background: var(--scarlet); }
.pi--olive   { background: var(--olive); }
.pi--ink     { background: var(--emerald-ink); }
.pi--khaki   { background: var(--khaki); }
.product-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: .6rem; }
.product-desc { font-size: .93rem; color: var(--ink-60); margin-bottom: 1rem; max-width: 44ch; }
.product-meta { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--khaki); }
.product-meta a { transition: color .25s ease; }
.product-meta a:hover { color: var(--emerald) !important; }

.room-label {
  display: inline-block;
  background: var(--emerald);
  color: var(--cream);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .55em 1.2em;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

/* ============ CONNECT — doors ============ */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.door {
  background: var(--cream-deep);
  border-radius: var(--arch);
  padding: 2.4rem 1.4rem 2rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .35s var(--ease), box-shadow .35s ease, background .35s ease;
}
.door:hover { transform: translateY(-7px); box-shadow: var(--shadow); background: var(--cream); }
.door:nth-child(1) .door-icon { background: var(--scarlet); }
.door:nth-child(2) .door-icon { background: var(--emerald); }
.door:nth-child(3) .door-icon { background: var(--khaki); }
.door:nth-child(4) .door-icon { background: var(--bougain); }
.door-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 1.2rem;
  transition: transform .4s var(--ease);
}
.door:hover .door-icon { transform: rotate(-12deg) scale(1.12); }
.door-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: .5rem; }
.door-desc { font-size: .85rem; color: var(--ink-60); }

/* ============ OUR STORY page pieces ============ */
.two-worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.world {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease);
}
.world:hover { transform: translateY(-4px) rotate(-.4deg); }
.world h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: .9rem; }
.world p { font-size: .94rem; color: var(--ink-60); }
.world p + p { margin-top: .9rem; }
.world p em { color: var(--ink); }
.world-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--emerald);
  padding: .5em 1.1em;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.world--ny .world-tag { background: var(--scarlet); }
.world--ix .world-tag { background: var(--olive); }

.poem {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  text-align: center;
  color: var(--emerald);
}
.poem-by {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--khaki);
}

.people-wall { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2.2rem; }
.person-chip {
  padding: .6em 1.3em;
  border: 1.5px solid var(--ink-30);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 1.05rem;
  transition: all .28s var(--ease);
  cursor: default;
}
.person-chip:hover { background: var(--emerald); border-color: var(--emerald); color: var(--cream); transform: rotate(-2deg) scale(1.05); }

/* ============ PAGE HERO (subpages) ============ */
.page-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 24px clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.page-hero-logo { height: 40px; width: auto; margin: 0 auto 1.6rem; }
.page-hero-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin-bottom: 1.4rem;
}
.page-hero-sub { max-width: 60ch; margin: 0 auto; color: var(--ink-60); font-size: 1.06rem; }
.page-hero--dark { background: var(--emerald-ink); color: var(--cream); max-width: none; }
.page-hero--dark .page-hero-sub { color: rgba(246, 240, 226, .82); }
.page-hero--dark .page-hero-head em { color: var(--mint); }

/* ============ PROSE (long reads) ============ */
.prose p { color: var(--ink-60); }
.prose p + p { margin-top: 1.15rem; }
.prose p strong, .prose p em { color: var(--ink); }
.section--ink .prose p { color: rgba(246, 240, 226, .85); }
.section--ink .prose p strong { color: var(--cream); }

/* ============ FOOTER ============ */
.footer {
  background: var(--emerald-ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) 24px 2.5rem;
}
.footer-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 2.2rem;
  transition: transform .35s var(--ease);
}
.footer-logo:hover { transform: rotate(-2deg) scale(1.05); }
.footer-blooming {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.footer-blooming em { color: var(--mint); }
.footer-tag { font-family: var(--hand); font-size: 1.4rem; color: var(--khaki); margin-bottom: 1.6rem; }
.footer-verse {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(246, 240, 226, .75);
  max-width: 46ch;
  margin: 0 auto 1.4rem;
}
.footer-partners {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 240, 226, .5);
  margin-bottom: 2.2rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: center; margin-bottom: 2rem; }
.footer-nav a {
  font-size: .9rem;
  color: rgba(246, 240, 226, .75);
  text-decoration: none;
  transition: color .25s ease;
}
.footer-nav a:hover { color: var(--mint); }
.footer-fine { font-size: .78rem; color: rgba(246, 240, 226, .4); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .clips, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .doors { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease), padding .3s ease;
  }
  .nav.is-open .nav-links { max-height: 480px; padding: 1rem 24px 1.6rem; }
  .nav-links > a:not(.btn) { padding: .75rem 0; width: 100%; border-bottom: 1px solid var(--hairline); }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 1rem; }

  .hero-grid, .section-grid { grid-template-columns: 1fr; }
  .section-grid--flip { direction: ltr; }
  .hero { padding-top: 3rem; }
  .hero-art { max-width: 440px; margin: 0 auto; }
  .hero-watermark { opacity: .04; }
  .founders-grid, .two-worlds, .products { grid-template-columns: 1fr; }
  .worktable { min-height: 520px; }
  .wt-card--note { right: 0; }
}

@media (max-width: 600px) {
  .rooms-grid, .clips, .article-grid, .doors { grid-template-columns: 1fr; }
  .episode { grid-template-columns: 1fr auto; }
  .ep-num { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .marquee { transform: none; }
  .video-caption { font-size: 1.05rem; padding: 0 1rem; }
}
