:root {
  --void:        #040d12;
  --deep:        #07161e;

  --teal:        #14b8a6;
  --emerald:     #10b981;
  --azure:       #2b8fd4;

  --accent:      #2ec4b6;
  --accent-hi:   #5ee0d0;
  --accent-deep: #0f7d74;

  --text:        #eef5f6;
  --text-soft:   #d2dfe2;
  --text-faint:  #a7bbc0;

  --glass:       rgba(255,255,255,.045);
  --glass-2:     rgba(255,255,255,.014);
  --glass-brd:   rgba(255,255,255,.10);
  --glass-brd-2: rgba(255,255,255,.20);
  --hairline:    rgba(255,255,255,.085);

  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;

  --measure: 38rem;

  --measure-lede: 44rem;
  --wrap: 68rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-w: 11rem;
  --ease: cubic-bezier(.22,.68,.24,1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 99;
  background: var(--deep); color: var(--accent);
  padding: .6rem .9rem; border: 1px solid var(--glass-brd-2); border-radius: 10px;
}

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; border-radius: 3px; }

.space {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #0b2028 0%, transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, var(--void) 55%, #02070a 100%);
}

.depth { position: absolute; inset: -20% -10%; will-change: transform; }
.depth-far {
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.30), transparent 60%),
    radial-gradient(1px 1px at 72% 18%, rgba(190,240,238,.25), transparent 60%),
    radial-gradient(1px 1px at 44% 66%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(1px 1px at 86% 78%, rgba(148,230,200,.22), transparent 60%);
  opacity: .7;
}
.depth-mid {
  background:
    radial-gradient(1.5px 1.5px at 12% 52%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 40%, rgba(125,211,252,.28), transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 84%, rgba(255,255,255,.25), transparent 60%);
  opacity: .55;
}

#stars { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.glow { position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform; }
.glow-a {
  width: 46rem; height: 46rem; top: -18rem; left: -14rem;
  background: radial-gradient(circle, rgba(20,184,166,.34), transparent 66%);
}
.glow-b {
  width: 44rem; height: 44rem; top: 34%; right: -18rem;
  background: radial-gradient(circle, rgba(43,143,212,.28), transparent 66%);
}
.glow-c {
  width: 40rem; height: 40rem; bottom: -16rem; left: 24%;
  background: radial-gradient(circle, rgba(16,185,129,.20), transparent 66%);
}

.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(2,7,10,.72) 100%);
}

.constellation {
  position: fixed; z-index: 40;
  top: 50%; right: clamp(1rem, 3vw, 2.25rem);
  transform: translateY(-50%);
  width: var(--nav-w);
  pointer-events: none;
}
.constellation ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: clamp(1.1rem, 2.4vh, 1.7rem);
  align-items: flex-start;
  pointer-events: auto;
  /* the dots sit above the progress line, which is positioned and would
     otherwise paint over them */
  position: relative; z-index: 1;
}
.constellation a {
  position: relative;
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
  color: var(--text-faint);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .45s var(--ease);
}
/* hit area only. absolutely positioned, so no box changes size. */
.constellation a::after {
  content: '';
  position: absolute; inset: -9px -9px;
}
.node {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%;
  /* opaque, matching how the old translucent white read against the ground. a
     translucent dot let the progress line show straight through it. */
  background: #36454a;
  flex: 0 0 auto;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.node-label { opacity: .55; transition: opacity .45s var(--ease), transform .45s var(--ease); }

.constellation a:hover { color: var(--text-soft); }
.constellation a:hover .node { background: rgba(94,224,208,.7); transform: scale(1.25); }
.constellation a:hover .node-label { opacity: .95; }

.constellation a.visited { color: var(--text-soft); }
.constellation a.visited .node {
  background: var(--accent);
  box-shadow: 0 0 8px 1px rgba(94,224,208,.30);
}
.constellation a.visited .node-label { opacity: .92; font-weight: 700; }

.constellation a.active { color: var(--text); }
.constellation a.active .node {
  background: var(--accent-hi);
  box-shadow: 0 0 0 4px rgba(46,196,182,.14), 0 0 14px 3px rgba(94,224,208,.5);
  transform: scale(1.35);
}
.constellation a.active .node-label { opacity: 1; font-weight: 700; transform: translateX(2px); }

.spine {
  position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px;
  pointer-events: none;
}
.spine-track { position: absolute; inset: 0; background: rgba(255,255,255,.10); }
.spine-live {
  position: absolute; left: 0; top: 0; width: 1px; height: 0;
  background: linear-gradient(180deg, rgba(46,196,182,.15), var(--accent-hi));
  box-shadow: 0 0 8px rgba(94,224,208,.5);
  transition: height .35s var(--ease);
}
.traveler {
  position: absolute; left: 50%; top: 0;
  width: 5px; height: 5px; margin-left: -2px; margin-top: -2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px rgba(94,224,208,.75);
  transition: top .35s var(--ease);
}

@media (max-width: 60rem) {
  .constellation { width: auto; }
  .node-label { display: none; }
}

/* tablets keep the rail on the right but lose every label, which leaves a column
   of unnamed dots. name the one you are on, to the left of the rail. */
@media (min-width: 40.0625rem) and (max-width: 60rem) {
  .constellation a.active .node-label {
    display: block;
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    opacity: 1;
    color: var(--accent-hi);
    font-size: .625rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: rgba(5,16,21,.88);
    border: 1px solid rgba(94,224,208,.18);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
  }
}
@media (max-width: 40rem) {
  /* the name and the dots live in one panel, so the whole control reads as a
     single object sitting above the page rather than tangling with the copy */
  .constellation {
    top: auto; bottom: .85rem; right: 50%;
    transform: translateX(50%);
    width: auto;
    padding: 2.5rem .95rem .7rem;
    border-radius: 20px;
    background: rgba(16,30,36,.93);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 14px 34px rgba(2,10,14,.6);
    -webkit-backdrop-filter: blur(11px);
    backdrop-filter: blur(11px);
    pointer-events: auto;
  }
  .constellation ul { flex-direction: row; gap: 1.15rem; align-items: center; }
  .constellation .node { width: 8px; height: 8px; }

  /* the progress line runs across the dots rather than down them. its vertical
     placement is set from the measured dot centre, not guessed here. */
  .spine {
    display: block;
    left: 0; right: auto; bottom: auto; top: 0;
    width: 1px; height: 1px;
  }
  .spine-live {
    top: 0; left: 0; height: 1px; width: 0;
    background: linear-gradient(90deg, rgba(46,196,182,.15), var(--accent-hi));
    transition: width .35s var(--ease);
  }
  .traveler {
    top: 50%; left: 0;
    margin-top: -2.5px; margin-left: -2.5px;
    transition: left .35s var(--ease);
  }

  /* The panel carries a transform, which makes it the containing block for a fixed
     child. So this positions against the panel, not the viewport, which is exactly
     what we want: the name centres on the panel rather than on the active dot. */
  .constellation a.active .node-label {
    display: block;
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 1;
    color: var(--accent-hi);
    font-size: .625rem;
  }
  /* keep the footer clear of the floating rail */
  .scene-connect { padding-bottom: 5.5rem; }
}

.scene {
  position: relative;
  padding-block: clamp(6rem, 16vh, 11rem);
  padding-inline: var(--gutter);
  padding-right: calc(var(--gutter) + var(--nav-w) * .55);
}

/* the reservation above is nav-w * .55, but with labels showing the rail is a full
   nav-w wide. that shortfall only clears at very wide viewports, so anything under
   1400px reserves the rail's real footprint instead. */
@media (min-width: 60.0625rem) and (max-width: 89rem) {
  .scene { padding-right: calc(var(--gutter) + var(--nav-w) + 1rem); }
}

/* Tablet portrait keeps the rail on the right and shows the active label beside it,
   so reserve room for that label rather than letting it sit over the copy. Below
   40rem the rail moves to the bottom and the space is returned entirely. */
@media (min-width: 40.0625rem) and (max-width: 60rem) {
  .scene { padding-right: calc(var(--gutter) + 9.5rem); }
}
@media (max-width: 40rem) {
  .scene { padding-right: var(--gutter); }
}

.stage {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}

.scene-index {
  font-size: .8125rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text);
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  display: flex; align-items: center; gap: .8rem;
}
.scene-index span {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.scene-index::after {
  content: ''; height: 1px; flex: 1 1 auto; max-width: 7rem;
  background: linear-gradient(90deg, rgba(46,196,182,.45), transparent);
}

.scene-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.2; letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 1.5rem;
  max-width: none;
  text-wrap: balance;
}

.scene-lede {
  font-size: 1.125rem; line-height: 1.65;
  color: var(--text-soft);
  max-width: var(--measure-lede);
  margin: 0 0 clamp(2.5rem, 6vw, 3.5rem);
  text-wrap: pretty;
}

.micro-label {
  font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-hi); margin: 0 0 1.25rem;
  display: flex; align-items: center; gap: .7rem;
}
.micro-label::after {
  content: ''; height: 1px; flex: 1 1 auto; max-width: 5rem;
  background: linear-gradient(90deg, rgba(46,196,182,.5), transparent);
}

p { margin: 0 0 1.25rem; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); }
a:hover { color: var(--accent-hi); }

h2, h3 { color: var(--text); }

.scene-origin {
  min-height: 100svh;
  display: flex; align-items: center;
}

.js .scene-origin .stage { position: relative; z-index: 1; }
.js .shoot {
  position: absolute; left: 0; top: 0;
  width: 3px; height: 3px; border-radius: 50%;
  z-index: 0; opacity: 0; pointer-events: none;
  background: #ffffff;
  box-shadow: 0 0 10px 3px rgba(94,224,208,.9);
}
.js .shoot::before {
  content: ''; position: absolute;
  right: 1px; top: 50%;
  width: 210px; height: 2px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg,
    rgba(94,224,208,0) 0%,
    rgba(46,196,182,.4) 40%,
    rgba(150,240,230,.85) 80%,
    rgba(255,255,255,.95) 100%);
}
.js .shoot.go { animation: shootPass 1.45s cubic-bezier(.3,.06,.5,1) .45s both; }
.js .shoot.spent { display: none; }

@keyframes shootPass {
  0%   { opacity: 0; transform: translate(24vw, -10vh) rotate(25deg); }
  9%   { opacity: 1; }
  82%  { opacity: 1; }
  100% { opacity: 0; transform: translate(106vw, 52vh) rotate(25deg); }
}

@media (prefers-reduced-motion: reduce) {
  .js .shoot { display: none; }
}
.scene-origin .stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'display  portrait'
    'position portrait'
    'focus    portrait'
    'idx      portrait'
    'body     portrait'
    'hire     portrait';
  align-items: center;
  column-gap: clamp(2rem, 6vw, 5rem);
}
.scene-origin .scene-index { grid-area: idx; margin: .5rem 0 1.75rem; }

.display {
  grid-area: display;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.25rem, 11vw, 8rem);
  line-height: 1.02; letter-spacing: -.035em;
  color: var(--text);
  margin: 0 0 1.5rem;
}
.display .line { display: block; }
.display .accent {
  color: transparent;
  background: linear-gradient(102deg, var(--accent-hi), var(--accent) 42%, var(--azure));
  -webkit-background-clip: text; background-clip: text;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}

.positioning {
  grid-area: position;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  letter-spacing: .01em;
  color: var(--accent-hi);
  margin: 0 0 1.75rem;
}

.focus {
  grid-area: focus;
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1.1rem;
}
.focus li {
  font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-faint);
  display: flex; align-items: center; gap: 1.1rem;
}
.focus li:not(:last-child)::after {
  content: ''; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); opacity: .65;
}

/* across tablet widths the six roles wrap into lopsided rows, so pin them to
   three per line and drop the separator that would dangle at a row end */
@media (min-width: 40.0625rem) and (max-width: 68rem) {
  .focus {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: .55rem 1.1rem;
  }
  .focus li:nth-child(3n)::after { display: none; }
}

.origin-body { grid-area: body; max-width: var(--measure); }
.origin-body p { font-size: 1.0625rem; }
@property --hire-ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.hire {
  grid-area: hire;
  position: relative;
  max-width: var(--measure);
  margin-top: 1.75rem;
  padding: 1.05rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(46,196,182,.22);
  background: linear-gradient(158deg, rgba(14,32,40,.5), rgba(8,20,26,.34));
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .55rem;
}
.hire p {
  margin: 0; max-width: none;
  font-size: 1.1875rem; line-height: 1.45; font-weight: 600;
  color: var(--accent-hi);
}
.hire-spark {
  display: inline-block; vertical-align: baseline;
  width: .8em; height: .8em;
  margin-left: .32em;
  fill: var(--accent-hi);
  filter: drop-shadow(0 0 6px rgba(94,224,208,.75));
}
.js .hire-spark { animation: sparkTwinkle 5.5s var(--ease) infinite; }

@keyframes sparkTwinkle {
  0%, 100% { opacity: .75; transform: scale(.92) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.12) rotate(45deg); }
}

.hire a {
  text-decoration: none; white-space: nowrap;
  font-size: .9375rem; letter-spacing: .01em;
  color: var(--accent);
  border-bottom: 1px solid rgba(46,196,182,.4);
  padding-bottom: 1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.hire a:hover { color: var(--accent-hi); border-bottom-color: var(--accent-hi); }

.js .hire::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(from var(--hire-ang),
    rgba(94,224,208,0) 0deg,
    rgba(94,224,208,0) 232deg,
    rgba(46,196,182,.3) 288deg,
    rgba(94,224,208,.95) 330deg,
    rgba(46,196,182,.3) 348deg,
    rgba(94,224,208,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: hireSweep 5.5s linear infinite;
}

@keyframes hireSweep { to { --hire-ang: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  .js .hire::before, .js .hire-spark { animation: none; }
}

.portrait-col {
  grid-area: portrait;
  position: relative;
  align-self: start;
  margin-top: .75rem;
}

.native {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  margin: .95rem 0 0;
  display: flex; align-items: center; gap: .5rem;
  white-space: nowrap;
  font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint);
}
.native .ohio { width: 14px; height: auto; display: block; opacity: .9; }

.origin-portrait {
  position: relative;
  padding: 6px; border-radius: 20px;
  background: linear-gradient(150deg, rgba(46,196,182,.34), rgba(43,143,212,.16), rgba(255,255,255,.05));
  box-shadow: 0 30px 70px rgba(2,12,16,.6);
}
.origin-portrait::after {
  content: ''; position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(20,184,166,.22), transparent 62%);
  filter: blur(46px); z-index: -1;
}
.origin-portrait img {
  display: block; width: clamp(9rem, 20vw, 14rem);
  height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px;
}

@media (max-width: 52rem) {
  .scene-origin .stage {
    grid-template-columns: 1fr;
    grid-template-areas: 'portrait' 'display' 'position' 'focus' 'idx' 'body' 'hire';
    row-gap: 0;
  }
  .portrait-col { justify-self: start; margin-bottom: 2.25rem; }
  /* the flex box already spans the photo, the contents inside were left aligned */
  .native { position: static; transform: none; justify-content: center; }
  /* the full desktop top padding leaves the photo stranded on a phone */
  .scene-origin { padding-top: clamp(2.75rem, 7vh, 4.5rem); }
}

.panel, .project, .book-note {
  background: linear-gradient(158deg, rgba(14,32,40,.62), rgba(8,20,26,.48));
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
}

.mind-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.75rem);
  max-width: 46rem;
}
.panel { padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel h3 {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.25rem;
}
.panel p { font-size: .9875rem; max-width: none; }

.panel blockquote {
  margin: 0 0 1.5rem; padding-left: 1.1rem;
  border-left: 1px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.4; color: var(--text);
}

.ethos, .brand { margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.ethos > p, .brand > p, .strengths > p {
  max-width: var(--measure);
  margin-bottom: 1.75rem;
}

.principles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.principles li {
  background: var(--void);
  padding: 1.05rem 1.1rem;
  display: flex; align-items: baseline; gap: .7rem;
}
.pr-num {
  font-size: .625rem; letter-spacing: .1em; color: var(--accent);
  font-variant-numeric: tabular-nums; flex: 0 0 auto;
}
.pr-body { display: flex; flex-direction: column; gap: .3rem; }
.pr-name { font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--accent-hi); }
.pr-desc { font-size: .8125rem; line-height: 1.5; color: var(--text-soft); }

@media (max-width: 60rem) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 38rem) { .principles { grid-template-columns: 1fr; } }

.pillars {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

@media (max-width: 56rem) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .pillars { grid-template-columns: 1fr; } }
.pillars li {
  background: var(--void);
  padding: 1.1rem 1.15rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.p-name { font-size: .875rem; font-weight: 600; color: var(--accent-hi); }
.p-desc { font-size: .8125rem; line-height: 1.55; color: var(--text-soft); }

.traits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.traits li {
  display: grid;
  grid-template-columns: 2.5rem 10rem 1fr;
  gap: .3rem 1.5rem;
  align-items: baseline;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--hairline);
}
.t-num { font-size: .6875rem; letter-spacing: .12em; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.t-name { font-size: .9375rem; font-weight: 600; color: var(--accent-hi); }
.t-desc { font-size: .9375rem; line-height: 1.5; color: var(--text-soft); }

@media (max-width: 46rem) {
  .traits li { grid-template-columns: 2.5rem 1fr; }
  .t-desc { grid-column: 2; }
}

#orbit .stage, #launchpad .stage, #contributing .stage, #competencies .stage {
  position: relative; z-index: 1;
}
.orbit-fx, .launch-fx, .signal-fx, .constel-fx {
  position: absolute; left: 0; right: 0;
  z-index: 0; pointer-events: none;
  overflow: hidden;
}
.orbit-fx canvas, .launch-fx canvas, .signal-fx canvas, .constel-fx canvas {
  display: block; width: 100%; height: 100%;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-fx, .launch-fx, .signal-fx, .constel-fx { display: none; }
}

.projects { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }

.project {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.project:hover {
  border-color: rgba(46,196,182,.30);
  box-shadow: 0 30px 70px rgba(2,12,16,.5), inset 0 1px 0 rgba(255,255,255,.10);
}

.project-visual { display: grid; place-items: center; }
.mark {
  width: 100%; max-width: 4.5rem; height: auto;
  color: #fff; fill: #fff; opacity: .92;
}

.project-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .5rem 1.5rem; flex-wrap: wrap; margin-bottom: .5rem;
}
.project h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.02em;
  margin: 0;
}
.chip {
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); white-space: nowrap;
}
.project-lede { color: var(--accent-hi); font-size: 1rem; margin-bottom: 1.5rem; max-width: none; }

.project-body-copy {
  margin: 0 0 1.5rem; font-size: .9375rem; line-height: 1.65; color: var(--text-soft);
  max-width: none;
  min-height: 4.95em;
}

.links { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9375rem; max-width: none; }
.links a { text-decoration: none; border-bottom: 1px solid rgba(46,196,182,.4); padding-bottom: 2px; }
.links a:hover { border-bottom-color: var(--accent-hi); }
.soon {
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint);
}

@media (max-width: 52rem) {
  .project { grid-template-columns: 1fr; }
  .project-visual { justify-items: start; align-items: center; }
  .mark { max-width: 3.5rem; }
}

.skill-groups {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 56rem) { .skill-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .skill-groups { grid-template-columns: 1fr; } }
.skill-group h3 {
  font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--hairline);
}
.skill-group ul { list-style: none; margin: 0; padding: 0; }
.skill-group li {
  font-size: .9375rem; line-height: 1.45;
  color: var(--text-soft);
  padding: .32rem 0 .32rem .9rem;
  position: relative;
}
.skill-group li::before {
  content: ''; position: absolute; left: 0; top: .95em;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent-hi); opacity: .7;
}
.js .skill-group li::before { transition: opacity .34s linear; }
.js .skill-group.constel-run li::before { opacity: 0; transition: none; }

@media (prefers-reduced-motion: reduce) {
  .js .skill-group li::before,
  .js .skill-group.constel-run li::before { opacity: .7; transition: none; }
}

.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: clamp(1.5rem, 4vw, 2.5rem); }
.cap { padding-top: 1.25rem; border-top: 1px solid var(--accent); }
.cap h3 {
  font-size: 1.0625rem; font-weight: 700; margin: 0 0 .75rem; letter-spacing: -.005em;
  color: var(--accent);
}
.cap p { font-size: .9375rem; max-width: none; margin-bottom: 1.25rem; }

.js .cap { position: relative; transition: border-color .16s var(--ease); }
.js .cap > * { position: relative; z-index: 1; }
.js .cap::before, .js .cap::after {
  content: ''; position: absolute;
  z-index: 0; opacity: 0; pointer-events: none;
  transition: opacity .16s var(--ease);
}
.js .cap::before {
  left: 0; right: 0; top: -1px; height: 2px;
  background: #e4fffb;
  box-shadow: 0 0 22px 4px rgba(94,224,208,.95), 0 0 44px 8px rgba(46,196,182,.5);
}
.js .cap::after {
  left: -.85rem; right: -.85rem; top: 0; bottom: -.85rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(94,224,208,.22), rgba(46,196,182,.08));
  box-shadow: 0 0 34px rgba(46,196,182,.35);
}
.js .cap.lit { border-color: #e4fffb; }
.js .cap.lit::before, .js .cap.lit::after { opacity: 1; transition-duration: .075s; }

@media (prefers-reduced-motion: reduce) {
  .js .cap, .js .cap::before, .js .cap::after { transition: none; }
  .js .cap.lit::before, .js .cap.lit::after { opacity: 0; }
}

.creds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.cred {
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr auto;
  gap: .3rem 1.5rem;
  align-items: baseline;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--hairline);
}
.c-name { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--accent-hi); }
.c-org { font-size: .9375rem; line-height: 1.5; color: var(--text-soft); }
.c-meta {
  font-size: .75rem; letter-spacing: .04em; color: var(--text-faint);
  white-space: nowrap; text-align: right;
}

@media (max-width: 46rem) {
  .cred { grid-template-columns: 1fr auto; }
  .c-org { grid-column: 1; }
  .c-meta { grid-column: 2; grid-row: 2; }
}

.js .creds, .js .service-list { position: relative; }

.js .tow-row { position: relative; transition: border-color .45s var(--ease); }
.js .tow-row.pending { opacity: 0; transform: translateX(-118%); }
.js .tow-row.arrive {
  opacity: 1; transform: translateX(0);
  transition: opacity .24s var(--ease), transform .3s cubic-bezier(.16,.84,.28,1);
}

.js .tow-ship {
  position: absolute; left: 0; top: 50%;
  width: 22px; height: 8px;
  z-index: 2; pointer-events: none; opacity: 0;
  transform: translate(-2.6rem, -50%);
  background: linear-gradient(90deg, rgba(94,224,208,.85), #ffffff 78%);
  clip-path: polygon(100% 50%, 26% 0%, 0% 50%, 26% 100%);
  filter: drop-shadow(0 0 7px rgba(94,224,208,.85));
}
.js .tow-ship::before {
  content: ''; position: absolute;
  right: 88%; top: 50%;
  width: 130px; height: 10px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,
    rgba(94,224,208,0) 0%,
    rgba(46,196,182,.35) 45%,
    rgba(150,240,230,.8) 78%,
    rgba(255,255,255,.95) 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.js .tow-ship::after {
  content: ''; position: absolute;
  right: 92%; top: 50%;
  width: 270px; height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(94,224,208,0), rgba(180,248,238,.55));
}
.js .tow-row.arrive .tow-ship { animation: towPass .8s cubic-bezier(.42,.02,.48,1) both; }
.js .tow-row.flown .tow-ship { display: none; }

@keyframes towPass {
  0%   { opacity: 0; transform: translate(-2.6rem, -50%); }
  12%  { opacity: 1; transform: translate(-2.6rem, -50%); }
  32%  { opacity: 1; transform: translate(-2.6rem, -50%); }
  100% { opacity: 0; transform: translate(112vw, -50%); }
}
.js .tow-row > span:first-child {
  transition: color .4s var(--ease), text-shadow .4s var(--ease);
}

.js .tow-row.lit { border-bottom-color: rgba(94,224,208,.5); }
.js .tow-row.lit > span:first-child {
  color: #e4fffb; text-shadow: 0 0 14px rgba(94,224,208,.85); transition-duration: .12s;
}

@media (prefers-reduced-motion: reduce) {
  .js .tow-ship { display: none; }
  .js .tow-row, .js .tow-row > span:first-child { transition: none; }
  .js .tow-row.pending { opacity: 1; transform: none; }
  .js .tow-row.arrive { transition: none; }
}

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.service-list li {
  display: grid; grid-template-columns: minmax(0, 20rem) 1fr auto;
  gap: .25rem 2rem; align-items: baseline;
  padding: .95rem .25rem; border-bottom: 1px solid var(--hairline);
}
.sv-role { font-size: .9375rem; font-weight: 600; color: var(--accent-hi); }
.sv-org { font-size: .9375rem; color: var(--text-soft); }
.sv-year {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint); white-space: nowrap; text-align: right;
}

@media (max-width: 44rem) {
  .service-list li { grid-template-columns: 1fr; }
  .sv-year { text-align: left; }
}

.erosion { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.dust-wall, .dust-motes {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

.dust-wall {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.dust-motes { mix-blend-mode: screen; }

@media (prefers-reduced-motion: reduce) {
  .erosion { display: none; }
}

.shelf {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(1rem, 2.4vw, 1.75rem); row-gap: 0;
  perspective: 1200px;
}
.book { grid-row: span 2; display: grid; grid-template-rows: subgrid; perspective: 1100px; }

.cover {
  position: relative;
  flex: 0 0 auto; align-self: start;
  aspect-ratio: 2 / 3;
  border-radius: 4px 10px 10px 4px;
  padding: 1rem .8rem .9rem 1.15rem;
  container-type: inline-size;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 6px 0 12px -8px rgba(0,0,0,.9),
    0 26px 50px rgba(2,10,14,.6);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.cover::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px;
  background: rgba(255,255,255,.14);
}
.cover-1 { background: linear-gradient(155deg, #103c3d, #071c22 70%); }
.cover-2 { background: linear-gradient(155deg, #123449, #06161f 70%); }
.cover-3 { background: linear-gradient(155deg, #0f3a34, #05161a 70%); }

.cover-4 { background: linear-gradient(155deg, #1b3a44, #050f14 70%); }

.art {
  position: relative; isolation: isolate; perspective: 620px;
  display: block; height: 47%; width: fit-content;
  align-self: center;
  margin-top: auto; margin-bottom: auto;
}
.layer {
  display: block;
  height: 100%; width: auto; max-width: 100%; object-fit: contain;
  opacity: .92;
  transition: opacity .5s var(--ease);
}
.head {
  position: absolute; left: 0; top: 0;
  transform-origin: var(--pivot-x, 50%) var(--pivot-y, 55%);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 1.1s var(--ease);
}

.body {
  -webkit-mask-image: radial-gradient(ellipse var(--hw, 34%) var(--hh, 28%) at var(--hx, 50%) var(--hy, 24%), transparent 62%, #000 88%);
          mask-image: radial-gradient(ellipse var(--hw, 34%) var(--hh, 28%) at var(--hx, 50%) var(--hy, 24%), transparent 62%, #000 88%);
}
.head {
  -webkit-mask-image: radial-gradient(ellipse var(--hw, 34%) var(--hh, 28%) at var(--hx, 50%) var(--hy, 24%), #000 62%, transparent 88%);
          mask-image: radial-gradient(ellipse var(--hw, 34%) var(--hh, 28%) at var(--hx, 50%) var(--hy, 24%), #000 62%, transparent 88%);
}

.cover-1 { --hw: 36%; --hh: 32%; --hx: 52%; --hy: 27%; --pivot-x: 50%; --pivot-y: 62%;
           --turn: -2.4deg; --face: 17deg; --widen: 1.07; }
.cover-2 { --hw: 34%; --hh: 25%; --hx: 50%; --hy: 22%; --pivot-x: 50%; --pivot-y: 46%;
           --turn: -2deg;   --face: -15deg; --widen: 1.06; }

.cover-3 { --hw: 42%; --hh: 32%; --hx: 48%; --hy: 30%; --pivot-x: 48%; --pivot-y: 62%;
           --turn: 4deg;    --face: 0deg;  --widen: 1; }

.cover-4 { --hw: 26%; --hh: 24%; --hx: 46%; --hy: 20%; --pivot-x: 45%; --pivot-y: 46%;
           --turn: -3deg;   --face: -13deg; --widen: 1.05; }

.book:hover .layer, .book:focus-within .layer { opacity: 1; }

.book:hover .head, .book:focus-within .head {
  animation: glance 6.5s var(--ease) infinite;
}
@keyframes glance {
  0%   { transform: rotateY(0deg) rotate(0deg) scaleX(1) translate(0, 0); }
  22%  { transform: rotateY(calc(var(--face) * 1.12)) rotate(calc(var(--turn) * 1.25))
                    scaleX(calc(var(--widen) * 1.01)) translateY(-2.5px); }
  34%  { transform: rotateY(var(--face)) rotate(var(--turn))
                    scaleX(var(--widen)) translateY(-1px); }
  62%  { transform: rotateY(calc(var(--face) * .88)) rotate(calc(var(--turn) * .7))
                    scaleX(calc(var(--widen) * .99)) translateY(-1.5px); }
  84%  { transform: rotateY(calc(var(--face) * 1.04)) rotate(calc(var(--turn) * 1.05))
                    scaleX(var(--widen)) translateY(-1px); }
  100% { transform: rotateY(calc(var(--face) * .96)) rotate(calc(var(--turn) * .92))
                    scaleX(var(--widen)) translateY(-1px); }
}

.body { transform-origin: 50% 94%; }
.book:hover .body, .book:focus-within .body {
  animation: sway 6.5s var(--ease) infinite;
}
@keyframes sway {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(calc(var(--turn) * -.2)) translateY(.5px); }
  70%  { transform: rotate(calc(var(--turn) * -.08)); }
  100% { transform: rotate(calc(var(--turn) * -.16)); }
}

.book:hover .art, .book:focus-within .art {
  animation: breathe 3.8s var(--ease) infinite;
}

@keyframes breathe {
  0%   { transform: translateY(-1px); }
  50%  { transform: translateY(-7px); }
  100% { transform: translateY(-1px); }
}

.art::before {
  content: ''; position: absolute; inset: -14% -20%; z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,224,208,.20), rgba(46,196,182,.06) 45%, transparent 70%);
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.book:hover .art::before, .book:focus-within .art::before {
  animation: aura 4.6s ease-in-out infinite;
}
@keyframes aura {
  0%   { opacity: .18; transform: scale(.92); }
  50%  { opacity: .75; transform: scale(1.08); }
  100% { opacity: .18; transform: scale(.92); }
}

.cover::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(94,224,208,.13) 48%, rgba(255,255,255,.05) 52%, transparent 64%);
  transform: translateX(-120%);
  opacity: 0;
}
.book:hover .cover::after, .book:focus-within .cover::after {
  animation: sweep 1.5s var(--ease) .06s 1;
}
@keyframes sweep {
  0%   { opacity: 0; transform: translateX(-120%); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

.cover-title {
  font-family: var(--serif); font-size: clamp(.9375rem, 7cqi, 1.1875rem); line-height: 1.25;
  letter-spacing: -.015em; color: var(--text);
  margin-bottom: .4rem;
}
.cover-author {
  font-size: .6875rem; font-weight: 700; letter-spacing: .16em; line-height: 1.5;
  text-transform: uppercase; color: var(--accent-hi);
}
.book:hover .cover, .book:focus-within .cover { box-shadow: inset 6px 0 12px -8px rgba(0,0,0,.9), 0 34px 60px rgba(2,10,14,.7); }

.book-note { margin-top: .9rem; padding: 1rem 1.05rem; }
.book-note p { font-size: .8125rem; line-height: 1.6; max-width: none; margin: 0; }

@supports not (grid-template-rows: subgrid) {
  .book { display: flex; flex-direction: column; }
  .book-note { flex: 1 1 auto; }
}

@media (max-width: 58rem) {
  .shelf {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none; grid-auto-rows: auto;
    column-gap: clamp(1.25rem, 4vw, 2rem); row-gap: clamp(1.75rem, 5vw, 2.75rem);
  }
  .book { grid-row: auto; display: flex; flex-direction: column; }
  .book-note { flex: 1 1 auto; }
  .book-note p { font-size: .875rem; }
  /* as a column flex item the cover would shrink to its title text, so stretch it */
  .cover { align-self: stretch; width: 100%; }
}
@media (max-width: 30rem) {
  .shelf { grid-template-columns: 1fr; }
  .cover { max-width: 15rem; }
}

.js .book.reveal { opacity: 1; transform: none; }
.js .book.reveal .cover {
  transform-origin: 7px 50%;
  transform: rotateY(-78deg) translateX(-8%) scale(.97);
  opacity: .2;
}
.js .book.reveal .book-note { opacity: 0; transform: translateY(16px); }

.js .book.reveal.in .cover {
  transform: none; opacity: 1;
  transition: transform 1.25s var(--ease) var(--fan, 0s), opacity .85s var(--ease) var(--fan, 0s);
}
.js .book.reveal.in .book-note {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease) calc(var(--fan, 0s) + .3s),
              transform .8s var(--ease) calc(var(--fan, 0s) + .3s);
}
.book:nth-child(1) { --fan: 0s; }
.book:nth-child(2) { --fan: .14s; }
.book:nth-child(3) { --fan: .28s; }
.book:nth-child(4) { --fan: .42s; }

.scene-connect { padding-bottom: clamp(4rem, 10vh, 7rem); }

.closing {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  line-height: 1.15; letter-spacing: -.025em;
  color: var(--text);
  max-width: none;
  margin: 0 0 2rem;
}

.opps-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 .875rem; max-width: none;
}

.opps {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.opps li { display: flex; }
.opps .opp {
  position: relative;
  font-family: inherit;
  font-size: .8125rem; letter-spacing: .04em; color: var(--text-soft);
  padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid var(--glass-brd);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.opps .opp:hover { filter: brightness(1.12); }

.opps .opp[aria-expanded="true"] {
  transform: translateY(-2px) scale(1.04);
  background: var(--accent-hi);
  border-color: #bff5ec;
  box-shadow: 0 0 0 2px rgba(4,20,26,.95), 0 0 0 4px rgba(94,224,208,.9), 0 0 26px 4px rgba(46,196,182,.5);
}
.opps.has-open .opp:not([aria-expanded="true"]) {
  opacity: .4;
  filter: saturate(.6);
}
.opps .opp { transition: transform .3s var(--ease), box-shadow .3s var(--ease),
             filter .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease); }

.js .opps .opp {
  color: rgba(210,223,226,.28);
  border-color: rgba(255,255,255,.06);
  background: rgba(255,255,255,.012);
}
.js .opps.in .opp {
  animation: tagLight .72s var(--ease) var(--t, 0s) both;
}
@keyframes tagLight {
  0%   { transform: scale(.92);
         color: rgba(210,223,226,.28);
         border-color: rgba(255,255,255,.06);
         background: rgba(255,255,255,.012);
         box-shadow: 0 0 0 0 rgba(94,224,208,0); }
  38%  { transform: scale(1.09);
         color: #04141a;
         border-color: rgba(150,240,230,.95);
         background: #7fead9;
         box-shadow: 0 0 26px 6px rgba(94,224,208,.75); }
  62%  { transform: scale(.985); }
  100% { transform: scale(1);
         color: #04141a;
         border-color: rgba(94,224,208,.55);
         background: var(--accent);
         box-shadow: 0 0 14px 0 rgba(46,196,182,.22); }
}

.opps .opp::before, .opps .opp::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%);
}
.opps .opp::before {
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(148,240,228,.85) 38%, rgba(46,196,182,0) 72%);
}
.opps .opp::after {
  width: 3px; height: 3px;
  background:
    linear-gradient(90deg, rgba(46,196,182,0), rgba(180,248,238,.95) 50%, rgba(46,196,182,0)),
    linear-gradient(0deg,  rgba(46,196,182,0), rgba(180,248,238,.75) 50%, rgba(46,196,182,0));
  background-size: 100% 1px, 1px 100%;
  background-position: center, center;
  background-repeat: no-repeat;
}
.js .opps.in .opp::before { animation: tagFlash .66s var(--ease) var(--t, 0s) both; }
.js .opps.in .opp::after  { animation: tagRays  .74s var(--ease) var(--t, 0s) both; }

@keyframes tagFlash {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  22%  { opacity: 1; transform: translate(-50%, -50%) scale(5.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(13); }
}
@keyframes tagRays {
  0%   { opacity: 0; width: 3px; height: 3px; }
  20%  { opacity: .95; }
  100% { opacity: 0; width: 190px; height: 130px; }
}

.opps li:nth-child(1) { --t: 0s; }
.opps li:nth-child(2) { --t: .11s; }
.opps li:nth-child(3) { --t: .22s; }
.opps li:nth-child(4) { --t: .33s; }
.opps li:nth-child(5) { --t: .44s; }
.opps li:nth-child(6) { --t: .55s; }
/* keep a couple spare, so adding a service does not silently drop it out of the
   sequence. without a --t it falls back to 0s and fires with the first pill. */
.opps li:nth-child(7) { --t: .66s; }
.opps li:nth-child(8) { --t: .77s; }

@media (prefers-reduced-motion: reduce) {
  .js .opps .opp, .js .opps.in .opp {
    animation: none;
    color: #04141a; background: var(--accent);
    border-color: rgba(94,224,208,.55);
  }
  .js .opps.in .opp::before, .js .opps.in .opp::after { animation: none; opacity: 0; }
}

.opp-bubble {
  position: relative;
  margin: .9rem 0 1.25rem;
  padding: .95rem 1.15rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(94,224,208,.4);
  border-radius: 14px;
  background: linear-gradient(158deg, #12333c, rgba(8,22,28,.82));
  box-shadow: 0 18px 40px rgba(2,10,14,.45);
  animation: bubbleIn .42s var(--ease) both;
}

.opp-caret {
  position: absolute; top: -9px; left: 2rem;
  width: 16px; height: 16px;
  background: #12333c;
  border-left: 1px solid rgba(94,224,208,.55);
  border-top: 1px solid rgba(94,224,208,.55);
  transform: rotate(45deg);
  transition: left .34s var(--ease);
}
.opp-panel p {
  font-size: .9375rem; line-height: 1.6; color: var(--text-soft);
  margin: 0; max-width: 58ch;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .opp-bubble { animation: none; }
  .opp-caret { transition: none; }
}

.engage-note {
  font-size: .8125rem; letter-spacing: .01em; color: var(--text-faint);
  margin: 0 0 clamp(2.25rem, 5vw, 3rem); max-width: none;
}

.reach {
  font-size: 1rem; line-height: 1.65; color: var(--text-soft);
  margin: 0 0 .875rem; max-width: 46ch;
}

.email {
  position: relative;
  font-family: var(--serif); font-size: clamp(1.125rem, 3.5vw, 1.75rem);
  margin: 0 0 2.25rem; max-width: none;
}
.email-addr {
  position: relative;
  color: var(--accent-hi);
}
.js .email-addr {
  display: inline-block;
  transform-origin: left center;
  transition: color .16s var(--ease), text-shadow .16s var(--ease), transform .16s var(--ease);
}
.js .email-addr.lit {
  color: var(--accent-hi);
  transform: scale(1.08);
  text-shadow:
    0 0 8px rgba(94,224,208,1),
    0 0 20px rgba(94,224,208,.95),
    0 0 44px rgba(46,196,182,.8),
    0 0 88px rgba(46,196,182,.5);
  transition-duration: .05s;
}
.js .email.spent .ship, .js .email.spent .ship-trail { display: none; }

@media (prefers-reduced-motion: reduce) {
  .js .email-addr, .js .email-addr.lit {
    color: var(--accent-hi); text-shadow: none; transition: none;
  }
}

.ship {
  position: absolute; left: 0; top: 50%;
  width: 26px; height: 9px;
  margin-top: -4.5px; margin-left: -13px;
  transform-origin: 50% 50%;
  pointer-events: none; opacity: 0;
  transform: translate(-70px, 0);
  background: linear-gradient(90deg, rgba(94,224,208,.85), #ffffff 78%);
  clip-path: polygon(100% 50%, 26% 0%, 0% 50%, 26% 100%);
  filter: drop-shadow(0 0 7px rgba(94,224,208,.85));
}
.ship::before {
  content: ''; position: absolute;
  right: 88%; top: 50%;
  width: 215px; height: 11px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,
    rgba(94,224,208,0) 0%,
    rgba(46,196,182,.35) 45%,
    rgba(150,240,230,.8) 78%,
    rgba(255,255,255,.95) 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.ship::after {
  content: ''; position: absolute;
  right: 92%; top: 50%;
  width: 620px; height: 3px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: linear-gradient(90deg,
    rgba(46,196,182,0) 0%,
    rgba(46,196,182,.3) 45%,
    rgba(94,224,208,.65) 80%,
    rgba(206,252,246,.95) 100%);
  box-shadow: 0 0 12px rgba(94,224,208,.4);
}

.ship-trail {
  position: absolute; left: -90px; top: 50%;
  height: 3px; width: 0;
  transform: translateY(-50%);
  pointer-events: none; opacity: 0;
  border-radius: 3px;
  background: linear-gradient(90deg,
    rgba(46,196,182,0) 0%,
    rgba(46,196,182,.22) 42%,
    rgba(94,224,208,.6) 78%,
    rgba(206,252,246,.95) 100%);
  box-shadow: 0 0 12px rgba(94,224,208,.45);
}

.js .email .ship-trail { display: none; }
.js .ship-path {
  position: absolute; top: 50%;
  overflow: visible; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .email .ship { display: none; }
}

.social { display: flex; align-items: center; gap: 1.375rem; }
.social a { display: inline-flex; }
.social svg {
  width: 24px; height: 24px; fill: var(--text-faint);
  transition: fill .3s var(--ease), transform .3s var(--ease);
}
.social a:hover svg { fill: var(--accent-hi); transform: translateY(-2px); }
/* the bowl is drawn 30px to match the others optically, which leaves dead space
   on its left inside the box. pull it back so the row spaces evenly. */
.social svg.ico-bowl { width: 30px; height: 30px; margin-left: -7px; }

footer { margin-top: clamp(3rem, 8vh, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06); }
footer p { font-size: .75rem; color: var(--text-faint); margin: 0; }
.foot-built { margin-top: .45rem; color: rgba(167,187,192,.72); letter-spacing: .01em; }
.foot-link { position: relative; color: var(--text-faint); text-decoration: none; margin-left: 1rem; border-bottom: 1px solid rgba(46,196,182,.28); }
.foot-link::after { content: ''; position: absolute; inset: -6px -10px; }
.foot-link:hover { color: var(--accent-hi); }

.doc-body { background: var(--void); }
.doc {
  position: relative; z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(3rem, 10vh, 6rem) var(--gutter) clamp(4rem, 12vh, 7rem);
}
.doc-back { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 2.75rem; }
.doc-back a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--text-faint); text-decoration: none;
  transition: color .3s var(--ease);
}
.doc-back svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.doc-back a:hover { color: var(--accent-hi); }
.doc-back a:hover svg { transform: translateX(-2px); }
.doc h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--text); margin: 0 0 1.25rem;
}
.doc-lede { font-size: 1.0625rem; line-height: 1.7; color: var(--text-soft); margin: 0 0 2.5rem; }
.doc h2 {
  font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin: 2.25rem 0 .75rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--hairline);
}
.doc p { font-size: .9375rem; line-height: 1.7; color: var(--text-soft); margin: 0 0 1rem; }
.doc-mail { color: var(--accent-hi); }
.doc-date { font-size: .8125rem; color: var(--text-faint); margin-top: 2.5rem; }

.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .traveler, .spine-live { transition: none; }
  .book:hover .art, .book:focus-within .art,
  .book:hover .cover::after, .book:focus-within .cover::after { animation: none; }
  .book:hover .head, .book:focus-within .head { transform: none; }
  .js .book.reveal .cover { transform: none; opacity: 1; }
  .js .book.reveal .book-note { opacity: 1; transform: none; }
}
