:root {
  color-scheme: dark;
  --ink: #050a0f;
  --ink-soft: #071119;
  --navy: #0a1822;
  --navy-raised: #10232d;
  --cream: #f1e9d9;
  --cream-soft: #d7d0c1;
  --mist: #9aa8aa;
  --gold: #c59a52;
  --gold-light: #e4c58c;
  --blue: #6f94a6;
  --blue-light: #b5ced6;
  --line: rgba(231, 219, 195, 0.14);
  --line-strong: rgba(231, 219, 195, 0.24);
  --line-soft: rgba(231, 219, 195, 0.08);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 9%, rgba(35, 68, 78, 0.23), transparent 30rem),
    radial-gradient(circle at 18% 44%, rgba(143, 105, 49, 0.08), transparent 28rem),
    var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: .17;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .014) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(255, 255, 255, .01) 5px 6px);
  mix-blend-mode: soft-light;
}

::selection {
  color: var(--ink);
  background: var(--gold-light);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--cream);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-header.is-pinned {
  position: fixed;
  top: 0;
  border-color: var(--line-soft);
  background: rgba(5, 10, 15, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 86px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.wordmark img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 219, 195, .26);
  border-radius: 50%;
  opacity: .88;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  color: #bbc3c1;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 10px;
  transition: color .2s ease;
}

.site-nav a:not(.nav-entry)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cream);
}

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

.nav-entry {
  padding: 11px 17px !important;
  border: 1px solid rgba(228, 197, 140, .38);
  border-radius: 999px;
  color: var(--gold-light);
}

.nav-invite {
  padding: 9px 14px;
  border: 1px solid rgba(228, 197, 140, .32);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: .66rem;
  white-space: nowrap;
}

.nav-entry span,
.button span,
.text-link span {
  display: inline-block;
  transition: transform .25s var(--ease);
}

.nav-entry:hover span,
.button:hover span,
.text-link:hover span {
  transform: translate(3px, -2px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-toggle-lines {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease;
}

.hero {
  --pointer-x: 72%;
  --pointer-y: 36%;
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(215, 194, 151, .13), transparent 23rem),
    linear-gradient(90deg, rgba(5, 10, 15, .98) 0%, rgba(5, 10, 15, .9) 42%, rgba(5, 10, 15, .12) 78%, rgba(5, 10, 15, .86) 100%);
}

.hero::after {
  position: absolute;
  right: 5%;
  bottom: 12%;
  left: 49%;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(228, 197, 140, .45), transparent);
  box-shadow: 0 0 48px 9px rgba(197, 154, 82, .12);
}

.hero-light {
  position: absolute;
  top: -28%;
  right: -3%;
  z-index: -2;
  width: 64vw;
  height: 84%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(237, 221, 186, .15), rgba(82, 115, 125, .08) 38%, transparent 70%);
  filter: blur(28px);
  transform: rotate(-13deg);
}

.hero-crest {
  position: absolute;
  top: 48%;
  right: max(-8vw, -120px);
  z-index: -1;
  width: min(67vw, 880px);
  transform: translateY(-47%);
}

.hero-crest::after {
  position: absolute;
  inset: 9%;
  z-index: 2;
  border: 1px solid rgba(228, 197, 140, .11);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 70px rgba(228, 197, 140, .09), 0 0 85px rgba(6, 16, 23, .8);
}

.hero-crest picture {
  display: block;
}

.hero-crest img {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: .73;
  filter: saturate(.72) contrast(1.14) sepia(.08) brightness(.77);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at center, #000 34%, rgba(0, 0, 0, .95) 49%, rgba(0, 0, 0, .46) 63%, transparent 73%);
  mask-image: radial-gradient(circle at center, #000 34%, rgba(0, 0, 0, .95) 49%, rgba(0, 0, 0, .46) 63%, transparent 73%);
  animation: crest-arrive 1.6s var(--ease) both;
}

.crest-halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 232, 199, .34), rgba(104, 139, 146, .14) 42%, transparent 72%);
  filter: blur(34px);
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: max(760px, 100svh);
  align-items: center;
  padding-top: 110px;
  padding-bottom: 78px;
}

.hero-copy {
  width: min(690px, 61%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--gold-light);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

h1 {
  max-width: 750px;
  margin-bottom: 30px;
  font-size: clamp(4.3rem, 8vw, 7.7rem);
}

h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-lede {
  max-width: 550px;
  margin-bottom: 36px;
  color: #b8c0bd;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 22px;
  border-radius: 2px;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #0a1013;
  background: var(--gold-light);
  box-shadow: 0 15px 38px rgba(130, 93, 37, .16);
}

.button-primary:hover {
  background: #f0d7a7;
}

.button-secondary {
  border: 1px solid rgba(228, 197, 140, .48);
  color: var(--gold-light);
  background: rgba(197, 154, 82, .045);
}

.button-secondary:hover {
  border-color: var(--gold-light);
  background: rgba(197, 154, 82, .11);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(228, 197, 140, .38);
  color: var(--cream-soft);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease;
}

.text-link:hover {
  border-color: var(--gold-light);
  color: var(--cream);
}

.hero-notes {
  position: absolute;
  right: 0;
  bottom: 40px;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  color: #859091;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
  list-style: none;
  text-transform: uppercase;
}

.hero-notes li {
  display: flex;
  gap: 8px;
}

.hero-notes span {
  color: var(--gold);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 12px;
  color: #738083;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: inline-block;
  width: 1px;
  height: 35px;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  content: "";
  background: var(--gold-light);
  animation: cue 2.1s ease-in-out infinite;
}

.portal-shell {
  width: min(1360px, calc(100vw - 72px));
  margin-inline: auto;
}

.portal-hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.portal-hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(ellipse at 74% 2%, rgba(134, 170, 181, .16), transparent 37%),
    linear-gradient(111deg, rgba(5, 11, 16, .99) 0%, rgba(6, 16, 23, .95) 45%, rgba(8, 25, 34, .9) 100%);
}

.portal-hero::after {
  position: absolute;
  top: -390px;
  right: -170px;
  z-index: -2;
  width: 850px;
  height: 850px;
  border: 1px solid rgba(228, 197, 140, .1);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 84px rgba(228, 197, 140, .018),
    0 0 0 168px rgba(111, 148, 166, .018),
    inset 0 0 120px rgba(111, 148, 166, .06);
}

.harbor-light {
  position: absolute;
  top: -250px;
  right: 5%;
  z-index: -1;
  width: 650px;
  height: 900px;
  background: linear-gradient(168deg, rgba(241, 218, 170, .13), rgba(84, 131, 146, .035) 52%, transparent 70%);
  filter: blur(22px);
  transform: rotate(-8deg);
  clip-path: polygon(42% 0, 68% 0, 100% 100%, 0 100%);
}

.portal-inner {
  padding-top: 118px;
  padding-bottom: 48px;
}

.purpose-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .7fr);
  align-items: end;
  gap: clamp(44px, 7vw, 110px);
  margin-bottom: 31px;
}

.portal-hero .eyebrow {
  margin-bottom: 13px;
}

.portal-hero h1 {
  max-width: 870px;
  margin-bottom: 0;
  font-size: clamp(3rem, 4.6vw, 4.7rem);
  letter-spacing: -.038em;
  line-height: .99;
  text-wrap: balance;
}

.portal-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
  white-space: nowrap;
}

.purpose-copy {
  margin: 0 0 3px;
  padding-left: 22px;
  border-left: 1px solid rgba(228, 197, 140, .32);
  color: var(--cream-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.purpose-copy strong {
  color: var(--cream);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(380px, .82fr);
  gap: 18px;
  align-items: stretch;
}

.apps-zone {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
}

.app-card {
  position: relative;
  display: flex;
  min-height: 376px;
  overflow: hidden;
  flex-direction: column;
  padding: 25px 27px 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(19, 43, 55, .92), rgba(8, 20, 29, .95));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  transition: transform .3s var(--ease), border-color .3s ease;
}

.app-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.js .app-card.is-visible:hover {
  transform: translateY(-3px);
}

.app-card::after {
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.calendar-card::after {
  background: radial-gradient(circle, rgba(197, 154, 82, .13), transparent 67%);
}

.contacts-card::after {
  background: radial-gradient(circle, rgba(111, 148, 166, .14), transparent 67%);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}

.app-icon {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(228, 197, 140, .26);
  border-radius: 12px;
  color: var(--gold-light);
  background: rgba(197, 154, 82, .07);
}

.contacts-card .app-icon {
  border-color: rgba(181, 206, 214, .28);
  color: var(--blue-light);
  background: rgba(111, 148, 166, .08);
}

.calendar-glyph {
  width: 20px;
  height: 19px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) 0 5px / 100% 1px no-repeat,
    radial-gradient(circle, currentColor 1px, transparent 1.5px) 2px 9px / 6px 6px;
}

.contact-glyph::before,
.contact-glyph::after {
  display: block;
  margin-inline: auto;
  content: "";
  border: 1.5px solid currentColor;
}

.contact-glyph::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.contact-glyph::after {
  width: 19px;
  height: 9px;
  margin-top: 3px;
  border-radius: 11px 11px 4px 4px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c7d0cc;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #8bb697;
  box-shadow: 0 0 0 4px rgba(139, 182, 151, .1);
}

.service-type {
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contacts-card .service-type {
  color: var(--blue-light);
}

.app-card h2 {
  margin-bottom: 11px;
  font-size: 2.15rem;
  letter-spacing: -.025em;
  line-height: 1.06;
}

.app-card > p:not(.service-type) {
  margin-bottom: 16px;
  color: #c8d0cf;
  font-size: .91rem;
  line-height: 1.58;
}

.sync-line {
  display: flex;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #aebcbd;
  font-size: .76rem;
  line-height: 1.45;
}

.sync-line span {
  color: var(--gold-light);
  font-size: .9rem;
}

.contacts-card .sync-line span {
  color: var(--blue-light);
}

.card-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(228, 197, 140, .31);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  transition: background .2s ease, color .2s ease;
}

.contacts-card .card-action {
  border-color: rgba(181, 206, 214, .33);
  color: var(--blue-light);
}

.card-action:hover {
  color: var(--ink);
  background: var(--gold-light);
}

.contacts-card .card-action:hover {
  background: var(--blue-light);
}

.coming-next {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 11px 18px;
  border: 1px solid rgba(231, 219, 195, .09);
  border-radius: 11px;
  color: #aeb9b9;
  background: rgba(7, 17, 24, .62);
  font-size: .77rem;
}

.coming-next strong {
  color: var(--cream-soft);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.coming-next em {
  color: #d0b882;
  font-style: normal;
}

.auth-panel {
  position: relative;
  display: flex;
  min-height: 438px;
  overflow: hidden;
  flex-direction: column;
  padding: 27px 29px 24px;
  border: 1px solid rgba(228, 197, 140, .21);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(28, 42, 44, .94), rgba(10, 22, 28, .97) 52%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 24px 70px rgba(0, 0, 0, .24);
}

.auth-panel::before {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(228, 197, 140, .11), transparent 68%);
  pointer-events: none;
}

.auth-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.key-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.key-mark::before {
  position: absolute;
  top: 9px;
  left: 15px;
  width: 12px;
  height: 1px;
  content: "";
  background: currentColor;
}

.key-mark::after {
  position: absolute;
  top: 9px;
  left: 23px;
  width: 4px;
  height: 5px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  content: "";
}

.auth-panel h2 {
  max-width: 390px;
  margin-bottom: 11px;
  font-size: 2.08rem;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.auth-intro {
  margin-bottom: 18px;
  color: var(--cream-soft);
  font-size: .87rem;
  line-height: 1.55;
}

.boundary-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.boundary-row {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.boundary-row dt {
  color: #9aa7a9;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.boundary-row dd {
  margin: 0;
  color: #d5d9d3;
  font-size: .73rem;
  line-height: 1.48;
}

.boundary-row strong {
  color: var(--cream);
  font-weight: 700;
}

.auth-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
}

.password-note {
  display: flex;
  max-width: 285px;
  gap: 9px;
  margin: 0;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.42;
}

.password-note::before {
  content: "✓";
}

.legal-links {
  display: flex;
  gap: 14px;
  color: #d3d7d2;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(228, 197, 140, .35);
}

.legal-links a:hover {
  color: var(--gold-light);
}

.section {
  position: relative;
  padding-block: clamp(100px, 12vw, 180px);
}

.services-intro {
  background: linear-gradient(180deg, rgba(10, 24, 34, .25), transparent);
}

.intro-grid {
  display: grid;
  grid-template-columns: .7fr 2.1fr 1.15fr;
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}

.section-index,
.story-number {
  color: #738083;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.intro-grid h2,
.story-copy h2,
.pictures-heading h2,
.privacy-card h2 {
  margin-bottom: 0;
  font-size: clamp(3.1rem, 5.4vw, 5.6rem);
}

.intro-copy {
  margin: 52px 0 0;
  color: #9fa9a8;
  font-size: 1rem;
}

.app-story {
  min-height: 940px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(290px, .76fr) minmax(560px, 1.45fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: center;
}

.story-grid-reverse {
  grid-template-columns: minmax(560px, 1.45fr) minmax(290px, .76fr);
}

.story-grid-reverse .story-copy {
  grid-column: 2;
  grid-row: 1;
}

.story-grid-reverse .app-visual {
  grid-column: 1;
  grid-row: 1;
}

.story-copy {
  position: relative;
  z-index: 2;
}

.story-copy .story-number {
  margin-bottom: 54px;
}

.story-copy h2 {
  margin-bottom: 28px;
}

.story-copy > p:not(.story-number):not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 28px;
  color: #aeb7b5;
  font-size: 1.02rem;
}

.feature-list {
  display: grid;
  gap: 11px;
  margin: 0 0 34px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #c5cbc6;
  font-size: .83rem;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.feature-list li span {
  color: var(--gold);
  font-size: .48rem;
}

.ambient-orb {
  position: absolute;
  z-index: -1;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
}

.orb-gold {
  top: 12%;
  right: -30%;
  background: #8c692b;
}

.orb-blue {
  bottom: 0;
  left: -30%;
  background: #2d6175;
}

.app-visual {
  position: relative;
  min-height: 640px;
  perspective: 1600px;
}

.glow-plane {
  position: absolute;
  right: -12%;
  bottom: 5%;
  width: 90%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(197, 154, 82, .22), transparent 68%);
  filter: blur(35px);
  transform: rotate(-7deg);
}

.app-window {
  border: 1px solid rgba(231, 219, 195, .18);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(8, 18, 25, .95);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .58), 0 0 80px rgba(197, 154, 82, .06);
}

.calendar-window {
  position: absolute;
  top: 50%;
  left: 0;
  width: 850px;
  max-width: none;
  transform: translateY(-50%) rotateY(-8deg) rotateX(2deg);
  transform-origin: left center;
}

.window-bar {
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border-bottom: 1px solid rgba(255, 255, 255, .065);
  color: #cdd3ce;
  background: #0c1a23;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
}

.window-mark,
.window-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mini-anchor {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(228, 197, 140, .35);
  border-radius: 50%;
  color: var(--gold-light);
}

.window-tools i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #657277;
}

.window-tools b,
.directory-head > b {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  place-items: center;
  border-radius: 50%;
  color: #152027;
  background: #d2b476;
  font-size: 9px;
}

.calendar-shell {
  display: grid;
  grid-template-columns: 176px 1fr;
  min-height: 490px;
}

.calendar-sidebar {
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, .06);
  background: #09151d;
}

.calendar-sidebar button {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(228, 197, 140, .35);
  border-radius: 3px;
  color: #e5ce9d;
  background: rgba(197, 154, 82, .08);
  font-size: 9px;
  font-weight: 700;
  text-align: left;
}

.mini-calendar {
  margin-top: 25px;
}

.mini-calendar > strong,
.calendar-key > strong {
  display: block;
  margin-bottom: 11px;
  color: #d1d5d0;
  font-size: 9px;
}

.mini-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
  text-align: center;
}

.mini-days span {
  color: #526167;
  font-size: 6px;
}

.mini-days b,
.mini-days i {
  display: grid;
  height: 15px;
  place-items: center;
  color: #8e9a9b;
  font-size: 7px;
  font-style: normal;
  font-weight: 500;
}

.mini-days .selected {
  border-radius: 50%;
  color: #10181c;
  background: var(--gold-light);
}

.calendar-key {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.calendar-key span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7f8c8e;
  font-size: 8px;
}

.calendar-key i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.key-gold { background: var(--gold); }
.key-blue { background: var(--blue); }
.key-cream { background: var(--cream-soft); }

.calendar-main {
  padding: 24px 22px 22px;
  background: linear-gradient(135deg, rgba(20, 41, 51, .55), rgba(6, 15, 21, .9));
}

.calendar-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.calendar-heading small,
.calendar-heading strong {
  display: block;
}

.calendar-heading small {
  margin-bottom: 3px;
  color: #657478;
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.calendar-heading strong {
  color: #e1ddd2;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7f8b8d;
  font-size: 8px;
}

.calendar-controls span,
.calendar-controls i {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 2px;
  font-style: normal;
}

.calendar-controls span {
  padding-inline: 8px;
}

.week-row,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.week-row span {
  padding: 0 7px 8px;
  color: #5c696c;
  font-size: 6px;
  letter-spacing: .08em;
}

.month-grid {
  border-top: 1px solid rgba(255, 255, 255, .065);
  border-left: 1px solid rgba(255, 255, 255, .065);
}

.month-grid > div {
  position: relative;
  min-height: 76px;
  padding: 7px;
  border-right: 1px solid rgba(255, 255, 255, .065);
  border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.month-grid b {
  color: #9ca6a5;
  font-size: 7px;
  font-weight: 500;
}

.month-grid .outside b {
  color: #3e4b50;
}

.month-grid .today {
  background: rgba(197, 154, 82, .055);
  box-shadow: inset 0 0 0 1px rgba(197, 154, 82, .24);
}

.month-grid .today b {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  color: #0c171d;
  background: var(--gold-light);
}

.event {
  display: block;
  margin-top: 7px;
  padding: 4px 5px;
  overflow: hidden;
  border-left: 2px solid;
  border-radius: 1px;
  font-size: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-gold { border-color: var(--gold); color: #dfc490; background: rgba(197, 154, 82, .12); }
.event-blue { border-color: var(--blue); color: #a8c2cb; background: rgba(111, 148, 166, .12); }
.event-cream { border-color: var(--cream-soft); color: #d7d0c1; background: rgba(215, 208, 193, .09); }

.contacts-story {
  background: linear-gradient(180deg, rgba(7, 17, 25, 0), rgba(11, 29, 39, .32), rgba(7, 17, 25, 0));
}

.contacts-visual {
  transform: translateX(-30px);
}

.contact-light {
  position: absolute;
  top: 8%;
  left: 0;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(85, 130, 145, .22), transparent 67%);
  filter: blur(30px);
}

.directory-card,
.phone-card {
  border: 1px solid rgba(231, 219, 195, .15);
  background: rgba(9, 23, 31, .96);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .55);
}

.directory-card {
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 2;
  width: 515px;
  padding: 27px;
  border-radius: 12px;
  transform: translateY(-50%) rotateY(9deg) rotateX(1deg);
  transform-origin: right center;
}

.directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.directory-head small,
.directory-head strong {
  display: block;
}

.directory-head small {
  color: #6e7c7e;
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.directory-head strong {
  margin-top: 3px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 4px;
  color: #677679;
  background: rgba(255, 255, 255, .025);
  font-size: 9px;
}

.search-field span {
  color: #9daaab;
  font-size: 16px;
  line-height: 1;
}

.contact-list {
  display: grid;
  gap: 5px;
}

.contact-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
}

.contact-row.active {
  border-color: rgba(197, 154, 82, .15);
  background: rgba(197, 154, 82, .07);
}

.portrait {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0c171d;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.contact-row .portrait {
  width: 38px;
  height: 38px;
}

.portrait-blue { background: #87a9b7; }
.portrait-cream { background: #d4cdbd; }
.portrait-gold { background: #c8a464; }
.portrait-navy { color: #d7e1e0; background: #315368; }

.contact-row span strong,
.contact-row span small {
  display: block;
}

.contact-row span strong {
  color: #cfd4cf;
  font-size: 9px;
}

.contact-row span small {
  margin-top: 2px;
  color: #69777a;
  font-size: 7px;
}

.contact-row > b {
  color: #647275;
  font-size: 18px;
  font-weight: 300;
}

.directory-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #697679;
  font-size: 7px;
}

.directory-foot strong {
  color: #a29170;
  font-weight: 600;
}

.phone-card {
  position: absolute;
  top: 43%;
  right: -44px;
  width: 225px;
  min-height: 450px;
  padding: 15px 15px 22px;
  border-radius: 28px;
  transform: translateY(-50%) rotate(4deg);
}

.phone-card::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 56px;
  height: 5px;
  border-radius: 99px;
  content: "";
  background: #03080b;
  transform: translateX(-50%);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px 0;
  color: #778487;
  font-size: 6px;
}

.phone-top i {
  width: 15px;
  height: 5px;
  border-top: 2px solid #657477;
  border-right: 2px solid #657477;
}

.phone-profile {
  display: grid;
  justify-items: center;
  padding: 36px 0 23px;
}

.phone-profile .portrait {
  width: 66px;
  height: 66px;
  margin-bottom: 11px;
  box-shadow: 0 8px 30px rgba(197, 154, 82, .16);
}

.phone-profile strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
}

.phone-profile > span {
  color: #738083;
  font-size: 7px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.contact-actions i {
  display: grid;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(228, 197, 140, .13);
  border-radius: 6px;
  color: #bda777;
  background: rgba(197, 154, 82, .045);
  font-size: 6px;
  font-style: normal;
}

.detail-line {
  margin-top: 10px;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.detail-line span,
.detail-line b {
  display: block;
}

.detail-line span {
  color: #657275;
  font-size: 6px;
  text-transform: uppercase;
}

.detail-line b {
  margin-top: 2px;
  color: #b9c1bf;
  font-size: 8px;
  font-weight: 500;
}

.pictures-story {
  min-height: 1100px;
  background:
    radial-gradient(circle at 50% 58%, rgba(197, 154, 82, .08), transparent 40%),
    linear-gradient(180deg, transparent, rgba(11, 25, 33, .38) 52%, transparent);
}

.pictures-layout {
  width: min(1280px, calc(100vw - 48px));
}

.pictures-heading {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: .7fr 1.45fr;
  gap: 7vw;
  align-items: start;
  margin-bottom: 55px;
}

.pictures-heading h2 {
  max-width: 700px;
  margin-bottom: 25px;
}

.pictures-heading > div:last-child > p {
  max-width: 600px;
  color: #a8b1af;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(228, 197, 140, .28);
  border-radius: 99px;
  color: var(--gold-light);
  background: rgba(197, 154, 82, .06);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.coming-soon i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.photo-stage {
  position: relative;
  min-height: 620px;
  perspective: 1400px;
}

.stage-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  width: 75%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(229, 206, 159, .19), rgba(45, 80, 91, .08) 45%, transparent 72%);
  filter: blur(45px);
  transform: translateX(-50%);
}

.memory-frame {
  position: absolute;
  padding: 10px 10px 30px;
  border: 1px solid rgba(245, 235, 211, .26);
  color: #d8d2c5;
  background: #d7d0c2;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
}

.memory-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 30%, rgba(0, 0, 0, .08));
  pointer-events: none;
}

.memory-frame span,
.memory-frame small {
  position: absolute;
  bottom: 8px;
  z-index: 2;
  color: #1d292e;
  font-family: var(--display);
  font-size: 10px;
}

.memory-frame span { left: 11px; }
.memory-frame small { right: 11px; color: #637074; }

.memory-scene {
  position: relative;
  height: 100%;
  overflow: hidden;
  filter: saturate(.65) sepia(.08);
}

.memory-one {
  top: 6%;
  left: -1%;
  width: 37%;
  height: 390px;
  transform: rotateY(8deg) rotateZ(-3deg);
}

.memory-two {
  top: 13%;
  left: 31%;
  z-index: 2;
  width: 39%;
  height: 440px;
  transform: translateZ(70px) rotateZ(1.5deg);
}

.memory-three {
  top: 2%;
  right: -1%;
  width: 34%;
  height: 370px;
  transform: rotateY(-8deg) rotateZ(3deg);
}

.memory-four {
  right: 12%;
  bottom: -2%;
  z-index: 3;
  width: 28%;
  height: 275px;
  transform: translateZ(100px) rotateZ(-2.5deg);
}

.scene-coast {
  background:
    linear-gradient(175deg, transparent 55%, rgba(243, 214, 157, .55) 56% 63%, transparent 64%),
    linear-gradient(5deg, #21485a 0 39%, #7b9aa0 40% 49%, #d7bd8c 50% 53%, #829fa8 54% 100%);
}

.scene-coast::before,
.scene-coast::after {
  position: absolute;
  bottom: 18%;
  width: 8%;
  height: 31%;
  border-radius: 46% 46% 25% 25%;
  content: "";
  background: #172d35;
}

.scene-coast::before { left: 42%; }
.scene-coast::after { left: 53%; height: 27%; }

.scene-table {
  background:
    radial-gradient(ellipse at 50% 63%, #bd8e4c 0 5%, transparent 6%),
    linear-gradient(168deg, transparent 0 48%, #4b3727 49% 72%, #172830 73%),
    radial-gradient(circle at 55% 18%, #c1a272, transparent 25%),
    #263d45;
}

.scene-table::before,
.scene-table::after {
  position: absolute;
  bottom: 24%;
  width: 15%;
  height: 39%;
  border-radius: 50% 50% 25% 25%;
  content: "";
  background: #18282d;
}

.scene-table::before { left: 24%; }
.scene-table::after { right: 24%; }

.scene-mountain {
  background:
    linear-gradient(145deg, transparent 45%, #62757b 46% 63%, transparent 64%),
    linear-gradient(215deg, transparent 40%, #8e9c9c 41% 61%, transparent 62%),
    linear-gradient(#607c89 0 57%, #384c43 58% 100%);
}

.scene-mountain::before {
  position: absolute;
  right: 14%;
  bottom: 8%;
  left: 14%;
  height: 28%;
  border-radius: 50% 50% 12% 12%;
  content: "";
  background: repeating-radial-gradient(circle at 10% 100%, #1d3032 0 8%, transparent 9% 18%);
}

.scene-garden {
  background:
    radial-gradient(circle at 30% 56%, #d5ae65 0 3%, transparent 4%),
    radial-gradient(circle at 65% 51%, #c98b6f 0 4%, transparent 5%),
    radial-gradient(circle at 48% 67%, #d8d09c 0 4%, transparent 5%),
    linear-gradient(#8eaaad 0 44%, #526c50 45% 100%);
}

.scene-garden::before {
  position: absolute;
  right: 29%;
  bottom: 10%;
  width: 22%;
  height: 46%;
  border-radius: 50% 50% 18% 18%;
  content: "";
  background: #283a35;
}

.photo-status {
  position: absolute;
  bottom: 11%;
  left: 8%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 16px 19px;
  border-left: 1px solid var(--gold);
  background: rgba(5, 10, 15, .78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.photo-status span {
  color: #7f8b8c;
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.photo-status strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
}

.privacy-section {
  padding-top: 70px;
  border-top: 1px solid var(--line-soft);
}

.privacy-card {
  display: grid;
  grid-template-columns: 130px 1.1fr .9fr;
  gap: clamp(35px, 6vw, 80px);
  align-items: center;
  padding: clamp(42px, 6vw, 78px);
  border: 1px solid rgba(228, 197, 140, .15);
  background:
    radial-gradient(circle at 0 50%, rgba(197, 154, 82, .12), transparent 30%),
    linear-gradient(125deg, rgba(14, 33, 43, .74), rgba(7, 17, 24, .82));
  box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
}

.privacy-card h2 {
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
}

.privacy-mark {
  position: relative;
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border: 1px solid rgba(228, 197, 140, .27);
  border-radius: 50%;
}

.privacy-mark::before,
.privacy-mark::after,
.privacy-mark span,
.privacy-mark i {
  position: absolute;
  content: "";
}

.privacy-mark::before {
  width: 26px;
  height: 34px;
  border: 1px solid var(--gold-light);
  border-radius: 2px 2px 10px 10px;
}

.privacy-mark::after {
  top: 27px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-light);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.privacy-mark span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
}

.privacy-copy p {
  margin-bottom: 22px;
  color: #abb5b3;
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.privacy-links .text-link {
  flex: 0 0 auto;
}

.privacy-links .text-link-muted {
  color: #aeb8b8;
}

.site-footer {
  padding: 88px 0 28px;
  border-top: 1px solid var(--line-soft);
  background: #03080c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr .7fr .7fr;
  gap: 60px;
  padding-bottom: 70px;
}

.footer-wordmark {
  margin-bottom: 20px;
}

.footer-main > div > p {
  max-width: 330px;
  color: #788486;
  font-size: .87rem;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  color: #899496;
  font-size: .79rem;
}

.footer-main nav strong {
  margin-bottom: 6px;
  color: var(--cream-soft);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-main nav a {
  transition: color .2s ease;
}

.footer-main nav a:hover {
  color: var(--gold-light);
}

.footer-main nav span small {
  margin-left: 6px;
  color: #a58c61;
  font-size: .55rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #788486;
  font-size: .65rem;
  letter-spacing: .06em;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

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

@keyframes crest-arrive {
  from { opacity: 0; transform: scale(1.04); filter: saturate(.3) contrast(1.1) sepia(.08) brightness(.34); }
  to { opacity: .73; transform: scale(1); filter: saturate(.72) contrast(1.14) sepia(.08) brightness(.77); }
}

@keyframes cue {
  0% { transform: translateY(0); }
  55%, 100% { transform: translateY(200%); }
}

@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
  .portal-shell { width: min(calc(100% - 48px), 980px); }
  .purpose-row { grid-template-columns: 1fr; gap: 20px; }
  .purpose-copy { max-width: 760px; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-hero { min-height: auto; }
  .portal-inner { padding-bottom: 64px; }
  .auth-panel { min-height: 0; }
  .hero-crest { right: -19vw; width: 82vw; }
  .hero-copy { width: 67%; }
  .story-grid,
  .story-grid-reverse { grid-template-columns: minmax(280px, .75fr) minmax(500px, 1.25fr); gap: 45px; }
  .calendar-window { width: 790px; }
  .contacts-visual { transform: translateX(-80px); }
  .privacy-card { grid-template-columns: 100px 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --shell: min(calc(100% - 40px), 720px); }
  .site-nav { gap: 16px; font-size: .64rem; }
  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding-block: 14px;
  }
  html:not(.js) .site-header {
    border-color: var(--line-soft);
    background: rgba(5, 10, 15, .94);
  }
  html:not(.js) .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 18px;
    margin: 5px 0 0;
  }
  html:not(.js) .site-nav a {
    padding-block: 4px;
  }
  html:not(.js) .site-nav .nav-entry {
    padding: 4px 0 !important;
    border: 0;
  }
  .js .nav-toggle { display: flex; }
  .js .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(5, 13, 19, .98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .42);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .site-nav.is-open { opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .js .site-nav a { padding: 14px; border-bottom: 1px solid var(--line-soft); }
  .js .site-nav .nav-entry { margin-top: 10px; border-bottom: 1px solid rgba(228, 197, 140, .38); text-align: center; }
  .js .site-nav .nav-invite { margin-top: 10px; padding: 12px 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { min-height: 820px; }
  .hero-inner { min-height: 820px; padding-top: 125px; align-items: flex-end; padding-bottom: 135px; }
  .hero-copy { width: min(680px, 100%); }
  .hero-crest { top: 27%; right: -25vw; width: 95vw; opacity: .72; }
  .hero::before { background: linear-gradient(0deg, #050a0f 0%, rgba(5, 10, 15, .92) 36%, rgba(5, 10, 15, .15) 69%, rgba(5, 10, 15, .76) 100%); }
  .hero-notes { right: auto; bottom: 42px; left: 0; width: 100%; justify-content: space-between; }
  .scroll-cue { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-index { margin-bottom: 0; }
  .intro-copy { max-width: 580px; margin: 0; }
  .app-story { min-height: 0; }
  .story-grid,
  .story-grid-reverse { grid-template-columns: 1fr; gap: 60px; }
  .story-grid-reverse .story-copy,
  .story-grid-reverse .app-visual { grid-column: 1; }
  .story-grid-reverse .story-copy { grid-row: 1; }
  .story-grid-reverse .app-visual { grid-row: 2; }
  .story-copy { max-width: 610px; }
  .app-visual { min-height: 570px; }
  .calendar-window { left: 2%; width: 810px; transform: translateY(-50%) scale(.88); transform-origin: left center; }
  .contacts-visual { transform: none; }
  .directory-card { left: 5%; }
  .phone-card { right: 1%; }
  .pictures-heading { grid-template-columns: 1fr; gap: 20px; }
  .photo-stage { min-height: 650px; }
  .memory-one { width: 45%; }
  .memory-two { left: 27%; width: 48%; }
  .memory-three { width: 41%; }
  .memory-four { right: 5%; width: 36%; }
  .privacy-card { grid-template-columns: 90px 1fr; }
  .privacy-copy { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 30px); }
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 72px; }
  .wordmark { font-size: 1.05rem; }
  .wordmark img { width: 34px; height: 34px; }
  .js .site-nav { right: 15px; left: 15px; }
  .portal-shell { width: calc(100% - 30px); }
  .portal-inner { padding-top: 100px; }
  .purpose-row { margin-bottom: 24px; }
  .portal-hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .portal-hero h1 em { white-space: normal; }
  .purpose-copy { padding-left: 16px; font-size: .95rem; }
  .app-cards { grid-template-columns: 1fr; }
  .app-card { min-height: 350px; padding: 23px; }
  .auth-panel { padding: 24px 22px; }
  .boundary-row { grid-template-columns: 1fr; gap: 3px; }
  .auth-footer { align-items: flex-start; flex-direction: column; }
  .coming-next { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hero,
  .hero-inner { min-height: 760px; }
  .hero-inner { padding-top: 215px; padding-bottom: 112px; }
  .hero-crest { top: 20%; right: -24%; width: 112%; }
  .hero-light { top: -18%; right: -18%; width: 110vw; }
  h1 { margin-bottom: 22px; font-size: clamp(3.55rem, 17vw, 5rem); }
  .hero-lede { font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .button { width: 100%; }
  .hero-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; bottom: 24px; font-size: .52rem; }
  .section { padding-block: 94px; }
  .intro-grid h2,
  .story-copy h2,
  .pictures-heading h2 { font-size: clamp(2.9rem, 14vw, 4rem); }
  .story-copy .story-number { margin-bottom: 36px; }
  .app-visual { min-height: 440px; }
  .calendar-visual { margin-right: -15px; }
  .calendar-window { left: 0; width: 740px; transform: translateY(-50%) scale(.61); transform-origin: left center; }
  .contacts-visual { min-height: 500px; }
  .directory-card { top: 46%; left: 0; width: 430px; padding: 22px; transform: translateY(-50%) scale(.77); transform-origin: left center; }
  .phone-card { top: 51%; right: -5%; width: 198px; min-height: 400px; transform: translateY(-50%) scale(.78) rotate(4deg); transform-origin: right center; }
  .pictures-story { min-height: 940px; }
  .pictures-layout { width: var(--shell); }
  .photo-stage { min-height: 520px; margin-inline: -18px; }
  .memory-frame { padding: 6px 6px 24px; }
  .memory-one { top: 3%; left: -10%; width: 58%; height: 280px; }
  .memory-two { top: 11%; left: 27%; width: 62%; height: 320px; }
  .memory-three { top: 38%; right: -10%; width: 54%; height: 250px; }
  .memory-four { right: auto; bottom: 3%; left: 4%; width: 50%; height: 210px; }
  .memory-frame span,
  .memory-frame small { bottom: 6px; font-size: 8px; }
  .photo-status { bottom: 9%; left: 22%; }
  .privacy-section { padding-top: 35px; }
  .privacy-card { grid-template-columns: 1fr; gap: 28px; padding: 34px 28px; }
  .privacy-mark { width: 80px; height: 80px; }
  .privacy-copy { grid-column: 1; }
  .privacy-card h2 { font-size: 3rem; }
  .privacy-links { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 46px 25px; }
  .footer-main > div { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

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

.wordmark > span > span {
  font-size: 1em;
}

.wordmark > span > span + span {
  font-size: .6em;
  font-weight: bold;
}

#top .hero-notes,
.story-number,
.section-index { display: none; }
