* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --ink: #17130f;
  --charcoal: #25201a;
  --ivory: #eee6d6;
  --amber: #d8a860;
  --amber-soft: #c89a58;
  --mist: #9aa4b8;
  --paper: #eee1c4;
  --water: #17213a;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #070707;
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
body, button, input { font: inherit; }
button, input { color: inherit; }
a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.access-required-page {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 38%, rgba(216, 168, 96, 0.14), transparent 24rem),
    #050505;
}
.access-required {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.access-required-panel {
  width: min(640px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.access-required-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.04;
}
.access-required-panel p:not(.part-kicker) {
  max-width: 520px;
  margin: 0;
  color: rgba(238, 230, 214, 0.68);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}
.access-required-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.access-required-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(216, 168, 96, 0.42);
  border-radius: 999px;
  background: rgba(216, 168, 96, 0.1);
  color: var(--ivory);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.access-required-actions a:hover {
  border-color: rgba(216, 168, 96, 0.82);
  background: rgba(216, 168, 96, 0.16);
}
.top-chrome {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(16px, 4vw, 46px);
  color: rgba(238, 230, 214, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  pointer-events: none;
}
.lang-switch {
  position: fixed;
  top: 18px;
  right: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(216, 168, 96, 0.22);
  background: rgba(8, 7, 6, 0.56);
  backdrop-filter: blur(12px);
}
.lang-switch button {
  min-width: 42px;
  border: 0;
  background: transparent;
  color: rgba(238, 230, 214, 0.58);
  padding: 7px 9px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lang-switch button.active {
  color: var(--ivory);
  background: rgba(216, 168, 96, 0.16);
}
.part-page .lang-switch {
  top: 54px;
}
.part-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 3vw, 26px);
}
.part-nav a {
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
}
.quiet-brand,
.tone-toggle {
  pointer-events: auto;
}
.quiet-brand {
  text-decoration: none;
}
.tone-toggle,
.text-tone-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.tone-toggle:hover,
.quiet-brand:hover,
.text-tone-link:hover {
  color: var(--ivory);
}
.section-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.arrival-room {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.1), rgba(8, 7, 6, 0.72)),
    url("../img/harbor-view.webp") center / cover no-repeat,
    radial-gradient(circle at 55% 32%, #4c4437, #070707 70%);
}
.arrival-room::after,
.night-dock::after,
.one-word-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 22rem, rgba(0, 0, 0, 0.58) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.56));
}
.arrival-copy {
  position: relative;
  z-index: 3;
  width: min(900px, calc(100% - 38px));
  padding-top: 5vh;
  text-align: center;
}
.greeting {
  margin: 0 0 22px;
  color: rgba(238, 230, 214, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2.1vw, 24px);
  font-style: italic;
}
h1, h2, blockquote, p {
  letter-spacing: 0;
}
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 9vw, 122px);
  font-weight: 400;
  line-height: 0.92;
}
.lamp-glow {
  position: absolute;
  inset: 8% auto auto 50%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 168, 96, 0.46), rgba(216, 168, 96, 0.12) 38%, transparent 70%);
  filter: blur(10px);
  animation: lamp-breath 8s ease-in-out infinite;
}
.mist-layer {
  position: absolute;
  inset: -10% -20%;
  z-index: 1;
  background:
    radial-gradient(ellipse at 28% 64%, rgba(154, 164, 184, 0.16), transparent 32%),
    radial-gradient(ellipse at 72% 46%, rgba(238, 230, 214, 0.1), transparent 28%);
  filter: blur(18px);
  animation: mist-drift 22s ease-in-out infinite alternate;
}
.grain-layer,
.grain-layer::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.grain-layer {
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(238, 230, 214, 0.24) 0 1px, transparent 1.4px);
  background-size: 18px 18px;
  animation: grain 900ms steps(2) infinite;
}
.scroll-slowly {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(28px, 6vh, 58px);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(238, 230, 214, 0.64);
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.08em;
}
.scroll-slowly span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 24px rgba(216, 168, 96, 0.72);
  animation: lamp-breath 4s ease-in-out infinite;
}
.letter-section {
  display: grid;
  place-items: center;
  min-height: 120vh;
  padding: clamp(80px, 13vh, 160px) 20px;
  background:
    radial-gradient(circle at 50% 20%, rgba(216, 168, 96, 0.08), transparent 22rem),
    linear-gradient(180deg, #080706, var(--ink) 52%, #080706);
}
.letter-column {
  width: min(720px, 100%);
  display: grid;
  gap: clamp(28px, 5vh, 48px);
}
.letter-column p {
  margin: 0;
  color: rgba(238, 230, 214, 0.84);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.48;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1100ms ease, transform 1100ms ease;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.night-dock {
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.12), rgba(4, 7, 13, 0.8)),
    url("../img/still-water.webp") center / cover no-repeat,
    var(--water);
}
.dock-veil,
.word-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 5, 9, 0.86), rgba(3, 5, 9, 0.34) 54%, rgba(3, 5, 9, 0.76));
}
.dock-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 38px));
  margin: 0 0 clamp(54px, 10vh, 110px) clamp(19px, 7vw, 92px);
}
.dock-copy h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.02;
}
.dock-copy p {
  max-width: 560px;
  margin: 0 0 22px;
  color: rgba(238, 230, 214, 0.72);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}
.harbor-lab-line {
  max-width: 620px;
  color: rgba(216, 168, 96, 0.72);
}
.harbor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}
.harbor-primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(216, 168, 96, 0.45);
  border-radius: 999px;
  color: var(--ivory);
  background: rgba(216, 168, 96, 0.1);
  text-decoration: none;
}
.harbor-primary-link:hover {
  border-color: rgba(216, 168, 96, 0.86);
  background: rgba(216, 168, 96, 0.16);
}
.text-tone-link {
  display: inline;
  color: rgba(238, 230, 214, 0.72);
  border-bottom: 1px solid rgba(238, 230, 214, 0.34);
}
.text-tone-link[hidden] {
  display: none;
}
.harbor-breath-page {
  background: #050505;
}
.harbor-breath-section,
.harbor-thought-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24vh 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 168, 96, 0.08), transparent 22rem),
    #050505;
}
.harbor-breath-wrap {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.harbor-breath-orb {
  display: block;
  width: 160px;
  height: 160px;
  margin-top: 34px;
  border: 1px solid rgba(216, 168, 96, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 168, 96, 0.28), rgba(216, 168, 96, 0) 70%);
  animation: harborBreathOrb 6s ease-in-out infinite;
}
.harbor-breath-wrap h1 {
  margin: 40px 0 0;
  color: rgba(238, 230, 214, 0.85);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 38px);
  font-style: italic;
  font-weight: 400;
}
.harbor-cycle {
  margin: 16px 0 0;
  color: rgba(238, 230, 214, 0.35);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.harbor-thought-section {
  min-height: 92vh;
  min-height: 92svh;
  padding-block: 20vh;
}
.harbor-thought-wrap {
  width: min(720px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}
.harbor-thought-wrap blockquote {
  margin: 0;
  color: rgba(238, 230, 214, 0.85);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-style: italic;
  line-height: 1.55;
}
.harbor-thought-wrap blockquote span {
  color: rgba(238, 230, 214, 0.58);
}
.harbor-divider {
  width: 64px;
  height: 1px;
  margin: 56px 0 34px;
  background: rgba(216, 168, 96, 0.3);
}
.harbor-thought-wrap .harbor-lab-line {
  margin: 0 0 26px;
  text-align: center;
}
@keyframes harborBreathOrb {
  0%, 100% {
    width: 96px;
    height: 96px;
    background: radial-gradient(circle, rgba(216, 168, 96, 0.18), rgba(216, 168, 96, 0) 70%);
  }
  50% {
    width: 176px;
    height: 176px;
    background: radial-gradient(circle, rgba(216, 168, 96, 0.36), rgba(216, 168, 96, 0) 70%);
  }
}
.breathing-section {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 168, 96, 0.08), transparent 18rem),
    #050505;
  text-align: center;
}
.breathing-wrap {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.breathing-circle {
  width: clamp(170px, 32vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(216, 168, 96, 0.48);
  background: radial-gradient(circle, rgba(216, 168, 96, 0.3), rgba(216, 168, 96, 0.08) 42%, transparent 70%);
  box-shadow: 0 0 80px rgba(216, 168, 96, 0.18);
  animation: breathe-cycle 6s ease-in-out infinite;
}
.breathing-wrap h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 400;
}
.breathing-wrap p {
  margin: 0;
  color: rgba(238, 230, 214, 0.58);
}
.thought-section {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 34px;
  padding: 70px 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(154, 164, 184, 0.08), transparent 24rem),
    linear-gradient(180deg, #050505, #100d0b);
  text-align: center;
}
.thought-section blockquote {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5.6vw, 82px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.12;
}
.amber-line {
  width: min(240px, 40vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.one-word-section {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.78)),
    url("../img/harbor-view.webp") center / cover no-repeat,
    #11110e;
}
.word-panel {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 38px));
  text-align: center;
}
.word-panel h2 {
  margin: 0 0 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.04;
}
.one-word-form {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.one-word-form input {
  width: min(420px, 100%);
  border: 0;
  border-bottom: 1px solid rgba(238, 230, 214, 0.46);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  padding: 10px 0 14px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 7vw, 76px);
  font-style: italic;
  outline: none;
}
.one-word-form input::placeholder {
  color: rgba(238, 230, 214, 0.34);
}
.one-word-form p,
.word-thanks p {
  margin: 0;
  color: rgba(238, 230, 214, 0.62);
}
.word-thanks blockquote {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 96px);
  font-style: italic;
}
.door-footer {
  display: grid;
  gap: 44px;
  min-height: 52vh;
  padding: clamp(70px, 12vh, 132px) 20px;
  place-items: center;
  background: #050505;
  color: rgba(238, 230, 214, 0.68);
  text-align: center;
}
.door-footer p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3.4vw, 42px);
  line-height: 1.42;
}
.door-footer p:last-child {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.part-room {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.part-page .arrival-room,
.part-page .night-dock,
.part-page .one-word-section {
  min-height: 100vh;
  min-height: 100svh;
}
.part-page .arrival-copy,
.part-page .dock-copy,
.part-page .word-panel,
.window-copy {
  z-index: 3;
}
.part-line {
  margin: 28px auto 0;
  max-width: 540px;
  color: rgba(238, 230, 214, 0.68);
  font-size: clamp(17px, 2vw, 22px);
}
.part-kicker {
  margin: 0 0 18px;
  color: rgba(216, 168, 96, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.part-page .dock-copy h1,
.part-page .word-panel h1,
.window-copy h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6.8vw, 92px);
  font-weight: 400;
  line-height: 1.02;
}
.window-quiet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
  width: min(1120px, calc(100% - 38px));
  margin: 0 auto;
  padding: clamp(92px, 13vh, 150px) 0 clamp(48px, 8vh, 90px);
}
.window-image {
  min-height: min(620px, 70svh);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.38)),
    url("../img/harbor-view.webp") center / cover no-repeat,
    #11110e;
  border: 1px solid rgba(238, 230, 214, 0.13);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}
.window-copy p:not(.part-kicker) {
  max-width: 540px;
  color: rgba(238, 230, 214, 0.68);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}
.lamp-earth-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(216, 168, 96, 0.12), transparent 24rem),
    linear-gradient(180deg, #050505, #0c0d10 48%, #050505);
}
.lamp-top {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), transparent);
}
.recorded-chip {
  pointer-events: auto;
  border: 0;
  background: transparent;
  color: rgba(238, 230, 214, 0.5);
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.recorded-chip:hover {
  color: var(--ivory);
}
.earth-lamp {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: start;
  padding: clamp(70px, 9vh, 96px) clamp(18px, 5vw, 68px) clamp(104px, 14vh, 132px);
}
.lamp-intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 168, 96, 0.14), transparent 24rem),
    #050505;
  text-align: center;
  transition: opacity 1200ms ease, visibility 1200ms ease;
}
.lamp-intro.is-faded {
  opacity: 0;
  visibility: hidden;
}
.lamp-intro h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.04;
}
.lamp-intro p:not(.part-kicker) {
  margin: 0;
  color: rgba(238, 230, 214, 0.66);
  font-size: clamp(18px, 2vw, 24px);
}
.earth-window {
  width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.5vh, 24px);
}
.earth-info {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.earth-info .part-kicker {
  margin: 0;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(216, 168, 96, 0.1);
}
.recorded-date {
  margin: 0;
  color: rgba(238, 230, 214, 0.58);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.lamp-video-window {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(238, 230, 214, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.32)),
    url("../img/still-water.webp") center / cover no-repeat,
    #111;
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.46);
}
.lamp-video-window video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.lamp-video-window.has-video video {
  opacity: 1;
}
.lamp-video-window.has-video .lamp-visual-fallback {
  opacity: 0;
  pointer-events: none;
}
.lamp-title-overlay {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 86px clamp(18px, 5vw, 52px) 26px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.66));
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.76);
}
.lamp-visual-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.42)),
    url("../img/still-water.webp") center / cover no-repeat;
  transform: scale(1.04);
  animation: earthWindowDrift 24s ease-in-out infinite alternate;
}
.lamp-visual-fallback span {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 42%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 165, 0.18), transparent 62%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  animation: lampWindowGlow 12s ease-in-out infinite;
}
.lamp-visual-fallback span:nth-child(2) {
  left: 62%;
  top: 62%;
  width: 65%;
  height: 26%;
  background: radial-gradient(ellipse, rgba(154, 164, 184, 0.14), transparent 68%);
  animation-delay: -3s;
}
.lamp-visual-fallback span:nth-child(3) {
  left: 32%;
  top: 68%;
  width: 38%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(216, 168, 96, 0.12), transparent 64%);
  animation-delay: -6s;
}
.lamp-quote {
  max-width: 760px;
  margin: 0;
  color: rgba(238, 230, 214, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.8vw, 48px);
  font-style: italic;
  line-height: 1.22;
  text-align: center;
}
.lamp-source {
  margin: -8px 0 8px;
  color: rgba(216, 168, 96, 0.58);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}
.lamp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  align-items: center;
}
.lamp-actions a,
.lamp-actions button {
  flex: 0 0 auto;
}
.lamp-actions a {
  color: rgba(238, 230, 214, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 230, 214, 0.34);
}
.lamp-actions .text-tone-link {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.4;
}
.lamp-actions a:hover {
  color: var(--ivory);
}
.lamp-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vh, 28px);
  z-index: 24;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(620px, calc(100% - 32px));
  padding: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(238, 230, 214, 0.13);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}
.lamp-bottom-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(238, 230, 214, 0.68);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.lamp-bottom-nav a:hover {
  background: rgba(216, 168, 96, 0.12);
  color: var(--ivory);
}
.recorded-note {
  position: fixed;
  top: 62px;
  right: clamp(16px, 4vw, 52px);
  z-index: 80;
  width: min(320px, calc(100% - 32px));
  padding: 18px 42px 18px 18px;
  border: 1px solid rgba(238, 230, 214, 0.14);
  background: rgba(5, 5, 5, 0.82);
  color: rgba(238, 230, 214, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}
.recorded-note p {
  margin: 0;
  line-height: 1.55;
}
.recorded-note button {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: rgba(238, 230, 214, 0.62);
  font-size: 22px;
  cursor: pointer;
}
.live-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}
.live-modal[hidden],
.recorded-note[hidden] {
  display: none !important;
}
.live-modal-panel {
  position: relative;
  width: min(1040px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(238, 230, 214, 0.14);
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 168, 96, 0.12), transparent 22rem),
    rgba(5, 5, 5, 0.92);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.58);
}
.live-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: rgba(238, 230, 214, 0.66);
  font-size: 28px;
  cursor: pointer;
}
.live-frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(238, 230, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.42)),
    url("../img/harbor-view.webp") center / cover no-repeat,
    #080808;
}
.live-frame-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #080808;
}
.live-modal-note {
  margin: 0;
  color: rgba(238, 230, 214, 0.58);
  line-height: 1.55;
}
.live-modal a {
  justify-self: start;
  color: rgba(238, 230, 214, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 230, 214, 0.34);
}
.v71-page {
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 168, 96, 0.1), transparent 26rem),
    linear-gradient(180deg, #050505, #11100d 48%, #050505);
}
.rooms-page {
  background:
    radial-gradient(circle at 14% 24%, rgba(66, 91, 118, 0.22), transparent 22rem),
    radial-gradient(circle at 82% 10%, rgba(216, 168, 96, 0.12), transparent 24rem),
    linear-gradient(180deg, #050505, #101116 48%, #050505);
}
.v71-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(96px, 14vh, 148px) 0 clamp(64px, 9vh, 110px);
}
.v71-hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
  gap: 20px;
}
.v71-hero h1,
.v71-section h2,
.v71-band h2,
.door-path h2,
.archive-card h3,
.window-item h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.v71-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.98;
}
.v71-hero p:not(.part-kicker) {
  max-width: 640px;
  margin: 0;
  color: rgba(238, 230, 214, 0.68);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
}
.v71-section {
  padding: clamp(54px, 9vh, 96px) 0;
}
.v71-section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 42px);
}
.v71-section h2,
.v71-band h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
}
.v71-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  padding: clamp(42px, 7vh, 72px) 0;
  border-top: 1px solid rgba(238, 230, 214, 0.12);
  border-bottom: 1px solid rgba(238, 230, 214, 0.12);
}
.v71-muted,
.v71-band p:not(.part-kicker),
.v71-section-head p:not(.part-kicker) {
  margin: 16px 0 0;
  color: rgba(238, 230, 214, 0.62);
  line-height: 1.65;
}
.v71-form {
  display: grid;
  gap: 16px;
}
.v71-form label {
  display: grid;
  gap: 8px;
  color: rgba(238, 230, 214, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v71-form input,
.v71-form textarea,
.v71-form select,
.reflection-form textarea {
  width: 100%;
  border: 1px solid rgba(238, 230, 214, 0.16);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.42);
  color: var(--ivory);
  padding: 13px 14px;
  outline: none;
}
.v71-form input:focus,
.v71-form textarea:focus,
.v71-form select:focus,
.reflection-form textarea:focus {
  border-color: rgba(216, 168, 96, 0.62);
}
.v71-button,
.window-actions button,
.window-actions a,
.reflection-form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 168, 96, 0.36);
  border-radius: 999px;
  background: rgba(216, 168, 96, 0.1);
  color: var(--ivory);
  padding: 0 16px;
  cursor: pointer;
  text-decoration: none;
}
.v71-button:hover,
.window-actions button:hover,
.window-actions a:hover,
.reflection-form button:hover {
  border-color: rgba(216, 168, 96, 0.78);
  background: rgba(216, 168, 96, 0.16);
}
.v71-status {
  min-height: 22px;
  margin: 0;
  color: rgba(216, 168, 96, 0.78);
  line-height: 1.5;
}
.memory-grid,
.window-curated-grid,
.archive-grid,
.door-paths,
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.memory-card,
.window-item,
.archive-card,
.door-path,
.resident-panel,
.room-card {
  border: 1px solid rgba(238, 230, 214, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 0%, rgba(216, 168, 96, 0.08), transparent 16rem),
    rgba(8, 7, 6, 0.58);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}
.room-card {
  min-height: 520px;
  display: grid;
  align-content: end;
  gap: 18px;
  overflow: hidden;
}
.room-card::before {
  content: "";
  display: block;
  min-height: 180px;
  margin: calc(clamp(18px, 3vw, 26px) * -1) calc(clamp(18px, 3vw, 26px) * -1) 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.72)),
    radial-gradient(circle at 52% 48%, rgba(216, 168, 96, 0.28), transparent 9rem),
    linear-gradient(135deg, #111923, #050505);
}
.room-card.is-future::before {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.76)),
    radial-gradient(circle at 40% 38%, rgba(238, 230, 214, 0.12), transparent 10rem),
    linear-gradient(135deg, #181713, #050505);
}
.room-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.02;
}
.room-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}
.room-card dt {
  color: rgba(216, 168, 96, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.room-card dd {
  margin: 5px 0 0;
  color: rgba(238, 230, 214, 0.7);
  line-height: 1.52;
}
.room-link {
  min-height: 42px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 168, 96, 0.36);
  border-radius: 999px;
  background: rgba(216, 168, 96, 0.1);
  color: var(--ivory);
  padding: 0 16px;
  text-decoration: none;
}
.room-link:hover {
  border-color: rgba(216, 168, 96, 0.78);
  background: rgba(216, 168, 96, 0.16);
}
.memory-card.is-pending {
  border-color: rgba(216, 168, 96, 0.32);
}
.memory-type {
  margin: 0 0 14px;
  color: rgba(216, 168, 96, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.memory-card blockquote {
  margin: 0;
  color: rgba(238, 230, 214, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
}
.memory-meta,
.window-item p,
.resident-panel p {
  color: rgba(238, 230, 214, 0.64);
  line-height: 1.62;
}
.memory-stats,
.resident-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.memory-stats span,
.resident-metrics span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(238, 230, 214, 0.08);
  color: rgba(238, 230, 214, 0.68);
  font-size: 12px;
}
.archive-card dl {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
}
.archive-card dt {
  color: rgba(216, 168, 96, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.archive-card dd {
  margin: 6px 0 0;
  color: rgba(238, 230, 214, 0.76);
  line-height: 1.5;
}
.window-item {
  display: grid;
  gap: 12px;
}
.window-item h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
}
.window-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.reflection-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.reflection-form[hidden] {
  display: none;
}
.door-paths {
  padding: 0 0 clamp(42px, 7vh, 72px);
}
.resident-panel {
  max-width: 760px;
}
@keyframes earthWindowDrift {
  0% { transform: scale(1.04) translate3d(0, 0, 0); filter: saturate(0.92); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); filter: saturate(1.08); }
}
@keyframes lampWindowGlow {
  0%, 100% { opacity: 0.42; transform: translate(-50%, -50%) scale(0.88); }
  50% { opacity: 0.86; transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes lamp-breath {
  0%, 100% { opacity: 0.62; transform: translateX(-50%) scale(0.95); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
@keyframes mist-drift {
  0% { transform: translate3d(-2%, 0, 0); }
  100% { transform: translate3d(3%, -2%, 0); }
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(9px, -9px, 0); }
}
@keyframes breathe-cycle {
  0%, 100% { transform: scale(0.78); opacity: 0.56; }
  50% { transform: scale(1); opacity: 1; }
}
@media (max-width: 640px) {
  .top-chrome {
    padding: 14px 16px;
  }
  .arrival-copy {
    padding-top: 0;
  }
  .dock-copy {
    margin-left: 20px;
  }
  .part-nav {
    max-width: 210px;
  }
  .window-quiet {
    grid-template-columns: 1fr;
  }
  .window-image {
    min-height: 44svh;
  }
  .earth-info {
    grid-template-columns: 1fr;
  }
  .recorded-date {
    text-align: center;
  }
  .earth-lamp {
    padding-top: 88px;
  }
  .lamp-title-overlay {
    padding: 58px 18px 18px;
    font-size: clamp(24px, 8vw, 34px);
  }
  .lamp-actions {
    gap: 14px 20px;
  }
  .lamp-bottom-nav {
    border-radius: 24px;
  }
  .lamp-bottom-nav a {
    min-width: 78px;
  }
  .v71-band,
  .memory-grid,
  .window-curated-grid,
  .archive-grid,
  .door-paths,
  .room-grid {
    grid-template-columns: 1fr;
  }
  .v71-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 112px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
