:root {
  --paper: #f5f5f1;
  --ink: #232320;
  --muted: #575951;
  --unit: 12px;
  --pause-short: calc(var(--unit) * 2);
  --pause-medium: calc(var(--unit) * 4);
  --pause-long: calc(var(--unit) * 6);
  --margin: var(--pause-medium);
  --gap: var(--pause-short);
  --lens-size: 154px;
  --title-gap: 8px;
  --title-open-gap: calc(var(--title-gap) + var(--pause-short));
  --subhead-step: 5pt;
  --font-display: "Adelle", Georgia, serif;
  --font-text: "Franklin Gothic Book", Arial, sans-serif;
  font-family: var(--font-text);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: var(--pause-short);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 1px solid #62665c; outline-offset: 5px; }
img { display: block; max-width: 100%; }
::selection { background: #cdd5c4; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-inline: var(--margin); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: var(--margin); z-index: 99; padding: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

/* The same left edge and column tracks carry through the whole page. */
.site-header { align-items: start; padding-top: var(--pause-short); padding-bottom: var(--pause-long); position: relative; z-index: 5; }
.logo-cell { grid-column: 1; justify-self: start; }
.logo-stage { position: relative; display: block; width: 70px; aspect-ratio: 280/324; background: var(--paper); touch-action: none; isolation: isolate; }
.logo-image { width: 100%; height: 100%; mix-blend-mode: multiply; user-select: none; }
.logo-stage.is-inspecting { cursor: crosshair; }
.lens { position: fixed; display: block; width: var(--lens-size); height: var(--lens-size); overflow: hidden; border-radius: 50%; border: 1px solid #393b35; background: var(--paper); box-shadow: 0 8px 22px #00000010; isolation: isolate; visibility: hidden; opacity: 0; pointer-events: none; z-index: 50; transition: opacity .12s; }
.is-inspecting .lens { visibility: visible; opacity: 1; }
.lens > img { position: absolute; max-width: none; mix-blend-mode: multiply; user-select: none; }
.lens-cross { position: absolute; width: 7px; height: 7px; left: calc(50% - 3px); top: calc(50% - 3px); background: linear-gradient(#999d91, #999d91) center/1px 7px no-repeat, linear-gradient(#999d91, #999d91) center/7px 1px no-repeat; }
.lens-scale { position: absolute; bottom: 12px; right: 27px; background: var(--paper); font-size: 9px; padding: 2px 3px; color: var(--muted); }
.identity { grid-column: 2/8; padding-top: 6px; }
.identity h1 { font-family: var(--font-display); font-size: calc(20px + var(--subhead-step)); line-height: 1.2; font-weight: 400; letter-spacing: -.5px; margin: 0 0 6px; }
.identity p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--muted); letter-spacing: -.1px; }
.navigation { grid-column: 9/13; display: flex; justify-content: flex-end; gap: var(--pause-medium); align-items: center; font-size: 14px; }
.navigation > a, .navigation > button { position: relative; display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }
.navigation .active::after { content: ""; width: 3px; height: 3px; position: absolute; left: calc(50% - 1.5px); bottom: 3px; border-radius: 50%; background: var(--ink); }
.navigation > a:hover, .navigation > button:hover { color: var(--muted); }
.contact-link > span + span { margin-left: 12px; }

.work-heading { align-items: baseline; margin-bottom: var(--pause-short); }
.work-heading h2 { grid-column: 1/4; font-size: 12px; font-weight: 400; line-height: 1.5; margin: 0; letter-spacing: -.1px; }
.work-heading > span { grid-column: 12; text-align: right; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.project { align-items: start; margin-bottom: var(--pause-long); }
.project-info { grid-column: 1/4; min-width: 0; }
.project-number { display: block; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); line-height: 1; margin-bottom: var(--pause-short); }
.project-info h3 { font-family: var(--font-display); font-size: calc(22px + var(--subhead-step)); font-weight: 400; line-height: 1.25; letter-spacing: -.6px; margin: 0; }
.pause-title { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; column-gap: var(--title-gap); row-gap: 0; min-height: 0; text-align: left; white-space: nowrap; transition: gap 420ms cubic-bezier(.22, .61, .36, 1); }
.pause-title > span:last-child { font-variant-numeric: tabular-nums; }
.pause-title:focus-visible, .pause-title[aria-pressed="true"] { gap: var(--title-open-gap); }
@media (hover: hover) and (pointer: fine) {
  .pause-title:hover { gap: var(--title-open-gap); }
}
.project-info p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: var(--unit) 0 0; }
.project-image { grid-column: 4/13; margin: 0; aspect-ratio: 3/2; position: relative; overflow: hidden; background: #ecece7; isolation: isolate; }
.project-art { width: 100%; height: 100%; display: block; object-fit: cover; }
.image-2 { background: #4b86a3; }
.image-3 { background: #d3c4bd; }
.image-4 { background: #19191b; }

.site-footer { align-items: baseline; row-gap: var(--unit); padding-top: var(--pause-short); padding-bottom: var(--pause-medium); position: relative; font-size: 13px; line-height: 1.5; color: var(--muted); }
.site-footer::before { content: ""; height: 1px; background: #d7d8d0; position: absolute; top: 0; left: 0; right: 0; }
.footer-name { grid-column: 1/4; color: var(--ink); font-size: 13px; }
.template-note { grid-column: 4/9; font-size: 10px; }
.site-footer > a { grid-column: 9/13; text-align: right; color: var(--ink); white-space: nowrap; }
.site-footer > a span { margin-left: 12px; }

/* Info stays concise and follows the same spacing scale. */
dialog { width: min(576px, calc(100vw - 48px)); padding: 0; border: 0; background: var(--paper); color: var(--ink); max-height: calc(100svh - 48px); overscroll-behavior: contain; }
dialog::backdrop { background: #24251f65; backdrop-filter: blur(5px); }
.info-bar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; border-bottom: 1px solid #d7d8d0; background: var(--paper); font-size: 13px; }
.info-bar button { display: flex; gap: 24px; align-items: center; min-height: 44px; font-size: 13px; }
.info-bar button > span { font-size: 22px; line-height: 1; }
.info-content { padding: var(--pause-medium); }
.info-content h2 { font-family: var(--font-display); font-size: 36px; line-height: 1.1; font-weight: 400; letter-spacing: -1.4px; margin: 0 0 12px; }
.info-content .info-role { font-size: 13px; margin: 0 0 var(--pause-medium); color: var(--muted); }
.info-content > p { font-size: 17px; line-height: 1.6; letter-spacing: -.2px; margin: 0; }
.info-content dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: var(--pause-medium) 0; }
.info-content dt { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.info-content dd { font-size: 14px; line-height: 1.5; margin: 0; }
.info-content > a { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 1776px) {
  :root { --margin: calc((100vw - 1680px) / 2); }
}
@media (max-width: 1100px) {
  :root { --margin: var(--pause-short); }
  .logo-stage { width: 54px; }
  .identity { grid-column: 2/8; }
  .navigation { grid-column: 8/13; gap: var(--pause-short); }
  .project-info h3 { font-size: calc(20px + var(--subhead-step)); }
  .project-art { width: 100%; height: 100%; display: block; object-fit: cover; }
  .template-note { grid-column: 4/8; }
  .site-footer > a { grid-column: 8/13; }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 54px minmax(0, 1fr); row-gap: var(--unit); padding-bottom: var(--pause-medium); }
  .logo-cell { grid-column: 1; grid-row: 1; }
  .identity { grid-column: 2; grid-row: 1; padding-top: 4px; }
  .identity h1 { font-size: calc(19px + var(--subhead-step)); }
  .identity p { font-size: 14px; }
  .navigation { grid-column: 2; grid-row: 2; justify-content: flex-start; font-size: 14px; gap: var(--pause-short); }
  .work-heading h2 { grid-column: 1/7; font-size: 11px; }
  .work-heading > span { grid-column: 11/13; }
  .project { row-gap: var(--pause-short); margin-bottom: var(--pause-medium); }
  .project-info { grid-column: 1/-1; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: var(--unit); align-items: baseline; }
  .project-number { grid-column: 1; grid-row: 1; font-size: 10px; margin: 0; }
  .project-info h3 { grid-column: 2; grid-row: 1; font-size: calc(20px + var(--subhead-step)); letter-spacing: -.4px; }
  .project-info p { grid-column: 2; grid-row: 2; font-size: 14px; margin: 0; }
  .project-image { grid-column: 1/-1; aspect-ratio: 3/2; }
  .project-art { width: 100%; height: 100%; display: block; object-fit: cover; }
  .footer-name { grid-column: 1/5; }
  .site-footer > a { grid-column: 5/13; }
  .template-note { grid-column: 1/-1; grid-row: 2; }
}
@media (max-width: 440px) {
  :root { --gap: var(--unit); --lens-size: 140px; }
  .site-header { grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--pause-short); }
  .logo-stage { width: 48px; }
  .identity h1 { font-size: calc(18px + var(--subhead-step)); }
  .identity p { font-size: 14px; }
  .project-art { width: 100%; height: 100%; display: block; object-fit: cover; }
  .site-footer > a { font-size: 13px; }
  .site-footer > a span { margin-left: 4px; }
  .info-content { padding: var(--pause-short); }
  .info-content > p { font-size: 16px; }
  .info-content dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Match the supplied full-bleed crop reference. */
.image-2 .project-art { object-position: center 72%; }

/* Project titles align to the image top edge. */
.footer-linkedin { grid-column: 4/9; color: var(--ink); }
@media (max-width: 700px) {
  .project-info { display: block; }
  .project-info p { margin-top: var(--unit); }
  .footer-linkedin { grid-column: 1/-1; grid-row: 2; }
}

/* Directional symbols use a system glyph; the supplied text face has limited symbol coverage. */
.contact-link > span[aria-hidden], .site-footer a > span, .bm-generator-links a > span {font-family:Arial,sans-serif;font-weight:400;}

/* Headings inherit Adelle Regular; other text uses Franklin Gothic Book. */
:where(p, figcaption, small, dt, dd, nav, footer, .back-work, .case-back, .info-bar) { font-weight:400; }
