/* ==========================================================================
   Espace Jix · home
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(72dvh, 720px);
  display: grid;
  align-items: start;
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 21, 15, 0.92) 0%,
      rgba(14, 58, 44, 0.72) 42%,
      rgba(7, 21, 15, 0.18) 100%
    ),
    linear-gradient(180deg, transparent 40%, rgba(7, 21, 15, 0.78) 100%);
}
.hero__in {
  padding: 28px 0 56px;
  width: min(var(--wrap), calc(100% - 40px));
  justify-self: center;
}
.hero__copy {
  max-width: 36rem;
  text-align: left;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6.4vw, 76px);
  font-style: italic;
  font-weight: 600;
  color: var(--ivory);
}
.hero h1 em {
  font-style: italic;
  color: var(--chip);
}
.hero__rule {
  width: 88px;
  height: 1px;
  background: var(--bronze);
  margin: 0 0 22px;
  box-shadow: 0 1px 0 rgba(228, 210, 166, 0.35);
}
.hero__sub {
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--ivory-dim);
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hero__micro {
  margin: 0;
  font-size: 12px;
  color: var(--ivory-dim);
}

/* ---------- chip strip ---------- */

.chips {
  background: var(--felt-deep);
  border-block: 1px solid var(--line);
  padding: 36px 0;
}
.chips__in {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.chip {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background: radial-gradient(
    circle at 38% 32%,
    #f7edd4,
    var(--chip) 52%,
    var(--chip-edge)
  );
  box-shadow:
    0 0 0 5px var(--felt-deep),
    0 0 0 7px var(--bronze),
    0 0 0 12px var(--chip),
    0 0 0 13px var(--crimson),
    0 10px 18px rgba(0, 0, 0, 0.35);
}
.chip--bronze {
  background: radial-gradient(
    circle at 38% 32%,
    #f0d7a4,
    var(--bronze) 55%,
    var(--bronze-deep)
  );
  color: var(--ink);
  box-shadow:
    0 0 0 5px var(--felt-deep),
    0 0 0 7px var(--chip),
    0 0 0 12px var(--bronze),
    0 0 0 13px var(--felt),
    0 10px 18px rgba(0, 0, 0, 0.35);
}
.chip--crimson {
  background: radial-gradient(
    circle at 38% 32%,
    #c94a5a,
    var(--crimson) 58%,
    #5c0e1a
  );
  color: var(--ivory);
  box-shadow:
    0 0 0 5px var(--felt-deep),
    0 0 0 7px var(--chip),
    0 0 0 12px var(--crimson),
    0 0 0 13px var(--bronze),
    0 10px 18px rgba(0, 0, 0, 0.35);
}
.chip--felt {
  background: radial-gradient(
    circle at 38% 32%,
    #1d6a50,
    var(--felt-mid) 55%,
    var(--felt-deep)
  );
  color: var(--ivory);
  box-shadow:
    0 0 0 5px var(--felt-deep),
    0 0 0 7px var(--bronze),
    0 0 0 12px var(--felt),
    0 0 0 13px var(--chip),
    0 10px 18px rgba(0, 0, 0, 0.35);
}
.chip__val {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}
.chip__lab {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 700px) {
  .chips__in {
    justify-content: center;
    gap: 14px;
  }
  .chip {
    width: 96px;
    height: 96px;
  }
  .chip__val {
    font-size: 15px;
  }
}

/* ---------- sections ---------- */

.sect {
  padding: 88px 0;
}
.sect--felt {
  /* felt grain lives on body sections */
}
.sect__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.sect__head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-style: italic;
}
.sect__note {
  margin: 0;
  text-align: right;
  font-size: 14px;
  color: var(--ivory-dim);
  max-width: 28ch;
}

/* ---------- dealt hand (promotions) ---------- */

.hand {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
  padding: 20px 0 40px;
}
.offer {
  width: min(240px, 28vw);
  margin-left: -48px;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0));
  transition:
    transform 240ms var(--ease),
    z-index 0s;
  z-index: var(--z, 1);
  text-decoration: none;
}
.offer:first-child {
  margin-left: 0;
}
.offer:hover,
.offer:focus-visible {
  transform: rotate(var(--r, 0deg)) translateY(-18px) scale(1.04);
  z-index: 8;
}
.offer__img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink);
}
.offer__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offer__body {
  padding: 14px 16px 16px;
}
.offer__kicker {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-deep);
}
.offer__body h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-style: italic;
}
.offer__body p {
  margin: 0;
  font-size: 13px;
  color: #4a4036;
  line-height: 1.4;
}
.offer__val {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--crimson);
}

@media (max-width: 900px) {
  .hand {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 0;
    gap: 16px;
    align-items: stretch;
  }
  .offer {
    width: auto;
    margin-left: 0;
    transform: none;
  }
  .offer:hover,
  .offer:focus-visible {
    transform: translateY(-6px);
  }
}

@media (max-width: 560px) {
  .hand {
    grid-template-columns: 1fr;
  }
}

/* ---------- place settings ---------- */

.plreward plaques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.place {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 40px 40px;
  background: linear-gradient(
    180deg,
    rgba(243, 235, 224, 0.05),
    transparent 60%
  );
  position: relative;
}
.place::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 42px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--bronze);
  box-shadow:
    0 0 0 3px var(--felt),
    0 0 0 4px var(--chip);
}
.place h3 {
  margin: 18px 0 8px;
  font-size: 26px;
  font-style: italic;
}
.place p {
  margin: 0;
  color: var(--ivory-dim);
  font-size: 15px;
}
.place__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

@media (max-width: 800px) {
  .plreward plaques {
    grid-template-columns: 1fr;
  }
}

.sect__cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.sect__cta p {
  margin: 0;
  color: var(--ivory-dim);
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ivory);
  padding: 18px 0;
  min-height: 56px;
}
.faq__n {
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.faq__q {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
}
.faq__ic {
  width: 18px;
  height: 18px;
  position: relative;
}
.faq__ic::before,
.faq__ic::after {
  content: "";
  position: absolute;
  background: var(--chip);
  top: 50%;
  left: 50%;
}
.faq__ic::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__ic::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq__item.open .faq__ic::after {
  opacity: 0;
}
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms var(--ease);
}
.faq__item.open .faq__panel {
  grid-template-rows: 1fr;
}
.faq__panel > div {
  overflow: hidden;
}
.faq__a {
  margin: 0 0 22px;
  padding-left: calc(12px + 16px + 2.2em);
  color: var(--ivory-dim);
  max-width: 62ch;
}
.faq__a a {
  color: var(--bronze-bright);
}

@media (max-width: 640px) {
  .faq__btn {
    grid-template-columns: 1fr auto;
  }
  .faq__n {
    display: none;
  }
  .faq__q {
    font-size: 18px;
  }
  .faq__a {
    padding-left: 0;
  }
}

.sect--ink {
  background: var(--ink);
}
