/* ---------- 2026 homepage (Figma "home 2026") ---------- */
body.h26 { background: #fff; color: #000; font-synthesis: none; }
.h26 { --narrow: "Site Narrow", "Arial Narrow", sans-serif-condensed, sans-serif; --ink2: #252a30; }

/* Page shell: the nav in its own column that stays in view as you scroll, the content beside it.
   Edge → nav, nav → content and content → right edge are all 64px (as on About and Play). */
.h26-shell { display: flex; gap: 64px; align-items: flex-start; padding: 72px 64px 0; }
.h26-main { flex: 1 1 0; min-width: 0; }

/* Home (Figma 4830:6379): a 140px nav column 32px from the content, everything 64px from the top */
.h26-home .h26-shell { gap: 32px; padding-top: 64px; }

/* Nav (shared by Home, About and Play; Figma 4830:6382): the body font, the page you're on in black with a small lime green square beside it,
   everything else at half opacity. Sticks 72px from the top while the page scrolls */
.h26-nav { position: sticky; top: 72px; z-index: 20; flex: none; width: 55px; display: flex; flex-direction: column; gap: 8px; font: 400 14px/18px var(--font-body); text-transform: capitalize; }
.h26-nav-group { display: flex; flex-direction: column; gap: 4px; }
.h26-nav a { display: flex; align-items: center; color: rgb(0 0 0 / .5); white-space: nowrap; transition: color .3s ease; }
.h26-nav a::before {
  content: ""; flex: none; width: 0; height: 4px; margin-right: 0; background: #6aa312; /* lime green with 3:1 contrast on white */
  transition: width .3s cubic-bezier(.22, 1, .36, 1), margin-right .3s cubic-bezier(.22, 1, .36, 1);
}
.h26-nav a.is-current, .h26-nav a:hover, .h26-nav a:focus-visible { color: #000; }
.h26-nav a.is-current::before, .h26-nav a:hover::before, .h26-nav a:focus-visible::before { width: 4px; margin-right: 8px; }
/* Nav on Home, About and Play (Figma 4830:6382): "Navigation" and "Work" headings over plain lists; the page you're on sits on a lime highlight */
.h26-nav--lists { top: 64px; width: 180px; min-width: 180px; gap: 4px; text-transform: none; } /* at least 140px, wider if a link needs it (DiversaTech Marketing) */
.h26-nav--lists .h26-nav-head { margin: 0 0 2px; font: 300 12px/normal var(--font-mono); color: #000; text-transform: uppercase; } /* IBM Plex Mono Light, as on the case studies */
.h26-nav--lists .h26-nav-head--work { margin-top: 20px; }
.h26-nav--lists .h26-nav-group { gap: 0; }
.h26-nav--lists a { position: relative; z-index: 1; font-size: 15px; line-height: normal; color: #464646; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.h26-nav--lists a::before { display: none; }
.h26-nav--lists a.h26-sub { padding-left: 4px; }
.h26-nav--lists a:hover, .h26-nav--lists a:focus-visible { color: #000; }
.h26-nav--lists a.is-current { background: #e4f946; color: #464646; }
/* Hover: the same lime highlight, fainter */
.h26-nav--lists a:not(.is-current):hover, .h26-nav--lists a:not(.is-current):focus-visible { background: rgb(228 249 70 / .4); }
/* Play's two projects stay folded away until you hover (or tab into) Play */
.h26-nav-subs { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1), opacity .25s ease; }
.h26-nav-subs > div { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow: hidden; }
.h26-nav-subs > div > :first-child { margin-top: 4px; }
.h26-nav-group:hover .h26-nav-subs, .h26-nav-group:focus-within .h26-nav-subs { grid-template-rows: 1fr; opacity: 1; }
/* The current page's highlight is one bar (nav-menu.js) that slides to the link you pick, then the page changes */
.h26-nav-hl { display: none; }
@media (min-width: 901px) {
  .h26-nav-hl { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 0; background: #e4f946; pointer-events: none; view-transition-name: nav-hl; }
  .h26-nav-hl.is-sliding { transition: translate .3s cubic-bezier(.22, 1, .36, 1), height .3s cubic-bezier(.22, 1, .36, 1); }
  .h26-nav--lists.has-hl a.is-current { background: none; }
  /* Same bar as the case-study index: rounded, the text 8px in from its edge; only the page you're on is full black */
  .h26-nav-hl { border-radius: 2px; }
  .h26-nav--lists a { padding: 0 8px; border-radius: 2px; color: rgb(0 0 0 / .55); }
  .h26-nav--lists a.h26-sub { padding-left: 12px; }
  .h26-nav--lists a.is-current, .h26-nav--lists a:hover, .h26-nav--lists a:focus-visible { color: #000; }
}
/* Moving between pages: the nav stays put while the page cross-fades */
@view-transition { navigation: auto; }
.h26-nav--lists { view-transition-name: site-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
.h26-nav--lists .h26-ext svg { width: 10px; height: 10px; margin: -4px 0 0 4px; fill: none; stroke: currentColor; stroke-width: 1; }
/* Phone menu parts (nav-menu.js): hidden here, and the links' wrapper doesn't affect the side nav's layout */
.h26-nav-bar { display: none; }
.h26-nav-links { display: contents; }

/* Hero (Figma 4830:6403): name lines, the headline in the serif, then Education and Prev */
.h26-hero { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.h26-name { margin: 0; font: 400 14px/normal var(--font-body); color: rgb(0 0 0 / .6); }
.h26-title { margin: 16px 0 0; max-width: 600px; font: 400 40px/1.25 "Libre Baskerville", Georgia, serif; letter-spacing: -.8px; color: #000; text-wrap: balance; } /* even lines, never one word left alone */
.h26-facts { display: flex; gap: 64px; margin-top: 32px; font: 400 14px/normal var(--font-body); color: #2a2a2a; white-space: nowrap; }
.h26-facts p { margin: 0; }

/* ---------- The map (home-2026.js): the northern half of the world, with the three countries Laura is from in lime ---------- */
.h26-world { position: relative; width: 100%; margin-top: 24px; } /* kept from the earlier home page, under the facts */
.h26-world svg {
  display: block; width: 100%; height: auto; overflow: hidden;
  /* fades out at the bottom and the far edges, so the map melts into the page */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 55%, transparent), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
.h26-world path { fill: #eef0f3; stroke: #fff; stroke-width: .75; stroke-linejoin: round; transition: fill .3s ease; }
.h26-world path.is-home { fill: #b4e33d; cursor: pointer; }
.h26-world path.is-home:hover { fill: #93c71f; }
/* Label over a country: same look as the Play page's beacon labels */
.h26-world-tip {
  position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 2px;
  background: #fff; border: 1px solid rgb(0 0 0 / .12); box-shadow: 0 2px 8px rgb(0 0 0 / .08); font: 400 13px/normal var(--font-body);
  color: #6c6c6c; white-space: nowrap; pointer-events: none; transform: translate(-50%, -100%); opacity: 0; transition: opacity .2s ease;
}
.h26-world-tip.is-on { opacity: 1; }
.h26-world-tip b { font-weight: 400; color: #000; }
.h26-world-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #93c71f; box-shadow: 0 0 0 3px rgb(180 227 61 / .3); }

/* ---------- Work ---------- */
.h26-work { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 32px; margin-top: 24px; padding: 0 0 120px; }
.h26-row { display: flex; gap: 16px; align-items: flex-start; }
.h26-card { display: flex; flex-direction: column; gap: 16px; flex: 1 1 0; min-width: 0; border-radius: 2px; color: inherit; }
/* The design's splits (Figma 4830:9017, 1042 wide): IBM 600 : Apartments 426, ForRentUniversity 484 : Microsoft 526, Notion 573 : ToxSA 453 */
.h26-card--ibm { flex-grow: 600; } .h26-card--apt { flex-grow: 426; }
.h26-card--fru { flex-grow: 484; } .h26-card--ms { flex-grow: 526; }
.h26-card--notion { flex-grow: 573; } .h26-card--toxsa { flex-grow: 453; }
.h26-shot { position: relative; display: block; height: 365px; border-radius: 2px; overflow: hidden; }
.h26-card--ibm .h26-shot, .h26-card--apt .h26-shot { height: 380px; } /* the first row is a little taller */
.h26-shot--line { border: .5px solid #d9d9d9; }
.h26-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h26-shot--contain img { object-fit: contain; }
/* Under each image: the project and one line about it, then the kind of work on the left and when on the right, in grey (regular weight throughout) */
.h26-card-text { display: flex; flex-direction: column; gap: 4px; font: 400 14px/normal var(--font-body); }
.h26-card-head { display: flex; flex-direction: column; }
.h26-card-title { font-size: 14px; font-weight: 500; color: #000; } /* one step heavier than the body (asked for) */
.h26-card-desc { color: #000; }
.h26-card-meta { display: flex; justify-content: space-between; gap: 16px; font: 300 10px/normal var(--font-mono); text-transform: uppercase; color: #6f6f6f; white-space: nowrap; } /* IBM Plex Mono Light, 10px capitals; #6f6f6f is 5:1 on white (WCAG AA) */
.h26-card { transition: opacity .25s ease; }
.h26-card:hover { opacity: .6; }

/* ---------- Colophon (Figma 4830:7265): black, the note in the headline serif on the left, the index in one row on the right ---------- */
.h26-colophon { background: #000; color: #fff; padding: 48px 64px 64px; }
.h26-colophon-inner { display: flex; gap: 64px; align-items: flex-start; justify-content: space-between; }
.h26-note { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.h26-note p { margin: 0; }
.h26-note-head { font: 400 16px/normal "Libre Baskerville", Georgia, serif; letter-spacing: -.32px; color: #fff; }
.h26-note-body { font: 400 14px/normal var(--font-body); color: #fff; }
.h26-legend { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; } /* the index stacked on the right */
.h26-legend li { display: flex; align-items: center; gap: 9px; font: 400 14px/normal var(--font-body); color: #fff; white-space: nowrap; }
.h26-legend img { filter: invert(1); } /* the black square marks, in white */
.h26-legend a { color: #fff; transition: opacity .2s ease; }
.h26-legend a:hover { opacity: .55; }
.h26-legend .u { text-decoration: underline; }

/* Full-width project card (WorksheetsAI) */
.h26-card--full { flex: 1 1 100%; gap: 24px; }
.h26-shot--soft { border: 1px solid #f2f2f2; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 900px) {
  /* The nav becomes a slim bar that stays in view: my name, and a Menu button that drops the links down below it */
  .h26-nav {
    position: sticky; top: 0; align-self: stretch; display: block; width: auto;
    margin: 0 -16px; padding: 0 16px; background: rgb(253 253 253 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(0 0 0 / .06);
  }
  .h26-nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
  /* The lime green dot (as in the tab icon) takes you home, in a 44px tap area */
  .h26-nav .h26-nav-dot { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -14px; }
  .h26-nav .h26-nav-dot::before { width: 14px; height: 14px; margin: 0; border-radius: 50%; background: #6aa312; transition: scale .2s ease; }
  .h26-nav .h26-nav-dot:hover::before, .h26-nav .h26-nav-dot:focus-visible::before { width: 14px; margin: 0; scale: 1.15; }
  .h26-menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; color: #000; }
  .h26-menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .h26-menu-btn path { transition: opacity .2s ease; }
  .h26-menu-x, .h26-nav.is-open .h26-menu-lines { opacity: 0; }
  .h26-nav.is-open .h26-menu-x { opacity: 1; }
  .h26-menu-btn:focus-visible { outline: 2px solid #6aa312; outline-offset: -2px; border-radius: 2px; }
  .h26-nav-links {
    position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 0; padding: 0 16px 12px;
    background: #fdfdfd; border-bottom: 1px solid rgb(0 0 0 / .06); box-shadow: 0 12px 24px rgb(0 0 0 / .06);
    visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity .25s ease, translate .25s cubic-bezier(.22, 1, .36, 1), visibility 0s .25s;
  }
  .h26-nav.is-open .h26-nav-links { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
  .h26-nav-group { gap: 0; }
  .h26-nav-links a { min-height: 32px; } /* same 14px as the desktop nav; rows still well above the 24px minimum tap size */
  .h26-nav-links a.h26-sub { padding-left: 16px; }

  .h26-shell { flex-direction: column; gap: 24px; padding: 0 16px; }
  .h26-main { align-self: stretch; }
  /* Hero: the title and facts flow as normal text; the map fills the screen width below them */
  .h26-home .h26-shell { gap: 24px; padding-top: 0; }
  .h26-nav--lists { width: auto; }
  .h26-nav--lists .h26-nav-head { margin: 8px 0 0; color: rgb(0 0 0 / .5); }
  .h26-nav--lists .h26-nav-head--work { margin-top: 12px; }
  .h26-nav--lists .h26-nav-links a { min-height: 32px; }
  .h26-nav-subs { grid-template-rows: 1fr; opacity: 1; } /* no hover on touch screens: the projects stay listed in the menu */
  .h26-nav-subs > div { gap: 0; }
  .h26-nav-subs > div > :first-child { margin-top: 0; }
  /* Phones and tablets: no lime highlight on the page you're on, on hover or on tap; the current page is just in black */
  .h26-nav--lists a.is-current, .h26-nav--lists a:not(.is-current):hover, .h26-nav--lists a:not(.is-current):focus-visible { background: none; }
  .h26-nav--lists a.is-current { color: #000; }
  .h26-nav--lists a { -webkit-tap-highlight-color: transparent; }
  .h26-title { font-size: 32px; letter-spacing: -.64px; }
  .h26-facts { flex-direction: column; gap: 16px; white-space: normal; }
  .h26-work { padding: 0 0 80px; margin-top: 16px; }
}
@media (max-width: 760px) {
  .h26-row { flex-direction: column; gap: 40px; }
  .h26-card { flex: none; width: 100%; }
  .h26-shot, .h26-card--ibm .h26-shot, .h26-card--apt .h26-shot { height: auto; aspect-ratio: 16 / 10; }
  .h26-work { gap: 40px; padding: 0 0 64px; }
  .h26-colophon { padding: 40px 16px 48px; }
  .h26-colophon-inner { flex-direction: column; gap: 32px; }
  .h26-note-body br { display: none; }
}
@media (prefers-reduced-motion: reduce) { .h26-cover, .h26-nav-links, .h26-nav-subs, .h26-nav-hl.is-sliding { transition: none; } ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; } }

/* Apartments thumbnail: a large phone (sharp Figma screen) rising from the bottom edge, looping the key moment:
   a tap on the heart, the heart fills, and a "Saved to Favorites" toast in Apartments.com's own type slides up */
.h26-shot--ax { container-type: size; background: #3e9854; } /* the green from the design's Apartments thumbnail, on the home card and the case study alike */
.axt-phone { position: absolute; left: 50%; bottom: 6cqh; translate: -50% 0; width: 88cqh; padding: 3cqh; box-sizing: border-box; border-radius: 12cqh; background: #141414; box-shadow: 0 0 0 .4cqh #3a3a3a inset, 0 3cqh 6cqh rgb(90 90 0 / .25); }
.axt-screen { position: relative; display: block; container-type: inline-size; border-radius: 9cqh; overflow: hidden; background: #fff; }
.axt-base { position: static !important; display: block; width: 100% !important; height: auto !important; object-fit: fill !important; }
.h26-shot .axt-heart { position: absolute; inset: auto; left: 83.91%; top: 54.43%; width: 8.533%; height: auto; object-fit: fill; animation: axt-heart 4s cubic-bezier(.3, 1.5, .5, 1) infinite; }
.axt-tap { position: absolute; left: 88.18%; top: 56.4%; width: 13cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: rgb(0 0 0 / .14); animation: axt-tap 4s ease-out infinite; }
.axt-toast {
  position: absolute; left: 50%; top: 82.5%; display: flex; align-items: center; gap: 2.1cqw; padding: 1.1cqw 4.3cqw; white-space: nowrap;
  background: #fff; border: 1px solid #bfbfbf; border-radius: 100px; filter: drop-shadow(0 1cqw 1.3cqw rgb(0 0 0 / .25));
  font: 300 4.27cqw/1.6 "Outfit", var(--font-body); letter-spacing: .01em; color: #000; animation: axt-toast 4s cubic-bezier(.22, 1, .36, 1) infinite;
}
.axt-toast svg { flex: none; width: 5.3cqw; height: 5.3cqw; }
.axt-toast b { margin-left: -1.2cqw; font-weight: 500; }
.axt-toast u { font-weight: 500; color: #0576a7; text-underline-offset: .5cqw; }
@keyframes axt-tap { 0%, 14% { opacity: 0; scale: .6; } 19% { opacity: 1; scale: 1; } 30%, 100% { opacity: 0; scale: 1.5; } }
@keyframes axt-heart { 0%, 21% { opacity: 0; scale: .3; } 27% { opacity: 1; scale: 1.25; } 33%, 86% { opacity: 1; scale: 1; } 93%, 100% { opacity: 0; scale: 1; } }
@keyframes axt-toast { 0%, 26% { opacity: 0; translate: -50% 45%; } 34%, 84% { opacity: 1; translate: -50% 0; } 92%, 100% { opacity: 0; translate: -50% 20%; } }
@media (max-width: 760px) { .h26-card .h26-shot--ax { aspect-ratio: 2 / 1; } }
@media (prefers-reduced-motion: reduce) { .axt-tap { display: none; } .h26-shot .axt-heart, .axt-toast { animation: none; opacity: 1; } .axt-toast { translate: -50% 0; } }
