.hero {
  display: block;
  min-height: auto;
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
  padding-top: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.hero-content {
  max-width: 1080px;
}

.hero::after {
  background: linear-gradient(90deg, transparent, rgba(200, 162, 74, 0.5), transparent);
  bottom: var(--space-lg);
  content: "";
  height: 1px;
  left: var(--space-xl);
  position: absolute;
  right: var(--space-xl);
}

.hero-copy {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  max-width: 800px;
}

.hero-title {
  color: rgba(63, 53, 40, 0.94);
  font-size: clamp(2.25rem, 5.3vw, 4.8rem);
  font-weight: 760;
  max-width: 1040px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.signal-strip span {
  animation: gentlePulse 4.5s ease-in-out infinite;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.42rem 0.72rem;
}

.signal-strip span:nth-child(1) {
  background: var(--accent-green-soft);
  border-color: rgba(32, 180, 134, 0.24);
  color: #13795b;
}

.signal-strip span:nth-child(2) {
  animation-delay: 350ms;
  background: var(--accent-blue-soft);
  border-color: rgba(83, 123, 134, 0.22);
  color: #587782;
}

.signal-strip span:nth-child(3) {
  animation-delay: 700ms;
  background: var(--accent-coral-soft);
  border-color: rgba(192, 86, 33, 0.18);
  color: #c05621;
}

.signal-strip span:nth-child(4) {
  animation-delay: 1050ms;
  background: var(--accent-purple-soft);
  border-color: rgba(125, 105, 143, 0.2);
  color: #756480;
}

#notes-content > * {
  grid-column: 1 / -1;
}

.notes-feature-card {
  max-width: 920px;
}

.notes-feature-card h3 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.notes-feature-card .button {
  margin-top: var(--space-lg);
}

.note-page .site-header {
  position: relative;
}

.note-shell {
  margin: 0 auto;
  max-width: 940px;
  padding: clamp(3rem, 8vw, 6rem) var(--space-xl) var(--space-3xl);
}

.note-back {
  color: var(--color-muted);
  display: inline-flex;
  font-size: 0.92rem;
  margin-bottom: var(--space-xl);
  text-decoration: none;
}

.note-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.note-header h1 {
  color: rgba(63, 53, 40, 0.96);
  font-size: clamp(2.65rem, 7vw, 5.4rem);
  margin-bottom: var(--space-lg);
}

.note-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.note-meta > span:not(.status-pill) {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.related-preprint {
  align-items: center;
  background: rgba(232, 247, 241, 0.58);
  border-left: 3px solid rgba(32, 180, 134, 0.58);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-lg);
  padding: 0.75rem var(--space-md);
}

.related-preprint p {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: 0;
}

.related-preprint a {
  color: #13795b;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

.related-preprint a:hover {
  color: var(--accent-green);
}

.note-article {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.note-article p,
.note-article li {
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1.8vw, 1.14rem);
  line-height: 1.86;
}

.note-article p {
  margin-bottom: 1.45rem;
}

.note-article ul {
  margin: 0 0 2rem;
  padding-left: 1.35rem;
}

.note-article li + li {
  margin-top: 0.45rem;
}

.note-question {
  border-left: 3px solid var(--accent-green);
  color: var(--color-text) !important;
  font-size: clamp(1.16rem, 2.4vw, 1.42rem) !important;
  font-weight: 720;
  margin-block: 2rem !important;
  padding: 0.35rem 0 0.35rem var(--space-lg);
}

.note-closing {
  border-top: 1px solid var(--color-border);
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.note-paper-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(32, 180, 134, 0.12), transparent 34%),
    rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(32, 180, 134, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-small);
  margin-top: clamp(2.5rem, 7vw, 4.5rem);
  padding: clamp(1.4rem, 4vw, 2.25rem);
}

.note-paper-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

.note-paper-card p:not(.eyebrow) {
  margin-bottom: var(--space-lg);
  max-width: 42rem;
}

.note-paper-card .button {
  width: auto;
}

.privacy-shell {
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(3rem, 8vw, 6rem) var(--space-xl) var(--space-3xl);
}

.privacy-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.privacy-header h1 {
  color: rgba(63, 53, 40, 0.96);
  font-size: clamp(2.65rem, 7vw, 5rem);
  margin-bottom: var(--space-lg);
}

.privacy-header > p:not(.eyebrow) {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  max-width: 46rem;
}

.privacy-updated {
  color: var(--color-soft-brown);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 720;
  margin-top: var(--space-sm);
}

.privacy-content {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.privacy-section {
  border-bottom: 1px solid rgba(231, 217, 194, 0.78);
  padding: 0 0 clamp(1.8rem, 5vw, 2.8rem);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.privacy-section + .privacy-section {
  padding-top: clamp(1.8rem, 5vw, 2.8rem);
}

.privacy-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

.privacy-section p,
.privacy-section li {
  color: var(--color-muted);
  line-height: 1.78;
}

.privacy-section p:last-child,
.privacy-section ul:last-child {
  margin-bottom: 0;
}

.privacy-section a {
  color: #13795b;
  font-weight: 680;
}

@media (max-width: 640px) {
  .note-shell {
    padding-inline: var(--space-md);
  }

  .privacy-shell {
    padding-inline: var(--space-md);
  }

  .note-paper-card .button {
    width: 100%;
  }
}

.about-flow {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  margin-inline: auto;
  max-width: 1120px;
  width: 100%;
}

.about-note {
  align-items: start;
  display: grid;
  gap: var(--space-md);
}

.about-note:not(.about-note-large) {
  column-gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  min-height: 0;
}

.about-note:not(.about-note-large) > h3 {
  align-self: start;
  grid-column: 1;
  margin-bottom: 0;
  max-width: 12rem;
}

.about-note:not(.about-note-large) > :not(h3) {
  grid-column: 2;
}

.about-note-large {
  align-items: center;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.4rem);
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.32fr);
  overflow: hidden;
  padding-block: clamp(1rem, 2vw, 1.35rem);
}

.about-intro-copy {
  display: grid;
  gap: 0.85rem;
}

.about-avatar {
  align-self: center;
  filter:
    drop-shadow(0 1.45rem 1.35rem rgba(89, 67, 38, 0.18))
    drop-shadow(0 0 1.2rem rgba(234, 216, 166, 0.55));
  justify-self: center;
  max-height: 220px;
  max-width: min(100%, 220px);
  object-fit: contain;
  transform: translateY(0);
  transition: var(--transition), filter 180ms ease;
  width: 100%;
}

.about-note-large:hover .about-avatar {
  filter:
    drop-shadow(0 1.7rem 1.45rem rgba(89, 67, 38, 0.23))
    drop-shadow(0 0 1.4rem rgba(234, 216, 166, 0.72));
  transform: translateY(-4px) scale(1.02);
}

.about-note h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.about-note h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

.about-note p {
  margin-bottom: 0;
}

.about-note p + p {
  margin-top: var(--space-md);
}

@media (max-width: 860px) {
  .about-flow {
    grid-template-columns: 1fr;
  }

  .about-note:not(.about-note-large) {
    grid-template-columns: 1fr;
  }

  .about-note:not(.about-note-large) > h3,
  .about-note:not(.about-note-large) > :not(h3) {
    grid-column: auto;
    max-width: none;
  }

  .about-note-large {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .about-avatar {
    max-width: 210px;
  }
}

.quiet-list {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.quiet-list p {
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.interest-entry {
  display: grid;
  gap: var(--space-sm);
}

.interest-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.interest-link-list a {
  align-items: center;
  background: rgba(232, 247, 241, 0.68);
  border: 1px solid rgba(32, 180, 134, 0.2);
  border-radius: 999px;
  color: #13795b;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.25rem;
  padding: 0.38rem 0.68rem;
  text-decoration: none;
  transition: var(--transition);
}

.interest-link-list li:nth-child(3n + 2) a {
  background: rgba(238, 244, 246, 0.82);
  border-color: rgba(83, 123, 134, 0.18);
  color: #587782;
}

.interest-link-list li:nth-child(3n) a {
  background: rgba(255, 241, 232, 0.78);
  border-color: rgba(192, 86, 33, 0.14);
  color: #a95a32;
}

.interest-link-list a:hover {
  border-color: rgba(32, 180, 134, 0.44);
  box-shadow: 0 8px 20px rgba(32, 180, 134, 0.12);
  transform: translateY(-2px);
}

.section-orbit {
  display: flex;
  gap: var(--space-sm);
  margin: calc(-1 * var(--space-md)) 0 var(--space-xl);
}

.section-orbit span {
  animation: orbitDot 3.8s ease-in-out infinite;
  background: var(--color-gold-soft);
  border-radius: 999px;
  height: 0.62rem;
  width: 0.62rem;
}

.section-orbit span:nth-child(2) {
  animation-delay: 220ms;
  background: var(--color-sage-soft);
}

.section-orbit span:nth-child(3) {
  animation-delay: 440ms;
  background: var(--color-rose-soft);
}

.close-note {
  display: grid;
  max-width: 920px;
}

.close-note > div {
  background: linear-gradient(135deg, rgba(244, 234, 216, 0.82), rgba(255, 250, 242, 0.88));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}

@keyframes gentlePulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes orbitDot {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.18);
  }
}

@media (max-width: 640px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  .signal-strip span,
  .section-orbit span {
    animation: none;
  }
}
