:root {
  /* Keep the shared responsive grid stable across page variants. */
  color-scheme: light;
  --ink: #000;
  --muted: #5b5b5b;
  --rule: #c9c9c9;
  --content: 720px;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable both-edges; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; }
html.js body:not(.password-unlocked) > :is(.topbar, main, .footer, .nav-debug, .mobile-header-identity, .mobile-menu-toggle, .mobile-menu) { visibility: hidden; }
html.js body:not(.password-unlocked) { overflow: hidden; }
.password-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #fff; }
.password-gate [hidden] { display: none !important; }
.password-gate__form { display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateY(-1px); }
.password-gate__prompt, .password-gate__input { width: 280px; padding: 0; border: 0; outline: 0; color: #5b5b5b; background: transparent; text-align: center; font: 400 24px/29px "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.password-gate__prompt { cursor: pointer; }
.password-gate__input.is-shaking { animation: password-shake 420ms cubic-bezier(.36,.07,.19,.97) both; }
.password-gate__submit { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; color: #444; background: transparent; font: 400 20px/24px "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; cursor: pointer; }
.password-gate__submit:focus-visible { outline: 2px solid #276ac9; outline-offset: 5px; }
@keyframes password-gate-out { from { opacity: 1; filter: blur(0); transform: scale(1); } to { opacity: 0; filter: blur(12px); transform: scale(1.015); } }
.password-gate.is-unlocking { animation: password-gate-out 460ms cubic-bezier(.4, 0, 1, 1) both; pointer-events: none; }
@keyframes password-shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
body.dog-game-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 10; isolation: isolate; pointer-events: none; padding: max(24px, env(safe-area-inset-top)) 16px 0; }
body { padding-top: 96px; }
[id] { scroll-margin-top: 110px; }

.topbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  width: max-content;
  max-width: 100%;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -1px 1px rgba(255,255,255,.4), inset 1px 0 2px rgba(255,255,255,.5), inset -1px 0 2px rgba(0,0,0,.025), 0 4px 4px rgba(0,0,0,.03);
  animation: glass-enter 650ms cubic-bezier(.2,.8,.2,1) both;
  margin: 0 auto;
}
.topbar__nav::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 1px solid rgba(255,255,255,.35); background: radial-gradient(ellipse 45% 8px at var(--light-x, 30%) 0%, rgba(255,255,255,.8), transparent 100%), linear-gradient(180deg, rgba(255,255,255,.12), transparent 24%, transparent 78%, rgba(255,255,255,.08)); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar__nav { background: rgba(255,255,255,.10); -webkit-backdrop-filter: blur(7.2px) saturate(160%); backdrop-filter: blur(7.2px) saturate(160%); }
}
.glass-highlight { position: absolute; top: 8px; left: 0; height: calc(100% - 16px); border-radius: 999px; pointer-events: none; background: rgba(230,229,229,.64); box-shadow: inset 0 1px 1px rgba(255,255,255,.75); opacity: 0; transition: transform 360ms cubic-bezier(.22,1,.36,1), width 360ms cubic-bezier(.22,1,.36,1), opacity 180ms; }

.topbar__nav a {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), background 180ms;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 19px;
  border-radius: 999px;
}
.topbar__nav a:hover { background: rgba(230,229,229,.5); }
.topbar__nav.has-highlight a:hover { background: transparent; }
.topbar a:focus-visible { outline: 2px solid #276ac9; outline-offset: -2px; }
.topbar__nav a:active { transform: scale(.94); }
.topbar a[aria-current="page"] { background: rgba(230,229,229,.64); }
.side-nav { display: none; }
.nav-debug { display: none !important; }
.nav-debug__toggle, .nav-debug__menu button { border: 1px solid rgba(0,0,0,.12); color: #111; background: rgba(255,255,255,.86); box-shadow: 0 8px 24px rgba(0,0,0,.12); font: inherit; cursor: pointer; }
.nav-debug__toggle { padding: 9px 12px; border-radius: 999px; }
.nav-debug__menu { position: absolute; right: 0; bottom: calc(100% + 8px); width: 188px; padding: 8px; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 12px 32px rgba(0,0,0,.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav-debug__menu p { margin: 3px 6px 7px; color: var(--muted); font-size: 11px; }
.nav-debug__menu button { display: block; width: 100%; padding: 8px; border: 0; border-radius: 7px; background: transparent; box-shadow: none; text-align: left; }
.nav-debug__menu button:hover, .nav-debug__menu button[aria-pressed="true"] { background: #e6e5e5; }
body[data-nav-version="v2"] .topbar { padding: 0; }
body[data-nav-version="v2"] .topbar__nav--v1 { display: none; }
body[data-nav-version="v2"][data-scroll-glass="on"] .topbar::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 0; height: 140px; pointer-events: none; background: radial-gradient(ellipse 34% 46px at 20% 18%, rgba(255,255,255,.38), transparent 72%), radial-gradient(ellipse 28% 54px at 76% 34%, rgba(194,220,255,.22), transparent 74%), radial-gradient(ellipse 25% 42px at 55% 48%, rgba(255,221,244,.16), transparent 74%); mix-blend-mode: soft-light; opacity: .8; -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 50%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 50%, transparent 100%); animation: glass-refraction 9s ease-in-out infinite alternate; }
body[data-nav-version="v2"][data-scroll-glass="on"] .topbar::after { content: ""; position: fixed; inset: 0 0 auto; z-index: 0; height: 140px; pointer-events: none; background: linear-gradient(to bottom, rgba(255,255,255,.72) 0%, rgba(255,255,255,.5) 42%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); -webkit-backdrop-filter: blur(14px) saturate(150%) contrast(104%); backdrop-filter: blur(14px) saturate(150%) contrast(104%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 54%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 54%, transparent 100%); }
/* The scroll-glass setting refracts media only while it crosses a viewport edge. */
body[data-nav-version="v2"][data-scroll-glass="on"] .scroll-glass-media.is-scroll-warping {
  filter: url("#scroll-glass-warp") saturate(1.12) contrast(1.04);
  transform: translate3d(0, var(--scroll-glass-y, 0), 0) scale(var(--scroll-glass-scale, 1));
  transform-origin: center;
  will-change: filter, transform;
}
body[data-nav-version="v2"][data-scroll-grain="on"] .scroll-glass-media.is-scroll-warping {
  filter: blur(var(--scroll-grain-blur, 2px)) contrast(1.14) saturate(.88);
  transform: translate3d(0, var(--scroll-glass-y, 0), 0) scale(var(--scroll-glass-scale, 1));
  transform-origin: center;
  will-change: filter, transform;
}
body[data-nav-version="v2"][data-scroll-grain="on"] :is(.archive-media, .work-detail__media).is-scroll-warping::after {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  opacity: var(--scroll-grain-opacity, .16);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.95'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
body[data-nav-version="v2"] .topbar > nav { position: relative; z-index: 1; }
body[data-nav-version="v2"].page-exiting { pointer-events: none; }
body[data-nav-version="v2"].page-exiting :is(main, .footer, .nav-debug) { animation: v2-page-out 280ms cubic-bezier(.4, 0, 1, 1) both; }
body[data-nav-version="v2"].page-exiting main { position: fixed; top: var(--exit-top, 0); left: var(--exit-left, 0); width: var(--exit-width, 100%); margin: 0; z-index: 1; }
body[data-nav-version="v2"].page-exiting main { height: var(--exit-height, auto); overflow: hidden; }
body[data-nav-version="v2"].page-exiting main,
body[data-nav-version="v2"].page-exiting .work,
body[data-nav-version="v2"].page-exiting .about,
body[data-nav-version="v2"].page-exiting .work-detail { position: fixed !important; top: var(--exit-top, 0) !important; left: var(--exit-left, 0) !important; width: var(--exit-width, 100%) !important; height: var(--exit-height, auto) !important; max-width: none !important; margin: 0 !important; right: auto !important; }
body[data-nav-version="v2"] main.page-entering-bottom { opacity: 0; transform: translate3d(0, 100dvh, 0); transition: opacity 420ms cubic-bezier(.16, 1, .3, 1), transform 420ms cubic-bezier(.16, 1, .3, 1); will-change: opacity, transform; }
body[data-nav-version="v2"] main.page-entering-bottom.is-entered { opacity: 1; transform: translate3d(0, 0, 0); }
body[data-nav-version="v2"] .side-nav { display: flex; position: fixed; top: 121px; left: max(24px, calc(50% - 655px)); flex-direction: column; align-items: flex-start; gap: 70px; width: 189px; pointer-events: auto; }
.side-nav__identity { display: grid; min-height: 64px; width: 189px; padding: 8px 16px; color: var(--ink); }
.topbar .side-nav__identity:hover { background: transparent; }
.side-nav a { transition: none; transform: none; }
.side-nav a:hover, .side-nav a:focus-visible { color: #000; background: transparent; }
.side-nav a:active { transform: none; }
.side-nav__identity:hover span { color: #000; }
.side-nav__identity strong { font-size: 20px; font-weight: 510; letter-spacing: -.03em; line-height: 24px; }
.side-nav__identity span { color: var(--muted); font-size: 13px; line-height: 16px; white-space: nowrap; }
.side-nav__sections, .side-nav__contact { display: grid; gap: 4px; }
.side-nav__sections a, .side-nav__contact a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 16px; line-height: 19px; }
.side-nav__archive-group { display: grid; width: 100%; }
.side-nav__archive-trigger { display: flex; align-items: center; width: 100%; padding: 8px 16px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font: inherit; font-size: 16px; line-height: 19px; text-align: left; cursor: pointer; }
.side-nav__archive-trigger:hover, .side-nav__archive-trigger:focus-visible { color: #000; }
.side-nav__archive-trigger:focus-visible { outline: 2px solid #276ac9; outline-offset: 2px; }
.side-nav__archive-links { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translate3d(0, -6px, 0); transition: grid-template-rows 420ms cubic-bezier(.16, 1, .3, 1), opacity 200ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1); }
.side-nav__archive-links > div { display: grid; min-height: 0; overflow: hidden; gap: 2px; padding-left: 16px; }
.side-nav__archive-links a { padding: 5px 0 !important; border-radius: 0; font-size: 13px !important; line-height: 16px !important; }
.side-nav__archive-group.is-open .side-nav__archive-links { grid-template-rows: 1fr; opacity: 1; transform: translate3d(0, 0, 0); }
.side-nav__archive-group.is-open .side-nav__archive-trigger { color: #000; }
.side-nav__location { display: inline-flex; align-items: center; min-height: 29px; padding: 8px 16px; color: var(--muted); font-size: 11px; line-height: 13px; }
.side-nav__sections a:hover, .side-nav__contact a:hover { background: transparent; }
.side-nav__sections a:hover, .side-nav__contact a:hover { color: #000; }
.side-nav__sections a:focus-visible, .side-nav__contact a:focus-visible { outline: 2px solid #276ac9; outline-offset: 2px; }
body[data-nav-version="v2"] .side-nav [aria-current="page"] { background: transparent; }
.mobile-menu-toggle, .mobile-menu, .mobile-header-identity { display: none; }
@media (max-width: 1100px) {
  .topbar__nav { display: none !important; }
  .mobile-header-identity { display: inline-flex; position: fixed; top: 28px; left: 16px; z-index: 31; align-items: center; height: 45px; padding: 0; border-radius: 999px; color: #000; background: transparent; font-size: 16px; font-weight: 590; line-height: 29px; letter-spacing: 0; }
  body.mobile-menu-open .mobile-header-identity { opacity: 1; pointer-events: none; }
  .mobile-menu-toggle { display: flex; position: fixed; top: 28px; right: 16px; z-index: 31; width: 40px; height: 40px; padding: 8px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 999px; background: transparent; color: #111827; cursor: pointer; }
  .mobile-menu-toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 260ms cubic-bezier(.16,1,.3,1), opacity 180ms; }
  body.mobile-menu-open .mobile-menu-toggle { opacity: 0; pointer-events: none; }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 30; padding: 28px 16px 24px; background: #fff; overflow-y: auto; animation: mobile-menu-in 300ms cubic-bezier(.16,1,.3,1) both; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__header { display: flex; align-items: center; justify-content: space-between; height: 45px; }
  .mobile-menu__identity { display: none; }
  .mobile-menu__identity strong { font: inherit; font-weight: 590; }
  .mobile-menu__close { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; padding: 8px; border: 0; background: transparent; color: #020618; cursor: pointer; }
  .mobile-menu__close svg { display: block; width: 24px; height: 24px; }
  .mobile-menu__close path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }
  .mobile-menu__sections { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 19.5px; }
  .mobile-menu__sections a { display: flex; align-items: center; min-height: 64px; padding: 8px 16px; border-radius: 999px; color: #000; font-size: 40px; font-weight: 400; line-height: 48px; letter-spacing: 0; opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(5px); animation: mobile-link-in 520ms cubic-bezier(.16,1,.3,1) forwards; }
  .mobile-menu__sections a:nth-child(1) { animation-delay: 70ms; }
  .mobile-menu__sections a:nth-child(2) { animation-delay: 120ms; }
  .mobile-menu__sections a:nth-child(3) { animation-delay: 170ms; }
  .mobile-menu__sections a:nth-child(4) { animation-delay: 220ms; }
  .mobile-menu__location { display: inline-flex; min-height: 29px; margin-top: 66px; padding: 8px 16px; color: var(--muted); font-size: 11px; line-height: 13px; opacity: 0; transform: translateY(14px); filter: blur(4px); animation: mobile-link-in 520ms cubic-bezier(.16,1,.3,1) 270ms forwards; }
  .mobile-menu.is-closing { animation: mobile-menu-out 280ms cubic-bezier(.4,0,1,1) both; }
  .mobile-menu.is-closing .mobile-menu__sections a, .mobile-menu.is-closing .mobile-menu__location { animation: mobile-link-out 240ms cubic-bezier(.4,0,1,1) both; }
}
@media (max-width: 640px) {
  body[data-nav-version="v2"].about-page .mobile-header-identity { left: 16px; }
  body[data-nav-version="v2"].work-page,
  body[data-nav-version="v2"].about-page,
  body[data-nav-version="v2"].case-study-page { padding-top: 81px; }
  body[data-nav-version="v2"] .work,
  body[data-nav-version="v2"] .about,
  body[data-nav-version="v2"] .work-detail { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; }
  body[data-nav-version="v2"] .work__header h1,
  body[data-nav-version="v2"] .about__header h1,
  body[data-nav-version="v2"] .work-detail__header h1 { font-size: 32px; line-height: 38px; font-weight: 510; letter-spacing: 0; }
  body[data-nav-version="v2"] .work__header p,
  body[data-nav-version="v2"] .work-detail__header p { font-size: 16px; line-height: 19px; }
}
/* Tablet layout follows the selected 643px Figma frame: horizontal identity and links. */
@media (min-width: 641px) and (max-width: 1100px) {
  .mobile-menu-toggle, .mobile-header-identity { display: none !important; }
  body[data-nav-version="v2"] .side-nav { display: flex; position: fixed; top: 22px; left: 34px; right: 34px; z-index: 10; width: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; pointer-events: auto; }
  body[data-nav-version="v2"] .side-nav__identity { width: 157px; min-height: 45px; height: 45px; padding: 8px 0; border-radius: 999px; background: transparent; }
  body[data-nav-version="v2"] .side-nav__identity span { display: none; }
  body[data-nav-version="v2"] .side-nav__identity strong { display: block; transform: none; font-size: 16px; line-height: 29px; font-weight: 590; letter-spacing: 0; white-space: nowrap; }
  body[data-nav-version="v2"] .side-nav__sections { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: row; justify-content: flex-end; gap: 2px; align-items: center; }
  body[data-nav-version="v2"] .side-nav__sections a { flex: 0 0 auto; padding: 8px 8px; font-size: 16px; line-height: 19px; white-space: nowrap; }
  body[data-nav-version="v2"] .side-nav__sections a:last-child { padding-right: 0; }
  body[data-nav-version="v2"] .side-nav__location { display: none; }
  body[data-nav-version="v2"] .archives-page { padding-top: 125px; }
  body[data-nav-version="v2"] .archives { width: calc(100% - 68px); margin: 0 34px; padding-bottom: 120px; }
  body[data-nav-version="v2"] .archive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
  body[data-nav-version="v2"] .archive-pair { display: contents; }
  body[data-nav-version="v2"] .archive-media--phone,
  body[data-nav-version="v2"] .archive-media--wide,
  body[data-nav-version="v2"] .archive-media--tcg { height: auto; aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] .archive-media--phone { background: #f0ceff; }
  body[data-nav-version="v2"] .archive-media--tcg { display: grid; place-items: center; background: #edf19e; }
  body[data-nav-version="v2"] .archive-media--tcg .archive-tcg-v1 { display: none; }
  body[data-nav-version="v2"] .archive-media--tcg .archive-video--tcg { display: block; width: auto; height: 90%; aspect-ratio: 331 / 691; border-radius: 23px; object-fit: cover; }
}

/* Narrow screens use the hamburger header; never re-enable the desktop pill row. */
@media (max-width: 640px) {
  body[data-nav-version="v2"] .topbar__nav--v1 { display: none !important; }
}
@keyframes mobile-menu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mobile-link-in { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes mobile-menu-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px); } }
@keyframes mobile-link-out { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: translateY(-10px); filter: blur(5px); } }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu__sections a, .mobile-menu__location { animation: none; opacity: 1; transform: none; filter: none; }
}
@keyframes glass-enter { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes v2-page-out { from { opacity: 1; filter: blur(0); transform: none; } to { opacity: 0; filter: blur(10px); transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topbar__nav { animation: none; }
  .topbar a, .glass-highlight { transition: none; }
  .topbar__nav a:active { transform: none; }
  body[data-nav-version="v2"][data-scroll-glass="on"] .topbar::before { animation: none; }
  body[data-nav-version="v2"] :is(main, .footer, .nav-debug), body[data-nav-version="v2"].page-exiting :is(main, .footer, .nav-debug) { animation: none; }
  body[data-nav-version="v2"] main.page-entering-bottom { opacity: 1; transform: none; transition: none; }
  .archive-media, .archive-gallery figure > img { transition: none; }
  body[data-nav-version="v2"][data-scroll-glass="on"] .scroll-glass-media.is-scroll-warping { filter: none; transform: none; }
  body[data-nav-version="v2"][data-scroll-grain="on"] .scroll-glass-media.is-scroll-warping { filter: none; transform: none; }
  body[data-nav-version="v2"] .v2-reveal { opacity: 1; filter: none; transform: none; transition: none; }
}
@media (prefers-reduced-transparency: reduce) { .topbar__nav { background: #fafafa; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-transparency: reduce) { body[data-nav-version="v2"][data-scroll-glass="on"] .topbar::after { background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,.88) 56%, rgba(255,255,255,0) 100%); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* Outlook Mac design-system case study */
.case-study { --case-study-left: max(297px, calc(50vw - 423px)); --case-study-right: 48px; width: min(1063px, calc(100% - 377px)); margin: -55px max(80px, calc(50% - 423px)) 0 var(--case-study-left); padding: 56px 0 160px; color: var(--muted); font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.case-study__hero { max-width: none; }
.case-study__eyebrow, .case-study__section-label { color: var(--muted); font-size: 12px; font-weight: 510; line-height: 16px; letter-spacing: .02em; text-transform: uppercase; }
.case-study__hero h1 { margin: 0; color: var(--ink); font-size: 32px; font-weight: 510; letter-spacing: 0; line-height: 38px; }
.case-study__about-title { margin: 0 0 24px; color: var(--ink); font-size: 32px; font-weight: 510; letter-spacing: -.04em; line-height: 1.08; }
.case-study__date { margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 274; line-height: 19px; }
.case-study__lede { margin-top: 24px; font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 23.2px; }
.case-study__intro { max-width: 960px; margin-top: 24px; font-size: 16px; line-height: 23.2px; }
.case-study__intro p + p, .case-study__section-content p + p { margin-top: 23.2px; }
.case-study__metadata { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: none; margin: 52px 0 0; padding-top: 20px; }
.case-study__metadata::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; border-top: 1px solid var(--rule); }
.case-study__metadata dt { color: var(--ink); font-size: 12px; line-height: 16px; }
.case-study__metadata dd { margin: 7px 0 0; font-size: 14px; line-height: 1.35; }
.case-study__placeholder { margin: 68px 0 0; }
.case-study__placeholder > div { aspect-ratio: 16 / 10; border-radius: 14px; background: #e9e9e9; }
.case-study__placeholder > img { display: block; width: 100%; height: auto; border-radius: 14px; }
.case-study > .case-study__placeholder--hero { margin-top: 32px; margin-bottom: 48px; }
.case-study__placeholder figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 16px; }
.case-study__body { margin-top: 120px; }
.case-study__section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0 0 64px; }
.case-study__section + .case-study__section { padding-top: 64px; border-top: 1px solid var(--rule); }
.case-study__section-content > :is(h2, p) { max-width: 775px; }
.case-study__section-label { display: none; }
.case-study__section-content h2, .case-study__impact h2, .case-study__proud h2 { margin: 0; color: var(--ink); font-size: 32px; font-weight: 510; letter-spacing: -.04em; line-height: 1.08; }
.case-study__section-content > p { margin-top: 24px; font-size: 16px; line-height: 23.2px; }
.case-study__section .case-study__placeholder { margin-top: 34px; }
.case-study__section .case-study__placeholder > div { aspect-ratio: 16 / 10; }
.case-study__impact { display: block; margin-top: 16px; padding: 64px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.case-study__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; max-width: 775px; margin-top: 48px; }
.case-study__metrics article { display: grid; gap: 5px; }
.case-study__metrics strong { color: var(--ink); font-size: 30px; font-weight: 510; letter-spacing: -.05em; line-height: 1; }
.case-study__impact .case-study__eyebrow { color: var(--muted); }
.case-study__impact h2 { margin-top: 12px; }
.case-study__metrics span, .case-study__impact-copy { color: var(--muted); font-size: 13px; line-height: 1.35; }
.case-study__impact-copy { margin: 40px 0 0; max-width: 775px; }
.case-study__proud { max-width: 875px; margin: 120px 0 0; }
.case-study__proud h2 { margin-top: 12px; font-size: 38px; }
.case-study__proud > p:last-child { margin-top: 24px; font-size: 17px; line-height: 1.5; }
/* Compose with Copilot case-study content, using the Design System page's type and rhythm. */
.case-study--compose .case-study__metadata { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-study__section-content blockquote { max-width: 775px; margin: 34px 0 0; padding-left: 20px; border-left: 2px solid var(--ink); color: var(--ink); font-size: 22px; font-weight: 510; letter-spacing: -.025em; line-height: 1.3; }
.case-study__principles, .case-study__comparison, .case-study__flow { display: grid; gap: 24px; }
.case-study__principles { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.case-study__principle { padding-top: 16px; border-top: 1px solid var(--rule); }
.case-study__principle strong { color: var(--ink); font-size: 16px; font-weight: 510; }
.case-study__principle p { margin-top: 8px; font-size: 14px; line-height: 1.45; }
.case-study__comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
.case-study__comparison .case-study__placeholder { margin-top: 0; }
.case-study__placeholder--labeled > div { display: flex; min-height: 280px; aspect-ratio: 16 / 10; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; border: 1px dashed #b8b8b8; text-align: center; }
.case-study__placeholder--labeled strong { color: var(--ink); font-size: 14px; font-weight: 510; }
.case-study__placeholder--labeled span { max-width: 560px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.case-study__flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.case-study__flow-step { padding-top: 14px; border-top: 1px solid var(--rule); color: var(--ink); font-size: 14px; line-height: 1.35; }
.case-study__flow-step small { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.case-study__metric-scope { display: block; margin-top: 5px; font-size: 12px; }
.case-study__note { max-width: 775px; margin-top: 24px; font-size: 13px; line-height: 1.45; }
.case-study__three-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.case-study__three-up .case-study__placeholder { margin-top: 0; }
.case-study__endpoint-comparison { max-width: 775px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--rule); }
.case-study__endpoint-comparison h3 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 510; }
.case-study__endpoint-comparison > p { margin-top: 8px; font-size: 13px; }
.case-study__endpoint-row { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) 56px; gap: 12px; align-items: center; margin-top: 14px; font-size: 13px; }
.case-study__endpoint-name { overflow-wrap: anywhere; }
.case-study__endpoint-track { height: 10px; overflow: hidden; border-radius: 8px; background: #e5e5e1; }
.case-study__endpoint-fill { display: block; width: var(--bar-width); height: 100%; border-radius: inherit; background: #a9aaa7; }
.case-study__endpoint-row--highlight { color: var(--ink); font-weight: 510; }
.case-study__endpoint-row--highlight .case-study__endpoint-fill { background: var(--ink); }
.case-study__endpoint-value { text-align: right; font-variant-numeric: tabular-nums; }
.case-study-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 88px; padding-top: 24px; border-top: 1px solid var(--rule); }
.case-study-pagination__link { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: var(--muted); text-decoration: none; }
.case-study-pagination__link:last-child { text-align: right; }
.case-study-pagination__direction { font-size: 12px; line-height: 16px; }
.case-study-pagination__title { color: var(--ink); font-size: 18px; font-weight: 510; line-height: 1.3; }
.case-study-pagination__link:hover .case-study-pagination__title, .case-study-pagination__link:focus-visible .case-study-pagination__title { text-decoration: underline; text-underline-offset: 4px; }
.case-study-pagination__link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 640px) {
  .case-study--compose .case-study__metadata, .case-study__principles, .case-study__comparison { grid-template-columns: 1fr; }
  .case-study__flow { grid-template-columns: 1fr 1fr; }
  .case-study__three-up { grid-template-columns: 1fr; }
  .case-study__endpoint-row { grid-template-columns: minmax(88px, 110px) minmax(0, 1fr) 48px; gap: 8px; font-size: 12px; }
  .case-study-pagination { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
  .case-study-pagination__link:last-child { text-align: left; }
  .case-study-pagination__title { font-size: 17px; }
  .case-study__placeholder--labeled > div { min-height: 220px; padding: 24px; }
  .case-study__section-content blockquote { font-size: 20px; }
}
@media (max-width: 1100px) { .case-study { --case-study-left: 34px; --case-study-right: 34px; width: calc(100% - 68px); margin: 0 34px; padding-top: 56px; } }
@media (max-width: 640px) { .case-study { --case-study-left: 16px; --case-study-right: 16px; width: calc(100% - 32px); margin: 0 16px; padding-top: 24px; padding-bottom: 96px; } .case-study__hero h1 { font-size: 32px; } .case-study__date { font-size: 16px; } .case-study__lede { font-size: 21px; } .case-study__intro { font-size: 16px; } .case-study__metadata { grid-template-columns: 1fr; gap: 17px; margin-top: 40px; } .case-study__placeholder { margin-top: 48px; } .case-study__body { margin-top: 80px; } .case-study__section { grid-template-columns: 1fr; gap: 13px; padding-bottom: 64px; } .case-study__section-content h2, .case-study__impact h2 { font-size: 29px; } .case-study__section-content > p { font-size: 16px; } .case-study__impact { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; } .case-study__impact-copy { grid-column: auto; } .case-study__proud { margin: 80px 0 0; } .case-study__proud h2 { font-size: 32px; } .case-study__proud > p:last-child { font-size: 16px; } }
@media (min-width: 641px) and (max-width: 1100px) {
  body[data-nav-version="v2"] .side-nav { display: flex !important; }
  body[data-nav-version="v2"].work-page,
  body[data-nav-version="v2"].about-page,
  body[data-nav-version="v2"].case-study-page { padding-top: 125px; }
  body[data-nav-version="v2"] .work,
  body[data-nav-version="v2"] .about,
  body[data-nav-version="v2"] .work-detail { width: calc(100% - 68px); margin-left: 34px; margin-right: 34px; }
  body[data-nav-version="v2"] .work-list { width: 720px; max-width: 100%; gap: 48px; }
  body[data-nav-version="v2"] .work__header h1,
  body[data-nav-version="v2"] .about__header h1,
  body[data-nav-version="v2"] .work-detail__header h1 { font-size: 32px; line-height: 38px; font-weight: 510; letter-spacing: 0; }
  body[data-nav-version="v2"] .work__header p,
  body[data-nav-version="v2"] .work-detail__header p { font-size: 16px; line-height: 19px; }
}
@keyframes glass-refraction { from { transform: translate3d(-2%, 0, 0) scale(1.02); } to { transform: translate3d(2%, 3px, 0) scale(1.05); } }

.hero, .work {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.hero { padding-top: 24px; }
.hero__intro { min-height: 162px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 36px; font-weight: 510; letter-spacing: -.04em; line-height: 43px; }
.hero__description { margin-top: 24px; font-size: 16px; line-height: 19px; }
.hero__description span { display: inline-block; margin-top: 28px; color: var(--muted); font-size: 14px; font-style: italic; line-height: 17px; }

.hero__feature { margin: 32px 0 0; }
.hero__feature img { display: block; width: 100%; height: auto; border-radius: 16px; }
.hero__feature figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 14px; }

.divider { width: min(var(--content), calc(100% - 48px)); height: 65px; margin: 24px auto 0; border-bottom: 1px solid var(--rule); }
.work { padding-top: 24px; }
h2 { font-size: 24px; font-weight: 510; letter-spacing: -.03em; line-height: 29px; }
.work-list { display: grid; gap: 32px; margin-top: 24px; }
.work-list article { min-height: 51px; }
.work-item { display: block; color: inherit; text-decoration: none; }
h3 { font-size: 20px; font-weight: 400; letter-spacing: -.02em; line-height: 24px; }
.work-list h2 { font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 24px; }
.work-list p { margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 274; line-height: 19px; }

.footer { display: flex; align-items: center; justify-content: space-between; width: min(var(--content), calc(100% - 48px)); min-height: 72px; margin: 89px auto 0; font-size: 16px; line-height: 19px; }
.footer a:hover, .footer a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .hero, .work, .divider, .footer { width: calc(100% - 32px); }
  .hero { padding-top: 32px; }
  .hero__intro { min-height: auto; }
  .hero__feature { margin-top: 32px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 24px 0; }
  body[data-nav-version="v2"] .side-nav { display: none; }
  body[data-nav-version="v2"] .topbar { padding: max(24px, env(safe-area-inset-top)) 16px 0; }
  body[data-nav-version="v2"] .topbar__nav--v1 { display: flex; }
}

@media (max-width: 1100px) {
  body[data-nav-version="v2"] .side-nav { display: none; }
  body[data-nav-version="v2"] .topbar { padding: max(24px, env(safe-area-inset-top)) 16px 0; }
  body[data-nav-version="v2"] .topbar__nav--v1 { display: flex; }
}

.archives-page { padding-top: 138px; }
.archives { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding-bottom: 160px; }
.archives-heading h1,
.about__header h1 { margin: 0; font-size: 24px; line-height: 29px; font-weight: 510; letter-spacing: -.03em; }
.archives-heading p { margin-top: 8px; font-size: 12px; line-height: 14px; color: var(--muted); }
.archive-sections { display: grid; gap: 112px; margin-top: 48px; }
.archive-section { scroll-margin-top: 110px; }
.archive-section > h2 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 510; letter-spacing: -.03em; line-height: 29px; }
.archive-section__placeholder { display: grid; width: 100%; aspect-ratio: 16 / 10; place-items: center; margin-top: 24px; border-radius: 16px; color: var(--muted); background: #f5f5f7; font-size: 16px; line-height: 19px; }
.archive-photography-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.archive-photography-grid img { display: block; width: 100%; height: auto; aspect-ratio: auto; border-radius: 16px; object-fit: contain; }
.archive-gallery { display: grid; gap: 64px; margin-top: 24px; }
.archive-gallery figure { margin: 0; min-width: 0; }
.archive-gallery img { display: block; width: 100%; height: auto; border-radius: 16px; }
.archive-image { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: #f5f5f7; }
.archive-image img { width: 100%; height: 100%; object-fit: cover; }
.archive-section#ui-ux-design .archive-gallery > .archive-gallery__feature { grid-column: 1 / -1; }
.archive-lead-v2, .archives-copy--v2 { display: none; }
.archive-gallery figcaption { margin-top: 12px; font-size: 12px; line-height: 14px; color: var(--muted); }
.archive-media { position: relative; overflow: hidden; border-radius: 16px; background: #f5f5f7; }
.archive-media--phone { aspect-ratio: 720 / 753; display: grid; place-items: center; }
.archive-media--wide { aspect-ratio: 720 / 388; }
.archive-media--youtube { aspect-ratio: 16 / 9; }
.archive-media--youtube iframe { display: block; width: 100%; height: 100%; border: 0; }
.archive-video { display: block; max-width: 100%; }
.archive-video--copilot { width: 45.9722%; aspect-ratio: 331 / 691; max-height: 91.766%; object-fit: cover; border-radius: 40px; }
.archive-video--bitmap { width: 100%; height: 100%; object-fit: cover; }
.archive-video--tcg { display: none; }
.archive-video-play { display: none; }
.archive-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) {
  .archives { width: calc(100% - 32px); padding-bottom: 100px; }
  body[data-nav-version="v2"].archives-page { padding-top: 81px; }
  body[data-nav-version="v2"] .archives { width: calc(100% - 32px); margin: 0 16px; padding-bottom: 96px; }
  body[data-nav-version="v2"] .archives-heading h1 { font-size: 32px; line-height: 38px; font-weight: 510; letter-spacing: 0; }
  body[data-nav-version="v2"] .archives-heading p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 19px; font-weight: 400; }
  body[data-nav-version="v2"] .archive-sections { gap: 80px; margin-top: 48px; }
  body[data-nav-version="v2"] .archive-section > h2 { font-size: 24px; line-height: 29px; }
  body[data-nav-version="v2"] .archive-photography-grid { gap: 24px; margin-top: 32px; }
  body[data-nav-version="v2"] .archive-photography-grid { grid-template-columns: 1fr; }
  body[data-nav-version="v2"] .archive-gallery { gap: 32px; margin-top: 32px; }
  body[data-nav-version="v2"] .archive-gallery figcaption { min-height: 28px; margin-top: 10px; font-size: 12px; line-height: 14px; font-weight: 400; }
  body[data-nav-version="v2"] .archive-gallery > figure:first-child figcaption { margin-top: 16px; }
  body[data-nav-version="v2"] .archive-media--phone { height: auto; aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] .archive-media--phone video { display: block; }
  body[data-nav-version="v2"] .archive-lead-v2 { display: none; }
  body[data-nav-version="v2"] .archive-media--wide,
  body[data-nav-version="v2"] .archive-media--tcg { aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] #ui-ux-design .archive-gallery > figure > .archive-image { aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] .archive-media--tcg { display: grid; place-items: center; background: #edf19e; }
  body[data-nav-version="v2"] .archive-media--tcg .archive-tcg-v1 { display: none; }
  body[data-nav-version="v2"] .archive-media--tcg .archive-video--tcg { display: block; width: auto; height: 90%; aspect-ratio: 331 / 691; border-radius: 20px; object-fit: cover; }
  body[data-nav-version="v2"] .archive-pair { gap: 24px; }
  body[data-nav-version="v2"] .archive-pair figure .archive-image { aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] .archive-video--copilot { width: auto; height: 90%; max-height: 94%; aspect-ratio: 331 / 691; border-radius: 20px; }
  .archive-pair { grid-template-columns: 1fr; }
}

/* V2 page content always enters from below, at every viewport size. */
body[data-nav-version="v2"] .v2-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.99);
  filter: blur(6px);
  transition: opacity 520ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms), transform 560ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms), filter 520ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms);
}
html.js body[data-nav-version="v2"] :is(.archives-heading, .archive-section, .about__header h1, .about__profile, .about__header > p, .about__connect, .work__intro, .work__section-heading, .work__header, .work-list article, .work-detail__header, .work-detail__media, .work-detail__caption, .case-study > .case-study__hero, .case-study > .case-study__placeholder, .case-study__section, .case-study__impact, .case-study__proud, .hero__intro, .hero__feature, .divider, .footer) {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.99);
  filter: blur(6px);
}

/* Work detail pages follow the selected Figma frame. */
.case-study-page { padding-top: 138px; }
.work-detail { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding-bottom: 160px; }
.work-detail, .work-detail h1, .work-detail p { font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.work-detail__header h1 { margin: 0; font-size: 24px; line-height: 29px; letter-spacing: 0; font-weight: 510; }
.work-detail__header p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 14px; font-weight: 274; }
.work-detail__section { margin-top: 32px; }
.work-detail__media { width: 100%; max-width: 1059px; aspect-ratio: 1059 / 556; margin: 0; overflow: hidden; border-radius: 16px; background: #f5f5f7; }
.work-detail__media img, .work-detail__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-detail__media img { object-fit: contain; }
.work-detail__caption { width: min(490px, 100%); margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 14px; font-weight: 274; }
@media (min-width: 1101px) {
  body[data-nav-version="v2"].case-study-page { padding-top: 125px; }
  body[data-nav-version="v2"] .work-detail { width: min(1063px, calc(100% - 377px)); margin-left: max(297px, calc(50% - 423px)); margin-right: 80px; padding-bottom: 160px; }
  body[data-nav-version="v2"] .work-detail__header h1 { font-size: 32px; line-height: 38px; }
  body[data-nav-version="v2"] .work-detail__header p, body[data-nav-version="v2"] .work-detail__caption { font-size: 16px; line-height: 19px; }
}

/* Tablet uses the Figma side navigation. Keep the desktop pill navigation
   out of this range so the identity and links share the content grid. */
@media (min-width: 641px) and (max-width: 1100px) {
  body[data-nav-version="v2"] .topbar__nav--v1 { display: none !important; }
  body[data-nav-version="v2"] .side-nav { display: none !important; }
  body[data-nav-version="v2"] .mobile-header-identity { display: inline-flex !important; }
  body[data-nav-version="v2"] .mobile-menu-toggle { display: flex !important; }
  body[data-nav-version="v2"] .mobile-header-identity { left: 34px; }
  body[data-nav-version="v2"] .mobile-menu-toggle { right: 16px; }
}
html.js body[data-nav-version="v2"] :is(.archives-heading, .archive-section) { transform: translate3d(0, 24px, 0) scale(.99); }
html.js body[data-nav-version="v2"] .v2-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
/* Release completed reveal surfaces so scrolling does not retain filtered layers. */
html.js body[data-nav-version="v2"] .v2-reveal.is-visible.reveal-settled { transform: none; filter: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  html.js body[data-nav-version="v2"] .v2-reveal { transition: none; }
}

/* V2 archive layout mirrors the selected Figma frame. */
@media (min-width: 1101px) {
  body[data-nav-version="v2"].archives-page { padding-top: 125px; }
  body[data-nav-version="v2"] .archives {
    width: min(1063px, calc(100% - 377px));
    margin-left: max(297px, calc(50% - 423px));
    margin-right: 80px;
    padding-bottom: 160px;
  }
  body[data-nav-version="v2"] .archives-heading h1,
  body[data-nav-version="v2"] .about__header h1 { font-size: 32px; line-height: 38px; font-weight: 510; letter-spacing: -.03em; }
  body[data-nav-version="v2"] .archives-heading p { margin-top: 8px; font-size: 16px; line-height: 19px; }
  body[data-nav-version="v2"] .archives-copy--v1 { display: none; }
  body[data-nav-version="v2"] .archives-copy--v2 { display: inline; }
  body[data-nav-version="v2"] .archive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
  body[data-nav-version="v2"] .archive-pair { display: contents; }
  body[data-nav-version="v2"] .archive-gallery figcaption { min-height: 28px; margin-top: 16px; }
  body[data-nav-version="v2"] #ui-ux-design .archive-gallery > figure > .archive-image { aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] .archive-media,
  body[data-nav-version="v2"] .archive-gallery figure > .archive-image {
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
  }
  body[data-nav-version="v2"] .archive-media:hover,
  body[data-nav-version="v2"] .archive-media:focus-within,
  body[data-nav-version="v2"] .archive-gallery figure:hover > .archive-image,
  body[data-nav-version="v2"] .archive-gallery figure:focus-within > .archive-image { transform: scale(1.01); }
  body[data-nav-version="v2"] .archive-media--phone { width: 100%; height: auto; aspect-ratio: 16 / 10; display: grid; place-items: center; background: #f0ceff; }
  body[data-nav-version="v2"] .archive-media--phone video { display: block; }
  body[data-nav-version="v2"] .archive-lead-v2 { display: none; }
  body[data-nav-version="v2"] .archive-video--copilot { width: auto; height: 90%; max-height: 94%; aspect-ratio: 331 / 691; border-radius: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
  body[data-nav-version="v2"] .archive-media--wide { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] .archive-media--tcg { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #edf19e; }
  body[data-nav-version="v2"] .archive-media--tcg .archive-tcg-v1 { display: none; }
  body[data-nav-version="v2"] .archive-media--tcg .archive-video--tcg { display: block; width: auto; height: 90%; aspect-ratio: 331 / 691; border-radius: 23px; object-fit: cover; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
body[data-nav-version="v2"] .archive-pair figure .archive-image { aspect-ratio: 16 / 10; }
  body[data-nav-version="v2"] .archive-section .archive-gallery > figure:only-child { grid-column: 1 / -1; }
  body[data-nav-version="v2"] .archive-section .archive-gallery > figure:only-child .archive-media--wide { width: 100%; height: auto; aspect-ratio: 1059 / 556; }
}

.about-page { padding-top: 138px; }
.about { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding-bottom: 160px; }
.about__header { display: flex; flex-direction: column; gap: 24px; }
.about__header p { width: min(768px, 100%); color: var(--muted); font-size: 16px; line-height: 23.2px; }
.about__profile { width: min(408px, 100%); height: auto; margin: 0; overflow: hidden; border-radius: 10px; }
.about__profile img { display: block; width: 100%; height: auto; }
.about__connect { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.about__connect > p { width: 100%; }
.about__connect > p { font-size: 16px; line-height: 19px; }
.about__links { display: flex; align-items: flex-start; gap: 4px; }
.about__links a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 16px; line-height: 19px; }
.about__links a:first-child { padding-left: 0; }
.about__links a:hover, .about__links a:focus-visible { color: #000; }
.dog-game-trigger { margin: 0; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.dog-game-trigger:focus-visible { outline: 2px solid #276ac9; outline-offset: 3px; border-radius: 2px; }
.dog-game { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; min-height: 100dvh; padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); background: #fff; }
.dog-game[hidden] { display: none; }
.dog-game__topbar { display: flex; justify-content: flex-end; min-height: 40px; }
.dog-game__close { width: 40px; height: 40px; padding: 0; border: 0; color: #111827; background: transparent; font-size: 30px; font-weight: 300; line-height: 1; cursor: pointer; }
.dog-game__close:focus-visible, .dog-game__slot:focus-visible { outline: 2px solid #276ac9; outline-offset: 3px; }
.dog-game__header { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; width: min(370px, 100%); margin: 16px auto 0; }
.dog-game__score { margin: 0; font-size: 32px; line-height: 38px; font-weight: 510; letter-spacing: -.03em; }
.dog-game__header h2 { margin: 0; color: var(--muted); font-size: 16px; line-height: 19px; font-weight: 400; }
.dog-game__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: min(370px, 100%); margin: 56px auto 0; color: var(--muted); font-size: 16px; line-height: 23px; }
.dog-game__intro[hidden] { display: none; }
.dog-game__intro p { margin: 0; }
.dog-game__start { padding: 10px 16px; border: 1px solid rgba(0,0,0,.16); border-radius: 999px; color: #000; background: #fff; font: inherit; font-size: 16px; cursor: pointer; }
.dog-game__start:focus-visible { outline: 2px solid #276ac9; outline-offset: 3px; }
.dog-game__board { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; width: min(370px, 100%); margin: 32px auto 0; }
.dog-game__board[hidden] { display: none; }
.dog-game__slot { display: block; width: 100%; aspect-ratio: 80 / 76.75; padding: 0; border: 0; border-radius: 10px; background: transparent url("assets/dog-photo.png") center / contain no-repeat; cursor: pointer; animation: dog-game-pop 240ms cubic-bezier(.16,1,.3,1) both; }
.dog-game__slot[hidden] { display: block; visibility: hidden; pointer-events: none; }
.dog-game__slot.is-pulsing { animation: dog-game-pulse var(--pulse-duration, 1100ms) ease-in-out infinite alternate; }
.dog-game__slot.is-barking { animation: dog-game-bark 150ms ease-in-out infinite alternate; }
.dog-game__message { position: fixed; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; padding: 24px; background: rgba(255,255,255,.94); text-align: center; font-size: 24px; line-height: 29px; }
.dog-game__message[hidden] { display: none; }
.dog-game__message span { color: var(--muted); font-size: 16px; line-height: 19px; }
.dog-game__restart { margin-top: 12px; padding: 10px 16px; border: 1px solid rgba(0,0,0,.16); border-radius: 999px; color: #000; background: #fff; font: inherit; font-size: 16px; cursor: pointer; }
@keyframes dog-game-pop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes dog-game-pulse { from { transform: scale(1); } to { transform: scale(1.055); } }
@keyframes dog-game-bark { from { transform: rotate(-2deg) scale(1); } to { transform: rotate(2deg) scale(1.08); } }
@media (min-width: 641px) { .dog-game { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); } .dog-game__board { max-width: 600px; } }
@media (min-width: 1101px) {
  body[data-nav-version="v2"].about-page { padding-top: 125px; }
  body[data-nav-version="v2"] .about { width: min(1063px, calc(100% - 377px)); margin-left: max(297px, calc(50% - 423px)); margin-right: 80px; padding-bottom: 160px; }
  body[data-nav-version="v2"] .about__header h1 { font-size: 32px; line-height: 38px; }
  body[data-nav-version="v2"] .about__header { gap: 24px; }
}

.work-page { padding-top: 96px; }
.work-page .work { position: relative; padding-top: 0; padding-bottom: 160px; }
.work__intro { display: flex; width: 100%; min-height: calc(100svh - 128px); margin: 0 0 96px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.work__intro h1, .work__section-heading h2 { margin: 0; color: var(--ink); font-size: 32px; font-weight: 510; letter-spacing: 0; line-height: 38px; }
.work__intro > h1 { color: #1d1d1f; font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -.025em; text-align: center; }
.work__hero-model { display: flex; width: 100%; min-height: 0; margin: 32px 0 0; flex: 1; flex-direction: column; justify-content: center; }
.work__hero-model-stage { position: relative; width: 100%; min-height: 320px; max-height: none; flex: 1; aspect-ratio: auto; overflow: hidden; border-radius: 16px; background: #fff; }
#work-hero-model-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#work-hero-model-canvas canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#work-hero-model-canvas canvas:active { cursor: grabbing; }
.work__hero-model-status { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; }
.work__hero-model-status[hidden] { display: none; }
#work-hero-model-canvas:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 16px; }
.work__hero-model-hint { margin-top: 10px; color: var(--muted); font-size: 12px !important; line-height: 16px !important; text-align: center; }
.work__intro p { margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 23.2px; }
.work__intro p + p { margin-top: 0; }
.work__intro > p { width: min(900px, 100%); margin: 16px auto 0; color: #6e6e73; font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.35; letter-spacing: -.005em; text-align: center; }
.work__intro > p + p { margin-top: 0; }
.work__section-heading { box-sizing: border-box; min-height: 97px; margin: 0 0 24px; padding-top: 32px; border-top: 1px solid var(--rule); }
.work__section-heading p { margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 274; line-height: 19px; }
.work-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 24px; }
.work-project { min-width: 0; min-height: 0; }
.work-project__link { display: flex; height: auto; min-height: 0; flex-direction: column; color: var(--ink); text-decoration: none; }
.work-project__media { width: 100%; min-height: 0; flex: none; aspect-ratio: 16 / 10; border-radius: 16px; background: #f5f5f7; }
.work-project__media img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }
.work-project h2 { margin-top: 16px; font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 24px; }
.work-project p { margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 274; line-height: 19px; }
.about .work-history { width: min(768px, 100%); margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--rule); }
.about .work-history > h2 { font-size: 24px; font-weight: 510; letter-spacing: -.02em; line-height: 29px; }
.about .work-history__list { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 24px; }
.about .work-history__list article { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.about .work-history h3 { font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 22px; }
.about .work-history p { margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 19px; }
@media (max-width: 640px) {
  .work__intro { min-height: calc(100svh - 128px); margin-bottom: 64px; justify-content: center; }
  .work__intro > h1 { font-size: 40px; }
  .work__intro > p { font-size: 14px; }
  .work__hero-model { margin-top: 20px; flex: none; }
  .work__hero-model-stage { height: min(40svh, 380px); min-height: 260px; max-height: none; flex: none; aspect-ratio: auto; }
  .work__section-heading { min-height: 0; padding-top: 24px; }
  .work-projects { height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 40px; }
  .work-project__link { height: auto; }
  .work-project__media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .about .work-history { margin-top: 72px; padding-top: 24px; }
  .about .work-history__list { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
}
@media (min-width: 1101px) {
  body[data-nav-version="v2"].work-page { padding-top: 129px; }
  body[data-nav-version="v2"].work-page .work { width: min(1063px, calc(100% - 377px)); margin-left: max(297px, calc(50% - 423px)); margin-right: 80px; padding-bottom: 160px; }
  body[data-nav-version="v2"].work-page .work__intro { min-height: calc(100svh - 161px); }
}
