:root {
  --bg: #F6F3EC;
  --ink: #1C2430;
  --ink-2: #4A5361;
  --ink-3: #7A8290;
  --line: rgba(28, 36, 48, 0.12);
  --tile: #FFFFFF;
  --navy: #1F3A5F;
  --navy-ink: #FFFFFF;
  --navy-ink-2: #C9D6E8;
  --sand: #F3DFC1;
  --sand-ink: #5C3A0E;
  --sage: #D4E7D9;
  --sage-ink: #1F4D2E;
  --lilac: #E7E0F6;
  --lilac-ink: #3E2A6E;
  --stone: #ECE8DF;
  --accent: #C2562B;
  --map-land: #E3DDD0;
  --map-visited: #E9A15B;
  --pin: #C2562B;
  --radius: 22px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12161D;
    --ink: #ECEEF2;
    --ink-2: #B4BBC6;
    --ink-3: #8790A0;
    --line: rgba(236, 238, 242, 0.12);
    --tile: #1B212B;
    --navy: #2A4C78;
    --sand: #3A2E1E;
    --sand-ink: #F3D3A3;
    --sage: #1F3328;
    --sage-ink: #BFE2C9;
    --lilac: #2C2640;
    --lilac-ink: #D9CCF7;
    --stone: #222831;
    --accent: #F08A5D;
    --map-land: #2E3542;
    --map-visited: #C7783A;
    --pin: #F08A5D;
  }
}
:root[data-theme="dark"] {
  --bg: #12161D; --ink: #ECEEF2; --ink-2: #B4BBC6; --ink-3: #8790A0;
  --line: rgba(236, 238, 242, 0.12); --tile: #1B212B; --navy: #2A4C78;
  --sand: #3A2E1E; --sand-ink: #F3D3A3; --sage: #1F3328; --sage-ink: #BFE2C9;
  --lilac: #2C2640; --lilac-ink: #D9CCF7; --stone: #222831; --accent: #F08A5D;
  --map-land: #2E3542; --map-visited: #C7783A; --pin: #F08A5D;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 18px 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
}
.wordmark { font-family: var(--font-display); font-size: 22px; text-decoration: none; font-weight: 600; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.topbar nav a:hover { color: var(--ink); }

main { max-width: 1180px; margin: 0 auto; padding: 8px 24px 40px; }

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, auto);
  gap: 16px;
}
.tile {
  position: relative;
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
.tile-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  margin: 0 0 10px; opacity: .75;
}
.tile-big { font-family: var(--font-display); font-size: 24px; line-height: 1.2; margin: 0 0 8px; }
.tile-sub { margin: 0; font-size: 15px; opacity: .85; }
.tile-more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 500; }

.tile-hero {
  grid-column: span 2; grid-row: span 2;
  background: var(--navy); color: var(--navy-ink); border-color: transparent;
  padding: 32px;
}
.avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 26px; margin-bottom: 22px;
}
.tile-hero h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--navy-ink-2); margin: 0 0 14px; max-width: 34em; }
.meta { font-family: var(--font-mono); font-size: 13px; color: var(--navy-ink-2); margin: 0 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto;
  padding: 11px 18px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn .icon { width: 17px; height: 17px; flex-shrink: 0; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.social .btn { margin-top: 0; }
.btn-ghost { background: transparent; color: var(--navy-ink); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); filter: none; }


.tile-career { background: var(--tile); }
.tile-map { grid-column: span 2; grid-row: span 2; background: var(--sand); color: var(--sand-ink); border-color: transparent; padding-bottom: 12px; }
.mini-map { flex: 1; min-height: 240px; }
.mini-map svg, .big-map svg { width: 100%; height: 100%; display: block; }
.tile-volunteer, .tile-builds { grid-row: span 2; }
.tile-volunteer { background: var(--sage); color: var(--sage-ink); border-color: transparent; }
.tile-builds { background: var(--lilac); color: var(--lilac-ink); border-color: transparent; }
.tile-now { background: var(--tile); }
.tile-story { grid-column: span 2; background: var(--stone); }
.now-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.now-list li { position: relative; padding-left: 18px; line-height: 1.4; }
.now-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: auto 0 0; }
.tags li {
  border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px;
  font-size: 13px; opacity: .85;
}

/* ---------- sections ---------- */
.section { padding: 72px 0 8px; scroll-margin-top: 70px; }
.section-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.section-intro { max-width: 46em; color: var(--ink-2); font-size: 18px; margin: 0 0 28px; }
.prose { max-width: 46em; font-size: 18px; color: var(--ink-2); }
.prose p { margin: 0 0 18px; }
.aside { color: var(--ink-3); font-size: 15px; max-width: 46em; margin-top: 24px; }

.when { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin: 0 0 4px; }

/* Career: one collapsible row per employer; logo + title show, details expand. */
.jobs { display: grid; gap: 12px; max-width: 52em; }
.job { background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); }
.job summary, .job-static {
  display: flex; align-items: center; gap: 20px; padding: 16px 20px;
  list-style: none;
}
.job summary { cursor: pointer; border-radius: var(--radius); }
.job summary::-webkit-details-marker { display: none; }
.job summary::after {
  content: ""; flex-shrink: 0; margin-left: auto; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.job[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.job summary:hover .job-title { color: var(--accent); }
.job summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* White plate so every logo stays legible in dark mode too. */
.job-logo {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 140px; height: 60px; padding: 8px 14px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px;
}
.job-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.job-head { display: grid; gap: 4px; min-width: 0; }
.job-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.25; transition: color .15s ease; }
.job-meta { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.job-body { padding: 0 24px 20px 180px; color: var(--ink-2); }
.job-body p { margin: 0; }
.job-body a { color: var(--accent); }
.subhead { font-size: 24px; margin: 40px 0 14px; }
.job-static { max-width: 52em; box-sizing: border-box; }
@media (max-width: 600px) {
  .job summary, .job-static { gap: 14px; padding: 14px 16px; align-items: flex-start; }
  .job-logo { width: 96px; height: 46px; padding: 6px 10px; }
  .job-title { font-size: 18px; }
  .job-body { padding: 0 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .job summary::after { transition: none; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 20px; margin-bottom: 6px; }
.card p:last-child { margin: 0; color: var(--ink-2); font-size: 15px; }

.big-map {
  position: relative; overflow: hidden;
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 2 / 1;
}
.big-map svg { display: block; width: 100%; height: 100%; cursor: grab; }
.big-map svg:active { cursor: grabbing; }
.big-map .map-country.visited, .big-map .map-place { cursor: pointer; }
.big-map .map-country.visited:hover { fill: var(--accent); }
.map-country, .map-pin { vector-effect: non-scaling-stroke; }
.map-controls {
  position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column;
  background: var(--tile); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.map-controls button {
  width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink);
  font: 500 18px/1 var(--font-body); cursor: pointer;
}
.map-controls button + button { border-top: 1px solid var(--line); }
.map-controls button:hover { background: var(--stone); }
.map-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.map-tip {
  position: absolute; z-index: 2; max-width: 260px; pointer-events: none;
  background: var(--ink); color: var(--bg); border-radius: 10px; padding: 8px 12px;
  font-size: 14px; line-height: 1.4; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  opacity: 0; transition: opacity .12s ease;
}
.map-tip.show { opacity: 1; }
.map-tip strong { display: block; font-weight: 600; }
.map-tip-meta { display: block; font-family: var(--font-mono); font-size: 12px; opacity: .75; }
.map-tip-cities { display: block; margin-top: 4px; font-size: 13px; opacity: .9; }
.map-country { fill: var(--map-land); stroke: var(--bg); stroke-width: .5; }
.map-country.visited { fill: var(--map-visited); }
.big-map .map-country.visited { fill: var(--map-visited); }
.map-pin { fill: var(--pin); stroke: var(--tile); stroke-width: 1.5; }
.map-pin-pulse { fill: var(--pin); opacity: .25; }
.map-place:not(.has-photo) .map-pin { opacity: .75; stroke-width: 1; }

/* ---------- country view ---------- */
.map-detail { pointer-events: none; }
.big-map:not(.focused) .map-detail { display: none; }
.big-map .map-country, .map-place { transition: opacity .3s ease; }
/* In focus, everything but the chosen country goes neutral so it stands out. */
.big-map.focused .map-country:not(.selected) { fill: var(--map-land); opacity: .55; }
.big-map.focused .map-country.selected { fill: var(--map-visited); opacity: 1; }
.big-map.focused .map-detail .map-country.selected { stroke: var(--ink); stroke-width: 1.25; }
.big-map.focused .map-place:not(.in-focus) { opacity: .2; pointer-events: none; }
.big-map.focused .map-place.in-focus .map-pin { opacity: 1; }
.map-label {
  fill: var(--ink); stroke: var(--tile); paint-order: stroke; stroke-linejoin: round;
  font-family: var(--font-body); font-weight: 600; pointer-events: none;
}
.map-panel {
  position: absolute; z-index: 1; top: 14px; left: 14px; width: 260px; max-height: calc(100% - 28px); overflow-y: auto;
  background: var(--tile); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
}
.map-panel:empty { display: none; }
.map-panel h3 { font-size: 22px; margin: 6px 0 2px; }
.map-panel-back {
  border: 0; background: none; padding: 0; color: var(--accent); font: 500 14px var(--font-body); cursor: pointer;
}
.map-panel-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-panel-meta { margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.map-panel-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.map-panel-photos button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--stone); }
.map-panel-photos button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-panel-photos img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.map-panel-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.map-panel-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.map-panel-year { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 600px) {
  .map-panel { top: auto; bottom: 8px; left: 8px; right: 8px; width: auto; max-height: 48%; padding: 10px 12px; }
  .map-panel h3 { font-size: 18px; }
  .map-panel-photos { grid-template-columns: repeat(5, 1fr); }
  .big-map.focused { aspect-ratio: 1 / 1.15; }
}
@media (prefers-reduced-motion: reduce) { .big-map .map-country, .map-place { transition: none; } }
.map-place.has-photo .map-pin { stroke-width: 2; }
.map-tip-photo { display: block; width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }

/* ---------- travel photos ---------- */
.photo-strip-wrap { position: relative; margin-top: 20px; }
.photo-strip {
  list-style: none; margin: 0; padding: 2px 2px 10px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.photo-strip li { scroll-snap-align: start; }
.photo-card {
  display: block; width: 100%; padding: 0; text-align: left; cursor: pointer;
  background: var(--tile); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  font: inherit; transition: transform .15s ease;
}
.photo-card:hover { transform: translateY(-2px); }
.photo-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; background: var(--stone); }
.photo-place { display: block; padding: 10px 12px 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.25; }
.photo-meta { display: block; padding: 2px 12px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.strip-nav {
  position: absolute; top: calc(50% - 24px); transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--tile); color: var(--ink); font: 500 22px/1 var(--font-body); cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.strip-prev { left: -12px; }
.strip-next { right: -12px; }
.strip-nav:hover { background: var(--stone); }
.strip-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.photo-viewer {
  padding: 0; border: 0; border-radius: 16px; background: var(--tile); color: var(--ink);
  max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible;
}
.photo-viewer::backdrop { background: rgba(10, 12, 16, .82); }
.photo-viewer figure { margin: 0; }
.photo-viewer img { display: block; max-width: min(92vw, 1100px); max-height: calc(92vh - 64px); width: auto; height: auto; border-radius: 16px 16px 0 0; }
.photo-viewer figcaption { display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; }
.viewer-place { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.viewer-meta { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.viewer-btn {
  position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20, 24, 30, .6); color: #fff; font: 400 24px/1 var(--font-body);
}
.viewer-btn:hover { background: rgba(20, 24, 30, .85); }
.viewer-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.viewer-close { top: 10px; right: 10px; }
.viewer-prev, .viewer-next { top: calc(50% - 32px); transform: translateY(-50%); }
.viewer-prev { left: 10px; }
.viewer-next { right: 10px; }
@media (max-width: 600px) {
  .photo-strip { grid-auto-columns: 62%; }
  .strip-nav { display: none; }
  .map-tip-photo { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) { .photo-card { transition: none; } }

.feature { background: var(--lilac); color: var(--lilac-ink); border-radius: var(--radius); padding: 32px; max-width: 760px; }
.feature + .feature { margin-top: 20px; }
.feature h3 { font-size: 30px; margin-bottom: 10px; }
.feature p { margin: 0 0 14px; }
.stack { font-family: var(--font-mono); font-size: 13px; opacity: .8; }

.footer { max-width: 1180px; margin: 40px auto 0; padding: 40px 24px 60px; border-top: 1px solid var(--line); color: var(--ink-2); }
.footer a { color: var(--accent); }
.fine { font-size: 13px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-hero, .tile-map, .tile-story { grid-column: span 2; }
  .tile-hero { grid-row: auto; }
}
@media (max-width: 600px) {
  .topbar { padding: 14px 16px; }
  .topbar nav { display: none; }
  main { padding: 4px 16px 32px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-hero, .tile-map, .tile-story { grid-column: auto; }
  .tile-volunteer, .tile-builds { grid-row: auto; }
  .tile-map { grid-row: auto; }
  .tile-hero { padding: 26px; }
  .big-map { aspect-ratio: 1.6 / 1; }
  .map-controls { top: 8px; right: 8px; bottom: auto; border-radius: 10px; }
  .map-controls button { width: 30px; height: 30px; font-size: 16px; }
  .feature { padding: 24px; }
  .footer { padding: 32px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { transition: none; }
}

/* ---------- employer logo ---------- */
/* White plate so the dark-green logo stays legible in dark mode too. */
.logo-plate {
  display: inline-flex; align-self: flex-start; align-items: center;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 14px; margin: 2px 0 14px;
  transition: transform .15s ease;
}
.logo-plate:hover { transform: translateY(-2px); }
.logo-plate img { display: block; height: 34px; width: auto; }
.tile-more { text-decoration: none; }
.tile-more:hover { text-decoration: underline; }
.logo-plate-square { padding: 6px; }
.logo-plate-square img { height: 68px; }
.tile-volunteer .tags { margin-top: 14px; }

/* ---------- project logo ---------- */
.project-logo { display: block; align-self: flex-start; height: 72px; width: auto; margin: 2px 0 14px; }
.feature .project-logo { height: 88px; }

.org-row { display: flex; align-items: flex-start; gap: 20px; margin: 0 0 24px; max-width: 46em; }
.org-row .logo-plate { margin: 0; flex-shrink: 0; }
.org-row .logo-plate-square img { height: 84px; }
.org-row h3 { font-size: 22px; margin-bottom: 4px; }
.org-row p { margin: 0 0 6px; color: var(--ink-2); }
.org-row a:not(.logo-plate) { color: var(--accent); font-weight: 500; text-decoration: none; }
.org-row a:not(.logo-plate):hover { text-decoration: underline; }
@media (max-width: 600px) { .org-row .logo-plate-square img { height: 64px; } }

/* Hero: avatar up top, name + links anchored to the bottom of the tile. */
.tile-hero h1 { margin-top: auto; }
.tile-hero .social { margin-top: 0; }
@media (max-width: 600px) { .tile-hero h1 { margin-top: 0; } }
@media (max-width: 600px) { .avatar { width: 96px; height: 96px; } }

/* ---------- Send Mike Anywhere tile ---------- */
.tile-send {
  grid-column: span 4;
  flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px;
  background: var(--tile);
}
.tile-send .tile-more { margin-top: 0; padding-top: 0; white-space: nowrap; color: var(--accent); }
@media (max-width: 900px) { .tile-send { grid-column: span 2; } }
@media (max-width: 600px) {
  .tile-send { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .tile-send .tile-more { padding-top: 14px; }
}

/* Send Mike Anywhere box below the travel map */
.home-send {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: center;
  margin-top: 28px; padding: 24px; background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius);
}
.home-send h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 4px 0 6px; }
.home-send-text p:last-child { margin: 0; color: var(--ink-2); }
.home-send-form { display: flex; flex-direction: column; gap: 10px; }
.home-send-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.home-send-form input[type="text"], .home-send-form select {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0;
}
.home-send-form > input[type="text"] { font-size: 17px; padding: 12px 14px; border-radius: 12px; }
#home-era-custom { flex: 1 1 8em; }
.home-send-form input:focus, .home-send-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.home-send-form .btn { margin: 0 0 0 auto; border: 0; cursor: pointer; font-family: var(--font-body); }
@media (max-width: 720px) {
  .home-send { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .home-send-form .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* Recent Send Mike Anywhere pictures: the travel strip with landscape cards */
.trips { margin-top: 24px; }
.trips-label { margin: 0 0 -6px; }
.photo-strip-wide { grid-auto-columns: 280px; }
.photo-strip-wide .photo-card img { aspect-ratio: 3 / 2; object-position: center; }
.photo-strip-wide .photo-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .photo-strip-wide { grid-auto-columns: 80%; }
}

/* Small print under a Send Mike Anywhere picture in the viewer */
.photo-viewer.has-details { overflow-y: auto; }
.photo-viewer.has-details img { max-height: calc(92vh - 200px); }
.viewer-details {
  /* width 0 + min-width 100%: wraps to the picture's width instead of stretching the dialog */
  width: 0; min-width: 100%; box-sizing: border-box;
  display: grid; grid-template-columns: auto 1fr; gap: 3px 14px;
  margin: -4px 0 0; padding: 0 18px 16px; font-size: 12.5px; line-height: 1.45;
}
.viewer-details[hidden] { display: none; }
.viewer-details dt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding-top: 1px; }
.viewer-details dd { margin: 0; color: var(--ink-2); }
.viewer-details dt { max-width: 9em; }
