@font-face {
  font-family: 'Martian Mono';
  src: url('/fonts/display/martian-mono-cyrillic-ext-standard-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('/fonts/display/martian-mono-cyrillic-standard-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('/fonts/display/martian-mono-latin-ext-standard-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('/fonts/display/martian-mono-latin-standard-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #151815;
  --night: #10130f;
  --paper: #f4f5ef;
  --light: #f8f9f4;
  --lime: #dbfa68;
  --muted: #525a51;
  --line: #d6d9cf;
  --gutter: clamp(1.3rem, 5.9vw, 7rem);
  --ease: cubic-bezier(0.2, 0.68, 0.25, 1);
  color-scheme: light;
  font-family: 'Martian Mono', ui-monospace, monospace;
  font-stretch: 87.5%;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
option,
optgroup,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
summary,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid #839d0c;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
body:has(dialog[open]) {
  overflow: hidden;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.measurement {
  position: absolute;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wordmark {
  display: block;
  width: 6.15rem;
  height: auto;
  overflow: visible;
}
.container {
  width: calc(100% - 2 * var(--gutter));
  max-width: 100rem;
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 99;
  transform: translateY(-160%);
  background: white;
  color: var(--ink);
  padding: 0.6rem 1rem;
}
.skip:focus {
  transform: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}
.signal-line {
  display: inline-block;
  width: 1.7rem;
  height: 2px;
  flex: none;
  background: #829837;
}
.eyebrow .separator {
  opacity: 0.55;
}
.accent {
  color: var(--lime);
}
.soft-dot {
  color: #709015;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}
.icon-button {
  width: 2.6rem;
  height: 2.6rem;
}
.masthead {
  display: contents;
}
.ribbon {
  min-height: 2rem;
  padding: 0.29rem 1rem;
  display: flex;
  gap: 0.53rem;
  justify-content: center;
  align-items: center;
  background: var(--lime);
  color: #222917;
  font-size: 0.81rem;
  line-height: 1.4;
  font-weight: 585;
}
.ribbon .icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.1rem;
}
.ribbon a {
  text-decoration: underline;
  text-underline-offset: 0.17em;
  font-weight: 710;
}
.site-header {
  position: sticky;
  z-index: 12;
  top: 0;
  background: #141714;
  color: #f5f6ef;
  border-bottom: 1px solid #323731;
}
.head-inner {
  height: 4.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.home-link {
  width: max-content;
}
.main-nav,
.head-tools,
.lang-switch {
  display: flex;
  align-items: center;
}
.main-nav {
  gap: clamp(1.3rem, 2.5vw, 3rem);
  align-self: stretch;
  align-items: stretch;
}
.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 510;
  color: #b6bcb5;
  transition: color 0.18s;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  color: white;
}
.main-nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 0.74rem;
  left: 50%;
  width: 1rem;
  height: 2px;
  transform: translateX(-50%);
  background: var(--lime);
}
.head-tools {
  justify-self: end;
  gap: 1.45rem;
}
.lang-switch {
  gap: 0.38rem;
  font-size: 0.77rem;
  font-weight: 400;
  line-height: 1;
}
.lang-switch .icon {
  width: 0.99rem;
  height: 0.99rem;
  margin-right: 0.06rem;
  color: #c3c8c1;
}
.lang-switch i {
  font-style: normal;
  color: #71776e;
}
.lang-switch a {
  color: #a3aaa0;
  padding: 0.6rem 0.08rem;
}
.lang-switch a[aria-current] {
  color: #fff;
}
.header-join {
  min-height: 2.4rem;
  padding: 0.44rem 1.22rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid #656c60;
  border-radius: 100px;
  transition:
    background 0.2s,
    color 0.2s;
}
.header-join:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.mobile-menu {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--light);
  --hero-height: clamp(32rem, 44vw, 49rem);
  background: var(--studio, #080909);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070809d9, #070809a6 32%, #07080925 56%, transparent 73%),
    linear-gradient(0deg, #070809eb, #0708099c 9%, transparent 23%);
  pointer-events: none;
}
.hero-land,
.hero-land img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-land {
  --sky-top: linear-gradient(90deg, #969ea0, #b3bcbd 20%, #c7cece 40%, #cdd4d4 60%, #c5cbcb 80%, #b3bcbb);
  --sky-horizon: linear-gradient(90deg, #a1abaa, #c5cbcb 20%, #d5dcdc 40%, #d8dfdf 60%, #d5dcdc 80%, #c2cac7);
  --sky-depth: 15%;
  background: var(--sky-horizon);
  opacity: .42;
}
.hero-land::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sky-top);
  mask-image: linear-gradient(#000, transparent var(--sky-depth));
}
.hero-land img {
  z-index: 0;
  object-fit: cover;
  object-position: 50% 57%;
  filter: saturate(0.72);
}
@media (max-width: 620px) {
  .hero-land {
    --sky-top: linear-gradient(90deg, #a4acae, #b6bfc1 20%, #c3cacc 40%, #c5cbcb 60%, #bec5c4 80%, #afb9b8);
    --sky-horizon: linear-gradient(90deg, #c3caca, #d4dbdb 20%, #d8dfdf 40%, #dbe2e2 60%, #dbe2e2 80%, #d1d8d8);
    --sky-depth: 12%;
  }
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: var(--hero-height);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.hero-copy {
  padding: clamp(2.75rem, 4.1vw, 5.5rem) 0 2.4rem;
  justify-self: start;
}
.hero-eyebrow {
  color: #f2f3ee;
  font-size: 0.78rem;
}
.hero-eyebrow .signal-line,
.about-hero .signal-line,
.story-head .signal-line {
  background: var(--lime);
}
.hero h1,
.about-hero h1,
.story-head h1 {
  font-size: clamp(4.75rem, 7.9vw, 9.1rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 630;
}
.hero h1 {
  margin: 1.45rem 0 1.4rem;
}
.hero h1 .accent,
.about-hero h1 .accent,
.story-head h1 .accent {
  margin-left: 0.025em;
}
.hero-actions,
.inline-links {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  flex-wrap: wrap;
}
.hero-actions {
  margin-top: 2rem;
  gap: clamp(0.9rem, 1.85vw, 2.15rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.13rem;
  border-radius: 100px;
  border: 1px solid transparent;
  padding: 0.78rem 1.55rem;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 0.22s var(--ease),
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-lime {
  background: var(--lime);
  color: #1e2515;
}
.button-lime:hover {
  background: #edff99;
}
.button-ink {
  background: var(--ink);
  color: white;
}
.button-ink:hover {
  background: #343c2e;
}
.button-outline-dark {
  border-color: #8e998b;
  color: var(--ink);
  background: transparent;
}
.button-outline-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.wide {
  width: 100%;
}
.hero-film {
  --film-matte: #090a0b;
  container: hero-stage / size;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-film :is(img, video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 68.6% 47%;
}
.hero-film video {
  background-color: var(--film-matte);
  opacity: 0;
  transition: opacity .28s ease;
}
.hero-film video.has-picture {
  opacity: 1;
}
.hero-credit {
  color: #dfe2dc;
  font-size: clamp(.65rem, .8vw, .76rem);
  line-height: 1.45;
  text-align: end;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-credit span {
  color: var(--lime);
}
.reveal-ready {
  opacity: 0.55;
  translate: 0 14px;
  transition:
    opacity 0.7s var(--ease),
    translate 0.7s var(--ease);
}
.reveal-ready.revealed {
  opacity: 1;
  translate: 0;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.6rem;
  gap: 1rem;
}
.explore {
  display: flex;
  align-items: center;
}
.explore {
  gap: 0.72rem;
  color: #d1d6cc;
  font-size: 0.81rem;
}
.scroll-icon {
  width: 1.63rem;
  height: 1.63rem;
  display: grid;
  place-items: center;
  border: 1px solid #a2ad9b71;
  border-radius: 50%;
}
.scroll-icon .icon {
  width: 0.88rem;
  height: 0.88rem;
}
.light-section,
.journal-preview {
  background: var(--paper);
  color: var(--ink);
}
.journal-line,
.invite-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.6rem;
}
.about-text h2,
.journal-line h2,
.invite h2 {
  font-size: clamp(2.5rem, 4.45vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.064em;
  font-weight: 610;
  text-wrap: balance;
}
.journal-line h2,
.about-text h2,
.invite h2 {
  margin-top: 0.78rem;
}
.journal-preview {
  padding-bottom: clamp(3.6rem, 6vw, 7rem);
}
.journal-line {
  padding-top: clamp(2.5rem, 4vw, 4.5rem);
  border-top: 1px solid #c6cbbe;
}
.journal-line p:not(.eyebrow),
.invite-inner p:not(.eyebrow) {
  max-width: 35rem;
  margin-top: 0.85rem;
  color: var(--muted);
}
.journal-line .button,
.invite .button {
  flex: none;
}
.invite {
  background: var(--lime);
  padding: clamp(3.2rem, 6.2vw, 7.5rem) 0;
}
.invite .signal-line {
  background: #46561a;
}
.invite-inner {
  align-items: center;
}
.invite h2 {
  max-width: 12em;
}
.invite-inner p:not(.eyebrow) {
  color: #414e27;
}
.site-footer {
  background: var(--night);
  color: #e6eae2;
  padding: 3.5rem 0 1.25rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 0.75fr 1fr;
  gap: 2rem;
  padding-bottom: 2.6rem;
}
.footer-main p,
.footer-contact small,
.footer-bottom,
.footer-contact .plain-link {
  color: #aab3a5;
}
.footer-main p,
.footer-contact small {
  font-size: 0.86rem;
  margin-top: 0.7rem;
}
.footer-main nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.42rem;
}
.footer-contact small {
  margin: 0;
}
.footer-contact a {
  font-weight: 570;
  overflow-wrap: anywhere;
}
.footer-main nav a,
.footer-contact button {
  font-size: 0.94rem;
}
.footer-main a:hover,
.plain-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #343a32;
  padding-top: 1.1rem;
  font-size: 0.79rem;
  padding-right: 4rem;
}
.plain-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  text-align: left;
}
.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.23em;
}
.about-hero,
.story-head {
  background: #202720;
  color: var(--light);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 32rem;
}
.about-hero h1,
.story-head h1 {
  font-size: clamp(4.25rem, 6.9vw, 8rem);
  margin: 1.45rem 0;
}
.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: #d0d8cd;
  max-width: 33rem;
}
.about-render {
  height: clamp(21rem, 34vw, 38rem);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 0;
  overflow: hidden;
}
.about-render img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.about-render figcaption {
  justify-self: end;
  margin: 0 0 1.2rem;
  color: #ccd4c8;
  letter-spacing: 0.06em;
}
.about-text {
  padding: clamp(3.5rem, 7vw, 8rem) 0;
}
.about-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 7rem);
}
.prose {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.06rem;
}
.prose h3 {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 2.1rem 0 0.45rem;
  line-height: 1.15;
}
.prose .text-link {
  display: inline-block;
  color: var(--ink);
  margin-top: 0.65rem;
}
.inline-links {
  margin-top: 1.25rem;
  gap: 0.8rem 1.25rem;
}
.inline-links .text-link {
  margin: 0;
}
.story-head {
  background:
    linear-gradient(90deg, #111913ef, #1e2b20a0),
    url('/media/ridgeline.webp') center 58% / cover;
  padding: clamp(4rem, 7vw, 8rem) 0;
}
.story-head .lead {
  max-width: 38rem;
}
.story-feed {
  padding: 2rem 0 clamp(2.8rem, 5vw, 6rem);
}
.entry {
  display: grid;
  grid-template-columns: 0.55fr 1.65fr 0.85fr;
  gap: clamp(1rem, 3.6vw, 4rem);
  padding: 2.75rem 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5rem;
}
.entry-meta {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.6;
}
.entry-meta span {
  color: #4d6311;
}
.entry-copy h2 {
  font-weight: 610;
  font-size: clamp(1.8rem, 3.1vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin-bottom: 0.75rem;
}
.entry-copy p {
  color: var(--muted);
  margin: 0.55rem 0;
  max-width: 42rem;
}
.entry-visual {
  overflow: hidden;
  aspect-ratio: 1.42;
}
.entry-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
dialog {
  color: var(--ink);
}
.modal {
  border: 0;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: clamp(1.5rem, 3.1vw, 2.65rem);
  width: min(30rem, calc(100% - 1.6rem));
  max-height: calc(100dvh - 2.4rem);
  border-radius: 1.2rem;
  background: var(--light);
  box-shadow: 0 20px 100px #0004;
  overscroll-behavior: contain;
}
.modal[open] {
  animation: modal-in 0.24s var(--ease);
}
.modal::backdrop {
  background: #0b100dc9;
  backdrop-filter: blur(5px);
}
.close-modal {
  position: absolute;
  right: 1.05rem;
  top: 1.05rem;
  background: #e5e9df;
}
.modal h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: -0.057em;
  font-weight: 620;
  margin: 0.9rem 0 0.65rem;
}
.success-pane p,
.privacy-modal p {
  color: var(--muted);
  font-size: 0.95rem;
}
.join-content > h2 {
  margin: 0;
  padding-inline-end: 2.4rem;
}
form label {
  display: grid;
  gap: 0.28rem;
  font-weight: 580;
  font-size: 0.86rem;
}
form label small {
  color: var(--muted);
  font-weight: 400;
}
input:not([type='checkbox']):not([type='hidden']):not([type='radio']),
textarea,
select {
  border: 1px solid #bfc7bb;
  border-radius: 0.55rem;
  background: white;
  color: var(--ink);
  width: 100%;
  padding: 0.65rem 0.75rem;
  min-height: 2.6rem;
  font-weight: 400;
  line-height: 1.35;
  outline-offset: 2px;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #737c6f;
}
#join-form,
#contact-form,
.login-form {
  display: grid;
  gap: 0.78rem;
  margin-top: 1.25rem;
}
.trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
  font-weight: 400;
  margin: 0.25rem 0;
}
input[type='checkbox'] {
  margin: 0.05rem 0 0;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  accent-color: #42551c;
}
.google-option {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  text-align: center;
}
.google-option > span {
  color: var(--muted);
  font-size: 0.8rem;
}
.form-error:not(:empty) {
  color: #963d29;
  font-size: 0.85rem;
  padding-top: 0.6rem;
}
.success-pane {
  padding: 1.5rem 0 0.75rem;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--lime);
  border-radius: 50%;
}
.success-pane .button {
  margin-top: 1.4rem;
}
.privacy-modal h2 {
  margin-right: 1rem;
}
.privacy-modal p {
  margin-top: 0.7rem;
}
.chat-fab {
  position: fixed;
  right: clamp(1rem, 2.3vw, 2.8rem);
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 15;
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 100%;
  border: 1px solid #28311918;
  background: var(--lime);
  color: #1b2719;
  box-shadow: 0 5px 28px #0e160d31;
  transition: transform 0.2s;
}
.chat-fab .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.chat-fab:hover {
  transform: translateY(-2px);
}
.chat-panel {
  position: fixed;
  right: clamp(0.75rem, 2.3vw, 2.8rem);
  bottom: 5.25rem;
  width: min(24rem, calc(100% - 1.5rem));
  max-height: min(38rem, calc(100dvh - 6.25rem));
  z-index: 16;
  display: flex;
  flex-direction: column;
  background: var(--light);
  box-shadow: 0 14px 65px #0d180e55;
  border: 1px solid #d2d9cc;
  border-radius: 1rem;
  overflow: hidden;
  animation: modal-in 0.22s var(--ease);
}
.chat-head,
.chat-brand,
.chat-compose {
  display: flex;
  align-items: center;
}
.chat-head {
  background: #1c241d;
  color: white;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  flex: none;
}
.chat-brand {
  gap: 0.7rem;
}
.chat-avatar {
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: var(--lime);
  color: var(--ink);
  width: 2.4rem;
  height: 2.4rem;
}
.chat-brand .eyebrow {
  font-size: 0.7rem;
  color: var(--lime);
}
.chat-head h2 {
  font-size: 1.06rem;
  line-height: 1.2;
  font-weight: 600;
}
.chat-body {
  overflow: auto;
  padding: 1rem;
  overscroll-behavior: contain;
  min-height: 0;
}
.bubble {
  width: fit-content;
  max-width: 95%;
  white-space: pre-line;
  overflow-wrap: anywhere;
  border-radius: 0.8rem;
  padding: 0.68rem 0.85rem;
  background: #e7eadf;
  font-size: 0.92rem;
  margin: 0 0 0.6rem;
}
.bubble.user {
  margin-left: auto;
  background: #273323;
  color: white;
}
.chat-choices {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.9rem 0 0.25rem;
}
.chat-choices button,
.chat-action {
  background: transparent;
  border-radius: 100px;
  border: 1px solid #aab6a0;
  padding: 0.38rem 0.65rem;
  font-size: 0.79rem;
  line-height: 1.35;
}
.chat-action {
  display: inline-block;
  background: #f1f7dd;
  margin: 0 0 0.6rem;
}
.chat-choices button:hover,
.chat-action:hover {
  background: var(--lime);
}
.chat-compose {
  flex: none;
  gap: 0.45rem;
  padding: 0.65rem;
  border-top: 1px solid var(--line);
}
.chat-compose input {
  background: transparent !important;
  border: 0 !important;
}
.chat-compose .icon-button {
  background: var(--ink);
  color: white;
  flex: none;
}
#contact-form {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
#contact-form h3 {
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}
#contact-form .plain-link {
  text-align: center;
  font-size: 0.82rem;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1050px) {
  .head-inner {
    gap: 1rem;
  }
  .head-tools {
    gap: 1rem;
  }
  .hero-actions {
    gap: 1.05rem;
  }
  .hero-actions .button {
    padding-inline: 1.25rem;
  }
  .hero h1 {
    font-size: clamp(4.75rem, 8.4vw, 6.55rem);
  }
  .entry {
    grid-template-columns: 0.55fr 1.55fr 0.85fr;
  }
}
@media (max-width: 820px) {
  :root {
    --gutter: clamp(1.35rem, 4.4vw, 3rem);
  }
  .head-inner {
    height: 4.1rem;
  }
  .main-nav {
    gap: 1.15rem;
  }
  .hero-copy {
    padding-top: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(4.2rem, 9vw, 6rem);
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }
  .about-grid {
    min-height: 27rem;
    gap: 1.2rem;
  }
  .about-render {
    height: 24rem;
  }
  .entry {
    grid-template-columns: 0.5fr 1.5fr;
  }
  .entry-visual {
    display: none;
  }
}
@media (max-width: 980px) {
  .hero-land img {
    object-position: 50% 64%;
  }
}
@media (max-width: 660px) {
  :root {
    --gutter: 1.35rem;
  }
  html {
    --mobile-scroll-padding: 4.25rem;
    scroll-padding-top: var(--mobile-scroll-padding);
  }
  .masthead {
    display: block;
    position: sticky;
    top: 0;
    z-index: 12;
    transition: translate .18s var(--ease);
  }
  .masthead.ribbon-tucked {
    translate: 0 calc(-1 * var(--ribbon-height, 1.8rem));
  }
  .masthead .site-header {
    position: relative;
    top: auto;
  }
  .ribbon {
    font-size: 0.74rem;
    min-height: 1.8rem;
  }
  .ribbon .icon {
    width: 1rem;
    height: 1rem;
  }
  .head-inner {
    height: 3.8rem;
    display: flex;
    justify-content: space-between;
  }
  .wordmark {
    width: 5.05rem;
  }
  .head-tools {
    gap: 0.76rem;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #171d17;
    border-bottom: 1px solid #3e473c;
    padding: 0.65rem var(--gutter) 1rem;
    box-shadow: 0 1rem 1.5rem #10151025;
  }
  .main-nav[data-open] {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    padding: 0.65rem 0.1rem;
  }
  .main-nav a[aria-current]::after {
    left: auto;
    right: 0.4rem;
    bottom: 50%;
    transform: none;
  }
  .header-join {
    font-size: 0.78rem;
    padding: 0.34rem 0.8rem;
    min-height: 2.1rem;
  }
  .mobile-menu {
    display: grid;
    width: 2rem;
    height: 2rem;
  }
  .mobile-menu .icon {
    width: 1.35rem;
    height: 1.35rem;
  }
  .lang-switch {
    gap: 0.2rem;
    font-size: 0.72rem;
  }
  .lang-switch .icon {
    display: none;
  }
  .hero h1 {
    font-size: clamp(4.2rem, 13.7vw, 5.8rem);
    margin: 1.05rem 0 0.85rem;
    line-height: 0.9;
  }
  .hero-eyebrow {
    font-size: 0.7rem;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.05rem;
    margin-top: 1.25rem;
  }
  .hero-actions .button {
    min-height: 2.78rem;
    font-size: 0.84rem;
    padding: 0.7rem 1.05rem;
  }
  .hero-grid {
    /* Keep the first fold stable as mobile browser chrome expands or retracts. */
    min-height: calc(100vh - var(--masthead-height, 5.65rem));
    min-height: calc(100svh - var(--masthead-height, 5.65rem));
  }
  .hero-copy {
    align-self: end;
    padding-block: 1.5rem clamp(1.4rem, 4svh, 2.5rem);
  }
  .hero-foot {
    min-height: 3.5rem;
    gap: 0.45rem;
    padding-bottom: max(.35rem, env(safe-area-inset-bottom));
    padding-inline-end: 2.9rem;
  }
  .explore {
    gap: 0.4rem;
    font-size: 0.72rem;
  }
  .scroll-icon {
    width: 1.4rem;
    height: 1.4rem;
  }
  .journal-line,
  .invite-inner {
    display: block;
  }
  .journal-line .button,
  .invite-inner .button {
    margin-top: 1.25rem;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }
  .footer-contact {
    grid-column: 1/-1;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
  .about-grid {
    display: block;
    padding-top: 3rem;
  }
  .about-hero h1,
  .story-head h1 {
    font-size: clamp(3.6rem, 12.5vw, 5.5rem);
    margin: 1.1rem 0;
  }
  .about-render {
    height: 18.5rem;
  }
  .about-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .story-head {
    padding: 3.7rem 0;
  }
  .entry {
    grid-template-columns: 1fr;
    padding: 1.75rem 0;
    gap: 0.6rem;
  }
  .entry-meta {
    display: flex;
    gap: 0.9rem;
  }
  .entry-visual {
    display: block;
    aspect-ratio: 2.4;
    max-height: 13rem;
  }
  .chat-fab {
    right: 1rem;
    bottom: max(0.95rem, env(safe-area-inset-bottom));
    width: 3rem;
    height: 3rem;
  }
  .chat-panel {
    bottom: 4.45rem;
    max-height: calc(100dvh - 5.2rem);
  }
  .modal {
    padding: 1.5rem;
  }
  .close-modal {
    right: 0.65rem;
    top: 0.65rem;
  }
}
@media (max-width: 660px) and (orientation: portrait) {
  .hero-film :is(img, video) { object-position: center; }
  @container hero-stage (min-aspect-ratio: 9/16) {
    .hero-film :is(img, video) {
      object-fit: cover;
    }
  }
  .hero::after {
    background: linear-gradient(0deg, #060708ed, #060708cf 24%, #060708a3 max(41%, 15.75rem), #06070818 max(65%, 20rem), transparent 85%);
  }
}
@media (max-width: 370px) {
  .header-join {
    display: none;
  }
  .hero-actions {
    gap: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
