.name-sampler-page {
  min-width: 320px;
  background-color: var(--void);
}

.name-status {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(184, 167, 232, .24);
  padding: 7px 18px;
  background: #0c0f14;
  color: var(--regolith);
  font-size: .7rem;
  line-height: 1.5;
  text-align: center;
}

.name-status strong {
  color: var(--lavender);
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.name-nav .nav-inner { justify-content: space-between; }

.name-nav-link {
  border: 1px solid rgba(184, 167, 232, .55);
  border-radius: 8px;
  padding: 8px 13px;
  color: #cdbff4;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.name-nav-link:hover {
  border-color: var(--lavender);
  background: rgba(184, 167, 232, .08);
}

.name-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 105px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(62px, 8vw, 110px) 0 clamp(76px, 9vw, 120px);
}

.name-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(660px 500px at 12% 28%, rgba(184, 167, 232, .09), transparent 72%),
    radial-gradient(560px 430px at 86% 12%, rgba(239, 109, 92, .07), transparent 75%);
  content: "";
}

.name-hero::after {
  position: absolute;
  z-index: -2;
  right: -5vw;
  bottom: -21vw;
  width: min(960px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("/assets/brand/lunar-horizon.webp") center bottom / 112% auto no-repeat;
  opacity: .24;
  content: "";
  filter: hue-rotate(12deg) saturate(.72);
}

.name-orbit {
  position: absolute;
  z-index: -1;
  top: 11%;
  left: 4%;
  width: min(710px, 60vw);
  aspect-ratio: 1.9;
  border: 1px solid rgba(242, 239, 231, .1);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.name-orbit::after {
  position: absolute;
  top: 36%;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 21px rgba(184, 167, 232, .8);
  content: "";
}

.name-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(470px, 1.02fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}

.name-intro h1 {
  max-width: 690px;
  margin-bottom: 25px;
  font-size: clamp(3.45rem, 6.8vw, 6.35rem);
}

.name-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--moon-soft);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}

.name-promises {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.name-promises li {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(15, 18, 23, .72);
  color: var(--regolith);
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 650;
}

.name-promises li span { color: var(--lavender); }

.name-method {
  max-width: 590px;
  margin: 29px 0 0;
  border-left: 1px solid var(--line-strong);
  padding-left: 17px;
  color: var(--dim);
  font-size: .78rem;
  line-height: 1.65;
}

.name-method strong { color: var(--regolith); }

.name-form {
  border: 1px solid rgba(242, 239, 231, .21);
  border-radius: 22px;
  padding: clamp(24px, 3.4vw, 39px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.013)),
    rgba(10, 13, 18, .94);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .44);
}

.name-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.name-form-head .eyebrow { margin-bottom: 8px; }
.name-form-head h2 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.45rem); }

.name-form-head > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
}

.name-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 15px;
  margin-top: 24px;
}

.name-field--wide { grid-column: 1 / -1; }

.name-field label {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  gap: 8px;
  color: var(--moon);
  font-size: .83rem;
  font-weight: 720;
}

.name-field label span {
  color: var(--signal-bright);
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .06em;
}

.name-field label em {
  margin-left: auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .57rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.name-field select,
.name-field textarea,
.name-field input {
  width: 100%;
  border: 1px solid rgba(242, 239, 231, .25);
  border-radius: 10px;
  background: #090c11;
  color: var(--moon);
  font-size: .9rem;
}

.name-field select { min-height: 48px; padding: 0 38px 0 13px; }

.name-field textarea {
  display: block;
  min-height: 64px;
  resize: vertical;
  padding: 11px 13px;
  line-height: 1.45;
}

.name-field input { min-height: 48px; padding: 0 13px; }

.name-field select:focus,
.name-field textarea:focus,
.name-field input:focus { border-color: var(--lavender); }

.name-field textarea::placeholder,
.name-field input::placeholder { color: #777b82; opacity: 1; }

.name-field small {
  display: block;
  margin-top: 6px;
  color: var(--dim);
  font-size: .66rem;
  line-height: 1.45;
}

.name-error {
  margin: 17px 0 0;
  border-left: 2px solid var(--signal-bright);
  padding: 8px 11px;
  background: rgba(217, 75, 61, .08);
  color: #ffd5ce;
  font-size: .78rem;
}

.name-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 23px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--moon);
  border-radius: 9px;
  padding: 12px 17px;
  background: var(--moon);
  color: var(--void);
  font-weight: 780;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.name-submit:hover { transform: translateY(-2px); background: #fff; }

.name-local-note {
  margin: 11px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .59rem;
  line-height: 1.5;
  text-align: center;
}

.name-results {
  padding: clamp(84px, 10vw, 148px) 0 0;
  background:
    radial-gradient(760px 430px at 92% 3%, rgba(184,167,232,.07), transparent 72%),
    var(--void);
}

.name-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .55fr);
  gap: 40px;
  align-items: end;
}

.name-results-head h2 { max-width: 800px; margin-bottom: 0; }

.name-results-head > p {
  margin: 0 0 7px;
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
  color: var(--regolith);
  font-size: .88rem;
  line-height: 1.65;
}

.name-context {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(38px, 5vw, 62px) 0 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 18, 23, .72);
}

.name-context div { min-width: 0; padding: 14px 17px; }
.name-context div + div { border-left: 1px solid var(--line); }

.name-context small {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.name-context strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--moon-soft);
  font-size: .78rem;
  font-weight: 650;
}

.name-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.name-family {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.name-family:nth-child(2) { background: #10151a; }
.name-family:nth-child(3) { background: #141319; }

.name-family::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--signal-bright);
  content: "";
}

.name-family:nth-child(2)::before { background: var(--data); }
.name-family:nth-child(3)::before { background: var(--lavender); }

.name-family > header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 25px 25px 22px;
}

.name-family > header > span {
  color: var(--signal-bright);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.name-family:nth-child(2) > header > span { color: var(--data); }
.name-family:nth-child(3) > header > span { color: var(--lavender); }

.name-family header p {
  margin: 0 0 6px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.name-family header h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }

.name-candidate-list { display: grid; }

.name-candidate { min-width: 0; }
.name-candidate + .name-candidate { border-top: 1px solid var(--line); }

.name-candidate button {
  display: grid;
  width: 100%;
  min-height: 178px;
  gap: 10px;
  align-content: start;
  border: 0;
  padding: 23px 25px 21px;
  background: transparent;
  color: var(--moon);
  text-align: left;
  cursor: pointer;
  transition: background .16s ease;
}

.name-candidate button:hover { background: rgba(255,255,255,.035); }

.name-candidate button[aria-pressed="true"] {
  background: rgba(184, 167, 232, .08);
  box-shadow: inset 3px 0 var(--lavender);
}

.name-candidate-word {
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 2.25vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.name-candidate-reason {
  color: var(--regolith);
  font-size: .74rem;
  line-height: 1.52;
}

.name-candidate-action {
  align-self: end;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.name-candidate button:hover .name-candidate-action,
.name-candidate button[aria-pressed="true"] .name-candidate-action { color: var(--lavender); }

.name-shortlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 36px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(184, 167, 232, .35);
  border-radius: 15px;
  padding: clamp(23px, 4vw, 35px);
  background:
    radial-gradient(470px 200px at 100% 0%, rgba(184,167,232,.09), transparent 70%),
    rgba(15, 18, 23, .82);
}

.name-shortlist[hidden] { display: none; }

.name-shortlist .eyebrow { margin-bottom: 7px; color: var(--lavender); }
.name-shortlist h3 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.2rem); }
.name-shortlist > div:first-child > p:last-child { max-width: 680px; margin: 0; color: var(--regolith); font-size: .78rem; }

.name-shortlist-actions { display: flex; max-width: 420px; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }

.name-shortlist-actions button {
  min-height: 43px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 13px;
  background: transparent;
  color: var(--moon-soft);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}

.name-shortlist-actions button:first-child { border-color: var(--moon); background: var(--moon); color: var(--void); }
.name-shortlist-actions button:hover { border-color: var(--lavender); }

.name-action-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: -5px 0 0;
  color: var(--data);
  font-family: var(--mono);
  font-size: .62rem;
  text-align: right;
}

.name-checks {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(460px, 1fr);
  gap: clamp(35px, 7vw, 90px);
  align-items: start;
  margin: clamp(66px, 9vw, 112px) auto;
  border-left: 2px solid var(--signal-bright);
  padding-left: clamp(20px, 3vw, 31px);
}

.name-checks-copy h3 { margin-bottom: 15px; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.name-checks-copy > p:last-child { color: var(--regolith); font-size: .84rem; }
.name-checks ol { margin: 0; padding: 0; list-style: none; }

.name-checks li {
  display: grid;
  grid-template-columns: 31px minmax(110px, .34fr) 1fr;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.name-checks li:last-child { border-bottom: 1px solid var(--line); }
.name-checks li > span { color: var(--signal-bright); font-family: var(--mono); font-size: .59rem; }
.name-checks li strong { font-size: .78rem; }
.name-checks li small { color: var(--dim); font-size: .69rem; line-height: 1.55; }

.name-handoff {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: clamp(57px, 8vw, 100px) clamp(24px, 7vw, 90px) 210px;
  background: rgba(10, 12, 16, .72);
  text-align: center;
}

.name-horizon {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/brand/lunar-horizon.webp") center bottom / min(1350px, 124%) auto no-repeat;
  opacity: .54;
}

.name-handoff::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,13,.98) 5%, rgba(7,9,13,.73) 60%, rgba(7,9,13,.16));
  content: "";
}

.name-handoff > div:last-child { max-width: 790px; margin: 0 auto; }
.name-handoff h2 { margin-bottom: 23px; }
.name-handoff > div:last-child > p:not(.eyebrow):not(.name-fresh-note) { max-width: 700px; margin: 0 auto 30px; color: var(--moon-soft); font-size: 1.06rem; }
.name-handoff .button { min-height: 54px; border-color: var(--moon); background: var(--moon); color: var(--void); }

.name-fresh-note {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--regolith);
  font-family: var(--mono);
  font-size: .62rem;
  line-height: 1.55;
}

.name-fresh-note strong { color: var(--moon-soft); }
.name-noscript { border-top: 1px solid var(--line); padding: 90px 0; }
.name-noscript p { color: var(--regolith); }

@media (max-width: 1000px) {
  .name-hero-grid { grid-template-columns: 1fr; }
  .name-intro, .name-form { max-width: 760px; }
  .name-results-head { grid-template-columns: 1fr; }
  .name-results-head > p { max-width: 650px; }
  .name-family-grid { grid-template-columns: 1fr; }
  .name-candidate-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .name-candidate:nth-child(2) { border-top: 0; }
  .name-candidate:nth-child(even) { border-left: 1px solid var(--line); }
  .name-shortlist { grid-template-columns: 1fr; }
  .name-shortlist-actions { justify-content: flex-start; }
  .name-action-status { text-align: left; }
  .name-checks { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .name-status span:last-child { display: none; }
  .name-nav .nav-inner { min-height: 64px; }
  .name-nav-link { padding: 7px 9px; font-size: .68rem; }
  .name-nav-link span { display: none; }
  .name-hero { min-height: 0; padding-top: 54px; }
  .name-hero::after { right: -34vw; bottom: -20vw; width: 125vw; }
  .name-orbit { width: 92vw; }
  .name-intro h1 { font-size: clamp(3.05rem, 15vw, 4.8rem); }
  .name-field-grid { grid-template-columns: 1fr; }
  .name-field--wide { grid-column: auto; }
  .name-context { grid-template-columns: 1fr; }
  .name-context div + div { border-top: 1px solid var(--line); border-left: 0; }
  .name-candidate-list { grid-template-columns: 1fr; }
  .name-candidate:nth-child(2) { border-top: 1px solid var(--line); }
  .name-candidate:nth-child(even) { border-left: 0; }
  .name-candidate button { min-height: 0; }
  .name-shortlist-actions { display: grid; max-width: none; }
  .name-checks { padding-left: 19px; }
  .name-checks li { grid-template-columns: 29px 1fr; }
  .name-checks li small { grid-column: 2; }
  .name-handoff { min-height: 570px; padding-bottom: 190px; }
  .name-handoff .button { width: 100%; }
}

@media (max-width: 470px) {
  .name-nav-link { border: 0; padding-right: 0; font-size: 0; }
  .name-nav-link::after { content: "Full workshop ↗"; font-size: .68rem; }
  .name-promises { display: grid; }
  .name-promises li { width: max-content; }
  .name-form { padding: 22px 17px; }
  .name-form-head > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .name-submit, .name-candidate button { transition: none; }
}

@media (forced-colors: active) {
  .name-form, .name-family, .name-shortlist, .name-handoff { box-shadow: none; }
  .name-family::before, .name-orbit::after { background: CanvasText; }
}
