/* Shared site chrome for Drew Morris portfolio mockup.
   Tokens live in tokens.css. Theme pieces are in labeled blocks so they can be replaced. */

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  background: var(--bg, #fdfdfb);
  color: var(--ink, #2f2f2f);
  line-height: 1.5;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--ink, #2f2f2f); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--pad, 1.25rem); top: 0.5rem; background: var(--bg, #fdfdfb); z-index: 20; padding: 0.4rem 0.6rem; }

/* ===== Site menu bar — Destinations header, used on every page including Home =====
   Grid lives on ::before and fades out below the bar (same as Destinations).
   No top cap, offset, band, or border-bottom. Restore note: this replaced the
   Home-only solid grid-on-the-bar + background-position: 0 1px, which left a
   plain band above the menu. */
.site-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.75rem;
  padding: 1.4rem var(--pad, clamp(1.25rem, 4vw, 3rem)) 1.35rem;
  position: relative;
  border-bottom: none;
  overflow: visible;
  background-color: var(--bg, #fdfdfb);
  background-image: none;
}
.site-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 2.25rem);
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(47, 47, 47, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 47, 47, 0.055) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.site-bar > * {
  position: relative;
  z-index: 1;
}
.site-bar .header-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 1.1rem;
}
.site-bar .wordmark {
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  color: var(--ink, #2f2f2f);
}
.site-bar .wordmark:hover { text-decoration: none; color: var(--ink, #2f2f2f); }
.site-bar .wordmark:focus-visible {
  outline: 2px solid var(--ink, #2f2f2f);
  outline-offset: 3px;
}
.site-bar nav[aria-label="Primary"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}
.site-bar nav[aria-label="Primary"] a {
  font-size: 0.7rem;
  color: var(--ink, #2f2f2f);
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-bar nav[aria-label="Primary"] a[aria-current="page"] { font-weight: 500; }

/* Inner-page header rules now live on .site-bar itself so Home matches Destinations. */


/* ===== Page shell + footer ===== */
.page { padding: 0 var(--pad, clamp(1.25rem, 4vw, 3rem)) clamp(2rem, 5vw, 3.5rem); }
.page-head { margin: calc(1.35rem + 28px) 0 1.15rem; }
.page-head h1,
.itin-cover h1 {
  /* ~17% larger than previous clamp(1.35rem, 3vw, 1.8rem); same weight/font */
  font-size: clamp(1.58rem, 3.5vw, 2.11rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink, #2f2f2f);
  margin-bottom: 0.35rem;
  position: relative;
  width: max-content;
  max-width: 100%;
}
.page-head h1 .title-sizer,
.itin-cover h1 .title-sizer {
  display: block;
  white-space: pre;
}
.page-head h1 .title-typed,
.itin-cover h1 .title-typed {
  position: absolute;
  left: 0;
  top: 0;
  white-space: pre;
  pointer-events: none;
}
html.js .page-head h1 .title-sizer,
html.js .itin-cover h1 .title-sizer { visibility: hidden; }
html:not(.js) .page-head h1 .title-typed,
html:not(.js) .page-head h1 .title-caret,
html:not(.js) .itin-cover h1 .title-typed,
html:not(.js) .itin-cover h1 .title-caret { display: none; }
.page-head h1 .title-caret,
.itin-cover h1 .title-caret {
  display: inline-block;
  width: 0.07em;
  height: 0.85em;
  margin-left: 0.06em;
  background: currentColor;
  vertical-align: -0.05em;
  animation: title-caret 0.8s step-end infinite;
}
.page-head h1.is-typed .title-caret,
.itin-cover h1.is-typed .title-caret { display: none; }
@keyframes title-caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .page-head h1 .title-sizer,
  html.js .itin-cover h1 .title-sizer { visibility: visible; }
  html.js .page-head h1 .title-typed,
  html.js .page-head h1 .title-caret,
  html.js .itin-cover h1 .title-typed,
  html.js .itin-cover h1 .title-caret { display: none; }
  .page-head h1 .title-caret,
  .itin-cover h1 .title-caret { animation: none; }
}
.page-head .lede,
.itin-cover .lede { font-size: 1rem; color: var(--ink, #2f2f2f); margin: 0; }
.page-intro {
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink, #2f2f2f);
  margin: 0 0 1.5rem;
}
.page-portraits .page-intro { margin: 0 0 1.5rem; }
.itin-cover .page-intro { margin: 1.05rem 0 0; }
/* Contact: extra space under the title + subtitle before the intro/form. */
.page-contact .page-head { margin-bottom: calc(1.15rem + 32px); }
@media (min-width: 701px) {
  .page-contact .page-head { text-align: center; }
  .page-contact .page-head h1 { margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
  .page-contact .page-head { margin-bottom: calc(1.15rem + 20px); }
}

.contents-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  margin-top: 1.05rem;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #6b6b6b);
}
.contents-nav a { color: var(--ink, #2f2f2f); }
.filter-chip {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink, #2f2f2f);
  background: #fff;
  color: var(--ink, #2f2f2f);
  padding: 0.28rem 0.55rem 0.28rem 0.7rem;
  cursor: pointer;
}
.filter-chip.is-on { display: inline-flex; }
.filter-chip .chip-x { border: 0; background: none; font: inherit; cursor: pointer; color: inherit; padding: 0 0.15rem; }

footer.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 1.1rem var(--pad, clamp(1.25rem, 4vw, 3rem)) 1.4rem;
  border-top: 1px solid var(--line, #e4e2dc);
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.68rem;
  color: var(--muted, #6b6b6b);
}
footer.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
/* Home footer only: no solid bar. Text sits on the page grid with
   generous padding; no fill or border. Other pages keep the bar above. */
body:has(> .masthead) > footer.site-foot {
  border-top: none;
  background: transparent;
  background-color: transparent;
  padding-top: 3rem;
  padding-bottom: 2.75rem;
}
@media (max-width: 700px) {
  body:has(> .masthead) > footer.site-foot {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* ===== Justified photo grid ===== */
.jgrid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter, 8px);
  width: 100%;
  overflow: visible;
}
.jgrid > .jrow {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gutter, 8px);
  width: 100%;
  align-items: flex-start;
  flex: 1 1 100%;
  overflow: visible;
}
.jgrid > figure,
.jrow > figure {
  flex: calc(var(--ar) * 1000) 1 0;
  min-width: 0;
  margin: 0;
  position: relative;
}
.jrow.is-short { justify-content: flex-start; }
.jrow.is-short > figure { flex: 0 0 auto; }
@media (max-width: 639px) {
  .jgrid > figure { flex-basis: calc(var(--ar) * 46vw); }
}
@media (min-width: 640px) {
  .jgrid > figure { flex-basis: calc(var(--ar) * 28vw); }
}
.jgrid .photo,
.jgrid img.photo {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: contain;
  object-position: top left;
  display: block;
}

/* ===== Destinations shots (simple grid, stamp hangs off bottom-right) ===== */
body.page-destinations { --gutter: 32px; }
.shot-frame { position: relative; overflow: visible; z-index: 0; }
.shot-frame .photo { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: contain; }
.shot .stamp {
  position: absolute;
  right: -16px;
  bottom: -21px;
  width: 42px;
  height: auto;
  aspect-ratio: 480 / 600;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transform-origin: 50% 50%;
}
@media (max-width: 639px) {
  .shot .stamp { width: 33px; right: -13px; bottom: -16px; }
}
.shot figcaption {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  color: var(--muted, #6b6b6b);
  margin-top: 2rem;
  padding-right: 0.4rem;
  line-height: 1.35;
  cursor: pointer;
}
@keyframes stamp-jiggle {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-7deg); }
  40% { transform: rotate(6deg); }
  60% { transform: rotate(-4deg); }
  80% { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}
.shot .stamp:hover,
.shot .stamp:focus-visible {
  animation: stamp-jiggle 450ms ease-in-out infinite;
}
.shot-frame {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-origin: center center;
}
.shot:hover .shot-frame,
.shot:focus-within .shot-frame {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  z-index: 3;
}
.continent-block.is-empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .shot-frame { transition: none; }
  .shot:hover .shot-frame,
  .shot:focus-within .shot-frame { transform: none; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
  .shot .stamp:hover,
  .shot .stamp:focus-visible { animation: none; }
}

/* ===== Home masthead =====
   Drew approved cropping for the desktop masthead and the phone masthead
   only (plus the Home tiles). Desktop (wider than the 700px phone
   breakpoint) is a 21:9 frame using cover, capped so the first Home tile
   (and its title) stay above the fold: max-height = 100svh - 48px gap
   - ~150px for the tile top/title. Phone is 4:3 cover with a similar
   100svh cap (24px gap + ~110px). Per-slide --desktop-pos / --phone-pos.
   Nothing else may use cover except the Home tiles (see .home-tile). */
.masthead {
  aspect-ratio: 21 / 9;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 48px - 150px);
  max-height: calc(100svh - 48px - 150px);
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg, #fdfdfb);
  z-index: 1;
}
.masthead-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--desktop-pos, 50% 50%);
  max-width: none;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.masthead-photo.is-active {
  opacity: 1;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .masthead-photo { transition: none; }
}
/* Home masthead overlay — name/tagline/menu from the designer mockup
   (portfolio/assets/masthead-name-mockup/). Name is Newsreader; tagline uses
   Inter / --font-body; menu is IBM Plex Mono / --font-mono. The whole block is vertically centered;
   the Home site-bar is hidden so the masthead starts at the top of the page
   (no duplicate menu). Overlay is pointer-events: none except the links. */
.masthead-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 52%, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.48) 30%, rgba(0, 0, 0, 0.42) 50%, rgba(0, 0, 0, 0.40) 72%, rgba(0, 0, 0, 0.18) 100%);
}
.masthead-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
  text-align: center;
  color: #fff;
  padding: 0 1.25rem;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.45);
}
.masthead-title h1 {
  margin: 0;
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(2.53rem, 3.696vw + 1.628rem, 6.6rem);
  line-height: 1;
  letter-spacing: clamp(-0.5px, -0.1vw, -1.4px);
  white-space: nowrap;
  color: #fff;
}
.masthead-title .masthead-tagline {
  margin: 4px 0 0;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 0.55vw + 0.86rem, 2rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
  max-width: 100%;
}
.masthead-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem 2.2rem;
  margin: 44px auto 0;
  max-width: 900px;
  padding: 0 0.5rem;
  pointer-events: auto;
}
.masthead-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.masthead-nav a[aria-current="page"] { font-weight: 500; }
.masthead-nav-break { display: none; }

/* Home typewriter: reserve the full string so the layout never jumps. */
.masthead-title h1,
.masthead-title .masthead-tagline { position: relative; }
.masthead-title .mh-sizer {
  display: block;
  pointer-events: none;
}
.masthead-title .mh-typed {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  pointer-events: none;
}
.masthead-title.is-typing .mh-sizer,
.masthead-title.is-typed .mh-sizer { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .masthead-title .mh-sizer,
  .masthead-title.is-typing .mh-sizer,
  .masthead-title.is-typed .mh-sizer { visibility: visible; }
  .masthead-title .mh-typed { display: none; }
}
.masthead-nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.masthead-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  /* Drew approved cropping for the desktop masthead and the phone
     masthead only. Phone rule: 4:3 cover with --phone-pos, capped so the
     first tile stays above the fold. */
  .masthead {
    aspect-ratio: 4 / 3;
    max-height: calc(100vh - 24px - 110px);
    max-height: calc(100svh - 24px - 110px);
  }
  .masthead-photo {
    object-fit: cover;
    object-position: var(--phone-pos, 50% 50%);
  }
  /* Item 14: nudge the overlay block down so the name isn't tight to the top. */
  .masthead-title {
    padding: 0 0.6rem;
    top: calc(50% + 20px);
  }
  .masthead-title .masthead-tagline { margin-top: 2px; font-size: 0.75rem; } /* 12px, phone only */
  /* Phone menu: compact 3+4 block. Hit-area padding, not big gaps. */
  .masthead-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0;
    row-gap: 0;
    margin: 16px auto 0;
    max-width: 100%;
    width: auto;
    padding: 0;
  }
  .masthead-nav-break {
    display: block;
    flex-basis: 100%;
    width: 100%;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .masthead-nav a {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 32px;
    padding: 0.3rem 0.45rem; /* 4.8px vertical; rows sit tighter, hit areas can overlap visually */
    flex: 0 0 auto;
  }
}

/* ===== Home tiles =====
   Drew approved cropped tile photos; cover is OK for these
   tiles only (plus the approved desktop 16:9 and phone 3:4 masthead rules). */
.home-tiles {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 48px 48px 12px;
  box-sizing: border-box;
  overflow: visible;
}
.home-tile {
  display: block;
  position: relative;
  overflow: hidden;
  height: 495px;
  text-decoration: none;
  color: #fff;
  background: #111;
}
.home-tile:hover { text-decoration: none; }
.home-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--tile-pos, 50% 50%);
}
.home-tile-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, var(--s, 0.5)) 0%,
    rgba(0, 0, 0, calc(var(--s, 0.5) * 0.5)) 38%,
    rgba(0, 0, 0, 0) 68%
  );
}
.home-tile h2 {
  position: absolute;
  left: 44px;
  top: 52px;
  margin: 0;
  z-index: 2;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.home-tile:focus-visible {
  outline: 2px solid var(--ink, #2f2f2f);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .home-tile {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    transform-origin: center center;
  }
  .home-tile:hover,
  .home-tile:focus-visible {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    z-index: 3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-tile { transition: none; }
  .home-tile:hover,
  .home-tile:focus-visible {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
}
@media (max-width: 700px) {
  .home-tiles {
    gap: 24px;
    padding: 24px 20px 12px;
  }
  .home-tile {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .home-tile h2 {
    left: 22px;
    top: 32px;
    font-size: 24px;
  }
  /* Phone 3:2 cover framing (el-tigre-05 is a 2:3 portrait) */
  .home-tile:nth-child(1) img { object-position: var(--phone-tile-pos, 50% 38%); }
  .home-tile:nth-child(n + 2) img { object-position: var(--phone-tile-pos, 50% 50%); }
}

/* Home: hide the normal top bar so the masthead starts at the top of the
   page and there is only one menu (the overlay nav). Other pages keep .site-bar. */
body:has(> .masthead) > .site-bar { display: none; }

/* Home: page grid fades in toward the bottom, behind the stamp shelf / footer.
   The 6rem / 4rem (96px / 64px) body padding and the .home-pass overlap
   (margin-top: -9.5rem / -4.375rem) were removed with the boarding pass.
   RESTORE: boarding pass — uncomment the pass in index.html and restore the
   .home-pass overlap rules plus the 6rem/4rem body padding-bottom below. */
body:has(> .masthead) {
  position: relative;
}
body:has(> .masthead)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(47, 47, 47, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 47, 47, 0.055) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.08), #000);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.08), #000);
}
/* Exclude .skip so it stays position:absolute and does not leave a
   24px band above the menu (position:relative would keep it in flow). */
body:has(> .masthead) > :not(.skip) {
  position: relative;
  z-index: 1;
}
/* Kept for restore: .home-pass overlap used to pull the pass up over the masthead.
.home-pass {
  position: relative;
  z-index: 2;
  margin-top: -9.5rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 639px) {
  .home-pass { margin-top: -4.375rem; }
}
*/
.home-pass {
  /* Unused on Home while the pass is commented out of index.html. */
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
}

.stamp-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  padding: clamp(1.5rem, 4vw, 3rem) var(--pad, clamp(1.25rem, 4vw, 3rem)) 3rem;
}
.stamp-shelf img {
  width: 7.2rem;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
@media (max-width: 639px) { .stamp-shelf img { width: 5.6rem; } }

/* ===== Portraits: 3:2 passport data-page cards ===== */
.person-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
}
.person-card {
  --passport-ink: #3a3a3a;
  --stamp-w: 14.7cqi;
  --stamp-rot: -6deg;
  --card-edge: #cfc8b8;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0.7rem 0.75rem 0.4rem;
  cursor: pointer;
  color: inherit;
  text-align: left;
  font: inherit;
  border: 1px solid var(--card-edge);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(47, 47, 47, 0.12), 0 2px 8px rgba(47, 47, 47, 0.06);
  background-color: #fffdf8;
  background-image: none;
  container-type: inline-size;
  container-name: passport;
}
.person-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("../images/portraits/card-bg-matt.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 100%;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.person-card[data-given="Matt"]::before { background-image: url("../images/portraits/card-bg-matt.png"); }
.person-card[data-given="Natalie"]::before { background-image: url("../images/portraits/card-bg-natalie.png"); }
.person-card[data-given="Poppi"]::before { background-image: url("../images/portraits/card-bg-poppi.png"); }
.person-card[data-given="Grant"]::before { background-image: url("../images/portraits/card-bg-grant.png"); }
.person-card[data-given="Samuel"]::before { background-image: url("../images/portraits/card-bg-samuel.png"); }
.person-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 0.625rem);
  justify-self: center;
}
@media (max-width: 639px) {
  .person-cards { grid-template-columns: 1fr; }
  .person-card:last-child:nth-child(odd) { width: 100%; }
}
.card-face {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.65rem 0.85rem;
}
.card-id {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  display: block;
  position: relative;
  width: auto;
  height: auto;
  aspect-ratio: var(--ar);
  margin: 0;
  padding: 0;
  border: 2px solid var(--card-edge);
  background: transparent;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
.card-id picture,
.card-id .id-slide {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.card-id .id-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 800ms ease;
  z-index: 0;
  pointer-events: none;
}
.card-id .id-slide.is-active {
  opacity: 1;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .card-id .id-slide { transition: none; }
}
.card-id img,
.card-id .photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top left;
}
.card-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-right: calc(var(--stamp-w) + 0.7rem);
}
.card-stamp {
  position: absolute;
  top: 0.72rem;
  right: 0.78rem;
  width: var(--stamp-w);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: rotate(var(--stamp-rot, -6deg));
  transform-origin: 50% 50%;
}
.person-card .card-meta h2 {
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-size: clamp(1.11rem, 2.26vw, 1.53rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.55rem;
  color: var(--passport-ink);
}
.passport-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem 0.7rem;
  margin: 0;
}
.passport-fields div { margin: 0; min-width: 0; }
.passport-fields .field-place { grid-column: 1 / -1; }
.passport-fields dt {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #6b6b6b);
  margin-bottom: 0.08rem;
}
.passport-fields dd {
  font-size: 0.88rem;
  line-height: 1.25;
}
.card-mrz {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin: 0.4rem 0 0;
  padding: 0.2rem 0 0;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: clamp(0.4rem, 1.1vw, 0.6rem);
  line-height: 1.3;
  letter-spacing: 0.045em;
  color: var(--passport-ink);
  background: none;
  border: 0;
  box-shadow: none;
  filter: none;
  overflow: hidden;
  white-space: pre;
  text-align: left;
}
.person-card .card-gallery { display: none; }
.person-card .card-close { display: none; }
.person-card .expanded-toolbar { display: none; }

.person-backdrop,
.brand-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 90;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0,0,0,.55);
  cursor: pointer;
}
body.person-modal-open,
body.brand-modal-open { overflow: hidden; }
body.person-modal-open .person-backdrop,
body.brand-modal-open .brand-backdrop { display: block; }

/* Opened collection lives in a centered modal box. */
.person-card.is-open {
  position: fixed;
  z-index: 91;
  left: calc((100vw - 940px) / 2);
  top: 4vh;
  top: 4dvh;
  transform: none;
  width: 940px;
  max-width: 940px;
  height: auto;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: auto;
  aspect-ratio: auto;
  cursor: default;
  padding: 1.15rem 1.35rem 1.4rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.28);
  grid-column: auto;
  justify-self: auto;
  background-image: none;
  background-color: #fffdf8;
  display: flex;
  flex-direction: column;
  animation: person-modal-in 0.42s ease both;
}
@keyframes person-modal-in {
  from { transform: translateY(calc(-4vh - 100%)); }
  to { transform: translateY(0); }
}
.person-card.is-open::before { display: none; }
.person-card.is-open .card-stamp { display: none; }
.person-card.is-open .card-id { display: none; }
.person-card.is-open .passport-fields { display: none; }
.person-card.is-open .card-mrz {
  display: block;
  order: 1;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0.15rem 3rem 0.55rem 0;
  font-size: clamp(0.45rem, 1.39vw, 0.78rem);
  letter-spacing: 0.16em;
  line-height: 1.35;
  overflow: hidden;
  background: none;
  border: 0;
  box-shadow: none;
}
.person-card.is-open .card-meta,
.brand-card.is-open .card-meta { padding-right: 0; }
.person-card.is-open .card-meta h2,
.brand-card.is-open .card-meta h2,
.brand-card.is-open .brand-card-meta h2 {
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 16px 0 0.35rem;
  color: var(--passport-ink, #3a3a3a);
  text-transform: none;
}
.person-card .card-open-meta { display: none; }
.person-card.is-open .card-open-meta,
.brand-card.is-open .card-open-meta {
  display: block;
  margin: 0 0 0.85rem;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted, #6b6b6b);
  line-height: 1.35;
  text-transform: none;
}
.person-card.is-open .card-face {
  display: block;
  order: 2;
  flex: 0 0 auto;
  margin-bottom: 0.85rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.person-card.is-open .expanded-toolbar,
.brand-card.is-open .expanded-toolbar {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  margin: 0;
}
.person-card.is-open .card-close,
.brand-card.is-open .card-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  border: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  color: var(--ink, #2f2f2f);
  padding: 0.2rem 0.55rem;
  cursor: pointer;
}
.person-card.is-open .card-close:hover,
.person-card.is-open .card-close:active,
.person-card.is-open .card-close:focus,
.brand-card.is-open .card-close:hover,
.brand-card.is-open .card-close:active,
.brand-card.is-open .card-close:focus {
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}
.person-card.is-open .card-close:focus-visible,
.brand-card.is-open .card-close:focus-visible {
  outline: 2px solid var(--ink, #2f2f2f);
  outline-offset: 2px;
}
.person-card.is-open .card-gallery figure,
.brand-card.is-open .card-gallery figure,
.brand-card.is-open .brand-site-shot { cursor: pointer; }
.person-card.is-open .card-gallery figure:focus-visible,
.person-card.is-open .card-gallery img:focus-visible,
.brand-card.is-open .card-gallery figure:focus-visible,
.brand-card.is-open .card-gallery img:focus-visible {
  outline: 2px solid var(--ink, #2f2f2f);
  outline-offset: 2px;
}
.person-card.is-open .card-gallery {
  display: flex;
  order: 3;
  flex-wrap: wrap;
  gap: var(--gutter, 8px);
  row-gap: var(--gutter, 8px);
  column-gap: var(--gutter, 8px);
  width: 100%;
}
/* Keep row wrappers from eating the vertical gutter. */
.card-gallery.jgrid > .jrow {
  flex: 0 0 100%;
  width: 100%;
  gap: var(--gutter, 8px);
}
.person-card.is-open .card-gallery img,
.person-card.is-open .card-gallery .photo,
.brand-card.is-open .card-gallery img,
.brand-card.is-open .card-gallery .photo {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: contain;
  display: block;
}
@media (max-width: 639px) {
  .person-card.is-open {
    left: 7vw;
    width: 86vw;
    max-width: none;
  }
  .brand-card.is-open {
    left: 8.5vw;
    width: 83vw;
    max-width: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .person-card:not(.is-open) {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
  }
}
@media (prefers-reduced-motion: reduce) {
  .person-card:not(.is-open),
  .brand-card:not(.is-open) { transform: none !important; }
  .person-card.is-open,
  .brand-card.is-open { animation: none; transform: none; }
  .person-card, .brand-card, .card-meta, .card-id, .card-gallery figure { transition: none !important; animation: none !important; }
}

/* ===== Brand Stories: Google Maps–style place cards ===== */
.brand-cards {
  --brand-gutter: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--brand-gutter);
  align-items: start;
  justify-items: stretch;
  width: 100%;
  max-width: 54rem;
  margin: 0.75rem auto 3rem;
  padding-top: 0.75rem;
}
.js .brand-cards.is-masonry {
  display: block;
  position: relative;
}
.js .brand-cards.is-masonry .brand-card:not(.is-open) {
  position: absolute;
  margin: 0;
}
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(47, 47, 47, 0.10), 0 1px 4px rgba(47, 47, 47, 0.06);
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-align: left;
  font: inherit;
}
.brand-card-photo {
  width: 100%;
  aspect-ratio: var(--ar, 2 / 3);
  background: #fff;
  overflow: hidden;
  line-height: 0;
}
.brand-card-photo picture,
.brand-card-photo img,
.brand-card-photo .photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar, 2 / 3);
  object-fit: contain;
  object-position: center;
}
.brand-card-photo.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f2ef;
  min-height: 0;
}
.brand-card-photo .photo-slot {
  margin: 1rem;
  text-align: center;
}
.brand-card-meta {
  position: relative;
  flex: 0 0 auto;
  padding: 0.95rem 1.35rem 1.75rem 1.1rem;
}
/* Closed cards: equal top/bottom padding so the name + location block is
   vertically centered between the photo and the card bottom. The plus stays
   on the right, absolutely centered with that text block so it does not
   overlap or shift the text. Open cards keep padding: 0 below. */
.brand-card:not(.is-open) .brand-card-meta {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}
.brand-card:not(.is-open) .brand-card-plus {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.brand-card-meta h2 {
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.28rem;
  color: var(--ink, #2f2f2f);
}
.brand-card-line {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--muted, #6b6b6b);
}
.brand-card-line.drew-placeholder {
  display: inline-block;
  padding: 0.12rem 0.35rem;
}
.brand-card:not(.is-open) .brand-card-type { display: none; }
.brand-card-plus {
  position: absolute;
  right: 0.9rem;
  bottom: 0.85rem;
  width: 11px;
  height: 11px;
  pointer-events: none;
  background:
    linear-gradient(#3a3a3a, #3a3a3a) center / 11px 1px no-repeat,
    linear-gradient(#3a3a3a, #3a3a3a) center / 1px 11px no-repeat;
}
.brand-card.is-open .brand-card-plus { display: none; }
.brand-card-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
}
.brand-card.is-open .brand-card-shell {
  flex: 0 0 auto;
  min-height: 0;
}
.js .brand-card.is-pre-enter .brand-card-shell {
  opacity: 0;
  transform: translateY(20px);
}
.js .brand-card.is-entering .brand-card-shell {
  animation: brand-card-in 500ms ease-out forwards;
}
@keyframes brand-card-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.brand-card:not(.is-open) .brand-card-detail,
.brand-card:not(.is-open) .expanded-toolbar { display: none; }
.brand-cards,
.js .brand-cards.is-masonry {
  overflow: visible;
}
/* Same lift as Destinations .shot:hover .shot-frame — no hover media query,
   so the lift still runs when (hover: hover) and (pointer: fine) do not match. */
.brand-card:not(.is-open) {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-origin: center center;
}
.brand-card:not(.is-open):hover,
.brand-card:not(.is-open):focus-visible {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
  .brand-card:not(.is-open) { transition: none; }
  .brand-card:not(.is-open):hover,
  .brand-card:not(.is-open):focus-visible {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .brand-card-shell { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* Opened brand card: same slide-down pop-up pattern as Portraits. */
.brand-card.is-open {
  position: fixed;
  z-index: 91;
  left: calc((100vw - 880px) / 2);
  top: 4vh;
  top: 4dvh;
  transform: none;
  width: 880px;
  max-width: 880px;
  height: auto;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: auto;
  cursor: default;
  padding: 1.15rem 1.35rem 1.4rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.28);
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  animation: person-modal-in 0.42s ease both;
}
.brand-card.is-open .brand-card-photo { display: none; }
.brand-card.is-open .brand-card-meta {
  padding: 24px 3rem 0 0; /* extra space under the card top; right clears the close button */
  order: 1;
  flex: 0 0 auto;
}
@media (max-width: 639px) {
  .brand-card.is-open .brand-card-meta { padding-top: 16px; }
}
.brand-card.is-open .brand-card-detail {
  display: block;
  order: 2;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
}
.brand-card.is-open .brand-card-writeup {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--ink, #2f2f2f);
  text-transform: none;
  margin: 0 0 1rem;
}
.brand-card.is-open .brand-card-detail > .drew-placeholder {
  margin: 0 0 1rem;
}
.brand-card.is-open .case-site-btn { margin: 0 0 1.15rem; }
.brand-card.is-open .card-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter, 8px);
  width: 100%;
}
.brand-card.is-open .card-gallery.jgrid > .jrow {
  flex: 0 0 100%;
  width: 100%;
  gap: var(--gutter, 8px);
}
.brand-site-shot {
  margin: 1.35rem 0 0;
  padding: 0;
  border: 0;
}
.brand-site-shot img,
.brand-site-shot .photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: contain;
}
.brand-site-shot figcaption {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--muted, #6b6b6b);
  text-transform: none;
  margin: 0.55rem 0 0;
}

.case-site-btn {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fffdf8;
  background: #3a3a3a;
  border: 1px solid #3a3a3a;
}
.case-site-btn:hover { background: transparent; color: #3a3a3a; }
.case-site-btn:focus-visible {
  outline: 2px solid #3a3a3a;
  outline-offset: 3px;
}
.photo-slot { margin: 0; }
.itin-cover {
  margin: calc(1.35rem + 28px) 0 3.25rem;
  padding: 0 0 2rem;
  border: 0;
}
.itin-kicker {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted, #6b6b6b);
  margin-bottom: 0.45rem;
}
@media (max-width: 700px) {
  .brand-cards {
    --brand-gutter: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-card:not(.is-open) { width: auto; }
  .brand-card { border-radius: 10px; }
  .brand-card:not(.is-open) .brand-card-meta { padding: 0.65rem 1.5rem 0.7rem 0.7rem; }
  .brand-card-meta h2 { font-size: 1rem; line-height: 1.18; margin-bottom: 0.2rem; }
  .brand-card-line { font-size: 0.72rem; line-height: 1.3; }
  .brand-card-plus { right: 0.6rem; width: 9px; height: 9px; background-size: 9px 1px, 1px 9px; }
}

/* ===== Lightbox (whole image, real ratio, contained in the viewport) ===== */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem 3rem;
}
.lb.is-open { display: flex; }
.lb-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.88);
  cursor: pointer;
}
.lb-dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.lb-dialog img {
  max-width: 92vw;
  max-height: calc(92vh - 4.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
}
.lb-dialog figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.85);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
}
.lb-prev, .lb-next {
  border: 1px solid #fff;
  background: rgba(0,0,0,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  box-sizing: border-box;
}
.lb-prev svg,
.lb-next svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  fill: none;
  stroke: currentColor;
  pointer-events: none;
}
.lb-close {
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 8px rgba(0,0,0,.45);
}
.lb-close:hover,
.lb-close:active,
.lb-close:focus {
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0.6rem; }
.lb-next { right: 0.6rem; }
.lb-close:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
body.lb-locked { overflow: hidden; }

/* Filtered-out shots leave the layout; empty continents are already hidden. */
figure.shot[hidden],
figure.is-filtered-out { display: none !important; }

/* ===== Boarding pass (used on Home; outline from the original About ticket) ===== */
.boarding-pass {
  --pass-ink: #1c1c1c;
  --pass-banner: #1f1f1f;
  --pass-paper: #fff;
  --pass-radius: 14px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 2 * var(--pad, clamp(1.25rem, 4vw, 3rem)));
  background: transparent;
  filter: drop-shadow(0 10px 28px rgba(47, 47, 47, 0.12));
}
.pass-main,
.pass-stub {
  background: var(--pass-paper);
  color: var(--pass-ink);
  overflow: hidden;
  min-width: 0;
}
.pass-main {
  flex: 1 1 auto;
  border-radius: var(--pass-radius) 0 0 var(--pass-radius);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.pass-banner {
  background: var(--pass-banner);
  color: #f7f4ef;
  padding: 0.68rem 1.25rem;
  flex: 0 0 auto;
  min-height: calc(1.36rem + 0.936rem);
  box-sizing: border-box;
}
.pass-home-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.25rem 1.4rem 1.3rem;
  flex: 1 1 auto;
  min-width: 0;
}
.pass-photo {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(47, 47, 47, 0.10);
  margin: 1.15rem 1.15rem 0;
  box-sizing: border-box;
  width: calc(100% - 2.3rem);
}
.pass-copy { min-width: 0; width: 100%; }
.pass-label {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #6b6b6b);
  margin: 0 0 0.18rem;
  font-weight: 500;
}
.pass-name,
.pass-place {
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 500;
  margin: 0;
  color: var(--pass-ink);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.pass-name { font-size: clamp(1.55rem, 3vw, 1.95rem); margin-bottom: 0.7rem; }
.pass-place { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
.pass-bio {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: var(--ink, #2f2f2f);
}
.pass-copy .drew-placeholder { margin: 0 0 1rem; }
.pass-service-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
.pass-service-list li {
  display: flex;
  gap: 0.7rem;
  margin: 0 0 1rem;
  align-items: flex-start;
}
.pass-service-list li:last-child { margin-bottom: 0; }
.svc-num {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted, #6b6b6b);
  padding-top: 0.28rem;
  flex: 0 0 auto;
}
.pass-service-list strong {
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
  color: var(--pass-ink);
}
.pass-service-list p {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink, #2f2f2f);
}
.pass-perf {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  background: var(--pass-paper);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 7px,
    #c5c0b6 7px 11px
  );
  background-size: 2px 18px;
  background-repeat: repeat-y;
  background-position: center top;
}
.pass-stub {
  flex: 0 0 17rem;
  width: 17rem;
  border-radius: 0 var(--pass-radius) var(--pass-radius) 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.pass-stub .pass-route {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  margin: 1rem 1.15rem 1.25rem;
  flex: 1 1 auto;
}
.pass-arrow {
  font-size: 1.35rem;
  color: var(--muted, #6b6b6b);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.pass-home-body > .pass-contact {
  margin: 0.15rem 0 0;
}
.pass-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fffdf8;
  background: #3a3a3a;
  border: 1px solid #3a3a3a;
}
.pass-contact:hover { background: transparent; color: #3a3a3a; text-decoration: none; }
.pass-contact:focus,
.pass-contact:focus-visible {
  outline: 2px solid #3a3a3a;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .boarding-pass {
    flex-direction: column;
    width: calc(100% - 2 * var(--pad, 1.25rem));
  }
  .pass-main {
    border-radius: var(--pass-radius) var(--pass-radius) 0 0;
  }
  .pass-home-body {
    width: 100%;
  }
  .pass-copy { width: 100%; }
  .pass-stub {
    flex: none;
    width: auto;
    border-radius: 0 0 var(--pass-radius) var(--pass-radius);
    align-items: stretch;
  }
  .pass-photo {
    width: min(14.5rem, calc(100% - 2.3rem));
    margin-left: auto;
    margin-right: auto;
  }
  .pass-perf {
    flex: 0 0 18px;
    width: auto;
    height: 18px;
    background-image: repeating-linear-gradient(
      to right,
      transparent 0 7px,
      #c5c0b6 7px 11px
    );
    background-size: 18px 2px;
    background-repeat: repeat-x;
    background-position: left center;
  }
}

/* ===== About =====
   About is a normal page again (nav + no noindex). It reuses the shared
   Batch 15 boarding-pass styles (photo in the stub above Austin → Your
   shoot, clean 14px corners, dashed perf, no notch cutouts, no barcode,
   no “Boarding pass” label). Only the page top/bottom spacing is scoped
   here so the pass sits like other inner pages, without the Home overlap. */
body.page-about .boarding-pass {
  margin-top: calc(1.35rem + 28px);
  margin-bottom: 3.5rem;
}


/* ===== About travel-journal redesign =====
   Boarding-pass markup is no longer used on About; the scoped
   body.page-about .boarding-pass rules above are kept unused.
   Full-page grid matches the site-bar grid (same 18px, same ink)
   and fades in so it meets the header grid without a seam or cap. */
/* Batch 22: drop the full-page About grid. About now uses the same
   site-bar grid fade as Destinations and the other inner pages. */
.about-journal {
  position: relative;
  max-width: 1180px; /* ~12% tighter than 1344 so side margins grow */
  margin: 0 auto;
  padding: 56px clamp(2.15rem, 5.5vw, 4.25rem) 96px;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr) 270px;
  column-gap: 64px;
  align-items: start;
  grid-template-areas: "vid head tag" "vid body tag";
  grid-template-rows: auto 1fr;
}
.about-vid-col { grid-area: vid; }
.about-head { grid-area: head; }
.about-body { grid-area: body; }
.about-tagwrap { grid-area: tag; }
/* Video taped on like a print, shown whole at 9:16 (no crop). */
.about-print {
  position: relative;
  transform: rotate(-1.4deg);
  background: #fffdf8;
  padding: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12), 0 18px 40px rgba(47, 47, 47, 0.10);
  border: 1px solid #dcd6c8;
}
.about-print .about-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #e9e7e1;
  overflow: hidden;
}
.about-print video,
.about-print img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.about-tape {
  position: absolute;
  width: 86px;
  height: 26px;
  background: rgba(214, 205, 182, 0.62);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  z-index: 3;
  pointer-events: none;
}
.about-tape.a { top: -12px; left: -26px; transform: rotate(-38deg); }
.about-tape.b { top: -12px; right: -26px; transform: rotate(38deg); }
.about-head h1 {
  margin: 0 0 20px;
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: 76px;
  line-height: 1;
  letter-spacing: -1.4px;
  color: var(--ink, #2f2f2f);
}
.about-head .about-bio {
  margin: 0 0 44px;
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-size: 26px;
  line-height: 1.38;
  color: var(--ink, #2f2f2f);
  max-width: 34ch;
}
.about-list-h {
  margin: 0 0 6px;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #6b6b6b);
  padding-bottom: 10px;
  border-bottom: 1.5px dashed #b9b4a8;
}
.about-pack { list-style: none; margin: 0; padding: 0; }
.about-pack li {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line, #e4e2dc);
}
.about-box {
  position: relative;
  width: 26px;
  height: 26px;
  border: 2px solid #3a3a3a;
  border-radius: 3px;
  margin-top: 3px;
  background: #fffdf8;
}
.about-box svg {
  position: absolute;
  left: -3px;
  top: -9px;
  width: 34px;
  height: 34px;
}
.about-pack strong {
  display: block;
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink, #2f2f2f);
}
.about-pack p {
  margin: 6px 0 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #3d3d3d;
}
.about-cta {
  display: inline-block;
  margin-top: 34px;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffdf8;
  background: #3a3a3a;
  text-decoration: none;
  border: 1px solid #3a3a3a;
}
.about-cta:hover { background: transparent; color: #3a3a3a; text-decoration: none; }
.about-cta:focus-visible {
  outline: 2px solid #3a3a3a;
  outline-offset: 3px;
}
/* Luggage tag, hanging by a loop of string */
.about-tagwrap {
  position: relative;
  justify-self: center;
  margin-top: -6px;
}
.about-string {
  display: block;
  margin: 0 auto -34px;
  width: 120px;
  height: 92px;
  position: relative;
  z-index: 2;
}
.about-tag {
  position: relative;
  width: 250px;
  background: #fffdf8;
  border: 2px solid #3a3a3a;
  padding: 62px 18px 20px;
  clip-path: polygon(22% 0, 78% 0, 100% 11%, 100% 100%, 0 100%, 0 11%);
  filter: drop-shadow(0 10px 22px rgba(47, 47, 47, 0.16));
}
.about-tag-in {
  position: absolute;
  inset: 0;
  border: 2px solid #3a3a3a;
  clip-path: polygon(22% 0, 78% 0, 100% 11%, 100% 100%, 0 100%, 0 11%);
  pointer-events: none;
}
.about-tag .about-hole {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  border: 2px solid #3a3a3a;
  background: var(--bg, #fdfdfb);
}
.about-tag img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(28, 28, 28, 0.15);
  box-shadow: 0 2px 8px rgba(47, 47, 47, 0.10);
}
.about-tag .about-place {
  margin: 14px 0 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink, #2f2f2f);
}
.about-tag .about-rule {
  margin-top: 10px;
  height: 22px;
  background: repeating-linear-gradient(90deg, #3a3a3a 0 2px, transparent 2px 5px, #3a3a3a 5px 6px, transparent 6px 10px);
  opacity: 0.75;
}
@media (max-width: 700px) {
  .about-journal {
    display: flex;
    flex-direction: column;
    padding: 22px calc(var(--pad, 1.25rem) + 10px) 64px;
  }
  .about-head { order: 1; }
  .about-vid-col { order: 2; }
  .about-body { order: 3; }
  .about-head h1 {
    font-size: 42px;
    margin: 40px 0 0;
    letter-spacing: -0.6px;
    max-width: 190px;
  }
  .about-head .about-bio { font-size: 21px; margin: 78px 0 48px; padding-right: 110px; }
  .about-tagwrap {
    position: absolute;
    right: calc(var(--pad, 1.25rem) + 12px);
    top: 10px;
    margin: 0;
  }
  .about-string { width: 64px; height: 52px; margin-bottom: -20px; }
  .about-tag { width: 124px; padding: 34px 9px 11px; border-width: 1.5px; }
  .about-tag-in { border-width: 1.5px; }
  .about-tag .about-hole {
    top: 11px;
    width: 13px;
    height: 13px;
    margin-left: -6.5px;
    border-width: 1.5px;
  }
  .about-tag .about-place { margin-top: 7px; font-size: 0.5rem; letter-spacing: 0.08em; }
  .about-tag .about-rule { height: 11px; margin-top: 5px; }
  .about-print { width: 78%; margin: 0 auto 52px; padding: 10px; }
  .about-tape { width: 62px; height: 20px; }
  .about-tape.a { left: -20px; }
  .about-tape.b { right: -20px; }
  .about-pack strong { font-size: 22px; }
  .about-pack li { grid-template-columns: 30px 1fr; column-gap: 12px; }
  .about-box { width: 22px; height: 22px; }
  .about-box svg { width: 30px; height: 30px; top: -8px; }
}

/* ===== Placeholders Drew still needs to fill ===== */
.drew-placeholder {
  background: rgba(184, 150, 58, 0.18);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
p.drew-placeholder,
.photo-slot,
h2.drew-placeholder,
dt.drew-placeholder,
dd.drew-placeholder {
  outline: 1px dashed rgba(58, 58, 58, 0.35);
  outline-offset: 2px;
}
p.drew-placeholder,
.photo-slot {
  padding: 0.65rem 0.75rem;
}

/* ===== Contact: back of a postcard ===== */
.contact-layout { max-width: 46rem; margin-left: auto; margin-right: auto; }
.contact-layout p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink, #2f2f2f);
  margin: 0 0 1rem;
}
.contact-layout a { color: inherit; }
.postcard-back {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  column-gap: 1.35rem;
  row-gap: 0.85rem;
  align-items: stretch;
  margin: 1.75rem auto 0;
  padding: 1.6rem 1.5rem 1.25rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(47, 47, 47, 0.10), 0 1px 4px rgba(47, 47, 47, 0.06);
  --postcard-stamp-band: 3.6rem;
}
.postcard-stamp {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 3.05rem;
  height: auto;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: none;
  pointer-events: none;
  z-index: 1;
}
.postcard-stamp img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}
.postcard-message { min-width: 0; }
@media (min-width: 640px) {
  /* Desktop: Message box (the lined textarea) spans from the top of the
     Name field to the bottom of Preferred dates, within 1px. */
  .postcard-message {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 0;
    align-self: stretch;
  }
  .postcard-message label {
    position: absolute;
    top: 0;
    left: 0;
  }
  .postcard-message textarea {
    margin-top: var(--postcard-stamp-band);
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    resize: none;
    padding-bottom: 0;
  }
}
.postcard-divider {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 5px,
    #c5c0b6 5px 9px
  );
  background-size: 1px 14px;
  background-repeat: repeat-y;
  background-position: center top;
  width: 1px;
}
.postcard-address {
  min-width: 0;
  padding-top: var(--postcard-stamp-band);
}
.contact-field { display: flex; flex-direction: column; gap: 0.25rem; margin: 0 0 0.95rem; }
.postcard-address .contact-field:last-child { margin-bottom: 0; }
.contact-field label,
.postcard-message label {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink, #2f2f2f);
}
.postcard-message textarea,
.postcard-address input,
.postcard-address select {
  font: inherit;
  font-size: 1rem;
  color: var(--ink, #2f2f2f);
  background: transparent;
  border: 0;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.postcard-message textarea {
  border: 0;
  background-image: repeating-linear-gradient(
    transparent 0 1.55rem,
    #ddd8ce 1.55rem 1.6rem
  );
  background-color: transparent;
  line-height: 1.6rem;
  min-height: 12.8rem;
  padding: 0 0 0.2rem;
  resize: vertical;
}
.postcard-address input,
.postcard-address select {
  border-bottom: 1px solid #3a3a3a;
  padding: 0.28rem 0 0.32rem;
  line-height: 1.4;
}
.postcard-address select {
  background-image: linear-gradient(45deg, transparent 50%, #3a3a3a 50%),
    linear-gradient(135deg, #3a3a3a 50%, transparent 50%);
  background-position: calc(100% - 11px) 55%, calc(100% - 6px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.4rem;
  cursor: pointer;
}
.postcard-message textarea:focus-visible,
.postcard-address input:focus-visible,
.postcard-address select:focus-visible,
.contact-actions button:focus-visible {
  outline: 2px solid var(--ink, #2f2f2f);
  outline-offset: 2px;
}
.contact-actions {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
}
.contact-actions button {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fffdf8;
  background: #3a3a3a;
  border: 1px solid #3a3a3a;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
}
.contact-actions button:hover { background: transparent; color: #3a3a3a; }
.contact-notice {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.85rem;
  color: var(--ink, #2f2f2f);
}
@media (max-width: 639px) {
  .postcard-back {
    grid-template-columns: 1fr;
    padding: 1.35rem 1.1rem 1.15rem;
  }
  .postcard-divider {
    width: auto;
    height: 1px;
    background-image: repeating-linear-gradient(
      to right,
      transparent 0 5px,
      #c5c0b6 5px 9px
    );
    background-size: 14px 1px;
    background-repeat: repeat-x;
    background-position: left center;
  }
  .postcard-address { padding-top: 0; }
  /* Item 12: smaller stamp tucked in the top-right, with a reserved band
     so it never covers labels or fields. */
  .postcard-back { padding-top: 3.15rem; }
  .postcard-stamp {
    width: 2.15rem;
    height: auto;
    aspect-ratio: 1 / 1;
    top: 0.45rem;
    right: 0.55rem;
  }
}
@media (max-width: 700px) and (min-width: 640px) {
  /* Mid widths still use the two-column desktop postcard; just shrink the stamp. */
  .postcard-stamp {
    width: 2.4rem;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}


/* ===== About: vintage airline luggage tag (monochrome) + hook swing ===== */
body.page-about { overflow-x: hidden; }
/* Do not reset position here: phone layout keeps the earlier
   position:absolute; top-right placement. */
.about-tagwrap {
  transform-origin: 50% 6px; /* hook at the top of the loop */
  animation: about-tag-swing 2.5s ease-out 1 both;
}
@keyframes about-tag-swing {
  0% { transform: rotate(8deg); }
  25% { transform: rotate(-6deg); }
  50% { transform: rotate(4deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .about-tagwrap { animation: none; transform: none; }
}
.about-tag-loop {
  display: block;
  margin: 0 auto -16px;
  width: 40px;
  height: 38px;
  position: relative;
  z-index: 2;
}
.about-airline-tag {
  position: relative;
  width: 180px; /* 28% smaller than the batch-19 250px kraft tag */
  background: #fffdf8;
  border: 1.5px solid #2a2a2a;
  box-shadow: 0 8px 18px rgba(47, 47, 47, 0.16);
  padding: 0 0 10px;
}
.about-airline-band {
  height: 26px;
  background: #1a1a1a;
}

.about-airline-eyelet {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fffdf8;
  border: 1.5px solid #2a2a2a;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 700px) {
  .about-airline-eyelet { top: 4px; width: 7px; height: 7px; margin-left: -3.5px; border-width: 1px; }
}
.about-airline-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a 0 5px,
    #fffdf8 5px 9px
  );
  border-bottom: 1px solid #1a1a1a;
}
.about-airline-tag img {
  display: block;
  width: calc(100% - 18px);
  margin: 9px auto 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f3f1eb;
  border: 1px solid rgba(28, 28, 28, 0.18);
}
.about-airline-tag .about-place {
  margin: 9px 10px 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.about-barcode {
  display: block;
  width: 147px; /* 147 modules at 1 CSS px — integer narrow-bar width */
  height: 18px;
  margin: 0 auto;
  overflow: visible;
}
@media (max-width: 700px) {
  .about-tagwrap {
    position: absolute;
    right: calc(var(--pad, 1.25rem) + 12px);
    top: 10px;
    margin: 0;
    transform-origin: 50% 4px;
  }
  .about-tag-loop { width: 24px; height: 23px; margin-bottom: -10px; }
  .about-airline-tag { width: 90px; padding-bottom: 6px; border-width: 1px; }
  .about-airline-band { height: 14px; }
  .about-airline-stripe { height: 4px; background-size: auto; }
  .about-airline-tag img { width: calc(100% - 10px); margin-top: 5px; }
  .about-airline-tag .about-place {
    margin: 5px 6px 3px;
    font-size: 0.48rem;
    letter-spacing: 0.05em;
  }
  /* 74px ≈ 0.5 CSS px/module; 1 device px on a 2x screen, still integer in the SVG */
  .about-barcode { width: 74px; height: 9px; }
}


/* ===== About: traditional layout (Batch 21) =====
   Journal / luggage-tag / taped-video rules above are unused.
   Item 3: on desktop the What I Do heading sits above the list, not
   in a left column. The 1–5 items use a two-column grid so the freed
   width is filled without a long single measure. */
.about-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px clamp(2.15rem, 5.5vw, 4.25rem) 96px;
}
.about-intro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 72px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line, #e4e2dc);
}
.about-avatar {
  width: 260px;
  box-sizing: border-box;
  border-radius: 50%;
  padding: 6px;
  background: #fff;
  border: 0;
  overflow: visible;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.about-avatar img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
}
.about-intro-copy h1 {
  margin: 0 0 22px;
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -1.3px;
  color: var(--ink, #2f2f2f);
}
.about-page .about-bio {
  margin: 0;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink, #2f2f2f);
}
.about-page .about-bio + .about-bio { margin-top: 1em; }
@media (min-width: 701px) {
  .about-page .about-bio { max-width: none; }
  .about-intro-copy h1 {
    font-size: clamp(2.6rem, 4.2vw, 3.75rem);
    margin-bottom: 12px;
    transform: translateY(8px);
  }
}
.about-services {
  padding-top: 56px;
}
.about-services h2 {
  margin: 0 0 22px;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink, #2f2f2f);
}
.about-svc {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: about-svc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 0;
}
.about-svc li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 4px;
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line, #e4e2dc);
  counter-increment: about-svc;
}
.about-svc li:nth-child(-n + 2) {
  border-top: 1.5px solid var(--ink, #2f2f2f);
}
.about-svc li::before {
  content: counter(about-svc, decimal-leading-zero);
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
  padding-top: 0;
  color: var(--muted, #6b6b6b);
  font-variant-numeric: tabular-nums;
}
/* Titles were Newsreader in the mockup; descriptions inherited Inter.
   Swap: titles Inter, descriptions Newsreader. */
.about-svc strong {
  display: block;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ink, #2f2f2f);
}
.about-svc p {
  margin: 8px 0 0;
  max-width: 70ch;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #3d3d3d;
}
.about-page .about-cta { margin-top: 40px; }

@media (max-width: 700px) {
  .about-page { padding: 40px var(--pad, 1.25rem) 72px; }
  .about-intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 28px;
    padding-bottom: 44px;
  }
  .about-avatar { width: 188px; padding: 5px; }
  .about-intro-copy h1 {
    font-size: 2.85rem;
    letter-spacing: -0.7px;
    margin-bottom: 16px;
  }
  .about-page .about-bio {
    font-size: 1.08rem;
    margin: 0 auto;
    max-width: 40ch;
  }
  .about-services { padding-top: 40px; }
  .about-services h2 {
    font-size: 0.88rem;
    margin-bottom: 16px;
    text-align: left;
  }
  .about-svc {
    grid-template-columns: 1fr;
  }
  .about-svc li {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 20px 0;
  }
  .about-svc li:nth-child(-n + 2) { border-top: 0; }
  .about-svc li:first-child { border-top: 1.5px solid var(--ink, #2f2f2f); }
  .about-svc strong { font-size: 1.25rem; }
  .about-svc li::before { font-size: 1.25rem; }
  .about-svc p { font-size: 1.05rem; }
  .about-page .about-cta {
    display: block;
    text-align: center;
    margin-top: 32px;
  }
  /* Same scroll-in as Brand Stories: is-pre-enter / is-entering, 500ms ease-out, translateY(20px).
     Hidden only after JS adds is-pre-enter (and only under html.js). */
  .js .about-svc li.is-pre-enter {
    opacity: 0;
    transform: translateY(20px);
  }
  .js .about-svc li.is-entering {
    animation: brand-card-in 500ms ease-out forwards;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-svc li {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== Portraits: View all gallery ===== */
.page-portraits .page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem 1.25rem;
}
.page-portraits .page-head-main { min-width: 0; flex: 1 1 auto; }
.page-portraits .page-head-main .lede { margin: 0; }
.view-all-btn {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0 0 0.05rem auto;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3a3a3a;
  background: transparent;
  border: 1px solid #3a3a3a;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.view-all-btn:hover { background: #3a3a3a; color: #fffdf8; }
.view-all-btn:focus-visible {
  outline: 2px solid #3a3a3a;
  outline-offset: 3px;
}
@media (max-width: 639px) {
  .view-all-btn { padding: 0.45rem 0.9rem; }
}
.view-all-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg, #fdfdfb);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
body.view-all-open .view-all-overlay,
.view-all-overlay.is-open { display: block; }
body.view-all-open { overflow: hidden; }
.page-portraits .lb { z-index: 300; }
.view-all-sheet {
  box-sizing: border-box;
  min-height: 100%;
  padding: 0 var(--pad, clamp(1.25rem, 4vw, 3rem)) 2.5rem;
}
.view-all-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  background: var(--bg, #fdfdfb);
}
.view-all-title {
  margin: 0;
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink, #2f2f2f);
  line-height: 1.2;
}
.view-all-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -0.2rem -0.35rem 0 0;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  border: 0;
  background: transparent;
  color: var(--ink, #2f2f2f);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.view-all-close:focus-visible {
  outline: 2px solid var(--ink, #2f2f2f);
  outline-offset: 2px;
}
.view-all-grid { --gutter: 20px; width: 100%; margin: 0; }
@media (max-width: 639px) {
  .view-all-grid { --gutter: 10px; }
}
.view-all-grid .photo,
.view-all-grid img.photo {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ===== Contact: postcard fly-away + thank-you note (no stamp) ===== */
@keyframes contact-postcard-fly {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-120vh) rotate(-12deg); opacity: 0; }
}
@keyframes contact-postcard-fade {
  to { opacity: 0; }
}
@keyframes contact-thanks-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.postcard-back.is-flying {
  animation: contact-postcard-fly 0.7s ease-in forwards;
  pointer-events: none;
}
.thanks-note {
  display: none;
  margin: 1.75rem auto 0;
  padding: 2.4rem 2.25rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(47, 47, 47, 0.10), 0 1px 4px rgba(47, 47, 47, 0.06);
  text-align: center;
}
.thanks-note.is-visible { display: block; animation: contact-thanks-in 0.45s ease both; }
.contact-layout .thanks-note-title {
  font-family: "Newsreader", "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: clamp(1.58rem, 3.5vw, 2.11rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--ink, #2f2f2f);
  margin: 0 0 0.65rem;
  padding: 0;
  text-transform: none;
}
.contact-layout .thanks-note-sub {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--muted, #6b6b6b);
  margin: 0;
  text-transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .postcard-back.is-flying { animation: contact-postcard-fade 0.32s ease forwards; }
  .thanks-note.is-visible { animation: contact-thanks-in 0.32s ease both; }
}
@media (max-width: 639px) {
  .thanks-note { padding: 2rem 1.25rem; }
}

