/* Theorify /3 — visual system shared by the homepage and its detail pages. */
:root {
  color-scheme: light;
  --ink: #0a2223;
  --muted: #4c6059;
  --paper: #fff;
  --chalk: #f1f3f0;
  --line: #d7ddd8;
  --night: #092527;
  --lime: #baff19;
  --lime-dark: #355c03;
  --gutter: clamp(20px, 3.55vw, 92px);
  --ease: cubic-bezier(.2,.72,.22,1);
  --edge: clamp(15px, 2.8vw, 42px);
  --radius: 18px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 115px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; isolation: isolate; }
#main { position: relative; }
.paper-motion-area {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.paper-motion {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 5.55vw, 7.25rem); line-height: .995; letter-spacing: -.066em; }
h2 { font-size: clamp(2.05rem, 3.4vw, 4.55rem); line-height: 1.06; letter-spacing: -.051em; }
h3 { font-size: clamp(1.38rem, 2.05vw, 2.52rem); line-height: 1.12; letter-spacing: -.035em; }
p, li { line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid #526d0d; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), 1720px); margin-inline: auto; }
.readable { width: min(100% - 2 * var(--gutter), 850px); margin-inline: auto; }
.section { padding-block: clamp(70px, 9vw, 156px); }
.section-tight { padding-block: clamp(46px, 6vw, 96px); }
.section-soft { position: relative; background: var(--chalk); }
.section-dark { background: var(--night); color: #fff; }
.meta {
  font: 700 .7rem/1.25 "IBM Plex Mono", Consolas, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker { color: var(--muted); font-size: 1rem; font-weight: 550; }
.section-dark .kicker { color: #b8cbc4; }
.section-heading { max-width: 790px; text-align: center; margin: 0 auto clamp(30px, 4.3vw, 78px); }
.section-heading > * + * { margin-top: 15px; }
.section-heading p:not(.kicker) { color: var(--muted); max-width: 66ch; margin-inline: auto; font-size: 1.05rem; }
.section-dark .section-heading p:not(.kicker) { color: #c6d4d0; }
.lead { font-size: clamp(1.04rem, 1.45vw, 1.3rem); line-height: 1.62; }
.button, .icon-button, .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  background: var(--chalk);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.button { font: 700 .73rem/1.16 "IBM Plex Mono", Consolas, monospace; text-transform: uppercase; letter-spacing: .105em; text-align: center; }
.button.lime { background: var(--lime); }
.button.white { background: #fff; }
.button.gray { background: #e4e6e3; }
.button.ghost { color: #fff; background: #0d191983; border-color: #ffffff60; }
.button.dark, .icon-button:not(:disabled) { background: var(--night); color: #fff; }
.icon-button:hover:not(:disabled) { background: #173b38; }
.button:focus-visible { background: var(--night); color: var(--lime); }
.button:focus-visible .button-label { text-decoration: underline; text-underline-offset: .31em; }
@media (hover: hover) {
  .button:hover:not(:disabled) { background: var(--night); color: var(--lime); }
  .button:hover:not(:disabled) .button-label { text-decoration: underline; text-underline-offset: .31em; }
}
.arrow { font-family: system-ui, sans-serif; line-height: 1; font-size: 1.03rem; }
.text-link { display: inline-flex; align-items: baseline; gap: .56em; text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 600; }
.text-link:hover { color: var(--lime-dark); }
.skip { position: fixed; z-index: 60; top: 8px; left: 8px; transform: translateY(-200%); padding: 12px 18px; background: var(--lime); }
.skip:focus { transform: none; }

/* Compact floating navigation and its full-width product menu. */
.mast {
  position: fixed;
  z-index: 30;
  top: clamp(12px, 2.6vw, 45px);
  left: 50%;
  width: min(1164px, calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%);
}
.mast-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 1.4vw, 28px);
  min-height: 69px;
  padding: 12px clamp(12px, 1.65vw, 29px);
  border: 1px solid transparent;
  border-radius: 9px;
  background: #28322dc2;
  color: #fff;
  box-shadow: 0 2px 12px #0a18131a;
}
@supports (backdrop-filter: blur(8px)) {
  @media (min-width: 1001px) {
    .mast-bar { background: #2e322db7; backdrop-filter: blur(12px) saturate(.78); }
  }
}
.mast .brand, .footer .brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 120px; height: auto; filter: brightness(0) invert(1); }
.mast-links, .mast-actions { display: flex; align-items: center; gap: clamp(5px, 1.22vw, 23px); }
.mast-links { justify-content: center; }
.mast-actions { gap: 8px; }
.mast-links > a, .mobile-toggle {
  padding: 9px 3px;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 620;
  white-space: nowrap;
}
.mast-links > a:hover, .mast-link[aria-expanded="true"], .mast-links a[aria-current="page"] { color: var(--lime); }
.chevron { display: inline-block; margin-left: 3px; transition: transform .3s var(--ease); }
.mast-link[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.mast-actions .button { min-height: 42px; min-width: 101px; padding: 6px 11px; font-size: .67rem; }
.mobile-toggle { display: none; }
.mega, .mobile-nav {
  position: absolute;
  inset: calc(100% + 7px) 0 auto;
  overflow: auto;
  max-height: calc(100svh - 116px);
  background: #28332ef5;
  color: #fff;
  border-radius: 9px;
  padding: 20px;
  box-shadow: 0 24px 60px #06201e30;
  animation: menu-in .35s var(--ease) both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-7px); } }
.mega-link, .mobile-nav a {
  text-align: left;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  padding: 12px;
}
.mega-link.is-current, .mega-link:hover, .mobile-nav a:hover { background: #ffffff14; color: var(--lime); }
.mast :focus-visible, .section-dark :focus-visible, .footer :focus-visible { outline-color: var(--lime); }

/* Scroll-led opening, containing only still images and transform/opacity motion. */
.film { background: #101b1b; color: #fff; position: relative; }
.film[data-motion] { height: 247svh; }
.film-stage { position: sticky; inset: 0 0 auto; height: 100svh; min-height: 510px; isolation: isolate; overflow: hidden; }
.film-stills, .film-still, .film-still img, .film-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-still { opacity: 0; transition: opacity .9s var(--ease); }
.film-still:first-child { opacity: 1; }
.film-still img { object-fit: cover; object-position: center 57%; scale: 1.018; }
.film[data-scene="1"] .film-still:nth-child(2), .film[data-scene="2"] .film-still:nth-child(3) { opacity: 1; }
.film[data-scene="1"] .film-still:nth-child(2) img, .film[data-scene="2"] .film-still:nth-child(3) img { animation: drift 1.8s var(--ease) both; }
@keyframes drift { from { scale: 1.073; } to { scale: 1.018; } }
.film-shade { background: linear-gradient(0deg, #071512f7 1%, #071310bf 14%, #0813111f 54%, transparent 77%); pointer-events: none; }
.film-copy { position: absolute; inset: auto 0 clamp(87px, 12svh, 145px); text-align: center; }
.film-copy .scene { max-width: 1050px; margin-inline: auto; animation: scene-in .8s var(--ease) both; }
.film-copy h1, .film-copy h2 { font-size: clamp(3rem, 5.35vw, 6.1rem); letter-spacing: -.06em; line-height: 1.01; text-shadow: 0 3px 26px #040a06aa; }
.film-copy p { max-width: 54ch; margin: 18px auto 0; color: #f4f7f2; font-size: clamp(1rem, 1.35vw, 1.22rem); text-wrap: balance; }
@keyframes scene-in { from { opacity: 0; transform: translateY(22px); } }
.film-next {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(42px, 6.1svh, 77px);
  translate: -50% 0;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 11px;
}
.film-next:hover { color: var(--lime); }
.seam {
  background: var(--seam-color, var(--paper));
  height: clamp(26px, 4.7vw, 38px);
  position: absolute;
  inset: auto 0 -1px;
  pointer-events: none;
}

/* Wide, stepped photographs on the product pages and inside cards. */
.edge {
  --cut: clamp(14px, 2.75vw, 40px);
  overflow: hidden;
  isolation: isolate;
  position: relative;
  display: block;
  background: #bbc6bc;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  clip-path: polygon(0 var(--cut), 15% var(--cut), 19% 0, 81% 0, 85% var(--cut), 100% var(--cut), 100% 100%, 0 100%);
}
@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
  .edge {
    clip-path: shape(from 0 var(--cut), line to 15% var(--cut), curve to 19% 0 with 16.3% var(--cut) / 17.8% 0, line to 81% 0, curve to 85% var(--cut) with 82.2% 0 / 83.7% var(--cut), line to 100% var(--cut), line to 100% 100%, line to 0 100%, close);
  }
}
.edge img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover:hover) { a:hover .edge img, .story-card:hover .edge img { transform: scale(1.035); } }
.edge-wide { height: clamp(315px, 49vw, 760px); margin-inline: auto; max-width: 1850px; }
.edge-wide.full { max-width: none; border-radius: 0; }
.story-grid, .module-grid, .journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px, 1.4vw, 24px); }
.story-card, .module-card, .journal-card {
  background: var(--chalk);
  border-radius: var(--radius);
  min-width: 0;
  padding: clamp(17px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.story-card .card-copy { padding-bottom: clamp(22px, 3vw, 44px); }
.card-copy > * + *, .module-card .caption > * + *, .journal-card .caption > * + * { margin-top: 11px; }
.card-copy p:not(.meta), .module-card p, .journal-card p { color: var(--muted); }
.story-card .edge { --cut: clamp(10px, 1.65vw, 24px); height: clamp(170px, 19vw, 300px); margin-top: auto; }
.story-card .button { align-self: stretch; justify-content: space-between; margin-top: 13px; background: #dfe6df; }
.module-card, .journal-card { padding: 0; overflow: hidden; }
.module-card .edge, .journal-card .edge { --cut: clamp(10px, 1.35vw, 21px); aspect-ratio: 1.9; border-radius: 0; }
.module-card .caption, .journal-card .caption { padding: clamp(18px, 2.4vw, 35px); flex: 1; }
.module-card:hover .text-link, .journal-card:hover .text-link { color: var(--lime-dark); }
.module-group + .module-group { margin-top: clamp(44px, 7vw, 105px); }
.module-group > h2 { margin-bottom: 30px; }
.module-group h2 { font-size: clamp(1.9rem, 3vw, 3.5rem); }
.block-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.block-actions.center { justify-content: center; }
.photo-band { position: relative; isolation: isolate; min-height: clamp(430px, 56vw, 720px); display: grid; align-items: center; }
.photo-band .edge { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; border-radius: 0; }
.photo-band::before { content: ""; position: absolute; z-index: -1; inset: var(--edge) 0 0; background: linear-gradient(90deg,#041513ed,#061918bb 46%,#06191828); }
.photo-band .photo-copy { max-width: 670px; color: #fff; padding-block: 100px; }
.photo-copy > * + * { margin-top: 18px; }
.photo-copy .lead { color: #e4ebe6; }

/* Expanding cards and scrollable rails use the same controls everywhere. */
.carousel { --rail-gap: 16px; }
.rail-controls { display: flex; justify-content: space-between; gap: 14px; align-items: start; margin-bottom: clamp(19px, 2.4vw, 34px); }
.rail-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-color: var(--line); background: var(--paper); min-height: 44px; font: 700 .69rem/1.2 "IBM Plex Mono", Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip:hover { background: #eaf0e8; border-color: #bcc8bb; }
.rail-arrows { display: flex; gap: 8px; flex: none; }
.icon-button { width: 46px; min-height: 46px; padding: 0; font-size: 1.14rem; }
.icon-button:disabled { color: #50615a; background: #e8ece8; }
.rail {
  position: relative;
  display: flex;
  gap: var(--rail-gap);
  overflow-x: auto;
  padding: 5px 5px 13px;
  margin: -5px -5px 0;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #b2c0b5 #eff2ee;
  overscroll-behavior-x: contain;
}
.rail-card {
  background: #d9dfd9;
  flex: 0 0 clamp(270px, 26%, 460px);
  min-width: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  scroll-snap-align: start;
  overflow: hidden;
  min-height: clamp(390px, 39vw, 570px);
  border-radius: var(--radius);
  color: var(--ink);
  transition: flex-basis .64s var(--ease), background-color .4s var(--ease), color .35s var(--ease);
}
.rail-card:nth-child(3n) { background: var(--night); color: #fff; }
.rail-card:nth-child(4n) { background: var(--lime); color: var(--ink); }
.rail-card.is-active { flex-basis: clamp(430px, 47%, 780px); color: #fff; background: #1e3431; }
.rail-card .card-media { position: absolute; inset: auto 0 0; z-index: -2; height: 58%; }
.rail-card .card-media .edge { height: 100%; --cut: 22px; border-radius: 0; opacity: .88; transition: opacity .48s var(--ease); }
.rail-card.is-active .card-media { height: 68%; }
.rail-card.is-active::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg,#0c2221 9%,#0c2221e2 41%,#0c222198 66%,#0c222116); }
.rail-card-toggle {
  appearance: none; background: none; border: 0; text-align: left; display: block; width: 100%;
  padding: clamp(22px, 2.7vw, 46px);
  padding-bottom: 0;
  color: inherit;
}
.rail-card-toggle > * + * { margin-top: 12px; }
.rail-card-toggle h3 { font-size: clamp(1.8rem, 2.85vw, 3.2rem); }
.rail-card-toggle .toggle-mark { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; border-radius: 6px; width: 44px; height: 44px; background: #fff; color: var(--ink); }
.rail-card.is-active .toggle-mark { background: var(--lime); }
.rail-card-toggle:focus-visible { outline-offset: -5px; outline-color: #789c2b; }
.rail-card.is-active .rail-card-toggle:focus-visible { outline-color: var(--lime); }
.rail-detail { padding: 16px clamp(22px, 2.7vw, 46px) 70px; max-width: 60ch; animation: scene-in .55s var(--ease) both; }
.rail-detail p { margin-bottom: 18px; color: #f4f6f4; }
.rail-detail .button { min-height: 38px; }
.rail-detail:not([hidden]) { align-self: start; }
.rail-card:not(.is-active) .rail-detail { color: #fff; background: var(--night); margin-top: 12px; }
.film + .section { padding-top: clamp(69px, 9vw, 150px); }

/* Bright, spacious detail page intro with a subtle technical grid. */
.page-intro {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(157px, 21svh, 264px) var(--gutter) clamp(74px, 13svh, 166px);
  overflow: hidden;
}
.page-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(to right,#65786f19 1px,transparent 1px), linear-gradient(to bottom,#65786f19 1px,transparent 1px);
  background-size: clamp(46px, 5.4vw, 80px) clamp(46px, 5.4vw, 80px);
  mask-image: radial-gradient(ellipse at 66% 50%,#000 4%,#0007 31%,transparent 68%);
  pointer-events: none;
}
.page-intro h1 { max-width: 1080px; margin: 14px auto 0; }
.page-intro .lead { max-width: 63ch; color: var(--muted); margin: 25px auto 0; text-wrap: balance; }
.page-intro .block-actions { margin-top: 27px; }
.page-intro.compact { padding-bottom: clamp(44px, 7svh, 94px); }
.page-intro .intro-inner { animation: intro-in .62s var(--ease) both; }
@keyframes intro-in { from { opacity: .12; transform: translateY(17px); } }
.intro-accent { color: #42730a; }
.feature-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.feature-points li { background: var(--chalk); padding: 22px; border-radius: 11px; font-weight: 550; }
.feature-points li::before { content: '✓'; color: var(--lime-dark); margin-right: 10px; }
.details-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px, 3.3vw, 55px); }
.details-pair section { padding: clamp(20px, 3.5vw, 48px); border-radius: var(--radius); background: var(--chalk); }
.details-pair h2 { font-size: clamp(1.7rem, 2.8vw, 3rem); }
.details-pair h2 + * { margin-top: 15px; }
.faq { padding: 0; }
.faq > h2 { margin-bottom: 22px; }
.faq details, .prose details { border-top: 1px solid var(--line); }
.faq details:last-child, .prose details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.faq summary, .prose summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 17px; font-weight: 650; }
.faq summary::after, .prose summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 6px; background: var(--chalk); font-size: 1.2rem; font-weight: 500; }
.faq details[open] summary::after, .prose details[open] summary::after { content: '−'; background: var(--lime); }
.faq details > :not(summary), .prose details > :not(summary) { padding-bottom: 18px; color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.prose { overflow-wrap: break-word; }
.prose > * + *, .prose section > * + *, .prose article > * + * { margin-top: 1.2rem; }
.prose h2, .prose h3 { margin-top: 2.1rem; font-size: clamp(1.45rem, 2.8vw, 2.65rem); }
.prose h4 { margin-top: 1.2rem; font-size: 1.2rem; }
.prose p, .prose li, .prose dd, .prose figcaption { color: #2e4540; line-height: 1.68; }
.prose a { color: #365e0a; text-underline-offset: 3px; }
.prose li + li { margin-top: 7px; }
.prose time { color: var(--muted); }
.prose aside { padding: 20px; background: var(--chalk); border-radius: 10px; }
.prose dt { font-weight: 650; }
.prose dd + dt { margin-top: 14px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: 9px; border-bottom: 1px solid var(--line); }
.tour-facts { list-style: none; padding: 0; margin: 16px 0; }
.tour-facts li + li { margin-top: 7px; }

/* Pricing. */
.pricing-packages { width: min(100%, 1100px); margin-inline: auto; }
.billing {
  --billing-pad: 5px;
  --billing-first: calc((100% - 2 * var(--billing-pad) - 4px) * .43);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 43fr 57fr;
  gap: 4px;
  width: min(100%, 241px);
  margin-inline: auto;
  padding: var(--billing-pad);
  border-radius: 40px;
  background: var(--night);
  color: #fff;
}
.billing::before {
  content: "";
  position: absolute;
  inset: var(--billing-pad) auto var(--billing-pad) var(--billing-pad);
  width: var(--billing-first);
  border-radius: 30px;
  background: var(--paper);
  pointer-events: none;
  transition: left .32s var(--ease), width .32s var(--ease);
}
.billing[data-interval="annual"]::before {
  left: calc(var(--billing-pad) + var(--billing-first) + 4px);
  width: calc(100% - 2 * var(--billing-pad) - var(--billing-first) - 4px);
}
.billing button {
  position: relative;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  touch-action: manipulation;
}
.billing button[aria-pressed="true"] { color: var(--ink); }
.billing button small { margin-left: 4px; font-size: .67rem; }
.billing button:focus-visible { outline-color: var(--lime); outline-offset: 1px; }

.package-carousel { container-type: inline-size; margin: 25px auto 0; }
.price-grid {
  --package-width: clamp(220px, calc(26.6667cqw - 11.73px), 282px);
  --package-gap: 18px;
  display: flex;
  align-items: stretch;
  gap: var(--package-gap);
  padding: 24px max(0px, calc((100cqw - var(--package-width)) / 2)) 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  overflow-anchor: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
}
.price-grid::-webkit-scrollbar { display: none; }
.price-grid:focus-visible { outline-offset: -3px; }
.price-grid.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.price-slide {
  display: flex;
  flex: 0 0 var(--package-width);
  min-width: 0;
  container-type: inline-size;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.price-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 530px;
  padding: clamp(17px, 8.55cqw, 24px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--chalk);
  transform: scale(var(--package-scale, 1));
  transition: transform .28s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
  overflow-wrap: anywhere;
}
.price-slide:nth-child(2) .price-card { background: #e5ebdf; }
.price-slide.is-current .price-card { border-color: #708258; box-shadow: inset 0 0 0 1px #708258, 0 8px 24px #05242413; }
.price-grid.is-dragging .price-card { transition: none; }
.price-card.is-upgraded, .price-slide:nth-child(2) .price-card.is-upgraded { background: var(--night); color: var(--paper); }
.price-card [data-plan-title] { font-size: clamp(1.85rem, 14.1cqw, 2.5rem); font-weight: 620; text-wrap: initial; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; margin-top: 8px; line-height: 1.08; }
.price-line strong { font-size: clamp(1.65rem, 12.9cqw, 2.3rem); font-weight: 630; letter-spacing: -.063em; white-space: nowrap; }
.price-line [data-period], .price-billing { color: var(--muted); font-size: .69rem; }
.price-billing { margin-top: 7px; }
.price-list, .upgrade-list { list-style: none; padding: 0; }
.price-list { display: grid; gap: 7px; margin: 39px 0 14px; }
.price-list li, .upgrade-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .7rem; line-height: 1.45; }
.price-slide:not(:first-child) .price-list li:first-child { font-weight: 650; }
.price-list li::before, .upgrade-list li::before { content: '✓'; flex: none; color: var(--lime-dark); font-weight: 700; }
.price-list small { display: block; margin-top: 2px; color: var(--muted); font-size: .65rem; }
.upgrade { margin-top: auto; padding: 11px 0 16px; border-top: 1px solid #a3b197; }
.upgrade-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.upgrade-heading strong { font-size: .98rem; font-weight: 650; }
.upgrade-switch {
  position: relative;
  flex: none;
  width: 40px;
  height: 22px;
  padding: 2px;
  border: 1px solid #9dab92;
  border-radius: 30px;
  background: #dce5d8;
  touch-action: manipulation;
  transition: background-color .24s var(--ease);
}
.upgrade-switch::before { content: ""; position: absolute; inset: -11px -3px; }
.upgrade-switch span { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 4px #05242438; transition: transform .24s var(--ease); }
.upgrade-switch[aria-checked="true"] { background: var(--lime); border-color: var(--lime); }
.upgrade-switch[aria-checked="true"] span { transform: translateX(18px); }
.upgrade [data-upgrade-state] { min-height: 1.6em; margin-top: 4px; color: var(--muted); font-size: .68rem; }
.upgrade-list { margin: 7px 0 0; }
.upgrade-list li::before { content: '×'; color: #9e452d; }
.is-upgraded .upgrade-list li::before { content: '✓'; }
.is-upgraded :is(.price-billing, [data-period], .price-list small, [data-upgrade-state]) { color: #c6d4d0; }
.is-upgraded :is(.price-list, .upgrade-list) li::before { color: var(--lime); }
.is-upgraded .upgrade { border-color: #a3b19770; }
.is-upgraded .upgrade-switch:focus-visible { outline-color: var(--lime); }
.price-card .button { width: 100%; min-height: 42px; padding: 8px 9px; border-radius: 9px; text-transform: none; letter-spacing: 0; font-size: .79rem; }
.price-card.is-upgraded .button { background: var(--lime); color: var(--ink); }
.price-card.is-upgraded .button:hover { background: var(--paper); color: var(--ink); }

.package-controls { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 2vw, 22px); }
.package-arrow {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid #a3b197; border-radius: 50%;
  background: var(--chalk); color: var(--ink);
  font-size: 1.25rem; line-height: 1; touch-action: manipulation;
}
.package-arrow:hover:not(:disabled) { background: var(--lime); border-color: var(--lime-dark); }
.package-arrow:disabled { opacity: .45; }
.package-dots { display: flex; align-items: center; }
.package-dots button { display: grid; place-items: center; width: 31px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; touch-action: manipulation; }
.package-dots button::before { content: ""; width: 10px; height: 10px; border: 1px solid var(--lime-dark); border-radius: 50%; }
.package-dots button[aria-pressed="true"]::before { background: var(--lime-dark); transform: scale(1.16); }
.package-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.package-hint { display: none; }
.pricing-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.pricing-bottom .text-link { flex: none; font-size: .85rem; }
.price-note, .pricing-details { color: var(--muted); font-size: .84rem; }
.pricing-details { margin-top: 12px; font-size: .76rem; }
@media (max-width: 700px) {
  .pricing-packages { width: calc(100% - 4px); }
  .billing { --billing-pad: 4px; width: min(100%, 191px); }
  .billing button { min-height: 41px; padding-inline: 4px; font-size: .71rem; }
  .billing button small { font-size: .59rem; }
  .package-carousel { width: min(100%, 440px); margin-top: 15px; }
  .price-grid { --package-width: 80cqw; --package-gap: 10px; padding-block: 20px 16px; }
  .price-card { min-height: 595px; border-radius: 22px; }
  .price-card [data-plan-title] { font-size: clamp(1.9rem, 16cqw, 3rem); }
  .price-line strong { font-size: clamp(1.65rem, 15cqw, 2.65rem); }
  .price-list { margin-top: 39px; gap: 9px; }
  .price-list li, .upgrade-list li { font-size: .82rem; }
  .package-hint { display: block; margin-top: 10px; text-align: center; color: var(--muted); font-size: .73rem; }
  .pricing-bottom { flex-direction: column; text-align: center; }
  .pricing-details { text-align: center; }
}

/* Comparison and contact. */
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.comparison { width: 100%; min-width: 510px; border-collapse: collapse; font-size: .95rem; }
.comparison th, .comparison td { padding: 12px clamp(10px, 1.7vw, 22px); border-bottom: 1px solid var(--line); text-align: center; }
.comparison th[scope="row"], .comparison thead th:first-child { text-align: left; }
.comparison thead { background: var(--night); color: #fff; }
.comparison .has { color: var(--lime-dark); font-weight: 800; }
.comparison tbody tr:last-child > * { border-bottom: 0; }
.comparison-modal {
  width: min(830px, calc(100vw - 24px)); max-height: min(83dvh, 730px); border: 1px solid #304a44; border-radius: 14px;
  color: var(--ink); padding: clamp(15px, 3vw, 30px); overscroll-behavior: contain;
}
.comparison-modal::backdrop { background: #0b1c1bd9; }
.comparison-modal h2 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); margin: 4px 46px 16px 0; }
.comparison-modal .close { position: absolute; top: 10px; right: 10px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(24px, 6vw, 105px); align-items: start; }
.contact-intro > * + * { margin-top: 18px; }
.contact-intro .edge { height: clamp(180px, 27vw, 360px); }
.contact-form { background: var(--chalk); padding: clamp(17px, 3.1vw, 40px); border-radius: var(--radius); }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.field-grid label { display: grid; align-content: start; gap: 6px; font-weight: 630; font-size: .94rem; }
.field-grid .wide { grid-column: 1 / -1; }
.field-grid input, .field-grid select, .field-grid textarea {
  width: 100%; padding: 10px 12px; min-height: 47px; border-radius: 6px; border: 1px solid #aebeb2; background: #fff; color: var(--ink); font-size: 1rem;
}
.field-grid textarea { resize: vertical; min-height: 115px; }
.consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; font-size: .91rem; line-height: 1.5; margin: 17px 0; }
.consent input { accent-color: #4e6e16; width: 17px; height: 17px; margin: 3px 0 0; }
.contact-form :disabled { opacity: .62; }
.form-note { margin-top: 12px; color: var(--muted); font-size: .91rem; }
.form-status:not(:empty) { margin-top: 12px; font-weight: 600; }
.form-status[role="alert"] { color: #97271e; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.footer-cta { position: relative; display: grid; align-items: end; min-height: clamp(380px, 44vw, 660px); isolation: isolate; color: #fff; }
.footer-cta .edge { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.footer-cta::before { content:""; position: absolute; z-index: -1; inset: var(--edge) 0 0; background: linear-gradient(0deg,#07191bdd, #07191b33); }
.footer-cta-content { padding-block: clamp(53px,9vw,122px); max-width: 1050px; }
.footer-cta .block-actions { margin-top: 24px; }
.footer { background: var(--night); color: #fff; padding: clamp(37px,5.5vw,70px) 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 26px; }
.footer nav { display: grid; align-content: start; gap: 9px; }
.footer-grid nav > a { justify-self: start; }
.footer .meta { color: #b7cbbf; margin-bottom: 1px; }
.footer a, .footer button { text-underline-offset: 4px; }
.footer a:hover, .footer button:hover { color: var(--lime); }
.footer nav a, .footer-note, .footer-address { color: #e0ebe3; font-size: .93rem; }
.footer-note { margin-top: 10px; max-width: 22ch; }
.footer-address { margin-top: 14px; font-style: normal; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 22px; flex-wrap: wrap; margin-top: 35px; padding-top: 18px; border-top: 1px solid #ffffff36; color: #d0ded4; font-size: .85rem; }
.legal-links { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.motion-control { appearance: none; padding: 0; border: none; background: none; color: #d0ded4; font-size: .85rem; text-decoration: underline; }

[data-reveal].will-reveal { opacity: 0; transform: translateY(22px); }
[data-reveal] { transition: opacity .65s var(--ease), transform .8s var(--ease); }
[data-reveal]:focus-within { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .mast { width: calc(100% - 2 * var(--gutter)); }
  .mast-bar { gap: 10px; padding-inline: 14px; }
  .mast-links { gap: 12px; }
  .mast-actions .button { min-width: 83px; }
  .brand img { width: 108px; }
}
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .mast-bar { grid-template-columns: auto 1fr auto; min-height: 60px; }
  .mast-actions { justify-content: end; }
  .mast-links, .mast-actions .discover, .mast-actions .contact, .mega { display: none; }
  .mobile-toggle { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 5px 4px; }
  .mobile-toggle span { display: grid; gap: 4px; }
  .mobile-toggle span::after, .mobile-toggle span::before { content: ""; display: block; width: 15px; height: 1.5px; background: currentColor; }
  .mobile-nav { display: grid; padding: 10px; }
  .mobile-nav .nav-group { background: #ffffff0c; border-radius: 6px; }
  .mobile-nav details { padding-inline: 11px; }
  .mobile-nav details summary { padding-block: 12px; font-weight: 650; }
  .mobile-nav details summary::after { content: "+"; float: right; }
  .mobile-nav details[open] summary::after { content: "−"; }
  .mobile-nav details a { display: block; }
}
@media (max-width: 900px) {
  .story-grid, .module-grid, .journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .film[data-motion] { height: 203svh; }
  .film-stage { height: 94svh; }
  .story-card .edge { height: clamp(170px, 25vw, 255px); }
  .page-intro { padding-top: clamp(132px, 17svh, 194px); }
  .photo-band { min-height: 455px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --edge: 20px; --radius: 13px; scroll-padding-top: 89px; }
  .mast { top: 10px; }
  .mast-bar { padding: 5px 9px; }
  .brand img { width: 99px; }
  .mast-actions .button { padding-inline: 8px; min-width: 0; min-height: 42px; font-size: .64rem; }
  .mast-actions .button .label-break { display: none; }
  .mast-actions .button .label-space::before { content: " "; }
  .film[data-motion] { height: 183svh; }
  .film-stage { height: 91svh; min-height: 410px; }
  .film-still:first-child img { object-position: 47% center; }
  .film-still:nth-child(2) img { object-position: 43% center; }
  .film-shade { background: linear-gradient(0deg,#071512ff 1%,#071310f0 18%,#07131025 60%,transparent 78%); }
  .film-copy { bottom: 104px; }
  .film-copy h1, .film-copy h2 { font-size: clamp(2.42rem, 9.2vw, 3.65rem); }
  .film-copy p { margin-top: 11px; }
  .film-next { bottom: 48px; }
  .section { padding-block: 65px; }
  .section-heading { margin-bottom: 27px; }
  .section-heading > * + * { margin-top: 12px; }
  .story-grid, .module-grid, .journal-grid, .details-pair, .feature-points, .contact-layout { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .story-card .edge { height: auto; aspect-ratio: 1.7; }
  .story-card .card-copy { padding-bottom: 16px; }
  .module-card .edge, .journal-card .edge { aspect-ratio: 1.95; }
  .field-grid { grid-template-columns: minmax(0,1fr); }
  .page-intro { padding: 123px var(--gutter) 56px; }
  .page-intro h1 { font-size: clamp(2.55rem, 10.5vw, 4.12rem); }
  .page-intro .lead { margin-top: 17px; }
  .page-intro::before { mask-image: radial-gradient(ellipse at 61% 53%,#000 6%,#0006 37%,transparent 75%); }
  .edge-wide { height: clamp(230px, 72vw, 410px); }
  .edge { --cut: 17px; }
  .rail-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; align-items: start; }
  .rail-choices { gap: 5px; }
  .chip { padding-inline: 8px; font-size: .63rem; letter-spacing: .045em; min-height: 42px; }
  .rail-arrows { gap: 4px; }
  .icon-button { width: 42px; min-height: 42px; }
  .carousel { --rail-gap: 11px; }
  .rail-card { flex-basis: 77%; min-height: 408px; }
  .rail-card.is-active { flex-basis: 92%; }
  .rail-card-toggle h3 { font-size: clamp(1.67rem, 6.8vw, 2.4rem); }
  .rail-card .card-media { height: 47%; }
  .rail-card .card-media .edge { --cut: 14px; }
  .rail-detail { padding-top: 12px; }
  .rail-card-toggle { padding-top: 19px; }
  .photo-band .photo-copy { padding-block: 75px; }
  .photo-band::before { background: linear-gradient(90deg,#041513e9,#0619189d 88%); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
  .footer-bottom { justify-content: start; }
  .legal-links { gap: 11px; }
}
@media (max-width: 390px) {
  .mast .brand img { width: 89px; }
  .mast-bar { gap: 6px; }
  .mobile-toggle { font-size: .83rem; gap: 4px; }
  .rail-controls .chip { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
html[data-motion-off] *, html[data-motion-off] *::before, html[data-motion-off] *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }


.rail-title { display: block; font-weight: 500; font-size: clamp(1.8rem, 2.85vw, 3.2rem); line-height: 1.12; letter-spacing: -.042em; text-wrap: balance; }
.tour { padding-bottom: 20px; }
.tour > .rail-choices, .journal-filter { margin-bottom: 19px; }
.tour-panel { background: var(--chalk); border-radius: var(--radius); overflow: hidden; animation: scene-in .55s var(--ease) both; }
.tour-panel .edge-wide { height: clamp(230px, 38vw, 590px); border-radius: 0; }
.tour-panel-content { padding: clamp(21px, 4vw, 63px); }
.tour-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.tour-grid article { border-top: 1px solid var(--line); padding-top: 13px; }
.tour-grid article p + p { margin-top: 8px; }
.journal-filter [aria-current="page"] { background: var(--lime); border-color: transparent; }
.prose aside + aside { margin-top: 12px; }
@media (max-width:640px) {
  .rail-title { font-size: clamp(1.67rem, 6.8vw, 2.4rem); }
  .tour-grid { grid-template-columns: minmax(0,1fr); gap: 11px; }
}


/* Keep closed cards' copy above the image in the same-height rail. */
.rail-card:not(.is-active) > h3 {
  grid-row: 1;
  min-width: 0;
  z-index: 1;
}
.rail-card:not(.is-active) .card-media {
  position: relative;
  inset: auto;
  z-index: auto;
  grid-row: 2;
  align-self: end;
  height: clamp(150px, 16vw, 245px);
  pointer-events: none;
}
.rail-card:not(.is-active) .rail-title {
  font-size: clamp(1.62rem, 2.1vw, 2.55rem);
}
@media (max-width:640px) {
  .rail-card:not(.is-active) .card-media { height: clamp(150px, 47vw, 220px); }
}


/* Typography and motion measured against the reference. */
@font-face {
  font-family: "Inter Theorify";
  src: url("inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #052424;
  --night: #052424;
  --lime: #b5ff0d;
  font-family: "Inter Theorify", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
}
h1, h2, h3, h4, .rail-title { font-weight: 400; }
h1, .film-copy h1, .film-copy h2 {
  font-size: clamp(3rem, 4.69vw, 7.15rem);
  line-height: 1;
  letter-spacing: -.032em;
}
h2 { letter-spacing: -.025em; }
h3, .rail-title { letter-spacing: -.012em; }
.lead, .page-intro .lead {
  font-size: clamp(1rem, 1.24vw, 1.125rem);
  line-height: 1.4;
  letter-spacing: .02em;
}
.kicker { font-weight: 400; }
.mast-links > a { font-size: .875rem; font-weight: 450; letter-spacing: .03em; }
.mast-actions .button { line-height: 1.04; gap: 0; }
.mast-actions .button > span { display: block; }
.mast-actions .label-space { margin-left: 0; }
@media (min-width:901px) {
  .mast { width: min(1164px, max(930px, 60.5vw), calc(100% - 2 * var(--gutter))); }
  .mast-bar { min-height: 77px; }
  .mast-actions .button { min-width: clamp(87px, 8vw, 120px); }
}
@media (max-width:640px) {
  h1, .page-intro h1 { font-size: clamp(2.35rem, 9.75vw, 4rem); }
  .film-copy h1, .film-copy h2 { font-size: clamp(2.35rem, 9vw, 3.5rem); }
  .mast-actions .label-space::before { content: none; }
}

.mega {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.95fr);
  padding: clamp(23px, 2.5vw, 40px);
  gap: clamp(23px, 2.85vw, 46px);
  background: #42453f;
}
.mega-list { display: grid; gap: 4px; align-content: start; }
.mega-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 9px 13px; }
.mega-preview { min-width: 0; padding: 6px 0; }
.mega-panel { animation: menu-in .28s var(--ease) both; }
.mega-panel h2 { font-size: clamp(1.4rem, 1.75vw, 1.82rem); }
.mega-panel p { color: #eef0ea; font-size: .98rem; max-width: 53ch; margin: 10px 0 15px; }
.mega-destinations { list-style: none; margin: 0; padding: 0; }
.mega-destinations li + li { margin-top: 5px; }
.mega-panel .text-link { color: var(--lime); font-size: .94rem; }

/* The top contour passes through flat before the center folds inward. */
.edge {
  --edge-out: calc(var(--cut) * var(--fold-out, 1));
  --edge-in: calc(var(--cut) * var(--fold-in, 0));
  clip-path: polygon(0 var(--edge-out), 15.7% var(--edge-out), 19.3% var(--edge-in), 80.7% var(--edge-in), 84.3% var(--edge-out), 100% var(--edge-out), 100% 100%, 0 100%);
}
.edge-wide, .photo-band > .edge, .footer-cta > .edge { --cut: clamp(17px, 2.2vw, 32px); }
.edge-wide img { transform: translate3d(0,var(--image-shift,0px),0) scale(1.045); transition: none; }
.seam {
  --rim-depth: var(--rim-drop, 11px);
  --rim-outer: var(--rim-left, 13.5%);
  --rim-inner: var(--rim-inner-left, 18%);
  --rim-right: calc(100% - var(--rim-outer));
  --rim-inner-right: calc(100% - var(--rim-inner));
  clip-path: polygon(0 0, var(--rim-outer) 0, var(--rim-inner) var(--rim-depth), var(--rim-inner-right) var(--rim-depth), var(--rim-right) 0, 100% 0, 100% 100%, 0 100%);
}
@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
  .edge {
    clip-path: shape(from 0 var(--edge-out), line to 15.7% var(--edge-out), curve to 19.3% var(--edge-in) with 17% var(--edge-out) / 18% var(--edge-in), line to 80.7% var(--edge-in), curve to 84.3% var(--edge-out) with 82% var(--edge-in) / 83% var(--edge-out), line to 100% var(--edge-out), line to 100% 100%, line to 0 100%, close);
  }
  .seam {
    clip-path: shape(from 0 0, line to var(--rim-outer) 0, curve to var(--rim-inner) var(--rim-depth) with calc(var(--rim-outer) + 1.7%) 0 / calc(var(--rim-inner) - 1.7%) var(--rim-depth), line to var(--rim-inner-right) var(--rim-depth), curve to var(--rim-right) 0 with calc(var(--rim-inner-right) + 1.7%) var(--rim-depth) / calc(var(--rim-right) - 1.7%) 0, line to 100% 0, line to 100% 100%, line to 0 100%, close);
  }
}

/* Two panels close over the current document and reveal the next from the center. */
@property --shutter-notch {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
html[data-page-phase]::before, html[data-page-phase]::after {
  content: "";
  position: fixed;
  left: 0;
  width: 100%;
  height: calc(50dvh + 1px);
  background: #e9e9e7;
  z-index: 150;
  pointer-events: auto;
}
html[data-page-phase]::before {
  top: 0;
  --panel-out: -102%;
  --panel-start: -2%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 83% 100%, 79% calc(100% - var(--shutter-notch)), 21% calc(100% - var(--shutter-notch)), 17% 100%, 0 100%);
}
html[data-page-phase]::after {
  bottom: 0;
  --panel-out: 102%;
  --panel-start: 2%;
  clip-path: polygon(0 0, 17% 0, 21% var(--shutter-notch), 79% var(--shutter-notch), 83% 0, 100% 0, 100% 100%, 0 100%);
}
@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
  html[data-page-phase]::before {
    clip-path: shape(from 0 0, line to 100% 0, line to 100% 100%, line to 83% 100%, curve to 79% calc(100% - var(--shutter-notch)) with 81.5% 100% / 80.5% calc(100% - var(--shutter-notch)), line to 21% calc(100% - var(--shutter-notch)), curve to 17% 100% with 19.5% calc(100% - var(--shutter-notch)) / 18.5% 100%, line to 0 100%, close);
  }
  html[data-page-phase]::after {
    clip-path: shape(from 0 0, line to 17% 0, curve to 21% var(--shutter-notch) with 18.5% 0 / 19.5% var(--shutter-notch), line to 79% var(--shutter-notch), curve to 83% 0 with 80.5% var(--shutter-notch) / 81.5% 0, line to 100% 0, line to 100% 100%, line to 0 100%, close);
  }
}
html[data-page-phase="leaving"]::before, html[data-page-phase="leaving"]::after {
  animation: page-panel-close 480ms cubic-bezier(.45,.03,.48,1) both;
}
html[data-page-phase="entering"]::before, html[data-page-phase="entering"]::after {
  animation: page-panel-open 940ms cubic-bezier(.43,.07,.24,1) both;
  pointer-events: none;
}
@keyframes page-panel-close {
  from { transform: translateY(var(--panel-out)); }
  to { transform: translateY(0); }
}
@keyframes page-panel-open {
  0% { transform: translateY(0); --shutter-notch: 0px; }
  21% { transform: translateY(var(--panel-start)); --shutter-notch: clamp(14px, 2.45vw, 35px); }
  100% { transform: translateY(var(--panel-out)); --shutter-notch: 0px; }
}

.site-intro {
  display: none;
  position: fixed;
  z-index: 151;
  inset: 0;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}
html[data-page-phase="intro"] .site-intro {
  display: grid;
  animation: intro-fade 1540ms linear both;
}
.site-intro-traces { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-intro-track {
  stroke: #3f6661;
  stroke-opacity: .18;
  stroke-width: 1px;
  stroke-dasharray: 1000;
  animation: intro-track 1160ms var(--ease) both;
}
.site-intro-pulse {
  stroke: #6d8a25;
  stroke-opacity: .7;
  stroke-width: 1px;
  stroke-dasharray: 13 987;
  animation: intro-track 1390ms linear 70ms both;
}
.site-intro-logo {
  position: relative;
  display: block;
  width: clamp(158px, 11.8vw, 240px);
  color: var(--ink);
  fill: currentColor;
}
.site-intro-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: intro-star 910ms var(--ease) both;
}
.site-intro-letter {
  animation: intro-letter 520ms var(--ease) calc(330ms + 27ms * var(--entry-order)) both;
}
.site-intro-rights {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: intro-rights 250ms ease 830ms both;
}
@keyframes intro-track { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes intro-star {
  0% { opacity: 0; transform: translate(-91px, 8px) scale(.64) rotate(-20deg); }
  27%, 42% { opacity: 1; transform: translate(-91px, 8px) scale(1); }
  100% { opacity: 1; transform: none; }
}
@keyframes intro-letter { from { opacity: 0; transform: translateY(52px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-rights { from { opacity: 0; } }
@keyframes intro-fade { 0%, 82% { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion-off]) { scroll-behavior: smooth; }
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  html:not([data-motion-off]) [data-scroll-ink]:not([data-ink-complete], :focus-within, :focus-visible [data-price-ink]) .ink-word {
    --ink-front: calc((var(--ink-position, 0) - var(--word-from)) * var(--word-unit));
    background-image: linear-gradient(90deg,
      var(--ink-base) calc(var(--ink-front) - 8 * var(--word-unit)),
      var(--ink-mid, #4a7915) calc(var(--ink-front) - 3 * var(--word-unit)),
      var(--ink-accent, #a9f000) var(--ink-front),
      var(--ink-pale, #d9ddda) calc(var(--ink-front) + 5 * var(--word-unit)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    box-decoration-break: clone;
  }
}
.section-dark, .photo-band, .footer-cta { --ink-pale: #9baaa2; }
.footer { position: relative; isolation: isolate; overflow: hidden; }
.footer-lines { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-trace { stroke: #cfe6d3; stroke-opacity: .16; stroke-width: 1px; }
.footer-light {
  stroke: #e5ffc8;
  stroke-opacity: .73;
  stroke-width: 1px;
  stroke-dasharray: 10 990;
  animation: footer-light var(--line-duration) linear var(--line-delay) infinite paused;
}
.footer[data-lines-visible] .footer-light { animation-play-state: running; }
@keyframes footer-light { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
html[data-motion-off][data-page-phase]::before, html[data-motion-off][data-page-phase]::after,
html[data-motion-off] .footer-light, html[data-motion-off] .site-intro { display: none; }
@media (prefers-reduced-motion: reduce) {
  html[data-page-phase]::before, html[data-page-phase]::after, .footer-light,
  html[data-page-phase="intro"] .site-intro { display: none; }
}

/* Journal and source chronologies. */
.journal-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  margin-bottom: clamp(14px, 1.4vw, 24px);
}
.journal-featured .caption h3 { font-size: clamp(1.65rem, 2.65vw, 3.4rem); }
.journal-featured .edge { align-self: stretch; }
.journal-article .page-intro { padding-bottom: clamp(32px, 4.5vw, 68px); }
.journal-article > .wrap { max-width: 1130px; }
.journal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(24px, 3vw, 58px);
  border-block: 1px solid var(--line);
  padding: 18px 0;
  margin: 0;
  font-size: .91rem;
}
.journal-meta dt { color: var(--muted); }
.journal-meta dd { margin-inline-start: 0; font-weight: 560; }
.journal-body { padding-block: clamp(30px, 5vw, 76px) clamp(64px, 7vw, 118px); }
.journal-layout { display: grid; grid-template-columns: minmax(155px, .28fr) minmax(0, 1fr); gap: clamp(18px, 3.25vw, 52px); align-items: start; }
.journal-layout:has(> :only-child) { grid-template-columns: minmax(0, 800px); justify-content: center; }
.journal-contents { position: sticky; top: 130px; padding: 15px; border-radius: 9px; background: var(--chalk); }
.journal-contents nav ul { padding: 0; margin: 5px 0 0; list-style: none; }
.journal-contents a { display: block; padding: 8px; border-radius: 5px; text-decoration: none; font-weight: 540; font-size: .94rem; }
.journal-contents a:hover { color: var(--lime-dark); background: #e6ebdf; }
.journal-reading-column { min-width: 0; }
.journal-reading-column > * + * { margin-top: clamp(35px, 5vw, 75px); }
.journal-reading-column > :first-child > h2 { margin-top: 0; }
.journal-reading-column [id] { scroll-margin-top: 12px; }
.journal-reading-column ul, .journal-reading-column ol { padding-inline-start: 1.35em; }
.journal-notice, .journal-video-privacy {
  padding: 16px 19px;
  border-inline-start: 3px solid #74982a;
  border-radius: 5px;
  background: var(--chalk);
}
.journal-video-list { display: grid; gap: 12px; }
.journal-video-source {
  display: grid;
  gap: 13px;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f6f7f5;
}
.journal-reading-column .journal-video-source > * + * { margin-top: 0; }
.journal-video-source h3 { margin: 0; font-size: clamp(1.13rem, 1.45vw, 1.45rem); line-height: 1.26; }
.journal-video-source h3 a { color: var(--ink); text-decoration: none; }
.journal-video-source .journal-video-meta, .journal-video-source .journal-video-note { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.journal-video-stage { aspect-ratio: 16 / 9; border-radius: 6px; background: #0b2020; overflow: hidden; }
.journal-video-stage > * { display: block; width: 100%; height: 100%; border: 0; }
.journal-video-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.journal-video-actions .button { min-height: 42px; }
.journal-timeline .journal-timeline-range { color: var(--muted); font-size: .9rem; }
.journal-timeline > ol { padding: 0 0 0 20px; list-style: none; border-inline-start: 1px solid #cdd7cd; }
.journal-timeline > ol > li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(95px, .23fr) minmax(0, 1fr);
  gap: 10px 18px;
  padding-block: 0 24px;
  margin-top: 0;
}
.journal-timeline > ol > li:last-child { padding-bottom: 0; }
.journal-timeline > ol > li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: .55rem;
  width: 9px;
  height: 9px;
  border: 1px solid #537b12;
  border-radius: 50%;
  background: var(--lime);
}
.journal-timeline-date { font-size: .9rem; font-variant-numeric: tabular-nums; }
.journal-timeline-event h3 { margin: 0 0 5px; font-size: clamp(1.14rem, 1.55vw, 1.55rem); }
.journal-citations { margin-inline-start: .4em; }
.journal-timeline-videos { margin-top: 6px; font-size: .9rem; }
.journal-change { border: 1px solid var(--line); border-radius: 10px; background: #f6f7f5; padding: 12px 15px; }
.journal-change + .journal-change { margin-top: 8px; }
.journal-change summary { cursor: pointer; min-height: 28px; font-weight: 530; }
.journal-change[open] > :not(summary) { margin-top: 14px; }
@media (max-width: 720px) {
  .journal-featured, .journal-layout { grid-template-columns: minmax(0, 1fr); }
  .journal-contents { position: static; }
  .journal-contents nav ul { display: flex; flex-wrap: wrap; }
  .journal-timeline > ol > li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .journal-meta { gap: 10px 18px; }
}

