@charset "UTF-8";

:root {
  --paper: #f3efe5;
  --paper-deep: #e8e2d4;
  --ink: #26342e;
  --ink-soft: #5f6963;
  --line: rgba(38, 52, 46, 0.18);
  --moss: #778b72;
  --sea: #789e9a;
  --sun: #e6bc59;
  --coral: #e86d4f;
  --blue: #6f91a4;
  --rose: #c98c83;
  --sky-hue: 194;
  --page: min(1180px, calc(100vw - 64px));
  --serif: "Iowan Old Style", "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 5%, hsla(var(--sky-hue), 45%, 78%, 0.3), transparent 29rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  color: #fffaf0;
  background: var(--coral);
}

a,
button {
  color: inherit;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.sun-wash {
  position: absolute;
  width: 38vw;
  height: 38vw;
  min-width: 360px;
  min-height: 360px;
  top: -20vw;
  right: -8vw;
  border-radius: 50%;
  background: hsla(var(--sky-hue), 54%, 72%, 0.24);
  filter: blur(30px);
}

.contour-field {
  width: 100%;
  height: 100%;
  color: rgba(75, 104, 92, 0.07);
}

.contour-field path {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 22px 32px;
  transition: padding 300ms ease, background 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(38, 52, 46, 0.1);
  background: rgba(243, 239, 229, 0.88);
  backdrop-filter: blur(16px);
}

.site-mark {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.site-mark__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transition: transform 500ms var(--ease-out), background 300ms ease;
}

.site-mark:hover .site-mark__glyph {
  background: var(--sun);
  transform: rotate(120deg);
}

.site-mark strong,
.site-mark small {
  display: block;
  line-height: 1.15;
}

.site-mark strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-mark small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  gap: 28px;
  justify-self: center;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform 250ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--ink);
}

.local-time {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.local-time__dot {
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(230, 188, 89, 0.16);
}

.section {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 150px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.coordinates__intro h2,
.horizon h2,
.contact h2,
.fragment-machine h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.section-heading > p:last-child,
.section-heading--split > p {
  color: var(--ink-soft);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.55fr);
  gap: 80px;
  align-items: end;
  max-width: none;
}

.section-heading--split > p {
  margin: 0 0 8px;
  font-size: 14px;
}

.opening {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(500px, 1.14fr);
  align-items: center;
  width: min(1360px, calc(100vw - 80px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 110px 0 60px;
}

.opening__copy {
  position: relative;
  z-index: 5;
  padding-left: 6vw;
}

.opening h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(65px, 7.5vw, 118px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.opening h1 span {
  position: relative;
  white-space: nowrap;
}

.opening h1 span::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0.05em;
  left: 0;
  height: 0.16em;
  border-radius: 50%;
  background: var(--sun);
  content: "";
  transform: rotate(-1.5deg);
}

.opening__lede {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.world {
  position: relative;
  height: min(76vh, 690px);
  min-height: 570px;
}

.world__halo {
  position: absolute;
  top: 8%;
  right: 5%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(203, 219, 206, 0.1) 60%, transparent 72%);
}

.island {
  position: absolute;
  inset: 2% -2% auto auto;
  width: min(100%, 720px);
  overflow: visible;
}

.island__lines {
  stroke: rgba(39, 65, 55, 0.36);
  stroke-width: 1;
}

.island__river {
  stroke: rgba(91, 142, 154, 0.65);
  stroke-width: 4;
  stroke-linecap: round;
}

.island__lake {
  fill: #8fb6ba;
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 5;
}

.island__trees {
  fill: rgba(53, 87, 65, 0.7);
}

.map-pin {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(38, 52, 46, 0.18);
  border-radius: 30px;
  background: rgba(248, 245, 235, 0.87);
  box-shadow: 0 8px 28px rgba(53, 67, 58, 0.08);
  font-size: 11px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, background 300ms ease;
}

.map-pin:hover {
  z-index: 5;
  background: #fffaf0;
  box-shadow: 0 12px 32px rgba(53, 67, 58, 0.14);
  transform: translateY(-4px) !important;
}

.map-pin span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 8px;
}

.map-pin strong {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.map-pin--now {
  top: 29%;
  left: 35%;
}

.map-pin--likes {
  top: 51%;
  right: 9%;
}

.map-pin--memories {
  right: 34%;
  bottom: 18%;
}

.map-pin--future {
  top: 15%;
  right: 15%;
}

.map-pin--future span {
  background: var(--coral);
}

.secret-stone {
  position: absolute;
  z-index: 4;
  right: 18%;
  bottom: 22%;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #71837a;
  cursor: pointer;
  opacity: 0.8;
  transform: rotate(-12deg);
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}

.secret-stone:hover {
  opacity: 1;
  transform: rotate(7deg) translateY(-3px);
}

.secret-message {
  position: absolute;
  z-index: 6;
  right: 5%;
  bottom: 11%;
  max-width: 180px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 250ms ease;
}

.secret-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-invitation {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-invitation i {
  position: relative;
  display: block;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: var(--line);
}

.scroll-invitation i::after {
  position: absolute;
  inset: 0;
  background: var(--ink);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
  transform: translateY(-100%);
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

.signal {
  padding-top: 110px;
}

.signal .section-heading {
  margin-bottom: 72px;
}

.signal-lines {
  border-top: 1px solid var(--ink);
}

.signal-line {
  display: grid;
  grid-template-columns: 55px 1fr 130px;
  align-items: baseline;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 300ms var(--ease-out), color 200ms ease;
}

.signal-line:hover {
  padding-right: 14px;
  padding-left: 14px;
  color: var(--coral);
}

.signal-line__index,
.signal-line__note {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-line p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 33px);
  line-height: 1.4;
}

.signal-line p strong {
  font-weight: 500;
}

.signal-line__note {
  text-align: right;
}

.now {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 8vw;
  align-items: start;
}

.now__weather {
  position: sticky;
  top: 150px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.now__time {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 112px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.now__period {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.section-intro {
  max-width: 590px;
  margin-top: 32px;
  color: var(--ink-soft);
}

.now-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: var(--line);
}

.now-note {
  min-height: 250px;
  padding: 30px;
  background: var(--paper);
}

.now-note--wide {
  grid-column: span 2;
  min-height: 220px;
}

.now-note--accent {
  color: #fffaf0;
  background: var(--coral);
}

.now-note--quiet {
  background: #dce4d6;
}

.now-note > span {
  color: currentColor;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.now-note p {
  max-width: 570px;
  margin: 35px 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 35px);
  line-height: 1.45;
}

.now-note small {
  color: currentColor;
  font-size: 10px;
  opacity: 0.7;
}

.text-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.text-button b {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.record-mini {
  display: block;
  width: 26px;
  height: 26px;
  border: 7px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: inset 0 0 0 1px var(--paper);
}

.text-button[aria-pressed="true"] .record-mini {
  animation: record-spin 1.8s linear infinite;
}

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

.affinity {
  --interest: var(--coral);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 8vw;
  align-items: center;
  min-height: 620px;
  margin-top: 80px;
  padding: 50px 0;
}

.affinity__map {
  position: relative;
  aspect-ratio: 1.12;
}

.affinity__map > svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(38, 52, 46, 0.14);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}

.affinity-point {
  position: absolute;
  display: grid;
  place-items: center;
  width: 85px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.affinity-point i {
  position: absolute;
  z-index: -1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  transition: width 450ms var(--ease-out), height 450ms var(--ease-out), background 300ms ease;
}

.affinity-point span {
  font-family: var(--serif);
  font-size: 14px;
  opacity: 0;
  transform: translateY(5px);
  transition: 300ms ease;
}

.affinity-point:hover i,
.affinity-point.is-active i {
  width: 78px;
  height: 78px;
  background: var(--interest);
}

.affinity-point:hover span,
.affinity-point.is-active span {
  opacity: 1;
  transform: translateY(0);
}

.affinity-point--sound { top: 32%; left: 22%; }
.affinity-point--film { top: 11%; right: 29%; }
.affinity-point--book { right: 11%; bottom: 30%; }
.affinity-point--travel { bottom: 10%; left: 35%; }
.affinity-point--objects { top: 14%; left: 8%; }

.affinity__story {
  position: relative;
  min-height: 450px;
  padding: 35px 0 35px 38px;
  border-left: 1px solid var(--ink);
}

.affinity__number {
  margin: 0 0 40px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.affinity__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--interest);
  font-family: var(--serif);
  font-size: 31px;
  transition: color 350ms ease, transform 350ms var(--ease-out);
}

.affinity__story.is-changing .affinity__icon {
  transform: rotate(20deg) scale(0.8);
}

.affinity__story h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 45px);
  font-weight: 500;
  line-height: 1.25;
}

.affinity__story > p:not(.eyebrow, .affinity__number) {
  color: var(--ink-soft);
  font-size: 14px;
}

.affinity__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.affinity__tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.memories {
  width: 100%;
  padding-right: max(32px, calc((100vw - 1180px) / 2));
  padding-left: max(32px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.photo-tide {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 0.75fr 1.15fr;
  gap: 22px;
  align-items: center;
  width: 145%;
  margin-top: 100px;
  transform: translateX(-6%);
}

.photo {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.photo__visual {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--sea);
  transition: transform 600ms var(--ease-out), filter 400ms ease;
}

.photo:hover .photo__visual {
  z-index: 2;
  filter: saturate(1.08);
  transform: translateY(-12px) rotate(-0.7deg);
}

.photo__visual::before,
.photo__visual::after,
.photo__visual i {
  position: absolute;
  display: block;
  content: "";
}

.photo--one .photo__visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #ebc86f 0 44%, #e79066 44% 48%, #7a9a90 48%);
}

.photo--one .photo__visual::before {
  right: 14%;
  bottom: 0;
  width: 22%;
  height: 64%;
  background: rgba(244, 237, 215, 0.72);
  clip-path: polygon(42% 0, 100% 100%, 0 100%);
}

.photo--one .photo__visual::after {
  top: 8%;
  right: 9%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff0c2;
  box-shadow: 0 0 50px #fff1b1;
}

.photo--two .photo__visual {
  aspect-ratio: 3 / 5;
  background: linear-gradient(180deg, #8fb6bd, #cbd4bd 48%, #687c61 48%);
}

.photo--two .photo__visual::before,
.photo--two .photo__visual::after {
  bottom: 28%;
  width: 68%;
  height: 36%;
  background: #627363;
  clip-path: polygon(0 100%, 44% 8%, 100% 100%);
}

.photo--two .photo__visual::after {
  right: -20%;
  bottom: 27%;
  background: #7c8e75;
}

.photo--three .photo__visual {
  aspect-ratio: 1;
  background: #d1b99a;
}

.photo--three .photo__visual::before {
  top: 12%;
  left: 18%;
  width: 64%;
  height: 76%;
  border: 9px solid #4c655d;
  background: linear-gradient(160deg, #8db1ae 0 55%, #f1d17c 55%);
  box-shadow: 14px 14px 0 rgba(76, 101, 93, 0.25);
}

.photo--three .photo__visual::after {
  right: 8%;
  bottom: 5%;
  width: 30%;
  height: 43%;
  border-radius: 50% 50% 0 0;
  background: #6d856d;
}

.photo--four .photo__visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, #cf897d 0 48%, #efe2bc 48% 52%, #7e9996 52%);
}

.photo--four .photo__visual::before {
  top: 20%;
  left: 16%;
  width: 38%;
  height: 54%;
  border-radius: 50% 50% 4px 4px;
  background: rgba(58, 69, 62, 0.24);
}

.photo--four .photo__visual::after {
  top: 13%;
  right: 8%;
  width: 24%;
  height: 32%;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
}

.photo--five .photo__visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #768c84, #91a69c 53%, #d5b15b 53%);
}

.photo--five .photo__visual::before {
  top: 16%;
  left: 27%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ebc4a1;
}

.photo--five .photo__visual::after {
  bottom: -18%;
  left: 10%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 0;
  background: #c55e4c;
}

.photo__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
}

.photo__meta b {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

.photo__meta small {
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.fragments {
  padding-top: 80px;
}

.fragment-machine {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
  overflow: hidden;
  border-radius: 50% 50% 4px 4px / 12% 12% 4px 4px;
  color: #f9f5e9;
  background: #314b45;
}

.fragment-machine__rings {
  position: absolute;
  inset: 0;
}

.fragment-machine__rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 235, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.fragment-machine__rings i:nth-child(2) { width: 510px; }
.fragment-machine__rings i:nth-child(3) { width: 780px; }

.fragment-machine__content {
  position: relative;
  z-index: 2;
  width: min(670px, 75%);
  text-align: center;
}

.fragment-machine .eyebrow {
  color: rgba(255, 250, 235, 0.6);
}

.fragment-machine h2 {
  font-size: clamp(39px, 5vw, 66px);
}

.fragment-machine blockquote {
  min-height: 4em;
  margin: 55px 0 14px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.5;
}

.fragment-machine__meta {
  color: rgba(255, 250, 235, 0.52);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.round-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding: 12px 13px 12px 20px;
  border: 1px solid rgba(255, 250, 235, 0.5);
  border-radius: 40px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: color 250ms ease, background 250ms ease;
}

.round-button span {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.round-button i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral);
  font-style: normal;
}

.round-button:hover {
  color: var(--ink);
  background: #f9f5e9;
}

.round-button.is-shuffling i {
  animation: record-spin 500ms ease;
}

.coordinates {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 10vw;
}

.coordinates__intro {
  position: sticky;
  top: 140px;
  align-self: start;
}

.coordinates__intro p:last-child {
  max-width: 450px;
  margin-top: 34px;
  color: var(--ink-soft);
}

.life-line {
  position: relative;
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
}

.life-line::before {
  position: absolute;
  top: 16px;
  bottom: 190px;
  left: 8px;
  width: 1px;
  background: linear-gradient(var(--ink), var(--sea), transparent);
  content: "";
}

.life-point {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 35px;
  min-height: 250px;
  padding: 0 0 80px 45px;
}

.life-point::before {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  content: "";
}

.life-point--current::before {
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--coral), 0 0 0 8px rgba(232, 109, 79, 0.12);
}

.life-point--future {
  opacity: 0.58;
}

.life-point--future::before {
  background: var(--paper);
}

.life-point__when {
  padding-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.life-point h3 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.3;
}

.life-point p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.horizon {
  width: 100%;
  min-height: 820px;
  padding: 0;
  overflow: hidden;
  color: #263e39;
  background: linear-gradient(180deg, #b9d2ce, #dce0c6 58%, #d2b870 58%, #a78554);
}

.horizon__sky {
  position: absolute;
  inset: 0;
}

.horizon__sun {
  position: absolute;
  top: 18%;
  right: 17%;
  width: clamp(110px, 15vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f3c85c;
  box-shadow: 0 0 80px rgba(249, 218, 131, 0.45);
}

.horizon__sky i {
  position: absolute;
  right: -10%;
  bottom: -24%;
  left: -10%;
  height: 58%;
  border-radius: 50% 50% 0 0;
  background: #849a77;
}

.horizon__sky i:nth-of-type(2) {
  bottom: -34%;
  left: 29%;
  height: 72%;
  background: #738d73;
  transform: rotate(-8deg);
}

.horizon__sky i:nth-of-type(3) {
  bottom: -50%;
  left: -36%;
  height: 73%;
  background: #5c7567;
  transform: rotate(13deg);
}

.horizon__sky i:nth-of-type(4) {
  right: 57%;
  bottom: 13%;
  left: auto;
  width: 2px;
  height: 31%;
  border-radius: 0;
  background: rgba(38, 62, 57, 0.42);
  transform: rotate(23deg);
}

.horizon__content {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100vw - 64px));
  margin: 0 auto;
  padding-top: 170px;
}

.horizon__content h2 {
  max-width: 720px;
}

.horizon ul {
  width: min(550px, 100%);
  margin: 70px 0 0;
  padding: 0;
  border-top: 1px solid currentColor;
  list-style: none;
}

.horizon li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(38, 62, 57, 0.3);
  font-family: var(--serif);
  font-size: 17px;
}

.horizon li span {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.contact {
  display: grid;
  place-items: center;
  min-height: 800px;
  text-align: center;
}

.contact__orbit {
  position: absolute;
  inset: 10% 0;
}

.contact__orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 58%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(5deg);
}

.contact__orbit i:nth-child(2) {
  width: 92%;
  height: 78%;
  transform: translate(-50%, -50%) rotate(-7deg);
}

.contact__orbit i:nth-child(3) {
  top: 26%;
  left: 88%;
  width: 15px;
  height: 15px;
  border: 0;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(232, 109, 79, 0.12);
}

.contact__copy {
  position: relative;
  z-index: 2;
}

.contact__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 32px auto 0;
  color: var(--ink-soft);
}

.contact__links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 45px;
}

.primary-link,
.secondary-link {
  min-width: 190px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 40px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 250ms var(--ease-out), background 250ms ease, color 250ms ease;
}

.primary-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 25px;
  color: var(--paper);
  background: var(--ink);
}

.secondary-link {
  color: var(--ink);
  background: transparent;
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-3px);
}

.secondary-link:hover {
  color: var(--paper);
  background: var(--coral);
}

.contact__copy > small {
  display: block;
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 9px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: var(--page);
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--ink);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.07em;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 30px;
}

.site-footer a {
  text-decoration: none;
}

.photo-dialog {
  width: min(850px, calc(100vw - 40px));
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(23, 34, 29, 0.28);
}

.photo-dialog[open] {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  animation: dialog-in 380ms var(--ease-out);
}

.photo-dialog::backdrop {
  background: rgba(33, 46, 40, 0.67);
  backdrop-filter: blur(8px);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
}

.photo-dialog__visual {
  position: relative;
  height: min(68vh, 620px);
  overflow: hidden;
  background: linear-gradient(145deg, #d8b269, #d87b62 45%, #789992 45%);
}

.photo-dialog__visual::before {
  position: absolute;
  top: 14%;
  right: 12%;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe9aa;
  box-shadow: 0 0 80px #ffecb2;
  content: "";
}

.photo-dialog__visual::after {
  position: absolute;
  right: -15%;
  bottom: -20%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #687e70;
  content: "";
}

.photo-dialog > div:last-child {
  padding: 40px;
}

.photo-dialog h2 {
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 500;
  line-height: 1.15;
}

.photo-dialog p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
}

.photo-dialog__close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(243, 239, 229, 0.86);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.cursor-orbit {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(38, 52, 46, 0.45);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 200ms ease, height 200ms ease, opacity 200ms ease, background 200ms ease;
}

.cursor-orbit.is-visible { opacity: 1; }
.cursor-orbit.is-hovering {
  width: 42px;
  height: 42px;
  border-color: rgba(232, 109, 79, 0.55);
  background: rgba(232, 109, 79, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[data-period="night"] {
  --paper: #e8e9df;
  --paper-deep: #d9ddd4;
  --ink: #253a39;
  --ink-soft: #61716f;
  --sun: #d2b66d;
}

html[data-period="night"] .local-time__dot {
  background: #8199af;
  box-shadow: 0 0 0 4px rgba(129, 153, 175, 0.16);
}

@media (max-width: 1000px) {
  :root { --page: min(100% - 40px, 820px); }
  .site-header { padding: 18px 22px; }
  .site-nav { gap: 18px; }
  .opening {
    grid-template-columns: 1fr;
    width: min(100% - 40px, 820px);
    min-height: auto;
    padding-top: 150px;
  }
  .opening__copy { padding-left: 0; }
  .opening h1 { font-size: clamp(62px, 12vw, 104px); }
  .world { height: 650px; }
  .island { right: 50%; width: min(760px, 100%); transform: translateX(50%); }
  .scroll-invitation { display: none; }
  .section { padding: 115px 0; }
  .now { grid-template-columns: 1fr; gap: 50px; }
  .now__weather { position: relative; top: 0; }
  .now__time { font-size: 82px; }
  .affinity { grid-template-columns: 1fr; gap: 30px; }
  .affinity__map { max-width: 660px; margin: 0 auto; }
  .affinity__story { min-height: auto; }
  .photo-tide { width: 190%; }
  .coordinates { grid-template-columns: 1fr; gap: 40px; }
  .coordinates__intro { position: relative; top: 0; }
  .life-line { margin-top: 20px; margin-left: 3vw; }
}

@media (max-width: 700px) {
  :root { --page: calc(100vw - 36px); }
  body { font-size: 14px; }
  .site-header { grid-template-columns: 1fr auto; padding: 14px 18px; }
  .site-header.is-scrolled { padding: 10px 18px; }
  .site-nav { display: none; }
  .site-mark__glyph { width: 30px; height: 30px; }
  .site-mark strong { font-size: 13px; }
  .local-time { font-size: 9px; }
  .opening { width: var(--page); padding-top: 120px; }
  .opening .eyebrow { max-width: 280px; }
  .opening h1 { font-size: clamp(50px, 16vw, 78px); line-height: 1; }
  .opening h1 span { white-space: normal; }
  .opening__lede { margin-top: 25px; font-size: 14px; }
  .world { height: 490px; min-height: 490px; margin-top: 18px; }
  .island { top: 5%; width: 110%; }
  .map-pin { padding: 6px 9px 6px 6px; }
  .map-pin span { width: 21px; height: 21px; }
  .map-pin strong { font-size: 9px; }
  .map-pin--now { top: 27%; left: 12%; }
  .map-pin--likes { top: 49%; right: -1%; }
  .map-pin--memories { right: 25%; bottom: 13%; }
  .map-pin--future { top: 13%; right: 2%; }
  .secret-stone { right: 14%; bottom: 17%; }
  .secret-message { right: 0; bottom: 5%; }
  .section { padding: 88px 0; }
  .section-heading h2,
  .coordinates__intro h2,
  .horizon h2,
  .contact h2,
  .fragment-machine h2 { font-size: clamp(38px, 12vw, 55px); }
  .section-heading--split { grid-template-columns: 1fr; gap: 24px; }
  .signal .section-heading { margin-bottom: 45px; }
  .signal-line { grid-template-columns: 30px 1fr; gap: 12px; padding: 20px 0; }
  .signal-line__note { display: none; }
  .signal-line p { font-size: 20px; }
  .now { gap: 25px; }
  .now__weather { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 15px; }
  .now__weather .eyebrow { width: 100%; }
  .now__time { font-size: 64px; }
  .now-notes { grid-template-columns: 1fr; margin-top: 45px; }
  .now-note,
  .now-note--wide { grid-column: span 1; min-height: 215px; padding: 24px; }
  .now-note p { margin: 28px 0; font-size: 24px; }
  .affinity { min-height: 0; margin-top: 35px; padding: 0; }
  .affinity__map { width: 110%; margin-left: -5%; }
  .affinity-point { width: 66px; }
  .affinity-point i { width: 18px; height: 18px; }
  .affinity-point:hover i,
  .affinity-point.is-active i { width: 62px; height: 62px; }
  .affinity__story { padding: 30px 0 0; border-top: 1px solid var(--ink); border-left: 0; }
  .affinity__icon { width: 53px; height: 53px; margin-bottom: 28px; font-size: 25px; }
  .affinity__story h3 { font-size: 32px; }
  .memories { padding-right: 18px; padding-left: 18px; }
  .photo-tide {
    grid-template-columns: 72vw 55vw 72vw 60vw 72vw;
    width: max-content;
    margin-top: 55px;
    padding: 0 6vw 25px 0;
    overflow: visible;
    transform: none;
  }
  .memories { overflow-x: auto; scrollbar-width: thin; }
  .memories .section-heading { position: sticky; left: 0; width: calc(100vw - 36px); }
  .photo__meta { padding-top: 10px; }
  .fragment-machine { min-height: 590px; border-radius: 140px 140px 3px 3px / 55px 55px 3px 3px; }
  .fragment-machine__content { width: 82%; }
  .fragment-machine blockquote { margin-top: 40px; font-size: 25px; }
  .fragment-machine__rings i:nth-child(2) { width: 430px; }
  .fragment-machine__rings i:nth-child(3) { width: 640px; }
  .coordinates { gap: 15px; }
  .life-line { margin-left: 0; }
  .life-point { grid-template-columns: 1fr; gap: 15px; min-height: 260px; padding-left: 36px; }
  .life-point h3 { font-size: 29px; }
  .horizon { min-height: 760px; }
  .horizon__content { width: var(--page); padding-top: 100px; }
  .horizon__sun { top: 10%; right: -5%; }
  .horizon ul { margin-top: 50px; }
  .horizon li { font-size: 14px; }
  .contact { min-height: 650px; }
  .contact__links { flex-direction: column; align-items: stretch; }
  .primary-link { justify-content: center; }
  .contact__copy > small { padding: 0 20px; }
  .site-footer { flex-direction: column; gap: 15px; }
  .site-footer div { justify-content: space-between; }
  .photo-dialog[open] { grid-template-columns: 1fr; }
  .photo-dialog__visual { height: 46vh; min-height: 320px; }
  .photo-dialog > div:last-child { padding: 28px; }
  .photo-dialog h2 { font-size: 35px; }
  .cursor-orbit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  [data-depth] { transform: none !important; }
}

@media print {
  .site-header,
  .atmosphere,
  .cursor-orbit,
  .scroll-invitation { display: none; }
  .opening { min-height: auto; }
  .section { padding: 60px 0; break-inside: avoid; }
  .reveal { opacity: 1; transform: none; }
}
