/* ==========================================================================
   jessigurr.com — Version 2
   Lives at /v2/ alongside Version 1. Dark, photographic, a little scrapbook.
   Neutral black/gray surfaces and text, with red sampled from the flight logo.
   Light gray is used for the milestone strip and photo frames.
   ========================================================================== */

:root {
  /* Neutral surfaces and type use equal R/G/B channels; red is the only accent. */
  --night: #0e0e0e;
  --night-2: #181818;
  --meet: #222222;
  --line: #707070;  /* silver divider, used for every line on dark sections */
  --red: #c91e3a;
  --text: #eeeeee;
  --text-soft: #c4c4c4;
  --text-muted: #999999;
  --silver: #cccccc;
  --light-surface: #ededed;
  --ink: #181818;
  --ink-soft: #444444;

  --f-display: "Lora", Georgia, serif;
  --f-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --f-label: var(--f-body);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --slant: clamp(18px, 3vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--text); color: var(--night); padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.more {
  display: inline-flex; gap: .5em; align-items: center;
  font-family: var(--f-label); font-size: .8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--silver); text-decoration: none;
}
.more span { transition: transform .2s; }
a:hover .more span, .more:hover span { transform: translateX(4px); }

/* Photo slots: labeled placeholder until the real image exists */
.photo {
  position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(238,238,238,.06) 14px 15px), #282828;
}
.photo::before {
  content: attr(data-label); position: absolute; inset: 0;
  display: grid; place-items: center; padding: .8rem; text-align: center;
  font-family: var(--f-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo img[hidden] { display: none; }



/* Navigation: solid dark bar, uppercase links (as in Version 1) */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--night);
  border-bottom: 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; text-decoration: none; color: var(--text); }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav a, .nav-mobile a {
  font-family: var(--f-label); font-size: .84rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .15em;
  text-decoration: none; color: var(--text-soft);
  padding: .4rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--red); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; height: 2px; background: var(--text); }
.nav-mobile nav { position: absolute; right: 0; top: 52px; width: min(80vw, 280px); background: var(--night-2); border: 1px solid var(--line); padding: .5rem 1.25rem; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.nav-mobile a { display: block; padding: .85rem 0; }

/* Hero: summit photo on the right, melting into black behind the text */
.hero {
  position: relative; z-index: 2; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(540px, 42vw, 660px); background: #0a0a0a;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: scale(1.05); transform-origin: right center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* dark (rocks still showing) under the whole text column, then a short even fade into the photo */
  --copy-end: calc(max((100vw - var(--wrap)) / 2, 0px) + var(--gutter) + var(--copy-w));
  background: linear-gradient(90deg,
    rgba(10,10,10,.86) 0%,
    rgba(10,10,10,.8) var(--copy-end),
    rgba(10,10,10,.62) calc(var(--copy-end) + 5rem),
    rgba(10,10,10,.38) calc(var(--copy-end) + 10rem),
    rgba(10,10,10,.16) calc(var(--copy-end) + 16rem),
    rgba(10,10,10,.04) calc(var(--copy-end) + 22rem),
    rgba(10,10,10,0) calc(var(--copy-end) + 27rem));
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(3rem, 5vw, 4rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.hero { --copy-w: clamp(24rem, 36vw, 33rem); }
.hero-copy { max-width: var(--copy-w); }
.kicker { font-family: var(--f-label); font-size: .84rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #d6d6d6; margin: 0 0 1rem; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.hero h1 { font-size: clamp(2.6rem, 4.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.015em; color: #f5f5f5; margin: 0 0 1.5rem; text-wrap: balance; text-shadow: 0 2px 6px rgba(0,0,0,.8), 0 0 30px rgba(0,0,0,.5); }
.hero-intro p { font-size: 1.1rem; line-height: 1.55; color: #ededed; margin: 0 0 .9rem; text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 18px rgba(0,0,0,.6); }

.hero .relentless { margin-top: 1.8rem; padding: 1.5rem 1.2rem; background: rgba(0, 0, 0, .68); border: 0; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 1.2rem; }
.relentless p { margin: 0; }
.relentless-label { font-family: var(--f-label); font-size: .95rem; line-height: 1.55; letter-spacing: .06em; text-transform: uppercase; color: #d6d6d6; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.relentless-word { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 2.7vw, 2.3rem); line-height: 1.15; color: var(--text); margin: 0; padding: .25rem 0 .25rem 1.2rem; border-left: 1px solid var(--red); text-align: center; }

/* Milestones: the light gray band */
.strip {
  padding-top: clamp(2.5rem, 4.5vw, 3.5rem);
  background: var(--light-surface);
  color: var(--ink);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}
.milestones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ms { padding: 0 1.6rem; }
.ms:first-child { border-left: 0; padding-left: 0; }
.ms:last-child { padding-right: 0; }
/* every icon sits in the same box so no single milestone shouts louder */
.ms-icon-box { height: 46px; display: flex; align-items: flex-end; margin-bottom: .9rem; }
.ms-icon { display: block; height: 44px; width: 44px; fill: var(--ink); }
.ms-icon.ms-logo { width: auto; }
.ms-icon.ms-wide { width: 104px; height: auto; }
.ms-year { margin: 0 0 .45rem; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1; color: var(--ink); }
.ms-text { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }

/* Meet Jessi: portrait, biography, and a consistent row of cards. */
.meet { background: #1b1b1b; padding: clamp(3.5rem, 6vw, 5rem) 0; }
.meet-top { display: grid; grid-template-columns: clamp(260px, 30vw, 400px) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: stretch; }
.profile-portrait { position: relative; margin: 0; }
.profile-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.eyebrow-line { display: flex; align-items: center; gap: 1.2rem; margin: 0 0 .6rem; font-family: var(--f-label); font-size: .9rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); }
.eyebrow-line::after { content: none; }
.hello { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; color: var(--text); margin: 0 0 1.2rem; }
.bio p { color: var(--text); font-size: 1.08rem; line-height: 1.6; margin: 0 0 .85em; }
.bio p:last-child { margin-bottom: 0; }

.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: clamp(3rem, 5vw, 4rem); }
.door { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #1a1a1a; border: 0; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: transform .25s, border-color .25s; }
.door:hover { transform: translateY(-3px); border-color: var(--text-muted); }
.door-img { aspect-ratio: 9 / 5; }
.door img { transition: transform .6s; }
.door:hover img { transform: scale(1.05); }
.door-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.door-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.door-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1.45vw, 1.32rem); line-height: 1.18; color: var(--text); white-space: nowrap; }
.door-arrow {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--text);
  display: grid; place-items: center; font-size: 1rem; color: var(--text); transition: background .2s, color .2s;
}
.door:hover .door-arrow { background: var(--text); color: #111; }
.door-desc { margin: 1rem 0 0; position: relative; font-size: 1rem; line-height: 1.5; color: var(--text-soft); }
.door-desc::before { content: none; }

/* Featured projects: dark, disciplined four-column grid (as in Version 1) */
.projects { background: #f0f0f0; --text: #181818; --text-soft: #444444; --text-muted: #5a5a5a; --silver: #333333; padding: clamp(3.75rem, 6vw, 5rem) 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-bottom: .8rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); white-space: nowrap; color: var(--text); }
.section-head::after { content: none; }
.section-head .more { order: 2; white-space: nowrap; }
.section-intro { max-width: 48rem; color: var(--text-soft); font-size: 1.1rem; margin-bottom: 2.6rem; }
.note { font-family: var(--f-display); font-size: 1rem; font-style: italic; color: var(--text); margin-left: .3rem; }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.app { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.app-shot { aspect-ratio: 3 / 2; border: 0; box-shadow: 0 12px 26px rgba(0,0,0,.45); transition: border-color .2s; }
.app img { transition: transform .5s; }
.app:hover img { transform: scale(1.03); }
.app:hover .app-shot { border-color: var(--silver); }
.app h3 { font-size: 1.3rem; margin: 1.2rem 0 .5rem; color: var(--text); }
.app p { font-size: 1.05rem; line-height: 1.6; color: var(--text-soft); margin-bottom: 1.1rem; }
.app .more { margin-top: auto; font-size: .82rem; color: var(--silver); }
.app:hover .more { color: var(--silver); }

/* Personal photos keep their white frames and slight tilt, without scrapbook tape. */
.desk {
  background: #242424; border-top: 0;
  padding: clamp(5rem, 8vw, 6.5rem) 0 clamp(5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.desk-grid { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2.1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.desk-copy h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3.5vw, 3rem); color: var(--text); margin-bottom: 1.4rem; }
.desk-copy p { color: var(--text-soft); font-size: 1.08rem; max-width: 22rem; }
.desk-link { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); text-decoration: none; }
.desk-link:hover { color: var(--text); }

.personal-photos { display: flex; align-items: flex-start; padding: 1rem 0 2rem; }
.personal-photo { position: relative; min-width: 0; flex: 0 0 29%; margin-left: -5.5%; transform: rotate(-4deg); transition: transform .25s; z-index: 1; }
.personal-photo:first-child { margin-left: 0; }
.personal-photo:nth-child(2) { margin-top: 1.8rem; transform: rotate(3deg); }
.personal-photo:nth-child(3) { transform: rotate(-3deg); }
.personal-photo:nth-child(4) { margin-top: 1.8rem; transform: rotate(4deg); }
.personal-photo:hover { transform: rotate(0) scale(1.025); z-index: 2; }
.personal-photo a { display: block; padding: 10px 10px 0; background: #f5f5f5; box-shadow: 0 12px 28px rgba(0,0,0,.3); text-decoration: none; }
.personal-photo .photo { aspect-ratio: 1; background-color: #333333; }
.personal-photo .photo-four-cats { aspect-ratio: 4 / 3; }
.personal-photo-caption { display: block; padding: .6rem .15rem .8rem; text-align: center; font-family: var(--f-body); font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--ink); }

/* Homepage: Places I've Been strip */
.trips { background: var(--night); border-top: 0; padding: clamp(3.5rem, 6vw, 4.75rem) 0; }
.trip-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.trip { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 0; }
.trip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.trip:hover img { transform: scale(1.05); }
.trip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.85) 100%); }
.trip span { position: absolute; z-index: 1; left: .9rem; right: .9rem; bottom: .8rem; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.7); }

/* Travel page: Places I've Been ------------------------------------------- */
.page-hero { background: var(--night); border-bottom: 0; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--text); margin-bottom: 1rem; }
.page-intro { max-width: 46rem; font-size: 1.15rem; line-height: 1.65; color: var(--text-soft); }
.jump ul { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.jump a {
  display: inline-block; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--f-label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft); text-decoration: none; transition: border-color .2s, color .2s;
}
.jump a:hover { border-color: var(--silver); color: var(--text); }

.place { background: var(--night); border-bottom: 0; padding: clamp(3rem, 5.5vw, 4.5rem) 0; scroll-margin-top: 72px; }
.place-alt { background: var(--meet); }
.place-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-bottom: 1rem; }
.place-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--text); }
.place-sub { margin: 0; font-family: var(--f-label); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.place-text { max-width: 50rem; margin-bottom: 2rem; }
.place-text p { font-size: 1.06rem; line-height: 1.7; color: var(--text-soft); margin-bottom: .9em; }
.place-text .more { margin-top: .3rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.g-tile { display: block; aspect-ratio: 1; overflow: hidden; background: #282828; border: 0; }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .2s; }
.g-tile:hover img { transform: scale(1.05); }
.g-tile:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8,8,8,.94); }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb button {
  position: absolute; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
}
.lb button:hover { border-color: #fff; }
.lb .lb-close { top: 18px; right: 18px; }
.lb .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--f-label); font-size: .8rem; letter-spacing: .12em; color: rgba(255,255,255,.7); }

/* Footer: disciplined rows, as in Version 1 */
.foot { position: relative; background: #0a0a0a; border-top: 0; padding: 3.2rem 0 1.5rem; color: var(--text-soft); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot .brand { font-family: var(--f-body); font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; text-transform: uppercase; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.foot-nav a { font-family: var(--f-label); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.foot-nav a:hover { color: var(--text); }
.foot-find { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem; }
.foot-find p { margin: 0; font-family: var(--f-label); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.foot-find ul { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.foot-find a { font-family: var(--f-display); text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
.foot-find a:hover { border-bottom-color: var(--silver); }
.foot-base { margin-top: 2rem; padding-top: 1.2rem; border-top: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.foot-base p { margin: 0; font-family: var(--f-label); font-size: .8rem; letter-spacing: .1em; color: var(--text-muted); }
.foot-mountain { width: 170px; height: auto; fill: var(--text); opacity: .22; }

.foot-find {
  align-items: center;
}

.foot-find .footer-socials {
  align-items: center;
  gap: .5rem;
}

.foot-find .footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  transition: color .2s, background .2s;
}

.foot-find .footer-social-link:hover {
  color: #fff;
  background: rgba(238,238,238, .1);
}

.footer-social-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.footer-social-penguin {
  width: 25px;
  height: 33px;
  fill-rule: evenodd;
  clip-rule: evenodd;
}


/* Responsive */
/* below ~1100px there isn't room for the text and the sign side by side: stack them */
@media (max-width: 1100px) {
  .hero { min-height: 0; display: block; }
  .hero::after { display: none; }
  .hero-img { position: relative; inset: auto; object-position: 86% 50%; width: 100%; height: clamp(320px, 46vw, 480px); transform: none; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .hero-inner { padding-top: 0; margin-top: -2.5rem; }
  .hero { --copy-w: 40rem; }
}
@media (max-width: 1080px) {
  .trip-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .doors { grid-template-columns: 1fr 1fr; }
  .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .ms:nth-child(3) { border-left: 0; padding-left: 0; }
  .ms:nth-child(2n) { padding-right: 0; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem; }
  .desk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-mobile { display: block; }
  .topbar-inner { height: 60px; }
  .personal-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .personal-photo { margin-left: 0; }
  
  
  .section-head .more { display: none; }
  .note { font-family: var(--f-display); font-size: 1rem; font-style: italic; color: var(--text); margin-left: .3rem; }
}
@media (max-width: 560px) {
  .hero .relentless { padding: 1.2rem .8rem; gap: .8rem; }
  .relentless-label { font-size: .75rem; letter-spacing: .02em; }
  .relentless-word { font-size: clamp(1.2rem, 6vw, 1.7rem); padding-left: .8rem; }
  .trip-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
  .lb .lb-prev, .lb .lb-next { top: auto; bottom: 14px; transform: none; }
  .milestones { grid-template-columns: 1fr; }
  .ms { border-left: 0; padding: 0; display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; }
  .ms-icon-box { grid-row: span 2; height: auto; margin: 0; justify-content: center; align-items: flex-start; padding-top: 4px; }
  .ms-icon.ms-wide { width: 64px; }
  .doors, .apps { grid-template-columns: 1fr; }
  .meet-top { grid-template-columns: 1fr; }
  .profile-portrait { position: relative; margin: 0; }
  .profile-portrait img { position: static; height: auto; aspect-ratio: 6 / 7; }
  .brand { font-size: 1.5rem; }
  .foot-mountain { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* Outbound links in the Meet Jessi bio: quiet silver underline */
.bio a {
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.bio a:hover, .bio a:focus-visible { color: var(--silver); text-decoration-color: currentColor; }

/* v3: one clear next step in the hero, readable over the photo */
.hero-next { margin: 1.6rem 0 0; }
.hero-next .more {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.1rem;
  background: rgba(0,0,0,.62);
  color: #fff; font-size: .95rem;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
.hero-next .more:hover { background: rgba(0,0,0,.8); }
.bio .bio-more { margin-top: 1.25rem; }

/* v3: one photo viewer style for every page */
dialog.lb {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 5rem 4.5rem;
  border: 0;
  color: var(--text);
}
dialog.lb[open] {
  display: flex;
}
dialog.lb::backdrop {
  background: rgba(8,8,8, .94);
}
dialog.lb img {
  max-width: 100%;
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
}
dialog.lb .lb-count {
  width: calc(100% - 10rem);
  margin: 0;
  text-align: center;
  letter-spacing: .03em;
  color: var(--text-soft);
}
  dialog.lb {
    padding: 5rem 1rem;
  }

  dialog.lb .lb-count {
  dialog.lb .lb-count {
    bottom: 20px;
    bottom: 20px;
    font-size: .75rem;
    font-size: .75rem;
    line-height: 1.4;
    line-height: 1.4;
  }
  }
}
}
@media (max-width: 560px) { dialog.lb { padding: 5rem 1rem; } dialog.lb .lb-count { bottom: 20px; font-size: .75rem; line-height: 1.4; } }

/* v3: comfortably readable small text */
.nav a, .nav-mobile a { font-size: .92rem; }
.more { font-size: .9rem; }
.trip span { font-size: 1.2rem; text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.trip::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.75)); pointer-events: none; }

/* v3 footer: "Let's connect" contact form */
.foot-contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.foot-kicker {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 1rem;
  font-family: var(--f-label); font-size: .9rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text);
}
.foot-kicker::after { content: ''; width: 4rem; height: 2px; background: var(--red); }
.foot-hello h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.02;
  color: var(--text); margin: 0 0 1.5rem;
}
.foot-lede { font-size: 1.15rem; line-height: 1.6; color: var(--text); margin: 0 0 2rem; max-width: 26rem; }
.foot-elsewhere {
  margin: 0 0 1rem;
  font-family: var(--f-label); font-size: .88rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft);
}
.foot-hello .footer-socials { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.foot-hello .footer-social-link { color: var(--text); border: 0; display: inline-flex; }
.foot-hello .footer-social-link:hover { color: var(--silver); }
.foot-hello .footer-social-icon { width: 32px; height: 32px; fill: currentColor; }

.contact-form { display: grid; gap: 1.4rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.contact-form label {
  display: grid; gap: .6rem;
  font-family: var(--f-label); font-size: .88rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: #232323;
  border: 1px solid #5a5a5a;
  color: var(--text);
  font: inherit; font-family: var(--f-body, inherit);
  font-size: 1.05rem; letter-spacing: normal; text-transform: none;
}
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--silver); outline-offset: 1px; border-color: var(--silver); }
.contact-form button {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .8rem;
  padding: 1rem 1.6rem;
  background: var(--red); border: 0; color: #fff; cursor: pointer;
  font-family: var(--f-label); font-size: 1rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}
.contact-form button:hover { filter: brightness(1.12); }
.contact-form button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-size: 1rem; color: var(--text-soft); }
.form-status.is-ok { color: var(--text); }
.form-status.is-error { color: #ff8a8a; }
.foot .foot-find { display: none; }
@media (max-width: 900px) {
  .foot-contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .contact-form .form-row { grid-template-columns: minmax(0, 1fr); }
}

/* v3: on phones, anchor the summit photo to the right so the raised arm stays in frame */
@media (max-width: 700px) {
  .hero-img { object-position: 100% 50%; }
}

/* Preserved pages (app privacy policies, site privacy policy, job posting) */
.legal { background: var(--night); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5rem); }
.legal-content { max-width: 46rem; }
.legal-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--text); margin: 2.25rem 0 .75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.3rem; color: var(--text); margin: 1.75rem 0 .5rem; }
.legal-content p, .legal-content li { font-size: 1.08rem; line-height: 1.7; color: var(--text-soft); }
.legal-content ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal-content a { color: var(--text); text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 3px; }
