:root {
  --ink: #34172e;
  --ink-soft: #744767;
  --plum: #6f2d64;
  --berry: #a43a7d;
  --pink: #ec80bb;
  --violet: #8c65c7;
  --gold: #bd8a3c;
  --gold-light: #efd58f;
  --surface: rgb(255 249 252 / 88%);
  --line: rgb(111 45 100 / 17%);
  --shadow: 0 28px 80px rgb(63 23 70 / 22%);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #6d2d65;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  padding: clamp(1rem, 4vw, 3.5rem);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button, a { font: inherit; }
button { color: inherit; touch-action: manipulation; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.atmosphere,
#fluid-field,
#glitter-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.atmosphere {
  z-index: -3;
  background:
    radial-gradient(circle at 16% 9%, rgb(255 207 232 / 92%) 0 8%, transparent 30%),
    radial-gradient(circle at 84% 20%, rgb(239 213 143 / 75%) 0 5%, transparent 27%),
    radial-gradient(circle at 72% 78%, rgb(163 97 199 / 72%) 0 10%, transparent 36%),
    radial-gradient(circle at 17% 84%, rgb(221 84 153 / 68%) 0 8%, transparent 31%),
    linear-gradient(145deg, #cb70ad 0%, #8f4b91 42%, #69407f 68%, #be8398 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: -25%;
  opacity: 0.42;
  background: conic-gradient(from 210deg at 48% 52%, transparent, rgb(255 207 232 / 50%), transparent 32%, rgb(239 213 143 / 40%), transparent 67%, rgb(136 88 185 / 50%), transparent);
  filter: blur(70px);
  animation: atmosphere-drift 24s ease-in-out infinite alternate;
}

#fluid-field {
  z-index: -2;
  display: block;
  opacity: 0.8;
  pointer-events: none;
}

#glitter-field {
  z-index: -1;
  pointer-events: none;
}

.hub {
  width: min(100%, 47rem);
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  animation: hub-arrive 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile {
  padding: clamp(0.75rem, 2vw, 1.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

.portrait {
  width: clamp(6.25rem, 16vw, 7.75rem);
  aspect-ratio: 1;
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 12px 18px rgb(111 45 100 / 24%));
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow,
.section-label,
.featured-kicker,
.contact-kicker {
  margin: 0;
  color: var(--plum);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, p { text-wrap: pretty; }

h1 {
  margin: 0.4rem 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 9vw, 5.1rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.intro {
  width: min(100%, 32rem);
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.4vw, 1.08rem);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.social-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.62rem 0.86rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 58%);
  color: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.social-button svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.social-button .fill { fill: currentColor; stroke: none; }

.social-button:hover {
  border-color: rgb(164 58 125 / 50%);
  background: #fff;
  transform: translateY(-2px);
}

.section-label { margin-bottom: 0.75rem; }

.featured-link,
.link-card {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.featured-link {
  position: relative;
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.35rem, 4vw, 2rem);
  overflow: hidden;
  border-radius: 1.5rem;
  color: #fff;
  text-decoration: none;
  background: radial-gradient(circle at 78% 20%, rgb(239 213 143 / 80%) 0 2%, transparent 24%), linear-gradient(128deg, var(--plum), var(--berry) 54%, #c9639e);
  box-shadow: 0 17px 34px rgb(111 45 100 / 18%);
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.featured-link::before,
.featured-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
}

.featured-link::before { width: 17rem; aspect-ratio: 1; right: -5rem; top: -7rem; }
.featured-link::after { width: 10rem; aspect-ratio: 1; right: 1.5rem; top: -4rem; }

.featured-kicker { margin-bottom: 0.38rem; color: var(--gold-light); }

.featured-link strong {
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.featured-copy {
  max-width: 31rem;
  margin-top: 0.65rem;
  color: rgb(255 255 255 / 82%);
  font-size: 0.88rem;
}

.round-arrow {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  width: 3rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 46%);
  border-radius: 50%;
}

.round-arrow svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.featured-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 23px 42px rgb(111 45 100 / 26%);
}

.link-list { display: grid; gap: 0.7rem; margin-top: 0.8rem; }

.link-card {
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgb(255 255 255 / 62%);
  color: inherit;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.link-card:hover {
  border-color: rgb(189 138 60 / 56%);
  background: #fff;
  box-shadow: 0 10px 24px rgb(69 26 60 / 10%);
  transform: translateX(3px);
}

.link-number {
  width: 2.35rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(189 138 60 / 50%);
  border-radius: 50%;
  color: #8e6226;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-style: italic;
}

.link-copy { display: grid; gap: 0.12rem; }

.link-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.link-copy small { color: var(--ink-soft); font-size: 0.86rem; }
.link-arrow { color: var(--berry); font-size: 1.15rem; }

.partner-card { grid-template-columns: 4.75rem minmax(0, 1fr) auto; }

.partner-logo {
  width: 4.75rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.45rem;
  border: 1px solid rgb(78 35 69 / 10%);
  border-radius: 0.85rem;
  background: rgb(255 255 255 / 78%);
}

.partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo--mark img { width: 2.2rem; height: 2.2rem; }
.partner-logo--dark { background: #17171a; }

.media-partner-copy { gap: 0.08rem; }

.media-partner-copy .partner-byline {
  font-size: 0.8rem;
}

.partner-cta {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.45rem;
  margin-top: 0.35rem;
  padding: 0.34rem 0.62rem;
  border-left: 2px solid var(--gold);
  border-radius: 0.45rem;
  color: #704716;
  background: linear-gradient(90deg, rgb(239 213 143 / 42%), rgb(248 232 196 / 25%));
  font-size: 0.78rem;
  line-height: 1.35;
}

.partner-cta b {
  color: var(--plum);
  font-weight: 800;
  white-space: nowrap;
}

.promo-code {
  width: fit-content;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  color: #704716 !important;
  background: rgb(239 213 143 / 45%);
  font-weight: 800;
  letter-spacing: 0.045em;
}

.contact-slot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.25rem, 4vw, 1.8rem);
  border: 1px dashed rgb(157 105 32 / 70%);
  border-radius: 1.35rem;
  background: rgb(248 232 196 / 50%);
}

.contact-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3.15rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #80581f;
  background: rgb(255 255 255 / 66%);
}

.contact-icon svg {
  width: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-intro h2 {
  margin: 0.25rem 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 500;
}

.contact-kicker { color: #80581f; letter-spacing: 0.12em; }

.contact-form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(157 105 32 / 24%);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field,
.human-check {
  display: grid;
  gap: 0.38rem;
  color: #704716;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.form-field input,
.form-field textarea,
.human-check input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.82rem;
  border: 1px solid rgb(111 45 100 / 22%);
  border-radius: 0.72rem;
  outline: none;
  color: var(--ink);
  background: rgb(255 255 255 / 74%);
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-field textarea {
  min-height: 8rem;
  line-height: 1.5;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.human-check input:focus-visible {
  border-color: var(--berry);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(164 58 125 / 14%);
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  margin-top: 1rem;
}

.human-check {
  grid-template-columns: auto minmax(8rem, 1fr) 5.25rem;
  align-items: center;
  padding: 0.75rem;
  border-left: 2px solid var(--gold);
  border-radius: 0.72rem;
  background: linear-gradient(90deg, rgb(239 213 143 / 38%), rgb(255 255 255 / 34%));
}

.challenge-question {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.human-check input {
  min-height: 2.65rem;
  text-align: center;
}

.contact-submit {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.76rem 1.05rem;
  border: 1px solid rgb(111 45 100 / 30%);
  border-radius: 0.78rem;
  color: #fff;
  background: linear-gradient(120deg, var(--plum), var(--berry));
  box-shadow: 0 10px 22px rgb(111 45 100 / 18%);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.contact-submit svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgb(111 45 100 / 24%);
}

.contact-submit:disabled { cursor: wait; opacity: 0.58; }
.contact-submit:focus-visible { outline: 3px solid rgb(189 138 60 / 60%); outline-offset: 3px; }

.contact-status {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.contact-status[data-state="success"] { color: #356a44; }
.contact-status[data-state="error"] { color: #9b2f52; }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.social-links {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.social-links .section-label { margin-bottom: 0; }
.social-links .socials { margin-top: 0.9rem; }

footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
}

footer p { margin: 0; }

.footer-mark {
  width: 2rem;
  aspect-ratio: 1;
  display: block;
}

.footer-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.side-note {
  position: fixed;
  z-index: -1;
  top: 50%;
  color: rgb(255 255 255 / 70%);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.side-note--left { left: clamp(1.25rem, 3vw, 3rem); transform: translateY(-50%) rotate(180deg); }
.side-note--right { right: clamp(1.25rem, 3vw, 3rem); transform: translateY(-50%); }

.toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  border: 1px solid rgb(239 213 143 / 45%);
  border-radius: 999px;
  color: #fff;
  background: rgb(52 23 46 / 94%);
  box-shadow: 0 12px 32px rgb(28 8 25 / 30%);
  opacity: 0;
  transform: translate(-50%, 1rem);
  pointer-events: none;
  font-size: 0.78rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

button:focus-visible,
.social-button:focus-visible,
.featured-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--plum);
}

.social-button:active,
.featured-link:active,
.link-card:active {
  transform: scale(0.985);
}

@keyframes atmosphere-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-3deg) scale(1); }
  to { transform: translate3d(2%, 1%, 0) rotate(5deg) scale(1.07); }
}

@keyframes hub-arrive {
  from { opacity: 0; transform: translateY(18px) scale(0.992); }
}

@media (max-width: 920px) {
  .side-note { display: none; }
}

@media (max-width: 620px) {
  body { padding: 0; }
  .hub {
    min-height: 100svh;
    padding: 1.25rem;
    border: 0;
    border-radius: 0;
    background: rgb(255 249 252 / 84%);
    box-shadow: none;
  }
  .profile { padding-top: 1.25rem; }
  .featured-link { min-height: 13rem; }
  .featured-copy { max-width: calc(100% - 3rem); }
  .link-card { gap: 0.75rem; padding: 0.95rem; }
  .link-copy small { line-height: 1.35; }
  .form-grid,
  .form-actions { grid-template-columns: 1fr; }
  .human-check { grid-template-columns: 1fr 5rem; }
  .human-check > span:first-child { grid-column: 1 / -1; }
  .contact-submit { width: 100%; }
  footer { grid-template-columns: auto 1fr; }
  footer > span:last-child { grid-column: 2; }
}

@media (max-width: 1023px), (hover: none), (pointer: coarse) {
  #fluid-field,
  #glitter-field {
    display: none !important;
  }

  .atmosphere::after { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
