.new-site-popup[hidden] { display: none !important; }
body.new-site-popup-open { overflow: hidden; }

.new-site-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.new-site-popup.is-visible { opacity: 1; visibility: visible; }

.new-site-popup__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(205,255,57,.12), transparent 34%), rgba(3,4,2,.84);
  backdrop-filter: blur(14px) saturate(.75);
  -webkit-backdrop-filter: blur(14px) saturate(.75);
}

.new-site-popup__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(340px,1.1fr);
  overflow: hidden;
  color: var(--ivoire, #f5f4f0);
  text-align: left;
  border: 1px solid rgba(245,244,240,.16);
  border-radius: 26px;
  background: radial-gradient(circle at 14% 8%, rgba(205,255,57,.075), transparent 28%), linear-gradient(145deg,rgba(18,20,15,.99),rgba(5,6,4,.99));
  box-shadow: 0 42px 130px rgba(0,0,0,.72), 0 0 70px rgba(205,255,57,.07);
  transform: translateY(24px) scale(.975);
  transition: transform 380ms cubic-bezier(.16,1,.3,1);
}

.new-site-popup.is-visible .new-site-popup__panel { transform: translateY(0) scale(1); }

.new-site-popup__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(245,244,240,.12) .75px, transparent .75px);
  background-size: 7px 7px;
  opacity: .06;
}

.new-site-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(245,244,240,.12);
  border-radius: 50%;
  background: rgba(5,6,4,.62);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.new-site-popup__close span,
.new-site-popup__close span::after {
  position: absolute;
  width: 15px;
  height: 1px;
  background: rgba(245,244,240,.72);
  content: "";
  transform: rotate(45deg);
}

.new-site-popup__close span::after { transform: rotate(90deg); }
.new-site-popup__close:hover,
.new-site-popup__close:focus-visible { border-color: rgba(205,255,57,.6); background: rgba(205,255,57,.1); transform: scale(1.05); }

.new-site-popup__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 46px 18px 38px 44px;
}

.new-site-popup__logo {
  width: 94px;
  height: auto;
  margin: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.new-site-popup__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 50px 0 16px;
  color: rgba(245,244,240,.5);
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.new-site-popup__eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cdff39;
  box-shadow: 0 0 17px rgba(205,255,57,.72);
}

.new-site-popup h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px,5.3vw,69px);
  font-weight: 700;
  line-height: .83;
  letter-spacing: -.055em;
}

.new-site-popup h2 em { color: #cdff39; font-weight: 400; }

.new-site-popup__copy > p:not(.new-site-popup__eyebrow) {
  max-width: 390px;
  margin: 24px 0 28px;
  color: rgba(245,244,240,.62);
  font-size: 14px;
  line-height: 1.65;
}

.new-site-popup__cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 24px;
  color: #0a0b08;
  border-radius: 999px;
  background: #cdff39;
  box-shadow: 0 16px 42px rgba(205,255,57,.16);
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.new-site-popup__cta:hover,
.new-site-popup__cta:focus-visible { color: #0a0b08; background: #e1ff82; box-shadow: 0 18px 48px rgba(205,255,57,.24); transform: translateY(-2px); }
.new-site-popup__cta span { font-size: 19px; line-height: 1; }

.new-site-popup__later {
  margin: 16px 0 0 14px;
  padding: 3px 0;
  color: rgba(245,244,240,.42);
  font-size: 11px;
  border: 0;
  border-bottom: 1px solid rgba(245,244,240,.22);
  background: transparent;
  cursor: pointer;
}

.new-site-popup__later:hover,
.new-site-popup__later:focus-visible { color: var(--ivoire, #f5f4f0); }

.new-site-popup__preview {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 24px 24px 24px 18px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(245,244,240,.14);
  border-radius: 19px;
  background: radial-gradient(circle at 80% 10%, rgba(205,255,57,.17), transparent 30%), #090a08;
  box-shadow: 0 24px 54px rgba(0,0,0,.38);
  transform: rotate(1.5deg);
  transition: transform 300ms cubic-bezier(.16,1,.3,1), border-color 180ms ease;
}

.new-site-popup__preview:hover,
.new-site-popup__preview:focus-visible { border-color: rgba(205,255,57,.42); transform: rotate(0) translateY(-3px); }

.new-site-popup__browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(245,244,240,.08);
}

.new-site-popup__browser-bar > span { width: 6px; height: 6px; border-radius: 50%; background: rgba(245,244,240,.22); }
.new-site-popup__browser-bar > span:first-child { background: #cdff39; }
.new-site-popup__browser-bar small { margin-left: 8px; color: rgba(245,244,240,.38); font-family: var(--font-mono, monospace); font-size: 7px; letter-spacing: .12em; }
.new-site-popup__preview-copy { padding: 28px 26px 22px; }
.new-site-popup__preview-copy small { display: block; margin-bottom: 14px; color: rgba(245,244,240,.42); font-family: var(--font-mono, monospace); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
.new-site-popup__preview-copy strong { display: block; color: var(--ivoire, #f5f4f0); font-family: Georgia,"Times New Roman",serif; font-size: clamp(37px,4vw,54px); line-height: .86; letter-spacing: -.055em; }
.new-site-popup__preview-copy > span { display: inline-block; margin-top: 20px; padding: 9px 14px; color: #0a0b08; border-radius: 999px; background: #cdff39; font-size: 9px; font-weight: 800; }

.new-site-popup__gallery {
  height: 210px;
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 5px;
  padding: 0 7px 7px;
}

.new-site-popup__gallery figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 7px; background: #111; }
.new-site-popup__gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 450ms cubic-bezier(.16,1,.3,1); }
.new-site-popup__gallery figure:first-child img { object-position: 50% 40%; }
.new-site-popup__preview:hover .new-site-popup__gallery img { transform: scale(1.04); }

@media (max-width: 780px) {
  .new-site-popup { align-items: end; padding: 10px; }
  .new-site-popup__panel { width: 100%; min-height: 0; max-height: calc(100dvh - 20px); grid-template-columns: 1fr; overflow-y: auto; border-radius: 22px; }
  .new-site-popup__copy { padding: 30px 24px 22px; }
  .new-site-popup__logo { width: 78px; margin-bottom: 28px; }
  .new-site-popup__eyebrow { margin: 0 0 13px; }
  .new-site-popup h2 { padding-right: 30px; font-size: clamp(43px,13.2vw,62px); }
  .new-site-popup__copy > p:not(.new-site-popup__eyebrow) { margin: 18px 0 22px; font-size: 13px; }
  .new-site-popup__cta { width: 100%; min-height: 52px; gap: 18px; }
  .new-site-popup__later { align-self: center; margin-left: 0; }
  .new-site-popup__preview { min-height: 130px; margin: 0 14px 14px; display: grid; grid-template-columns: .9fr 1.1fr; transform: none; }
  .new-site-popup__browser-bar { display: none; }
  .new-site-popup__preview-copy { padding: 18px; }
  .new-site-popup__preview-copy small { display: none; }
  .new-site-popup__preview-copy strong { font-size: clamp(27px,8vw,38px); }
  .new-site-popup__preview-copy > span { margin-top: 13px; padding: 7px 10px; font-size: 7px; }
  .new-site-popup__gallery { height: 100%; grid-template-columns: 1fr 1fr; padding: 5px; }
  .new-site-popup__gallery figure:first-child { grid-row: span 2; }
  .new-site-popup__gallery figure { border-radius: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .new-site-popup,
  .new-site-popup__panel { transition: none; }
}

.madebywoaw-return {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 79;
  min-width: 214px;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  color: #f5f4f0;
  text-decoration: none;
  border: 1px solid rgba(245,244,240,.15);
  border-radius: 999px;
  background: rgba(8,9,6,.9);
  box-shadow: 0 16px 46px rgba(0,0,0,.42), 0 0 34px rgba(205,255,57,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(.16,1,.3,1), border-color 180ms ease, background 180ms ease;
}

.madebywoaw-return.is-visible { opacity: 1; transform: translateY(0); }
.madebywoaw-return:hover,
.madebywoaw-return:focus-visible { color: #f5f4f0; border-color: rgba(205,255,57,.5); background: rgba(16,19,10,.96); transform: translateY(-2px); }

.madebywoaw-return__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdff39;
  box-shadow: 0 0 16px rgba(205,255,57,.78);
}

.madebywoaw-return span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.05; }
.madebywoaw-return small { margin-bottom: 4px; color: rgba(245,244,240,.44); font-family: var(--font-mono, monospace); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
.madebywoaw-return strong { color: #f5f4f0; font-family: var(--font-body, sans-serif); font-size: 13px; font-weight: 700; }
.madebywoaw-return__arrow { color: #cdff39; font-size: 18px; }

@media (max-width: 780px) {
  .madebywoaw-return {
    left: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    min-width: 0;
    min-height: 52px;
    padding: 8px 13px;
    gap: 10px;
  }
  .madebywoaw-return small { display: none; }
  .madebywoaw-return strong { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .madebywoaw-return { transition: none; }
}
