/* ============================================================
   ZALDY ALCANTARA — LIFE BEYOND THE HORIZON
   Cinematic personal portfolio — complete stylesheet
   ============================================================ */

:root {
  --bg: #070A10;
  --bg-2: #0B111B;
  --bg-3: #111827;
  --cream: #EFE6D8;
  --cream-2: #E5DACA;
  --ink: #15120F;
  --text: #F8FAFC;
  --muted: #93A3B8;
  --muted-dark: #5D564C;
  --line: rgba(248, 250, 252, .13);
  --line-soft: rgba(248, 250, 252, .075);
  --blue: #2563EB;
  --ocean: #38BDF8;
  --amber: #F59E0B;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(.22, .72, .18, 1);
  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1360px;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth
}

html.is-locked {
  overflow: hidden
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit
}

button {
  font: inherit;
  color: inherit
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0
}

ul,
ol {
  padding: 0;
  list-style: none
}

::selection {
  background: var(--ocean);
  color: #04121C
}

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

.wrap {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin-inline: auto
}

.muted {
  color: var(--muted)
}

.section {
  position: relative;
  padding: clamp(84px, 10.5vh, 128px) 0;
  scroll-margin-top: 74px
}

.display {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.028em;
  line-height: .98;
  font-size: clamp(2.2rem, 4.6vw, 4.35rem);
  text-wrap: balance;
}

.lede {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: #C4CFDD;
  max-width: 44ch
}

.fine {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none
}

.eyebrow__num {
  font-variant-numeric: tabular-nums;
  color: var(--ocean);
  letter-spacing: .08em;
  margin-right: 2px;
}

/* ---------- buttons + links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .4s var(--ease), background .35s, color .35s, border-color .35s;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform .4s var(--ease)
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 250, 252, .4)
}

.btn:active {
  transform: translateY(0) scale(.99)
}

.btn--solid {
  background: var(--text);
  border-color: var(--text);
  color: #070A10
}

.btn--solid:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  color: #04121C
}

.btn--ghost {
  min-height: 42px;
  padding: 0 16px;
  font-size: .64rem
}

.btn--small {
  min-height: 42px;
  padding: 0 16px
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color .35s, color .35s;
}

.text-link svg {
  width: 13px;
  height: 13px;
  transition: transform .35s var(--ease)
}

.text-link:hover {
  color: var(--ocean);
  border-color: var(--ocean)
}

.text-link:hover svg {
  transform: translate(3px, -3px)
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(0, 0, 0, .55);
  border-bottom: 1px solid transparent;
  transition: background .45s, border-color .45s, backdrop-filter .45s;
}

.site-header.is-scrolled {
  background: rgba(4, 6, 11, .72);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .28);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex: none
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(248, 250, 252, .3);
  border-radius: 50%;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
  transition: background .35s, color .35s, border-color .35s;
}

.brand:hover .brand__mark {
  background: var(--ocean);
  border-color: var(--ocean);
  color: #04121C
}

.brand__text {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px)
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
  white-space: nowrap;
}

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

.nav a:hover,
.nav a[aria-current] {
  color: var(--text)
}

.nav a:hover::after,
.nav a[aria-current]::after {
  transform: scaleX(1)
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 12px
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform .35s var(--ease), opacity .3s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3px) rotate(45deg)
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg)
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 76px var(--gutter) 48px var(--gutter);
  background: rgba(6, 9, 15, .98);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu__nav a span {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .16em;
  color: var(--ocean)
}

.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 26px;
  overflow: hidden;
  background: #05080D;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: .72;
  filter: saturate(.82) contrast(1.03)
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(20, 66, 96, .42), transparent 58%),
    linear-gradient(180deg, rgba(5, 8, 13, .62) 0%, rgba(5, 8, 13, .12) 34%, rgba(5, 8, 13, .64) 68%, #070A10 100%),
    linear-gradient(90deg, rgba(5, 8, 13, .72) 0%, rgba(5, 8, 13, .1) 62%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease
}

.hero__canvas.is-ready {
  opacity: .85
}

.hero__ghost {
  position: absolute;
  right: -1vw;
  bottom: 54px;
  z-index: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4.2rem, 15vw, 15.5rem);
  line-height: .72;
  letter-spacing: -.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 250, 252, .11);
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  flex: 1;
  padding-bottom: clamp(28px, 5vh, 56px);
}

.hero__content {
  max-width: 820px
}

.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5.9rem);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0 0 26px;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
  margin-bottom: -.06em
}

.hero__title .line__i {
  display: block;
  will-change: transform
}

.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.015em;
  color: #E9F6FF;
}

.hero__support {
  max-width: 47ch;
  color: #C3CFDD;
  font-size: clamp(.94rem, 1.1vw, 1.04rem);
  line-height: 1.7;
  margin-bottom: clamp(24px, 3.4vh, 34px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.hero__frame {
  position: relative;
  justify-self: end;
  width: min(100%, 318px);
  margin-bottom: 8px
}

.hero__frame-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, .22);
  background: #0B111B;
}

.hero__frame-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 13, .05) 30%, rgba(5, 8, 13, .55) 100%);
}

.hero__frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9)
}

.hero__frame-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(248, 250, 252, .24);
  background: rgba(5, 8, 13, .42);
  backdrop-filter: blur(6px);
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #EAF6FF;
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(56, 189, 248, .28);
  z-index: -1;
}

.hero__plate {
  position: absolute;
  left: -26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  background: rgba(8, 12, 19, .86);
  border: 1px solid rgba(248, 250, 252, .16);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.hero__plate-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--ocean);
  color: #04121C;
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero__plate span:last-child {
  font-size: .58rem;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #D7E4F1;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}

.scroll-cue:hover {
  color: var(--text)
}

.scroll-cue__line {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(248, 250, 252, .16);
  overflow: hidden
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -45%;
  width: 100%;
  height: 45%;
  background: var(--ocean);
  animation: cue 2.4s var(--ease) infinite
}

@keyframes cue {
  0% {
    top: -45%
  }

  65%,
  100% {
    top: 110%
  }
}

.hero__meta {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

.hero__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C3CFDD;
  text-decoration: none;
  transition: color .3s;
}

.hero__social svg {
  width: 14px;
  height: 14px
}

.hero__social:hover {
  color: var(--ocean)
}

@media (max-width:1180px) {
  .hero {
    justify-content: flex-end
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: clamp(10px, 4vh, 40px)
  }

  .hero__frame {
    display: none
  }

  .hero__content {
    max-width: 900px
  }

  .hero__ghost {
    bottom: 86px;
    opacity: .8
  }
}

/* ---------- about ---------- */
.about {
  background: var(--bg)
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(58% 52% at 14% 0%, rgba(37, 99, 235, .11), transparent 70%);
}

.s-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(42px, 6.5vh, 78px);
}

.s-head__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 4px
}

.s-head__aside .lede {
  color: #BCC9D8
}

.roles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start
}

.role {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 17px
}

.role:nth-child(2) {
  margin-top: clamp(28px, 7vh, 78px)
}

.role:nth-child(3) {
  margin-top: clamp(10px, 3vh, 32px)
}

.role__media {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0C121C;
}

.role__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.9);
  transition: transform 1.2s var(--ease), filter .6s;
}

.role__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 13, 0) 42%, rgba(5, 8, 13, .62) 100%);
}

.role:hover .role__media img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1)
}

.role__num {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(248, 250, 252, .22);
  background: rgba(5, 8, 13, .4);
  backdrop-filter: blur(6px);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: #EAF6FF;
}

.role__masks {
  position: absolute;
  left: 16px;
  bottom: 15px;
  z-index: 2;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #D7E4F1
}

.role__body {
  padding-right: 8px
}

.role__body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.role__body p {
  font-size: .9rem;
  line-height: 1.66;
  color: var(--muted);
  max-width: 36ch
}

/* ---------- life at sea ---------- */
.sea {
  background: #04070C;
  padding: 0;
  scroll-margin-top: 0
}

.sea__stage {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3.4vh, 38px);
  padding: clamp(90px, 12vh, 118px) 0 clamp(20px, 3.4vh, 34px);
  overflow: hidden;
}

.sea__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(70% 70% at 82% 58%, rgba(21, 92, 128, .2), transparent 70%);
}

.sea__ghost {
  position: absolute;
  left: 2vw;
  top: 9%;
  z-index: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4.2rem, 16vw, 16rem);
  line-height: .8;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 250, 252, .065);
  pointer-events: none;
  user-select: none;
}

.sea__head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.sea__head h2 {
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  max-width: 14ch
}

.sea__aside p {
  font-size: .94rem;
  line-height: 1.7;
  color: #A9B8C9;
  max-width: 40ch
}

.sea__notes {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 9px
}

.sea__notes li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #C4CFDD;
}

.sea__notes span {
  color: var(--ocean);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em
}

.sea__viewport {
  position: relative;
  z-index: 2;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
}

.sea__viewport::-webkit-scrollbar {
  display: none
}

.sea__track {
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  width: max-content;
  will-change: transform
}

.sea-card {
  position: relative;
  flex: none;
  width: clamp(268px, 28vw, 412px);
  height: clamp(288px, 44vh, 424px);
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line-soft);
  background: #0A1019;
}

.sea-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.84);
  transition: transform 1.2s var(--ease), filter .7s;
}

.sea-card:hover img {
  transform: scale(1.03);
  filter: saturate(1) brightness(.96)
}

.sea-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0) 48%, rgba(4, 7, 12, .74) 100%);
}

.sea-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.sea-card__num {
  font-size: .58rem;
  letter-spacing: .18em;
  color: var(--ocean);
  font-variant-numeric: tabular-nums
}

.sea-card__title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase
}

.sea__hud {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.sea__bar {
  flex: 1;
  height: 1px;
  background: var(--line);
  overflow: hidden
}

.sea__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ocean), var(--amber));
  transform: scaleX(.04);
  transform-origin: left;
  transition: transform .15s linear
}

@media (min-width:1024px) {
  .sea__viewport {
    overflow: hidden
  }
}

/* ---------- family ---------- */
.family {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(78px, 10vh, 116px) 0;
  scroll-margin-top: 0;
}

.family::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 88% 12%, rgba(180, 83, 9, .13), transparent 70%);
}

.family .eyebrow {
  color: #746859
}

.family .eyebrow::before {
  opacity: .45
}

.family .eyebrow__num {
  color: #B45309
}

.family h2 {
  color: var(--ink);
  max-width: 13ch
}

.family__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(34px, 5.4vw, 84px);
  align-items: center;
}

.family__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.05vw, 1.86rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: #2B241B;
  margin: 26px 0 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(180, 83, 9, .4);
  max-width: 25ch;
}

.family__body {
  font-size: .94rem;
  line-height: 1.7;
  color: #554C40;
  max-width: 44ch
}

.family__privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(21, 18, 15, .14);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #746859;
}

.family__privacy svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: #B45309
}

.family__gallery {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  grid-template-rows: 1fr 1fr;
  gap: 13px;
  height: clamp(360px, 57vh, 590px);
}

.family__figure {
  position: relative;
  overflow: hidden;
  background: #D7CBB9;
  border: 1px solid rgba(21, 18, 15, .16)
}

.family__figure--wide {
  grid-row: 1 / 3
}

.family__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.02);
  transition: transform 1.3s var(--ease)
}

.family__figure:hover img {
  transform: scale(1.03)
}

.family__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(60, 40, 15, .18);
}

/* ---------- adventures ---------- */
.adventures {
  background: var(--bg);
  overflow: hidden
}

.adventures .s-head {
  margin-bottom: clamp(32px, 4.5vh, 52px)
}

.adv__head-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 4px
}

.adv__controls {
  display: flex;
  gap: 8px
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}

.icon-btn svg {
  width: 16px;
  height: 16px
}

.icon-btn:hover:not(:disabled) {
  background: var(--text);
  border-color: var(--text);
  color: #070A10;
  transform: translateY(-2px)
}

.icon-btn:disabled {
  opacity: .28;
  cursor: default
}

.adv__rail {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 var(--gutter) 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.adv__rail::-webkit-scrollbar {
  display: none
}

.adv-card {
  flex: none;
  width: clamp(268px, 23.5vw, 348px);
  scroll-snap-align: start;
}

.adv-card__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0B111B;
  margin-bottom: 16px;
}

.adv-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.9);
  transition: transform 1.2s var(--ease), filter .7s
}

.adv-card:hover .adv-card__media img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1)
}

.adv-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 13, 0) 55%, rgba(5, 8, 13, .6) 100%);
}

.adv-card__num {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(248, 250, 252, .22);
  background: rgba(5, 8, 13, .42);
  backdrop-filter: blur(6px);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: #EAF6FF;
}

.adv-card__cat {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 7px
}

.adv-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.adv-card p {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch
}

.adv__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px
}

.adv__bar {
  flex: 1;
  height: 1px;
  background: var(--line);
  overflow: hidden
}

.adv__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ocean), var(--amber));
  transform: scaleX(.08);
  transform-origin: left;
  transition: transform .1s linear
}

.adv__hint {
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap
}

/* ---------- interests ---------- */
.interests {
  --accent: #38BDF8;
  background: var(--bg-2);
  overflow: hidden;
  scroll-margin-top: 0
}

.interests::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 55% at 82% 18%, rgba(56, 189, 248, .09), transparent 70%);
}

.interests__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.interest-tabs {
  border-bottom: 1px solid var(--line)
}

.interest-tab {
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 19px 4px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  color: #8FA0B4;
  transition: color .35s, padding .4s var(--ease), box-shadow .35s, background .35s;
}

.interest-tab:hover {
  color: var(--text);
  padding-left: 10px
}

.interest-tab[aria-selected="true"] {
  color: var(--text);
  padding-left: 12px;
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 2px 0 0 var(--accent);
}

.interest-tab__num {
  font-size: .56rem;
  letter-spacing: .16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 6px
}

.interest-tab[aria-selected="true"] .interest-tab__num {
  color: var(--accent)
}

.interest-tab__label {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.65vw, 1.5rem);
  line-height: 1.12;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.interest-tab__desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--sans);
  font-size: .77rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  transition: max-height .55s var(--ease), opacity .4s, margin .4s;
}

.interest-tab[aria-selected="true"] .interest-tab__desc {
  max-height: 84px;
  opacity: 1;
  margin-top: 7px
}

.interest-tab__arrow {
  color: var(--accent);
  opacity: .45;
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease), opacity .3s
}

.interest-tab__arrow svg {
  width: 14px;
  height: 14px
}

.interest-tab[aria-selected="true"] .interest-tab__arrow {
  opacity: 1;
  transform: rotate(45deg)
}

.interest-panel {
  border: 1px solid var(--line);
  background: #080D15;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.interest__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0B111B
}

.interest__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity .8s var(--ease), transform 1.7s var(--ease);
  filter: saturate(.95);
}

.interest__media img.is-active {
  opacity: 1;
  transform: scale(1)
}

.interest__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 13, 0) 58%, rgba(5, 8, 13, .55) 100%);
}

.interest__meta {
  padding: clamp(20px, 2.3vw, 30px)
}

.interest__kicker {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 9px
}

.interest__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.interest__copy {
  font-size: .9rem;
  line-height: 1.7;
  color: #A9B8C9;
  max-width: 52ch
}

.interest__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px
}

.interest__tags li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C4CFDD;
}

.interest__meta.is-in {
  animation: metaIn .5s var(--ease) both
}

@keyframes metaIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }
}

/* ---------- creator ---------- */
.creator {
  background: var(--bg)
}

.posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px)
}

.post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  background: #090E16;
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .45s, background .45s;
}

.post:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, .35);
  background: #0A111B
}

.post--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.28fr .72fr
}

.post__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: #0C121C
}

.post--lead .post__media {
  aspect-ratio: 16/8.6
}

.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.92);
  transition: transform 1.2s var(--ease), filter .7s
}

.post:hover .post__media img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1)
}

.post__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(248, 250, 252, .22);
  background: rgba(5, 8, 13, .5);
  backdrop-filter: blur(6px);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #EAF6FF;
}

.post__body {
  padding: clamp(18px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px
}

.post__body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.post__body p {
  font-size: .86rem;
  line-height: 1.64;
  color: var(--muted);
  max-width: 42ch
}

.post__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ocean);
}

.post__link svg {
  width: 12px;
  height: 12px;
  transition: transform .35s var(--ease)
}

.post:hover .post__link svg {
  transform: translate(3px, -3px)
}

.creator__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 100%;
}

.creator__note strong {
  color: var(--text);
  font-weight: 500
}

.creator__note a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ocean);
  text-decoration: none;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.creator__note a svg {
  width: 13px;
  height: 13px
}

.creator__note a:hover {
  color: var(--text)
}

/* ---------- archive ---------- */
.archive {
  background: var(--bg-2)
}

.archive::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(55% 50% at 50% 0%, rgba(37, 99, 235, .08), transparent 70%);
}

.archive__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.filter {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: .59rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}

.filter:hover {
  color: var(--text);
  border-color: rgba(248, 250, 252, .35)
}

.filter[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: #070A10
}

.archive__count {
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap
}

.gallery {
  position: relative;
  z-index: 1;
  columns: 3;
  column-gap: 16px
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 16px;
  border: 1px solid var(--line-soft);
  background: #0B111B;
  cursor: zoom-in;
  break-inside: avoid;
  overflow: hidden;
}

.gallery__item[hidden] {
  display: none !important
}

.gallery__item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform 1.1s var(--ease), filter .5s;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1)
}

.gallery__tag {
  position: absolute;
  left: 11px;
  bottom: 11px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(248, 250, 252, .18);
  background: rgba(5, 8, 13, .66);
  backdrop-filter: blur(6px);
  font-size: .54rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #EAF6FF;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s var(--ease);
}

.gallery__zoom {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(248, 250, 252, .2);
  background: rgba(5, 8, 13, .56);
  color: #fff;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .35s, transform .35s var(--ease);
}

.gallery__zoom svg {
  width: 14px;
  height: 14px
}

.gallery__item:hover .gallery__tag,
.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__tag,
.gallery__item:focus-visible .gallery__zoom {
  opacity: 1;
  transform: none;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(3, 5, 9, .95);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(1080px, calc(100vw - 180px));
  max-height: 92vh;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lightbox__bar strong {
  color: var(--text);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: none;
  font-size: .72rem
}

.lightbox__cat {
  color: var(--ocean);
  margin-right: 8px
}

.lightbox__frame {
  display: flex;
  justify-content: center;
  min-height: 0
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(88vh - 52px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(248, 250, 252, .18);
  background: #0B111B;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(8, 12, 19, .7);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .3s, color .3s, border-color .3s;
}

.lightbox__nav svg {
  width: 17px;
  height: 17px
}

.lightbox__nav:hover {
  background: var(--text);
  border-color: var(--text);
  color: #070A10
}

.lightbox__nav--prev {
  left: clamp(10px, 2.4vw, 34px)
}

.lightbox__nav--next {
  right: clamp(10px, 2.4vw, 34px)
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: clamp(12px, 3vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(8, 12, 19, .7);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}

.lightbox__close svg {
  width: 13px;
  height: 13px
}

.lightbox__close:hover {
  background: var(--text);
  color: #070A10
}

/* ---------- timeline ---------- */
.journey {
  background: var(--bg)
}

.timeline {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 6px 0
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-soft);
  transform: translateX(-.5px);
}

.timeline__progress {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--ocean) 0%, var(--blue) 55%, var(--amber) 100%);
  transform: translateX(-.5px) scaleY(1);
  transform-origin: top;
}

.motion .timeline__progress {
  transform: translateX(-.5px) scaleY(0)
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.6vw, 72px);
  padding-bottom: clamp(40px, 6vh, 62px);
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #05080D;
  border: 1px solid var(--ocean);
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px #070A10;
}

.tl-item:last-child {
  padding-bottom: 0
}

.tl-card {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-top: 2px
}

.tl-item:nth-child(even) .tl-card {
  grid-column: 2;
  text-align: left
}

.tl-kicker {
  display: block;
  margin-bottom: 7px;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ocean);
  font-variant-numeric: tabular-nums;
}

.tl-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.tl-card p {
  font-size: .85rem;
  line-height: 1.66;
  color: var(--muted);
  max-width: 36ch;
  margin-left: auto
}

.tl-item:nth-child(even) .tl-card p {
  margin-left: 0;
  margin-right: auto
}

.tl-media {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0C121C;
}

.tl-item:nth-child(even) .tl-media {
  grid-column: 1
}

.tl-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.9);
  transition: transform 1.3s var(--ease), filter .6s
}

.tl-media:hover img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1)
}

.tl-end {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 30px;
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.tl-end span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--bg)
}

/* ---------- closing ---------- */
.closing {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #05080D;
  scroll-margin-top: 0;
}

.closing__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden
}

.closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: .58;
  filter: saturate(.9);
}

.closing__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 20% 80%, rgba(180, 83, 9, .14), transparent 60%),
    linear-gradient(180deg, rgba(5, 8, 13, .75) 0%, rgba(5, 8, 13, .2) 38%, rgba(5, 8, 13, .86) 76%, #070A10 100%);
}

.closing__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(130px, 19vh, 210px);
  padding-bottom: clamp(48px, 7vh, 78px)
}

.closing h2 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.035em;
  margin: 16px 0 22px;
  text-wrap: balance;
}

.closing__support {
  max-width: 48ch;
  color: #C3CFDD;
  font-size: clamp(.94rem, 1.1vw, 1.04rem);
  line-height: 1.7;
  margin-bottom: 30px
}

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 13, .62);
  backdrop-filter: blur(8px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr .8fr;
  gap: 32px;
  padding: 34px 0 26px;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 14px
}

.footer__brand p {
  font-size: .76rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 27ch
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 6px
}

.footer__nav a {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}

.footer__nav a:hover {
  color: var(--text)
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  padding-top: 4px;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.footer__meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ocean);
  text-decoration: none
}

.footer__meta a svg {
  width: 12px;
  height: 12px
}

.footer__meta a:hover {
  color: var(--text)
}

.footer__fine {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0 20px;
  border-top: 1px solid var(--line-soft);
  font-size: .59rem;
  line-height: 1.65;
  color: #6D7D8F;
  max-width: 100%;
}

.footer__fine p {
  max-width: 70ch
}

/* ---------- global chrome ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 96;
  height: 2px;
  pointer-events: none
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--ocean) 60%, var(--amber));
  transform: scaleX(0);
  transform-origin: left;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--text);
  color: #070A10;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform .3s;
}

.skip-link:focus {
  transform: none
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: #05070C;
  pointer-events: none;
  animation: veilOut .9s var(--ease) 1.35s forwards;
}

.veil__mark {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--text);
  padding-left: .22em
}

.veil__line {
  position: relative;
  width: 128px;
  height: 1px;
  background: rgba(248, 250, 252, .16);
  overflow: hidden
}

.veil__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ocean), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  animation: veilLine 1.1s var(--ease) .15s forwards
}

.veil__text {
  font-size: .55rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted)
}

@keyframes veilOut {
  to {
    opacity: 0;
    visibility: hidden
  }
}

@keyframes veilLine {
  to {
    transform: scaleX(1)
  }
}

.noscript {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  padding: 14px 18px;
  background: #0B111B;
  border: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}

.noscript a {
  color: var(--ocean)
}

/* ---------- motion gates ---------- */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(26px)
}

.motion .hero__title .line__i {
  opacity: 0
}

.motion .hero__frame {
  opacity: 0
}

.motion .hero__ghost {
  opacity: 0
}

/* ---------- responsive ---------- */
@media (max-width:1180px) {
  .hero__title {
    font-size: clamp(2.7rem, 7.4vw, 5rem)
  }

  .sea__head h2 {
    font-size: clamp(1.9rem, 4.8vw, 3.4rem)
  }
}

@media (max-width:1023px) {
  .sea__stage {
    height: auto;
    min-height: 0;
    padding: clamp(88px, 12vh, 110px) 0 clamp(56px, 8vh, 76px)
  }

  .sea__ghost {
    top: 4%
  }

  .interests__body {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .family__grid {
    grid-template-columns: 1fr;
    gap: 38px
  }

  .family__gallery {
    height: min(64vh, 520px)
  }

  .gallery {
    columns: 2
  }

  .lightbox__figure {
    width: min(920px, calc(100vw - 130px))
  }
}

@media (max-width:900px) {
  .nav {
    display: none
  }

  .menu-btn {
    display: flex
  }

  .site-header__inner {
    min-height: 70px
  }

  .s-head {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .s-head__aside {
    padding-bottom: 0
  }

  .roles {
    grid-template-columns: 1fr 1fr;
    gap: 22px
  }

  .role,
  .role:nth-child(2),
  .role:nth-child(3) {
    grid-column: auto;
    margin-top: 0
  }

  .role:last-child {
    grid-column: 1 / -1;
    max-width: 50%
  }

  .sea__head {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .sea__aside p {
    max-width: 56ch
  }

  .sea__notes {
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px
  }

  .adv-card {
    width: min(72vw, 320px)
  }

  .posts {
    grid-template-columns: 1fr
  }

  .post--lead {
    grid-template-columns: 1fr
  }

  .post--lead .post__media {
    aspect-ratio: 16/10
  }

  .gallery {
    columns: 2;
    column-gap: 12px
  }

  .gallery__item {
    margin-bottom: 12px
  }

  .tl-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 34px;
    padding-bottom: 38px
  }

  .timeline::before,
  .timeline__progress {
    left: 6px;
    transform: translateX(0) scaleY(1)
  }

  .motion .timeline__progress {
    transform: translateX(0) scaleY(0)
  }

  .tl-item::before {
    left: 6px;
    top: 6px
  }

  .tl-card,
  .tl-item:nth-child(even) .tl-card {
    grid-column: 1;
    grid-row: 2;
    text-align: left
  }

  .tl-card p,
  .tl-item:nth-child(even) .tl-card p {
    margin: 0;
    max-width: 52ch
  }

  .tl-media,
  .tl-item:nth-child(even) .tl-media {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 16/9
  }

  .lightbox__figure {
    width: calc(100vw - 32px)
  }

  .lightbox__nav {
    top: auto;
    bottom: 22px;
    transform: none;
    width: 46px;
    height: 46px
  }

  .lightbox__nav--prev {
    left: calc(50% - 58px)
  }

  .lightbox__nav--next {
    right: calc(50% - 58px)
  }

  .lightbox__img {
    max-height: calc(100vh - 200px)
  }

  .lightbox__close {
    top: 12px;
    right: 12px
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 26px
  }

  .footer__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 22px
  }
}

@media (max-width:700px) {
  .roles {
    grid-template-columns: 1fr
  }

  .role:last-child {
    grid-column: auto;
    max-width: none
  }

  .role__media {
    aspect-ratio: 16/10
  }

  .hero {
    padding-top: 112px
  }

  .hero__title {
    font-size: clamp(2.45rem, 11.4vw, 3.6rem)
  }

  .hero__support {
    font-size: .92rem;
    max-width: 38ch
  }

  .hero__bottom {
    gap: 14px
  }

  .hero__meta {
    display: none
  }

  .hero__social span {
    display: none
  }

  .hero__ghost {
    bottom: 96px;
    font-size: 23vw;
    opacity: .55
  }

  .family__gallery {
    height: 430px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.25fr .75fr
  }

  .family__figure--wide {
    grid-row: 1;
    grid-column: 1 / -1
  }

  .sea__notes {
    grid-template-columns: 1fr
  }

  .post__body {
    padding: 20px
  }

  .posts {
    gap: 16px
  }

  .filters {
    gap: 6px
  }

  .filter {
    padding: 8px 11px;
    font-size: .55rem
  }

  .archive__count {
    display: none
  }

  .lightbox__bar strong {
    font-size: .66rem
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .footer__nav {
    order: 2
  }

  .footer__meta {
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
  }

  .closing h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.4rem)
  }

  .closing__inner {
    padding-bottom: 44px
  }
}

@media (max-width:480px) {
  .hero__actions {
    gap: 10px
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    min-height: 48px
  }

  .scroll-cue {
    font-size: .56rem
  }

  .gallery {
    columns: 2;
    column-gap: 10px
  }

  .gallery__item {
    margin-bottom: 10px
  }

  .gallery__tag {
    display: none
  }

  .family__gallery {
    height: 380px
  }

  .interest__tags {
    gap: 6px
  }

  .interest__tags li {
    font-size: .52rem;
    padding: 5px 8px
  }

  .lightbox__close span {
    display: none
  }

  .footer__fine {
    font-size: .55rem
  }
}

@media (max-width:380px) {
  .gallery {
    columns: 1
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important
  }

  .veil {
    display: none
  }

  .hero__canvas {
    display: none
  }

  .scroll-cue__line::after {
    display: none
  }

  .motion [data-reveal] {
    opacity: 1;
    transform: none
  }

  .motion .timeline__progress {
    transform: translateX(-.5px) scaleY(1)
  }
}