#everything-you-need .scene-bg img {
  object-position: center 38%;
  transform: scale(1.02);
  filter: brightness(0.68) contrast(1.06) saturate(0.94);
}

.eyn-volumetric {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 18% 6%, rgba(255,232,190,0.13) 0%, rgba(20,38,30,0.04) 34%, transparent 68%);
  mix-blend-mode: screen;
  animation: concierge-light-drift 16s ease-in-out infinite alternate;
}

.eyn-gold-pool {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 108%, rgba(229,196,131,0.12) 0%, transparent 55%);
  mix-blend-mode: screen;
}

.eyn-darken {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.12);
}

.eyn-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 88% at 50% 40%,
    transparent 0%,
    rgba(5, 4, 3, 0.1) 52%,
    rgba(5, 4, 3, 0.58) 100%
  );
}

.eyn-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 4, 3, 0.26) 0%,
    transparent 36%,
    rgba(5, 4, 3, 0.14) 58%,
    rgba(5, 4, 3, 0.46) 100%
  );
}

.eyn-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.eyn-particle {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255,240,210,0.75) 0%, rgba(229,196,131,0.18) 55%, transparent 100%);
  animation: everything-dust 14s ease-in-out infinite alternate;
  pointer-events: none;
}

#eyn-particles {
  opacity: 0.65;
}

#everything-you-need.is-sleeping .eyn-particle,
#everything-you-need.is-sleeping .eyn-volumetric {
  animation-play-state: paused;
}

/* ─────────────────────────────────────────────────────────────
   Editorial composition system
   Four blocks: Header → Artwork → Card group → Closing
   Spacing tokens control block relationships only.
   Internal card spacing, typography, and chrome stay untouched.
   ───────────────────────────────────────────────────────────── */
#everything-you-need {
  --eyn-inset-top: clamp(1.75rem, 4.5dvh, 2.75rem);
  --eyn-artwork-height: clamp(9.5rem, 11.5rem + 0.35dvh, 13rem);
  --eyn-gap-artwork-actions: -0.125rem;
  --eyn-gap-actions: 0.5rem;
  --eyn-gap-info-closing: clamp(1rem, 2.75dvh, 1.75rem);
  --eyn-inset-bottom: clamp(1.25rem, 3.5dvh, 2.25rem);
}

.eyn-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* The three groups (header, artwork+cards, closing) keep a fixed
     internal footprint. Anchoring to the bottom — rather than the
     top — means any extra viewport height on taller devices is
     applied as a single downward translation of the whole
     composition, with the closing settling against the bottom
     inset. No internal gap changes; this is a position, not a
     spacing, decision. */
  justify-content: flex-end;
  gap: 0;
  padding:
    max(var(--eyn-inset-top), var(--safe-top))
    1.375rem
    max(var(--eyn-inset-bottom), var(--safe-bottom));
}

/* The header is deliberately taken out of the flex flow that
   positions artwork/cards/closing. It anchors to a fixed offset
   from the top of the scene so its optical position stays constant
   across devices, independent of viewport height, artwork size, or
   how much slack the bottom-anchored composition below it absorbs. */
.eyn-header {
  position: absolute;
  top: max(var(--eyn-inset-top), var(--safe-top));
  left: 0;
  right: 0;
  text-align: center;
}

.eyn-header__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.eyn-header__title-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F5F2EB;
  margin: 0;
  padding-left: 0.08em;
  line-height: 1;
}

.eyn-header__title-script {
  font-family: var(--font-script);
  font-size: 2.35rem;
  line-height: 0.95;
  color: var(--color-accent-gold-light);
  margin-top: -0.3125rem;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(229,196,131,0.18));
}

.eyn-header__intro {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: rgba(245, 242, 235, 0.7);
  max-width: 264px;
  margin: 0.5rem auto 0;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.eyn-header__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem auto 0;
  max-width: 180px;
  opacity: 0.55;
}

.eyn-header__divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(229, 196, 131, 0.35));
}

.eyn-header__divider span:last-child {
  background: linear-gradient(to left, transparent, rgba(229, 196, 131, 0.35));
}

.eyn-header__divider svg {
  flex-shrink: 0;
}

.eyn-body {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.eyn-artwork {
  flex: 0 0 auto;
  height: var(--eyn-artwork-height);
  max-height: min(13rem, 38dvh);
  width: 100%;
  pointer-events: none;
}

.eyn-actions {
  display: flex;
  flex-direction: column;
  gap: var(--eyn-gap-actions);
  margin-top: var(--eyn-gap-artwork-actions);
  padding: 0;
  width: 100%;
  flex: 0 0 auto;
}

.action-card--primary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 80px;
  padding: 0.4375rem 0.5625rem 0.4375rem 0.6875rem;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgba(229, 196, 131, 0.32);
  background: linear-gradient(to right, #072417, #041A10);
  box-shadow:
    0 10px 28px rgba(5, 4, 3, 0.45),
    0 1px 0 rgba(229, 196, 131, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    inset 0 -1px 1.5px rgba(0, 0, 0, 0.3);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 150ms ease;
}

.action-card--primary:hover {
  background: linear-gradient(to right, #082a1c, #051f14);
  border-color: rgba(229, 196, 131, 0.6);
  box-shadow:
    0 0 22px rgba(229, 196, 131, 0.22),
    0 8px 32px rgba(7, 36, 23, 0.3),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.05),
    inset 0 -1px 1.5px rgba(0, 0, 0, 0.28);
}

.action-card--primary:active { transform: scale(0.98); }

.action-card__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 100% at 10% -15%, rgba(255, 240, 210, 0.14) 0%, transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.action-card__icon-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(229, 196, 131, 0.24);
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.04), inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}

.action-card__icon-wrap svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-accent-gold-light);
}

.action-card__text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  text-align: left;
  padding-left: 0.1875rem;
}

.action-card__text .label {
  font-family: var(--font-sans);
  font-size: 7.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(229, 196, 131, 0.74);
  padding-left: 0.24em;
}

.action-card__text .highlight {
  font-family: var(--font-sans);
  font-size: 9px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--color-accent-gold-light);
  margin-top: 0.1875rem;
  display: block;
  padding-left: 0.17em;
}

.action-card__text .sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(245, 242, 235, 0.54);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-card__arrow {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.1875rem;
  color: rgba(229, 196, 131, 0.95);
  transition: transform 500ms ease;
}

.action-card--primary:hover .action-card__arrow { transform: translateX(3px); }

.eyn-support {
  border-radius: 1.25rem;
  border: 1px solid rgba(229, 196, 131, 0.17);
  background: rgba(11, 9, 7, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.4375rem 0.5625rem;
  box-shadow:
    0 14px 36px rgba(5, 4, 3, 0.55),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.04),
    inset 0 -1px 1px rgba(0, 0, 0, 0.18);
}

.action-card--secondary {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 54px;
  padding: 0.75rem 0.5625rem 0.75rem 0.6875rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(229, 196, 131, 0.13);
  background: rgba(11, 9, 7, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 14px 36px rgba(5, 4, 3, 0.55),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.04),
    inset 0 -1px 1px rgba(0, 0, 0, 0.18);
  text-align: left;
  transition: background 400ms ease, border-color 400ms ease, box-shadow 400ms ease, transform 150ms ease;
}

.action-card--secondary:hover {
  border-color: rgba(229, 196, 131, 0.29);
  background: rgba(11, 9, 7, 0.58);
  box-shadow:
    0 14px 36px rgba(5, 4, 3, 0.55),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.05),
    inset 0 -1px 1px rgba(0, 0, 0, 0.18);
}

.action-card--secondary:active { transform: scale(0.99); }
.action-card--secondary:disabled { opacity: 0.7; cursor: wait; }

.action-card--secondary .action-card__icon-wrap {
  width: 2rem;
  height: 2rem;
  border-color: rgba(229, 196, 131, 0.2);
  background: rgba(0, 0, 0, 0.43);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.03);
}

.action-card--secondary .action-card__icon-wrap svg {
  width: 1.125rem;
  height: 1.125rem;
  filter: none;
  color: rgba(229, 196, 131, 0.78);
}

.action-card--secondary .action-card__text .label {
  font-size: 7px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: rgba(246, 241, 231, 0.44);
  padding-left: 0.3em;
}

.action-card--secondary .highlight {
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: 0.21em;
  font-weight: 600;
  color: rgba(229, 196, 131, 0.84);
  margin-top: 0.1875rem;
  display: block;
  padding-left: 0.21em;
}

.action-card--secondary .action-card__text .sub {
  font-size: 10.5px;
  line-height: 1.4;
  color: rgba(246, 241, 231, 0.44);
  margin-top: 0.25rem;
}

.action-card--secondary .action-card__arrow {
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.1875rem;
  color: rgba(229, 196, 131, 0.4);
}

.eyn-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.eyn-info__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.8125rem 0.5625rem 0.875rem;
  gap: 0.3125rem;
  min-height: 68px;
  justify-content: flex-start;
}

.eyn-info__col + .eyn-info__col {
  position: relative;
}

.eyn-info__col + .eyn-info__col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(229,196,131,0.26), transparent);
}

.eyn-info__label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 0.9375rem;
}

.eyn-info__label-row svg {
  width: 0.9375rem;
  height: 0.9375rem;
  color: rgba(229, 196, 131, 0.68);
  flex-shrink: 0;
  transform: translateY(-0.5px);
}

.eyn-info__label {
  font-family: var(--font-sans);
  font-size: 7px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(246, 241, 231, 0.46);
  padding-left: 0.24em;
}

.eyn-info__value {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: rgba(229, 196, 131, 0.9);
}

.eyn-info__col:first-child .eyn-info__value {
  margin-bottom: calc(0.3125rem + 9px * 1.4);
}

.eyn-info__sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 9px;
  line-height: 1.4;
  color: rgba(246, 241, 231, 0.4);
}

.eyn-closing {
  text-align: center;
  padding-top: var(--eyn-gap-info-closing);
  padding-bottom: 0;
  flex: 0 0 auto;
  margin-top: 0;
}

.eyn-closing__script {
  font-family: var(--font-script);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--color-accent-gold-light);
  text-shadow:
    0 0 16px rgba(229, 196, 131, 0.32),
    0 0 32px rgba(229, 196, 131, 0.14);
  margin: 0;
}

.eyn-closing__headline {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(245, 242, 235, 0.87);
  margin: 0.375rem 0 0;
  padding-left: 0.3em;
}

.eyn-closing__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin: 0.625rem 0 0;
  opacity: 0.65;
}

.eyn-closing__divider span {
  width: 2rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(229,196,131,0.4));
}

.eyn-closing__divider span:last-child {
  background: linear-gradient(to left, transparent, rgba(229,196,131,0.4));
}

.eyn-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.eyn-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .eyn-volumetric { animation: none; }
  .eyn-particle { animation: none; }
}

@supports not (backdrop-filter: blur(24px)) {
  .eyn-support { background: rgba(11, 9, 7, 0.86); }
  .action-card--secondary { background: rgba(11, 9, 7, 0.86); }
  .action-card--primary { background: linear-gradient(to right, #072417, #041A10); }
}

@media (min-width: 768px) {
  #everything-you-need {
    --eyn-inset-top: clamp(2rem, 5dvh, 3rem);
    --eyn-artwork-height: clamp(10rem, 12rem + 0.35dvh, 13.5rem);
    --eyn-gap-info-closing: clamp(1.125rem, 3dvh, 1.875rem);
    --eyn-inset-bottom: clamp(1.5rem, 4dvh, 2.5rem);
  }

  .eyn-artwork { max-height: min(13.5rem, 38dvh); }

  .eyn-header__title-main { font-size: 1.875rem; }
  .eyn-header__title-script { font-size: 2.5rem; }
  .eyn-header__intro { font-size: 13px; max-width: 280px; }
  .action-card--primary { min-height: 84px; }
  .action-card__text .highlight { font-size: 9px; letter-spacing: 0.2em; padding-left: 0.2em; }
}

@media (max-width: 320px) {
  .action-card__text .sub { white-space: normal; }
}
