/* jusutaki.me — gallery-simple: white, black type, one left edge for everything. */
:root {
  --ink: #111111;
  --muted: #686868;
  --line: #e2e2e2;
  --field: #f8f8f8;
  --field-line: #a9a9a9;
  --button: #262626;
  --bg: #ffffff;
  --gutter: 22px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header: name left (home), nav right ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: var(--bg);
}
.wordmark {
  font-size: 32px; line-height: 1; letter-spacing: -0.012em;
  text-decoration: none; white-space: nowrap;
  display: flex; flex-direction: column; gap: 6px;
}
.wm-name { font-weight: 400; }
.wm-tag { font-size: 0.47em; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.nav { display: flex; gap: 44px; }
.nav a {
  font-size: 18px; text-decoration: none; white-space: nowrap;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
/* Side Projects dropdown: opens on hover or keyboard focus */
.nav-item { position: relative; }
.subnav {
  position: absolute; top: 100%; left: -18px; padding: 14px 18px 16px; margin-top: 0;
  display: flex; flex-direction: column; gap: 10px; min-width: 180px; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-item:hover .subnav, .nav-item:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { font-size: 16px; }
.menu-btn {
  display: none; font: inherit; font-size: 18px; color: inherit;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
}

/* ---------- Home: one photo, nothing else ---------- */
.hero {
  display: block;
  margin: 0 var(--gutter);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
}
.hero-fig { margin: 0; height: 100%; display: flex; flex-direction: column; }
.credit { font-size: 13px; color: var(--muted); padding: 8px 0 10px; text-align: right; }
.lock-art .credit { text-align: left; padding-bottom: 0; }
.hero img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.hero .hero-fig img { flex: 1 1 0; height: auto; min-height: 0; }

/* ---------- Home: welcome blurb above the photo; the photo fills the rest of the screen ---------- */
.home {
  margin: 0 var(--gutter);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; overflow: hidden;
  padding-bottom: var(--gutter); /* white strip under the photo: the page clearly ends here */
}
.home-blurb { flex: none; padding: 28px 0 26px; }
.home-blurb h1 { font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -0.005em; margin: 0; }
.home-blurb p { font-size: 20px; line-height: 1.5; margin: 10px 0 0; }
.home-blurb a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.home-blurb a:hover { text-decoration-thickness: 2px; }
.home-blurb .go { font-weight: 500; white-space: nowrap; }
.home-fig { margin: 0; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; position: relative; }
.home-photo { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; }
.home-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; } /* keep the mountain top in view */
.home-credit { position: absolute; right: 14px; bottom: 10px; left: 14px; padding: 0; margin: 0; z-index: 1; font-size: 12px; color: rgba(255, 255, 255, .55); text-align: right; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.home-credit a { color: inherit; }
/* Quick fade up, the same motion as the case studies deck */
.home-rise { animation: home-rise 1200ms cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(120ms + var(--i, 0) * 120ms); }
@keyframes home-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes home-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home-rise { animation-name: home-fade; } }

/* ---------- Inner pages ---------- */
.page { padding: 56px var(--gutter) 140px; }
.page h1 {
  font-size: 44px; line-height: 1.15; font-weight: 400; letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.muted { color: var(--muted); }
.lede { color: var(--muted); font-size: 19px; max-width: 44em; margin: 0 0 56px; }
.preview-note {
  font-size: 15px; color: var(--muted);
  border-left: 2px solid var(--ink); padding: 2px 0 2px 14px; max-width: 40em;
}

/* Side projects list */
.projects { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.project { border-bottom: 1px solid var(--line); }
.project a {
  display: grid; grid-template-columns: minmax(220px, 1fr) 2fr auto;
  gap: 32px; align-items: baseline; padding: 36px 0; text-decoration: none;
}
.project h2 { font-size: 32px; font-weight: 400; letter-spacing: -0.01em; margin: 0; }
.project p { margin: 0; color: var(--muted); max-width: 40em; }
.project .go { white-space: nowrap; }
.project a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Numbered steps */
.steps { list-style: none; margin: 0 0 56px; padding: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li {
  display: grid; grid-template-columns: 48px minmax(160px, 1fr) 2fr;
  gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line);
  counter-increment: step;
}
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0; font-size: 20px; font-weight: 500; }
.steps p { margin: 0; color: var(--muted); max-width: 40em; }
.links-row { display: flex; gap: 40px; flex-wrap: wrap; font-size: 18px; }

/* Portfolio: compact case summaries, same type as the nav */
.unlock { margin: 0 0 48px; max-width: 560px; }
.unlock-title { margin: 0 0 12px; font-size: 16px; color: var(--muted); }
.unlock-form { display: flex; gap: 12px; }
.unlock-form input[type="password"] { flex: 1; }
.unlock .form-note, .lock .form-note { margin-top: 10px; min-height: 0; }
.unlock .hint, .lock .hint { margin-top: 10px; }
.section-label { margin: 0 0 12px; font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.page h1.folio-title { margin-bottom: 14px; }
.cases { list-style: none; margin: 0; padding: 0; max-width: 980px; }
.case {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start;
  border-top: 1px solid var(--line); padding: 24px 0;
}
.case:last-child { border-bottom: 1px solid var(--line); }
.case img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.case h2 { font-size: 18px; line-height: 1.4; font-weight: 400; margin: 0 0 4px; }
.case-meta { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.case-tags { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 4px; }
.case-tags span { color: var(--ink); margin-right: 6px; }
.back-link { margin: 0 0 24px; }
.back-link a { text-decoration: none; color: var(--muted); }
.back-link a:hover { color: var(--ink); }

/* Resume: heading on the left, the page on the right, all on one screen */
.resume-page {
  display: grid; grid-template-columns: auto auto; justify-content: center; align-items: start; gap: 56px;
  padding-top: 24px; padding-bottom: 24px;
}
.resume-head { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.page .resume-head h1 { margin: 0 0 8px; }
.resume-dl { font-size: 18px; }
.resume-sheet { display: block; border: 1px solid var(--line); box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.resume-sheet img {
  display: block; width: auto; height: auto;
  max-height: calc(100vh - var(--header-h) - 50px);
  max-height: calc(100svh - var(--header-h) - 50px);
  max-width: 100%;
}

/* Password screen */
.lock { max-width: 560px; }
.lock form { display: flex; gap: 12px; }
.lock input { flex: 1; }
.hint { color: var(--muted); font-size: 15px; margin-top: 20px; }
.lock-wrap { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 440px); justify-content: center; gap: clamp(72px, 11vw, 168px); align-items: start; }
.lock-wrap:not(:has(.lock-art:not([hidden]))) { grid-template-columns: minmax(0, 560px); justify-content: start; }
.lock-art { display: block; margin: 0; width: 100%; max-width: 440px; justify-self: start; }
.lock-art img { display: block; width: 100%; height: auto; }
.lock-art[hidden] { display: none; }
/* Resume lock: a blurred copy of the resume peeks up from the bottom edge. The image is pre-blurred, so no text ships. */
body.has-peek { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body.has-peek .lock-wrap { padding-bottom: 32px; }
.lock-peek {
  margin-top: auto; align-self: center;
  width: min(600px, calc(100% - 2 * var(--gutter)));
  flex: 1 1 0; min-height: 96px; max-height: 220px; overflow: hidden; /* fills what is left of the screen, so the page never scrolls */
  padding: 18px 18px 0; /* room for the paper's shadow */
  box-sizing: content-box; pointer-events: none; user-select: none;
}
.lock-peek[hidden] { display: none; }
.lock-peek img {
  display: block; width: 100%; height: auto; background: #fff;
  border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 -4px 22px rgba(0, 0, 0, .07);
  animation: peek-rise .9s cubic-bezier(.2, .7, .2, 1) .15s both;
}
@keyframes peek-rise { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lock-peek img { animation: none; } }
/* Resume lock on desktop: the whole blurred page sits where the painting was, sized to the screen so nothing scrolls. */
.lock-sheet {
  height: min(570px, calc(100svh - var(--header-h) - 96px)); min-height: 260px;
  overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 6px 28px rgba(0, 0, 0, .07);
  pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
          mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.lock-sheet img { height: 100%; object-fit: cover; object-position: top; animation: home-fade 1.2s ease both; }
@media (min-width: 901px) { body.has-peek .lock-peek { display: none; } }

/* Forms (contact) */
.form { max-width: 1010px; }
.group { margin-bottom: 36px; border: 0; padding: 0; }
.label { display: block; font-size: 18px; margin-bottom: 6px; padding: 0; }
.req { color: var(--muted); margin-left: 6px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sub { display: block; font-size: 15px; color: #444; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 0;
  padding: 14px 16px; min-height: 56px;
}
textarea { min-height: 200px; resize: vertical; }
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible, .menu-btn:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}
.btn {
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--button); border: 0; border-radius: 0;
  padding: 22px 60px; cursor: pointer;
}
.btn:hover { background: #000; }
.btn-sm { padding: 0 32px; }
.form-note { margin-top: 20px; color: var(--muted); min-height: 1.5em; }

/* Frame embed */
.embed-bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 4px var(--gutter) 16px;
}
.embed-bar h1, .embed-bar h2 { font-size: 28px; font-weight: 400; margin: 0; }
.about-frame { padding: 40px var(--gutter) 40px; max-width: calc(760px + 2 * var(--gutter)); }
.about-frame h1 { font-size: 44px; line-height: 1.15; font-weight: 400; letter-spacing: -0.015em; margin: 0 0 18px; }
.about-frame p { margin: 0 0 16px; }
.sources-label { margin: 24px 0 8px !important; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sources { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15px; }
.sources li { margin-bottom: 6px; }
.embed-bar p { margin: 0; color: var(--muted); font-size: 15px; }
.embed {
  display: block; width: calc(100% - 2 * var(--gutter)); margin: 0 var(--gutter) var(--gutter);
  height: calc(100vh - var(--header-h) - 88px);
  height: calc(100svh - var(--header-h) - 88px);
  border: 1px solid var(--line);
}

/* ---------- Phone ---------- */
@media (max-width: 900px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .wordmark { font-size: 24px; }
  .hero-fig { margin: 0; height: 100%; display: flex; flex-direction: column; }
.credit { font-size: 13px; color: var(--muted); padding: 8px 0 10px; text-align: right; }
.lock-art .credit { text-align: left; padding-bottom: 0; }
.hero img { object-position: 58% 50%; }
  .menu-btn { display: block; }
  .nav { display: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav {
    display: flex; flex-direction: column; gap: 22px;
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--bg); padding: 28px var(--gutter);
  }
  body.menu-open .nav a { font-size: 30px; align-self: flex-start; }
  body.menu-open .nav-item { display: flex; flex-direction: column; gap: 14px; }
  body.menu-open .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; padding: 0 0 0 20px; min-width: 0; gap: 12px;
  }
  body.menu-open .subnav a { font-size: 22px; color: var(--muted); }
  .page { padding-top: 28px; }
  .page h1 { font-size: 34px; }
  .project a { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .project h2 { font-size: 28px; }
  .steps li { grid-template-columns: 36px 1fr; gap: 6px 12px; }
  .steps li p { grid-column: 2; }
  .row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .lock form { flex-direction: column; }
  .lock-wrap { grid-template-columns: 1fr; gap: 40px; }
  .lock-art { display: none; } /* phones: just the form and the peek */
  .lock-peek { min-height: 180px; }
  .unlock-form { flex-direction: column; }
  .btn-sm { padding: 18px 32px; }
  .embed-bar { flex-direction: column; gap: 4px; }
  .about-frame { padding-top: 28px; }
  .about-frame h1 { font-size: 34px; }
  .case { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
  .case img { aspect-ratio: 1 / 1; }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 400px); gap: 64px; align-items: start; padding-left: clamp(22px, 8vw, 140px); padding-top: 36px; padding-bottom: 32px; } /* fits one desktop screen */
.about-text p { margin: 0 0 14px; max-width: 46em; }
.about-text .lede { margin-bottom: 22px; }
.about .updated { margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.about-text > :last-child { margin-bottom: 0; }
@media (min-width: 901px) and (max-height: 860px) { /* shorter laptop screens: still one screen */
  .about { padding-top: 20px; padding-bottom: 16px; padding-left: clamp(22px, 5vw, 140px); }
  .about-text h1 { margin-bottom: 12px; }
  .about-text p { font-size: 16px; margin-bottom: 11px; }
  .about-text .lede { margin-bottom: 16px; }
  .about .logo-row-text { margin-top: 20px; }
  .about .updated { margin-top: 18px; }
}
.about-aside { display: flex; flex-direction: column; align-items: center; padding-top: 72px; }
.about-photo { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; }
.about-photo-wrap { position: relative; width: 100%; max-width: 380px; }
.about-photo-wrap .about-photo { position: relative; max-width: none; object-fit: contain; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 28px; width: 100%; max-width: 360px; color: var(--muted); }
.logo-row.logo-row-text { justify-content: flex-start; max-width: none; margin-top: 32px; }
.logo { display: block; height: 38px; width: auto; }
.logo-cnn { height: 34px; filter: grayscale(1); opacity: .75; }
/* About: the three logos share one baseline, one letter height (26px) and one gray. */
.logo-row-text { align-items: flex-end; gap: 36px; }
.logo-row-text .logo-cnn { height: 26px; filter: brightness(0); opacity: .59; } /* .59 black on white = the muted gray */
.logo-row-text .logo-etsy { height: 38.8px; margin-bottom: -10.2px; } /* E is 26px tall; the y hangs below the line */
.logo-row-text .logo-tiktok { height: 29px; margin-bottom: -1px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; padding-left: var(--gutter); }
  .resume-page { grid-template-columns: 1fr; gap: 20px; }
  .resume-head { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
  .resume-sheet img { max-height: none; width: 100%; }
  .hero .credit { display: none; } /* phones: the photo gets the full height */
  .home .credit { display: none; }
  .home-blurb { padding: 20px 0 18px; }
  .home-blurb h1 { font-size: 21px; }
  .home-blurb p { font-size: 16px; margin-top: 8px; }
  .home-photo img { object-position: 58% 50%; }
  .about-aside { display: none; } /* phones and narrow windows: text only, no photo */
  .logo-row { justify-content: flex-start; }
}

/* Contact: whole form on one screen */
.contact-page { padding-top: 32px; padding-bottom: 40px; }
.contact-page .form { max-width: 560px; }
.contact-page .lede { max-width: 560px; }
.contact-page .lede { margin-bottom: 24px; }
.contact-page .group { margin-bottom: 18px; }
.contact-page .label { font-size: 16px; margin-bottom: 4px; }
.contact-page .sub { font-size: 14px; margin-bottom: 4px; }
.contact-page input[type="text"], .contact-page input[type="email"] { min-height: 46px; padding: 10px 14px; }
.contact-page textarea { min-height: 130px; height: 130px; padding: 10px 14px; }
.contact-page .btn { padding: 16px 52px; }
.contact-page .form-note { margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* About photo in black and white */
.about-photo { filter: grayscale(1); }

/* Project dates under titles */
.date { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.project .date { margin-top: 6px; }
.page h1 + .date, .about-frame h1 + .date { margin: -12px 0 24px; }

/* LinkedIn link in the nav */
.nav a.nav-ext { color: var(--muted); }
.nav a.nav-ext:hover { color: var(--ink); }
/* Mid-size screens: keep the nav on one row */
@media (min-width: 901px) and (max-width: 1240px) {
  .nav { gap: 22px; }
  .nav a { font-size: 16px; }
  .wordmark { font-size: 28px; }
  .home-blurb h1 { font-size: 24px; } /* stays under the name at this width */
}

/* Portfolio: password on the left, what's included on the right, all on one screen */
.folio-split { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 40px; padding-bottom: 40px; }
.folio-split .unlock { margin-bottom: 0; }
.folio-right .section-label { margin-top: 14px; }
.folio-right .cases { max-width: 820px; }
.folio-right .case { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 0; }
@media (max-width: 1100px) {
  .folio-split { grid-template-columns: 1fr; gap: 40px; }
}

/* Home = welcome + about (merged 2026-12-02): portrait left, text and logos right; one screen on desktop. */
.hm { height: calc(100svh - var(--header-h)); box-sizing: border-box; padding: 0 var(--gutter); display: grid; grid-template-columns: 340px minmax(0, 760px); gap: 80px; align-items: center; justify-content: center; overflow: hidden; }
.hm-left { display: flex; flex-direction: column; align-items: center; min-height: 0; }
.hm-photo { display: block; width: 100%; max-width: 320px; height: auto; filter: grayscale(1); }
.hm-text h1 { font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -0.005em; margin: 0 0 14px; }
.hm-text p { font-size: 16.5px; line-height: 1.55; margin: 0 0 11px; max-width: 46em; }
.hm-text .lede { font-size: 19px; line-height: 1.45; margin-bottom: 16px; }
.hm-text a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hm .logo-row-text { justify-content: flex-start; margin-top: 28px; }
@media (min-width: 901px) and (max-width: 1240px) { .hm-text h1 { font-size: 24px; } .hm { grid-template-columns: 260px minmax(0, 760px); gap: 48px; } }
@media (max-width: 900px) {
  .hm { height: auto; display: block; padding-top: 20px; padding-bottom: 32px; overflow: visible; }
  .hm-left { display: none; } /* phones: no photo */
  .hm-text h1 { font-size: 21px; }
  .hm-text .lede { font-size: 17px; }
}
.logo-row-text .logo-methinks { height: 32px; opacity: .59; } /* the h stands 26px tall, matching the other logos */
.logo-row-text .logo { flex: none; } /* never squeeze a logo */
@media (max-width: 900px) { .hm .logo-row-text { zoom: .75; gap: 28px; } } /* four logos fit a phone width */
/* Home logos: each trimmed to its ink, so the lowest and highest pixels of all four line up. */
.hm .logo-row-text { align-items: flex-end; }
.hm .logo-row-text .logo { height: 28px; margin: 0; }
/* Home portrait: 440px, its bottom on the last line of text (just above the logos). */
.hm { align-content: center; grid-template-columns: 440px minmax(0, 760px); gap: 56px; }
.hm-left { align-self: end; margin-bottom: 56px; } /* = logo row margin (28) + logo height (28) */
.hm-photo { width: 100%; max-width: 440px; }
@media (min-width: 901px) and (max-width: 1240px) { .hm { grid-template-columns: 300px minmax(0, 760px); gap: 44px; } }
@media (min-width: 901px) { .hm-text .lede { font-size: 17.5px; } } /* intro fits one line on a full desktop window */
