.ydai-entry,
.ydai-entry * {
  box-sizing: border-box;
}

.ydai-entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 74px;
  border-bottom: 1px solid rgba(201, 168, 76, .22);
  background:
    radial-gradient(circle at 84% 18%, rgba(232, 201, 122, .16), transparent 28%),
    linear-gradient(118deg, #f5f0e8 0%, #eee7da 58%, #e6dac4 100%);
  color: #0d1b2a;
}

.ydai-entry::before {
  content: "AI";
  position: absolute;
  right: -1.5vw;
  bottom: -9vw;
  z-index: -1;
  color: rgba(13, 27, 42, .035);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(280px, 38vw, 620px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.12em;
  line-height: .75;
  pointer-events: none;
}

.ydai-entry-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(13, 27, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 42, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to right, transparent, #000 48%, #000);
  pointer-events: none;
}

.ydai-entry-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(70px, 7vw, 104px) clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
}

.ydai-entry-copy {
  max-width: 730px;
}

.ydai-entry-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #8b6914;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ydai-entry-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.ydai-entry h2 {
  max-width: 760px;
  margin: 0;
  color: #0d1b2a;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
  text-wrap: balance;
}

.ydai-entry h2 em {
  color: #8b6914;
  font-weight: 400;
}

.ydai-entry-lede {
  max-width: 690px;
  margin: 27px 0 0;
  color: rgba(13, 27, 42, .78);
  font-family: var(--font-body, sans-serif);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.7;
}

.ydai-entry-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 32px;
}

.ydai-entry-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 15px 21px;
  border: 1px solid #0d1b2a;
  background: #0d1b2a;
  box-shadow: 0 15px 35px rgba(13, 27, 42, .14);
  color: #f5f0e8;
  font-family: var(--font-body, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ydai-entry-button:hover {
  border-color: #8b6914;
  background: #8b6914;
  box-shadow: 0 18px 42px rgba(13, 27, 42, .2);
  color: #fff;
  transform: translateY(-2px);
}

.ydai-entry-button:focus-visible {
  outline: 3px solid #0d1b2a;
  outline-offset: 4px;
}

.ydai-entry-reassurance {
  max-width: 260px;
  color: rgba(13, 27, 42, .7);
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .075em;
  line-height: 1.6;
  text-transform: uppercase;
}

.ydai-entry-disclosure {
  margin: 19px 0 0;
  color: rgba(13, 27, 42, .58);
  font-family: var(--font-body, sans-serif);
  font-size: 12px;
  line-height: 1.55;
}

.ydai-entry-launch {
  position: relative;
  min-height: 330px;
  padding: 38px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, .7);
  background:
    linear-gradient(145deg, rgba(28, 43, 58, .98), rgba(7, 17, 31, .99));
  box-shadow: 0 30px 70px rgba(13, 27, 42, .2);
  color: #f5f0e8;
}

.ydai-entry-launch::before,
.ydai-entry-launch::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: #e8c97a;
  opacity: .75;
}

.ydai-entry-launch::before {
  top: 13px;
  left: 13px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.ydai-entry-launch::after {
  right: 13px;
  bottom: 13px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.ydai-entry-launch-label {
  color: #e8c97a;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ydai-entry-launch time {
  display: block;
  margin-top: 17px;
  color: #fffefa;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}

.ydai-entry-launch > strong {
  margin-top: 10px;
  color: rgba(245, 240, 232, .72);
  font-family: var(--font-body, sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ydai-entry-launch-rule {
  width: 100%;
  height: 1px;
  margin: 28px 0 22px;
  background: linear-gradient(90deg, #c9a84c, rgba(201, 168, 76, .08));
}

.ydai-entry-launch p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  color: rgba(245, 240, 232, .66);
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ydai-entry-launch p span {
  position: relative;
}

.ydai-entry-launch p span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -12px;
  color: #c9a84c;
}

@media (max-width: 900px) {
  .ydai-entry-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ydai-entry-launch {
    width: min(100%, 560px);
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .ydai-entry-inner {
    padding: 62px 24px;
  }

  .ydai-entry h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .ydai-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ydai-entry-button {
    width: 100%;
  }

  .ydai-entry-reassurance {
    max-width: none;
  }

  .ydai-entry-launch {
    min-height: 250px;
    padding: 34px 28px 30px;
  }

  .ydai-entry-launch time {
    font-size: clamp(39px, 13vw, 54px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ydai-entry-button {
    scroll-behavior: auto;
    transition: none;
  }
}
