:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #191a17;
  background: #f5f4ee;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: 2px solid #191a17;
  outline-offset: 5px;
}

.page { max-width: 1600px; margin: 0 auto; padding: 0 clamp(24px, 5.2vw, 84px); }

main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  margin: clamp(48px, 7vw, 104px) 0 64px;
}
.overlap { padding: 0 clamp(32px, 4.4vw, 70px) 24px 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.065em; }
h1 { margin: 0 0 28px; font-size: clamp(60px, 6.6vw, 100px); font-weight: 700; line-height: .99; }
.intro { max-width: 550px; margin: 0 0 32px; color: #44453e; font-size: clamp(19px, 1.75vw, 25px); line-height: 1.5; letter-spacing: -.02em; }
.prompt { --control-height: 64px; --read-width: 64px; position: relative; max-width: 670px; padding-top: var(--control-height); }
#copy-prompt {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: calc(100% - var(--read-width));
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--control-height);
  padding: 18px 24px;
  border: 1px solid transparent;
  border-radius: 3px 0 0 3px;
  background: #dfff3f;
  color: #191a17;
  font: inherit;
  font-size: 19px;
  cursor: pointer;
}
#copy-prompt[hidden] { display: none; }
#copy-prompt:hover { background: #d3f52c; border-color: #191a17; }
#copy-prompt:active { background: #c5e52b; }
#copy-prompt:disabled { cursor: wait; }
#copy-prompt svg { width: 22px; height: 22px; flex: none; }
.copy-status { margin: 10px 0 0; color: #505345; font-size: 13px; line-height: 1.5; }
.copy-status:empty { display: none; }
summary {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: var(--read-width);
  height: var(--control-height);
  padding: 0 12px;
  border: 1px solid transparent;
  border-left-color: #a8bf34;
  border-radius: 0 3px 3px 0;
  background: #dfff3f;
  font-size: 15px;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary:hover { background: #d3f52c; border-color: #191a17; }
summary svg { width: 28px; height: 28px; flex: none; }
details[open] summary { border-bottom-right-radius: 0; }
details[open] summary svg { transform: rotate(180deg); }
textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 20px;
  border: 1px solid #93948a;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 14px/1.65 Arial, Helvetica, sans-serif;
  resize: vertical;
}

.frontiers-badge { width: min(220px, 58%); margin: 0 auto 36px; }
.badge-fig { position: relative; margin: 0; border-radius: 6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s; box-shadow: var(--sx, 0px) var(--sy, 18px) 44px -18px rgb(20 20 19 / .5); }
.badge-fig.tilting { transition: transform .08s linear, box-shadow .08s linear; }
.badge-fig img { display: block; width: 100%; height: auto; aspect-ratio: 572 / 854; border-radius: inherit; }
.badge-fig .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgb(255 255 255 / .5), rgb(255 255 255 / 0) 55%), linear-gradient(135deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 45%, rgb(0 0 0 / .12)); mix-blend-mode: soft-light; opacity: .55; transition: opacity .5s; }
.badge-fig.tilting .glare { opacity: 1; }

.personal { display: grid; grid-template-areas: "name" "links" "signup" "social"; grid-template-columns: minmax(0, 1fr); align-content: start; padding: 0 0 24px clamp(32px, 3.3vw, 52px); border-left: 1px solid #191a17; }
.personal h2 { grid-area: name; }
h2 { margin: 0 0 42px; font-size: clamp(36px, 3.5vw, 52px); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; }
.personal-links { grid-area: links; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -.025em; }
.personal-links a { max-width: 100%; padding: 4px 0; }
.personal-links a span { display: inline-block; margin-left: 4px; font-size: .85em; text-decoration: none; }
.social-links { grid-area: social; display: flex; gap: 10px; margin-top: 24px; }
.social-links .icon-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border-radius: 4px; color: #44453e; text-decoration: none; }
.icon-link svg, .icon-link img { display: block; width: 24px; height: 24px; flex: none; }
.social-links .icon-link:hover { background: #e7e7dd; color: #191a17; }
.project-signup, .signup-fallback { grid-area: signup; min-width: 0; margin-top: 28px; padding: 20px; border: 1px solid #93948a; border-radius: 4px; }
.signup-fallback { display: inline-block; }
.project-signup[hidden], .signup-fallback[hidden], #signup-options[hidden] { display: none; }
.signup-label { display: block; margin-bottom: 12px; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -.025em; }
#signup-email { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #93948a; border-radius: 3px; background: transparent; color: inherit; font: 16px/1.4 Arial, Helvetica, sans-serif; }
#signup-email::placeholder { color: #65665d; opacity: 1; }
.project-signup fieldset { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.project-signup legend { margin-bottom: 6px; padding: 0; font-size: 14px; color: #44453e; }
.signup-topic { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; cursor: pointer; }
.signup-topic input { width: 18px; height: 18px; margin: 0; accent-color: #191a17; }
.project-signup button { width: 100%; min-height: 48px; margin-top: 16px; padding: 12px 18px; border: 1px solid transparent; border-radius: 3px; background: #dfff3f; color: #191a17; font: 16px/1.4 Arial, Helvetica, sans-serif; cursor: pointer; }
.project-signup button:hover { background: #d3f52c; border-color: #191a17; }
.project-signup button:disabled { cursor: wait; }
.signup-status { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.signup-status:empty { display: none; }
.signup-status.error { color: #9a2828; }
.signup-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  main { grid-template-columns: 1fr; margin: 44px 0 40px; }
  .overlap { padding: 0 0 36px; }
  .frontiers-badge { display: none; }
  h1 { font-size: clamp(54px, 12.7vw, 78px); margin-bottom: 24px; }
  .intro { font-size: 19px; margin-bottom: 28px; }
  .prompt { --control-height: 60px; --read-width: 60px; }
  #copy-prompt { padding: 16px 8px; gap: 8px; font-size: 16px; }
  #copy-prompt svg { width: 20px; height: 20px; }
  .personal { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name social" "links links" "signup signup"; column-gap: 12px; padding: 32px 0 0; border-left: 0; border-top: 1px solid #191a17; }
  h2 { font-size: 36px; margin-bottom: 24px; }
  .social-links { align-self: start; justify-self: end; gap: 0; margin-top: 0; }
  .personal-links { gap: 16px; font-size: 18px; }
  .signup-label { font-size: 18px; }
}

@media (max-width: 480px) {
  .social-links { display: grid; grid-template-columns: repeat(2, 44px); }
}

@media (prefers-reduced-motion: reduce) {
  .badge-fig { transform: none; transition: none; }
  .badge-fig .glare { transition: none; }
}
