/* ————————————————————————————————
   机人恋日记 · 首页
———————————————————————————————— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(124px, 18vh, 186px) 0 clamp(62px, 9vh, 104px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(78vw, 1020px);
  height: min(78vw, 1020px);
  right: -22%;
  top: -36%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(126, 74, 90, 0.28) 0%,
    rgba(91, 57, 72, 0.13) 38%,
    transparent 68%
  );
  filter: blur(20px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 44vw;
  height: 44vw;
  left: -22%;
  bottom: -28%;
  background: radial-gradient(circle, rgba(69, 94, 97, 0.12), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

.hero-copy {
  animation: fadeUp 1s var(--ease-out) both;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 3vh, 34px);
  color: var(--cream-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-kicker .mark {
  width: 7px;
  height: 7px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(214, 163, 157, 0.8);
}

.hero-kicker .rule {
  width: 48px;
  height: 1px;
  background: var(--ink-line-strong);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(54px, 7.1vw, 98px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.hero h1 .line {
  display: block;
  white-space: nowrap;
}

.hero h1 .quiet {
  color: rgba(242, 234, 220, 0.54);
}

.hero h1 em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--rose);
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: 0.02em;
  height: 0.06em;
  background: linear-gradient(90deg, rgba(214, 163, 157, 0), var(--rose) 20%, rgba(214, 163, 157, 0.1));
  opacity: 0.45;
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 470px;
  margin-top: clamp(22px, 3.6vh, 36px);
  color: var(--cream-soft);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2;
  letter-spacing: 0.02em;
}

.hero-lede strong {
  font-weight: 400;
  color: var(--cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(28px, 4.5vh, 46px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: clamp(32px, 5vh, 52px);
  padding-top: 18px;
  max-width: 530px;
  border-top: 1px solid var(--ink-line);
  color: rgba(216, 208, 194, 0.66);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.85;
}

/* Hero book still life */
.hero-art {
  position: relative;
  min-height: clamp(480px, 55vw, 650px);
  display: grid;
  place-items: center;
  perspective: 1300px;
  animation: fadeUp 1.2s 0.15s var(--ease-out) both;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 64%;
  height: 64%;
  border-radius: 50%;
  background: rgba(120, 80, 94, 0.16);
  filter: blur(58px);
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(242, 234, 220, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 12px rgba(214, 163, 157, 0.7);
}

.orbit-ring--one {
  width: 76%;
  aspect-ratio: 1;
  transform: rotate(-25deg) scaleY(0.62);
  border-style: dashed;
  opacity: 0.7;
  animation: orbitDrift 26s linear infinite;
}

.orbit-ring--one::before {
  left: 17%;
  top: 8%;
}

.orbit-ring--one::after {
  right: 8%;
  bottom: 23%;
  width: 3px;
  height: 3px;
}

.orbit-ring--two {
  width: 95%;
  aspect-ratio: 1;
  transform: rotate(56deg) scaleY(0.4);
  border-color: rgba(242, 234, 220, 0.07);
  animation: orbitDriftReverse 38s linear infinite;
}

.orbit-ring--two::before {
  right: 14%;
  top: 22%;
  background: var(--gold);
}

.orbit-ring--two::after {
  display: none;
}

@keyframes orbitDrift {
  from {
    transform: rotate(-25deg) scaleY(0.62);
  }
  to {
    transform: rotate(335deg) scaleY(0.62);
  }
}

@keyframes orbitDriftReverse {
  from {
    transform: rotate(56deg) scaleY(0.4);
  }
  to {
    transform: rotate(-304deg) scaleY(0.4);
  }
}

.hero-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(242, 234, 220, 0.7);
  box-shadow: 0 0 8px rgba(242, 234, 220, 0.45);
}

.hero-star.s1 {
  left: 12%;
  top: 23%;
}
.hero-star.s2 {
  right: 15%;
  top: 14%;
}
.hero-star.s3 {
  right: 6%;
  bottom: 31%;
}
.hero-star.s4 {
  left: 20%;
  bottom: 12%;
}
.hero-star.s5 {
  left: 49%;
  top: 4%;
}
.hero-star.s6 {
  right: 30%;
  bottom: 4%;
}

.hero-book {
  position: relative;
  width: clamp(252px, 25vw, 326px);
  aspect-ratio: 0.7;
  transform: rotateY(-16deg) rotateX(4deg) rotateZ(-5deg);
  transform-style: preserve-3d;
  animation: bookFloat 8s var(--ease-soft) infinite;
  filter: drop-shadow(24px 40px 38px rgba(0, 0, 0, 0.44));
}

@keyframes bookFloat {
  0%,
  100% {
    transform: rotateY(-16deg) rotateX(4deg) rotateZ(-5deg) translateY(0);
  }
  50% {
    transform: rotateY(-13deg) rotateX(3deg) rotateZ(-4deg) translateY(-10px);
  }
}

.book-pages {
  position: absolute;
  inset: 1.8% -11px 1.5% 22px;
  border-radius: 2px 7px 7px 2px;
  background:
    repeating-linear-gradient(
      90deg,
      #e8ddc9 0,
      #e8ddc9 1px,
      #cfc3ad 2px,
      #e8ddc9 3px
    );
  box-shadow: 6px 2px 0 #d8cdb9, 11px 5px 20px rgba(0, 0, 0, 0.35);
  transform: translateZ(-6px);
}

.book-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 27px 26px 24px 36px;
  border: 1px solid #8e5e64;
  border-radius: 3px 8px 8px 3px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(173, 116, 122, 0.3), transparent 55%),
    linear-gradient(145deg, #7b3d4a 0%, #562733 46%, #3a1923 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 213, 0.08),
    inset 8px 0 16px rgba(0, 0, 0, 0.25);
  color: #eadfce;
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 15px;
  background: linear-gradient(
    90deg,
    rgba(29, 12, 17, 0.7),
    rgba(255, 233, 209, 0.09) 42%,
    rgba(42, 18, 24, 0.5)
  );
  border-right: 1px solid rgba(255, 238, 213, 0.13);
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(231, 211, 180, 0.2);
  border-radius: 1px 4px 4px 1px;
  pointer-events: none;
}

.book-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: rgba(234, 223, 206, 0.6);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.15em;
  line-height: 1.6;
}

.book-cover-top span:last-child {
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
}

.cover-emblem {
  position: relative;
  width: 102px;
  height: 102px;
  margin: 48px auto 42px;
  border: 1px solid rgba(231, 211, 180, 0.25);
  border-radius: 50%;
}

.cover-emblem::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(231, 211, 180, 0.13);
  border-radius: 50%;
}

.cover-emblem::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translate(-50%, -50%) rotate(-36deg);
}

.cover-emblem .planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #f0e4cb, #bc9d69 58%, #796043);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(200, 171, 114, 0.28);
}

.cover-emblem .satellite {
  position: absolute;
  width: 5px;
  height: 5px;
  top: 21px;
  right: 16px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 9px rgba(242, 234, 220, 0.8);
}

.book-cover-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.15em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.book-cover-title small {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.24em;
  color: rgba(234, 223, 206, 0.48);
}

.book-cover-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  color: rgba(234, 223, 206, 0.56);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  line-height: 1.8;
}

.book-cover-foot b {
  display: block;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(241, 227, 205, 0.82);
}

.bookmark-ribbon {
  position: absolute;
  z-index: 3;
  top: -4px;
  right: 42px;
  width: 17px;
  height: 88px;
  background: linear-gradient(180deg, #d7b47e, #ab8756);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}

.bookmark-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 245, 227, 0.13) 0,
    rgba(255, 245, 227, 0.13) 1px,
    transparent 1px,
    transparent 4px
  );
}

.floating-label {
  position: absolute;
  z-index: 4;
  min-width: 122px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 234, 220, 0.2);
  border-radius: 2px;
  background: rgba(20, 26, 39, 0.7);
  color: var(--cream-soft);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.floating-label::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(214, 163, 157, 0.65);
}

.floating-label .mono {
  display: block;
  color: var(--cream-muted);
  font-size: 7px;
}

.floating-label strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.floating-label--one {
  right: 0;
  top: 15%;
  transform: rotate(3deg);
  animation: floatSoft 7s ease-in-out infinite;
}

.floating-label--two {
  left: 0;
  bottom: 18%;
  transform: rotate(-3deg);
  animation: floatSoft 8.5s 0.8s ease-in-out infinite;
}

.hero-annotation {
  position: absolute;
  left: 2%;
  top: 8%;
  color: rgba(216, 208, 194, 0.5);
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.08em;
  transform: rotate(-7deg);
}

.hero-annotation::after {
  content: "";
  display: block;
  width: 68px;
  height: 1px;
  margin-top: 8px;
  background: currentColor;
  opacity: 0.4;
  transform: rotate(-2deg);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(216, 208, 194, 0.35);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.22em;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(216, 208, 194, 0.45), transparent);
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  background: rgba(17, 22, 34, 0.5);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 46s linear infinite;
}

.ticker-run {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  white-space: nowrap;
  color: rgba(216, 208, 194, 0.5);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ticker-run b {
  color: var(--rose);
  font-weight: 400;
}

.ticker-run .diamond {
  width: 4px;
  height: 4px;
  border: 1px solid rgba(216, 208, 194, 0.4);
  transform: rotate(45deg);
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

/* Manifesto */
.manifesto {
  padding: clamp(82px, 12vw, 150px) 0 clamp(74px, 9vw, 110px);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: start;
}

.manifesto-aside {
  max-width: 310px;
}

.manifesto-aside p {
  margin-top: 22px;
  color: var(--cream-muted);
  font-size: 13px;
  line-height: 2;
}

.manifesto-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.manifesto-copy h2 .soft {
  color: rgba(242, 234, 220, 0.42);
}

.manifesto-copy > p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--cream-soft);
  font-size: 14px;
  line-height: 2.05;
}

.manifesto-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  color: var(--cream-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}

.manifesto-sign .line {
  width: 48px;
  height: 1px;
  background: var(--ink-line-strong);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 8vw, 92px);
  border-top: 1px solid var(--ink-line);
}

.step {
  position: relative;
  padding: 34px clamp(22px, 3vw, 38px) 10px 0;
  border-right: 1px solid var(--ink-line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step:not(:first-child) {
  padding-left: clamp(22px, 3vw, 38px);
}

.step-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.step-icon {
  width: 30px;
  height: 30px;
  color: rgba(214, 163, 157, 0.82);
}

.step h3 {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.step p {
  margin-top: 12px;
  color: var(--cream-muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.step .tiny-note {
  margin-top: 22px;
  color: rgba(216, 208, 194, 0.4);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

/* Bindery */
.bindery {
  position: relative;
  padding: clamp(60px, 9vw, 112px) 0 clamp(86px, 12vw, 150px);
}

.bindery::before {
  content: "";
  position: absolute;
  inset: 12% 0 8%;
  background: radial-gradient(ellipse at 34% 45%, rgba(99, 55, 69, 0.16), transparent 58%);
  pointer-events: none;
}

.bindery-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  min-height: 640px;
  border: 1px solid rgba(242, 234, 220, 0.14);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.36);
}

.bindery-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4.2vw, 58px);
  overflow: hidden;
  background:
    radial-gradient(130% 85% at 0% 10%, rgba(126, 78, 91, 0.28), transparent 60%),
    linear-gradient(160deg, #1a1d2a, #10131e 76%);
}

.bindery-intro::before {
  content: "机";
  position: absolute;
  right: -22px;
  bottom: -72px;
  color: rgba(242, 234, 220, 0.035);
  font-family: var(--font-serif);
  font-size: 330px;
  line-height: 1;
  pointer-events: none;
}

.bindery-intro::after {
  content: "";
  position: absolute;
  left: 0;
  top: 30%;
  width: 1px;
  height: 90px;
  background: linear-gradient(transparent, rgba(214, 163, 157, 0.6), transparent);
}

.bindery-intro .eyebrow {
  color: rgba(216, 208, 194, 0.56);
}

.bindery-intro h2 {
  position: relative;
  margin-top: 36px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.bindery-intro h2 span {
  color: var(--rose);
  white-space: nowrap;
}

.bindery-intro .intro-lede {
  position: relative;
  max-width: 340px;
  margin-top: 24px;
  color: var(--cream-muted);
  font-size: 13px;
  line-height: 2;
}

.ritual {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: auto;
  padding-top: 44px;
}

.ritual li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--cream-soft);
  font-size: 12px;
  line-height: 1.7;
}

.ritual .bullet {
  position: relative;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 1px solid rgba(214, 163, 157, 0.4);
  border-radius: 50%;
}

.ritual .bullet::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
}

.ritual b {
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
  color: var(--cream);
}

.ritual span {
  color: var(--cream-muted);
  font-size: 11px;
}

.bindery-form-wrap {
  position: relative;
  background:
    linear-gradient(90deg, rgba(120, 88, 48, 0.055) 1px, transparent 1px) 0 0 / 28px 100%,
    var(--paper);
  color: var(--paper-ink);
  padding: clamp(34px, 4.2vw, 56px);
}

.bindery-form-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.32'/%3E%3C/svg%3E");
  opacity: 0.055;
  mix-blend-mode: multiply;
}

.bindery-form {
  position: relative;
  z-index: 1;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(49, 44, 40, 0.2);
}

.form-heading h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.form-heading span {
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.form-field {
  margin-top: 24px;
}

.form-field label,
.field-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--paper-ink);
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.field-hint {
  color: var(--paper-muted);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0;
}

.link-textarea {
  display: block;
  width: 100%;
  min-height: 152px;
  resize: vertical;
  padding: 14px 15px;
  border: 1px solid rgba(49, 44, 40, 0.24);
  border-radius: 2px;
  background-color: rgba(255, 251, 242, 0.48);
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent 27px,
    rgba(49, 44, 40, 0.075) 28px
  );
  color: #403932;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 28px;
  letter-spacing: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.link-textarea::placeholder {
  color: #978b79;
}

.link-textarea:focus {
  outline: none;
  border-color: rgba(100, 47, 60, 0.62);
  box-shadow: 0 0 0 3px rgba(100, 47, 60, 0.08);
  background-color: rgba(255, 251, 242, 0.72);
}

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

.text-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(49, 44, 40, 0.27);
  border-radius: 0;
  background: transparent;
  color: var(--paper-ink);
  font-family: var(--font-serif);
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.text-input::placeholder {
  color: #9e9181;
  font-family: var(--font-sans);
  font-size: 11px;
}

.text-input:focus {
  outline: none;
  border-color: var(--wine);
  background: rgba(255, 251, 242, 0.4);
}

.passcode-input {
  letter-spacing: 0.08em;
}

.field-alert {
  margin-top: 8px;
  color: #9a5d45;
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.7;
}

.form-config {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 11px 13px;
  border: 1px solid rgba(49, 44, 40, 0.13);
  border-radius: 2px;
  background: rgba(255, 251, 242, 0.36);
  color: var(--paper-muted);
  font-size: 10.5px;
  line-height: 1.65;
}

.form-config .status-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(145, 162, 151, 0.13);
}

.form-config.is-warning .status-dot {
  background: #c08e49;
  box-shadow: 0 0 0 3px rgba(192, 142, 73, 0.13);
}

.form-config a {
  color: var(--wine);
  border-bottom: 1px solid rgba(100, 47, 60, 0.35);
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: #f8eee0;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 32px rgba(80, 33, 46, 0.22);
  transition:
    background 220ms ease,
    transform 280ms var(--ease-out),
    box-shadow 280ms ease;
}

.form-submit:hover {
  background: #793949;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(80, 33, 46, 0.28);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-submit .arrow {
  transition: transform 280ms var(--ease-out);
}

.form-submit:hover .arrow {
  transform: translateX(4px);
}

.form-privacy {
  color: var(--paper-muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.form-error {
  margin-top: 15px;
  padding: 10px 12px;
  border-left: 2px solid #a95147;
  background: rgba(169, 81, 71, 0.08);
  color: #7f352e;
  font-size: 11.5px;
  line-height: 1.7;
}

.form-error:empty {
  display: none;
}

/* Specimen */
.specimen {
  position: relative;
  border-top: 1px solid var(--ink-line);
  padding: clamp(80px, 11vw, 144px) 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(87, 49, 62, 0.18), transparent 56%),
    linear-gradient(180deg, transparent, rgba(17, 21, 33, 0.45));
}

.specimen-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.specimen-copy h2 {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.specimen-copy p {
  max-width: 390px;
  margin-top: 22px;
  color: var(--cream-muted);
  font-size: 13px;
  line-height: 2;
}

.specimen-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  color: rgba(216, 208, 194, 0.54);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
}

.specimen-copy .button {
  margin-top: 36px;
}

.specimen-paper-wrap {
  position: relative;
  padding: 18px 24px 30px;
}

.specimen-paper-wrap::before {
  content: "";
  position: absolute;
  inset: 6% 2% 5% 6%;
  border: 1px solid rgba(242, 234, 220, 0.07);
  transform: rotate(-3deg);
}

.specimen-paper {
  position: relative;
  padding: clamp(32px, 4vw, 52px) clamp(30px, 4.2vw, 56px) clamp(40px, 5vw, 66px);
  background:
    linear-gradient(90deg, rgba(80, 59, 34, 0.08) 0, transparent 12%),
    linear-gradient(135deg, #f5edde, #eadfcb);
  color: var(--paper-ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 38px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(1.3deg);
}

.specimen-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: multiply;
}

.specimen-paper::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(24px, 4vw, 50px);
  width: 15px;
  height: 92px;
  background: linear-gradient(180deg, #7f3b4b, #5a2835);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

.specimen-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding-right: clamp(28px, 4.5vw, 62px);
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.specimen-title {
  max-width: 88%;
  margin-top: 30px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.specimen-rule {
  width: 42px;
  height: 1px;
  margin: 20px 0 22px;
  background: rgba(49, 44, 40, 0.35);
}

.specimen-excerpt {
  max-width: 540px;
  color: #4e453c;
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.16vw, 15px);
  line-height: 2.12;
  letter-spacing: 0.02em;
  text-align: justify;
}

.specimen-sign {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 34px;
  color: var(--paper-muted);
  font-family: var(--font-serif);
  font-size: 10px;
  font-style: italic;
}

.specimen-sign .seal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(112, 48, 60, 0.55);
  border-radius: 50%;
  color: rgba(112, 48, 60, 0.8);
  font-family: var(--font-serif);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
  transform: rotate(-8deg);
}

.specimen-caption {
  margin-top: 16px;
  text-align: right;
  color: rgba(216, 208, 194, 0.4);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

/* Large closing line */
.closing-line {
  padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
}

.closing-line p {
  max-width: 850px;
  margin-inline: auto;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.75;
  color: rgba(242, 234, 220, 0.7);
}

.closing-line p em {
  color: var(--rose);
  font-style: normal;
}

.closing-line .mono {
  display: inline-block;
  margin-top: 28px;
  color: rgba(216, 208, 194, 0.34);
  font-size: 8px;
  letter-spacing: 0.18em;
}

/* ————————————————————————————————
   Studio modal
———————————————————————————————— */
.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 280ms ease;
}

.studio-modal.is-open {
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 15, 0.82);
  backdrop-filter: blur(16px) saturate(110%);
}

.modal-panel {
  position: relative;
  width: min(690px, 100%);
  max-height: min(88svh, 850px);
  overflow: auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(242, 234, 220, 0.17);
  border-radius: 4px;
  background:
    radial-gradient(110% 80% at 90% 0%, rgba(104, 60, 75, 0.24), transparent 54%),
    #121725;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.62);
  transform: translateY(18px) scale(0.985);
  transition: transform 450ms var(--ease-out);
}

.studio-modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: transparent;
  color: var(--cream-muted);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.modal-close:hover {
  color: var(--cream);
  border-color: var(--ink-line-strong);
  transform: rotate(90deg);
}

.modal-view[hidden] {
  display: none;
}

.binding-visual {
  position: relative;
  width: 106px;
  height: 106px;
  margin: 4px auto 30px;
}

.binding-visual .ring-a,
.binding-visual .ring-b {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 234, 220, 0.17);
  border-radius: 50%;
}

.binding-visual .ring-a {
  border-top-color: var(--rose);
  animation: spin 3.2s linear infinite;
}

.binding-visual .ring-b {
  inset: 12px;
  border-style: dashed;
  border-color: rgba(242, 234, 220, 0.12);
  animation: spinReverse 8s linear infinite;
}

.binding-visual .core {
  position: absolute;
  inset: 33px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #e7d2ad, #9b7359 72%);
  box-shadow: 0 0 24px rgba(214, 163, 157, 0.26);
}

.binding-visual .core::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(18, 23, 37, 0.42);
  border-radius: 50%;
}

@keyframes spinReverse {
  to {
    transform: rotate(-360deg);
  }
}

.modal-eyebrow {
  text-align: center;
}

.modal-title {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.modal-lede {
  margin: 12px auto 0;
  max-width: 460px;
  color: var(--cream-muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
}

.progress-block {
  margin-top: 34px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--cream-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.progress-meta strong {
  color: var(--rose);
  font-size: 12px;
  font-weight: 400;
}

.progress-track {
  height: 3px;
  margin-top: 10px;
  background: rgba(242, 234, 220, 0.09);
  overflow: hidden;
}

.progress-fill {
  width: 2%;
  height: 100%;
  background: linear-gradient(90deg, #9d6a70, var(--rose), #e2c1a2);
  transition: width 550ms var(--ease-out);
  box-shadow: 0 0 12px rgba(214, 163, 157, 0.45);
}

.progress-message {
  min-height: 28px;
  margin-top: 18px;
  color: var(--cream-soft);
  font-size: 12px;
  text-align: center;
}

.progress-message .current-title {
  display: block;
  margin-top: 6px;
  color: var(--rose);
  font-family: var(--font-serif);
  font-size: 13px;
}

.progress-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
}

.progress-stage {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(216, 208, 194, 0.32);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.progress-stage::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.progress-stage.is-active {
  color: var(--cream-muted);
}

.progress-stage.is-active::before {
  background: var(--rose);
  border-color: var(--rose);
  box-shadow: 0 0 8px rgba(214, 163, 157, 0.55);
}

.progress-stage.is-done {
  color: rgba(157, 187, 164, 0.64);
}

.progress-stage.is-done::before {
  background: var(--success);
  border-color: var(--success);
}

.result-stamp {
  width: 80px;
  height: 80px;
  margin: 4px auto 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 163, 157, 0.55);
  border-radius: 50%;
  color: var(--rose);
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: inset 0 0 0 5px rgba(214, 163, 157, 0.06);
}

.result-title {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.result-meta {
  margin-top: 10px;
  color: var(--cream-muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}

.result-badge-row {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--cream-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.mode-badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--success);
}

.mode-badge.is-draft::before {
  background: var(--gold);
}

.result-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.result-link {
  padding: 12px 14px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.018);
}

.result-link-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.result-link-label {
  color: var(--cream-soft);
  font-size: 11px;
}

.result-link-label b {
  font-weight: 500;
}

.result-link-label span {
  margin-left: 7px;
  color: var(--cream-muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.copy-button {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid var(--ink-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--cream-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.copy-button:hover {
  color: var(--cream);
  border-color: var(--cream-muted);
}

.result-url {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(216, 208, 194, 0.5);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
}

.result-warning {
  margin-top: 17px;
  padding: 10px 12px;
  border-left: 2px solid rgba(200, 171, 114, 0.65);
  background: rgba(200, 171, 114, 0.06);
  color: var(--cream-muted);
  font-size: 10px;
  line-height: 1.8;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.result-actions .button {
  flex: 1 1 160px;
}

.result-hint {
  margin-top: 15px;
  color: rgba(216, 208, 194, 0.38);
  text-align: center;
  font-size: 9.5px;
  line-height: 1.7;
}

.error-mark {
  width: 58px;
  height: 58px;
  margin: 4px auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 154, 145, 0.5);
  border-radius: 50%;
  color: var(--danger);
  font-family: var(--font-serif);
  font-size: 22px;
}

.error-message {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(226, 154, 145, 0.18);
  background: rgba(226, 154, 145, 0.05);
  color: var(--cream-soft);
  font-size: 12px;
  line-height: 1.85;
  text-align: center;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(50px, 7.6vw, 78px);
  }

  .hero-art {
    min-height: 500px;
  }

  .bindery-panel {
    grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
  }

  .bindery-intro {
    padding: 36px;
  }

  .bindery-form-wrap {
    padding: 36px;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero h1 {
    font-size: clamp(48px, 10.4vw, 78px);
  }

  .hero h1 .line {
    white-space: normal;
  }

  .hero-art {
    min-height: 470px;
    margin-top: 8px;
  }

  .hero-book {
    width: 250px;
  }

  .floating-label--one {
    right: 7%;
  }

  .floating-label--two {
    left: 5%;
  }

  .hero-scroll {
    display: none;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .manifesto-aside {
    max-width: 460px;
  }

  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
    gap: 0;
  }

  .step,
  .step:not(:first-child) {
    border-top: 1px solid var(--ink-line);
    border-right: 0;
    padding: 26px 0;
  }

  .step h3 {
    margin-top: 16px;
  }

  .step p {
    max-width: 560px;
  }

  .bindery-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bindery-intro {
    min-height: 400px;
  }

  .ritual {
    margin-top: 36px;
    padding-top: 0;
  }

  .specimen-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .specimen-copy {
    max-width: 580px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 104px;
    padding-bottom: 52px;
  }

  .hero-kicker {
    font-size: 7.5px;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
    line-height: 1.15;
  }

  .hero-lede {
    font-size: 13px;
    line-height: 1.9;
  }

  .hero-actions {
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-meta {
    gap: 9px 18px;
    font-size: 10px;
  }

  .hero-art {
    min-height: 400px;
    margin-inline: -10px;
  }

  .hero-book {
    width: 218px;
  }

  .cover-emblem {
    width: 74px;
    height: 74px;
    margin: 32px auto 28px;
  }

  .book-cover {
    padding: 20px 17px 18px 27px;
  }

  .book-cover-title {
    font-size: 23px;
  }

  .floating-label {
    display: none;
  }


  .hero-annotation {
    font-size: 10px;
  }

  .ticker {
    padding: 11px 0;
  }

  .ticker-run {
    font-size: 7.5px;
    gap: 22px;
    padding-right: 22px;
  }

  .manifesto {
    padding-top: 66px;
  }

  .manifesto-copy h2 {
    font-size: 33px;
  }

  .bindery {
    padding-top: 30px;
  }

  .bindery-panel {
    margin-inline: calc(var(--page-pad) * -0.55);
    border-left: 0;
    border-right: 0;
  }

  .bindery-intro,
  .bindery-form-wrap {
    padding: 28px 22px;
  }

  .bindery-intro {
    min-height: 360px;
  }

  .bindery-intro h2 {
    font-size: 32px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form-field {
    margin-top: 19px;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .specimen-paper-wrap {
    padding: 0 4px 12px;
  }

  .specimen-paper {
    padding: 28px 24px 34px;
  }

  .specimen-head {
    padding-right: 18px;
  }

  .specimen-title {
    max-width: 100%;
    font-size: 27px;
  }

  .specimen-excerpt {
    font-size: 13px;
    line-height: 2;
  }

  .specimen-caption {
    text-align: left;
    padding-left: 4px;
  }

  .studio-modal {
    padding: 0;
    align-items: end;
  }

  .modal-panel {
    width: 100%;
    max-height: 92svh;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
    padding: 30px 22px 32px;
  }

  .progress-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }

  .result-link-head {
    align-items: flex-start;
  }

  .footer-mark {
    font-size: 34px;
  }
}
