:root {
  --bg: #0b1020;
  --text: #eef2ff;
  --muted: #aab3c9;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.18), transparent 25%),
              radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.15), transparent 28%),
              radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.12), transparent 30%),
              var(--bg);
  color: var(--text);
    overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#sky {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 0 0 28px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 1.1rem;
}

.site-identity {
  margin: 0 auto 24px;
  margin-top: 0px;
  max-width: 400px;
  color: var(--muted);
  font-size: 0.5rem;
}

.thought {
  margin: 0 auto 34px;
  max-width: 620px;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.4;
  margin-bottom:5px;
}

.question {
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* .signals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.signals button {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.signals button:hover {
  transform: translateY(-1px);
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.22);
}

.signals span {
  margin-left: 8px;
  font-weight: 700;
} */

/* ------------------------------
   Curio Triptych on landing page
------------------------------ */

.triptych-feature {
  margin-top: 28px;
  text-align: center;
}

.triptych-feature-title {
  margin: 0 auto 12px;
  margin-bottom: 0 ;
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text);
  opacity: 0.92;
}

.triptych-feature-link {
  display: inline-block;
  width: 100%;
  max-width: 760px;
  text-decoration: none;
}

.triptych-feature-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.triptych-feature-link:hover .triptych-feature-image {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 0.97;
}

.triptych-feature-note {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.82;
  letter-spacing: 0.02em;
  text-align: right;
}

/* ------------------------------
   Curio Triptych page
------------------------------ */

body.triptych-page-body {
  overflow: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

body.triptych-page-body .container {
  min-height: auto;
  display: block;
  justify-content: initial;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 64px;
  max-width: 980px;
}

.triptych-page-title {
  margin: 0 auto 18px;
  margin-top: 10px;
  max-width: 760px;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
  text-align: center;
}

.triptych-page-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.triptych-page .page-content,
.triptych-page .page-content p {
  text-align: left;
}

.triptych-page .triptych-page-phrase {
  text-align: center;
}

.triptych-page-phrase {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  opacity: 0.9;
  font-style: italic;
  text-align: center;
}

.triptych-page-link {
  margin-top: 18px;
  font-size: 0.98rem;
}

.triptych-page-link-line {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

.triptych-page-link-note {
  /* margin-top: 1.2rem; */
  /* margin-bottom: 0.35rem; */
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.8;
}

.triptych-page-link a {
  color: #cfd8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.triptych-page-link a:hover {
  color: #ffffff;
  opacity: 1;
}

/* Optional small label above/below if needed */
.triptych-page-label {
  margin: 0 auto 10px;
  font-size: 0.88rem;
  color: var(--muted);
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.triptych-page-navigation {
  display: flex;
  justify-content: space-between;
  max-width: 980px;
  margin: 24px auto 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.triptych-page-navigation a {
  color: #cfd8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.triptych-page-navigation a:hover {
  color: #ffffff;
  opacity: 1;
}

@media (max-width: 640px) {
  .triptych-feature {
    margin-top: 22px;
  }

  .triptych-feature-image,
  .triptych-page-image {
    border-radius: 10px;
  }

  .triptych-page-title {
    font-size: 1.02rem;
  }

  .triptych-page-phrase {
    font-size: 0.96rem;
  }
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.source-line {
  margin-top: 48px;
  margin-bottom: 0px;
  color: var(--muted);
  font-size: 0.92rem;
  opacity: 0.85;
}

.footnote {
  margin-top: 17px;
  margin-bottom: 0px;  
  color: var(--muted);
  font-size: 0.92rem;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .signals {
    flex-direction: column;
    align-items: center;
  }

  .signals button {
    width: min(320px, 100%);
  }
}

/* Curio pages */
body.curio-page {
  overflow: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

body.curio-page .container {
  min-height: auto;
  display: block;
  justify-content: initial;
  text-align: left;
  padding-top: 48px;
  padding-bottom: 64px;
}

body.curio-page .source-note {
  font-style: italic;
  opacity: 0.6;
  margin-top: 24px;
  margin-bottom: 24px;
  text-align: right;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

body.curio-page .page-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
}

body.curio-page .brief-note-heading {
  /* font-style: italic; */
  opacity: 0.85;
  margin-top: 24px;
  margin-bottom: 8px;
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

body.curio-page .brief-note {
  font-style: italic;
  /* opacity: 0.85; */
  margin-top: 0px;
  margin-bottom: 36px;
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

body.curio-page .deep-reflection-heading {
  opacity: 0.85;
  margin-top: 24px;
  margin-bottom: 8px;
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

body.curio-page .page-content {
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.8;
  font-size: 1.05rem;
}

body.curio-page .page-content p {
  margin-bottom: 16px;
}

body.curio-page .closing {
  font-style: italic;
  opacity: 0.85;
  margin-top: 24px;
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

body.curio-page .footer {
  margin-top: 40px;
  opacity: 0.6;
  font-size: 0.9rem;
  text-align: center;
}

/* Curio page links (including email) */

body.curio-page a {
  color: #cfd8ff;           /* soft readable light color */
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.curio-page a:hover {
  color: #ffffff;
}

/* Recent observations */

.recent {
  margin-top: 10px;
  text-align: center;
}

.recent-title {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 4px;
}

.recent-intro {
  margin: 0 auto 24px;
  max-width: 450px;
  margin-top: 0px;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 12px;
}

.recent-list {
  list-style: none;
  padding: 0;
}

.recent-list li {
  margin: 8px 0;
}

.recent-list a {
  text-decoration: underline;
  text-underline-offset: 3px;

  color: #cfd8ff;           /* soft highlight (not bright blue) */
  opacity: 0.9;

  transition: opacity 0.2s ease, color 0.2s ease;
}

.recent-list a:hover {
  opacity: 1;
  color: #ffffff;
}

/* Random observation (subtle extension of recent list) */

.recent-random {
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
  margin-bottom: 0px;
}

.recent-random-p{
  opacity: 0.9;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 0px;
}

#randomObservationWrap{
  opacity: 0.9;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 0px;
}

.recent-random-a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
  text-underline-offset: 3px;
  color: #cfd8ff;           /* soft highlight (not bright blue) */
  transition: opacity 0.2s ease, color 0.2s ease;
}

#randomObservationLink {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
  text-underline-offset: 3px;
  color: #cfd8ff;           /* soft highlight (not bright blue) */
  transition: opacity 0.2s ease, color 0.2s ease;
}

#randomObservationLink:hover {
  opacity: 0.6;
}


/* Footer links for homepage */

.site-links {
  margin-top: 60px;
  font-size: 0.8rem;
  opacity: 0.5;
  text-align: center;
}

.site-links a {
  color: inherit;
  text-decoration: none;
}

.site-links a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Page navigation */

.page-nav {
  max-width: 680px;
  margin: 40px auto 20px;
  display: flex;
  text-align: left;
  /* justify-content: center; */
  font-size: 0.9rem;
  opacity: 0.6;
}

.page-nav a {
  text-decoration: none;
  color: inherit;
}

.page-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}