@font-face {
  font-family: "Ysabeau Office";
  src: url("/_next/static/media/ysabeau-office-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ovo";
  src: url("/fonts/ovo-regular.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Keep top and left spacing balanced, with a little extra room below the cards. */
:root {
  --ink: #32404F;
  --muted-ink: #5F6B79;
  --tertiary-ink: #9AA3AD;
  --bottom-extra: 0px;
  --card-height: calc(clamp(220px, 50svh, 560px) - var(--bottom-extra));
  --caption-height: 36px;
  --composition-height: calc(225px + var(--card-height) + var(--caption-height) + var(--bottom-extra));
  --outer-space: max(24px, calc((100svh - var(--composition-height)) / 2));
  --sidebar-x: var(--outer-space);
  --content-x: calc(var(--sidebar-x) + clamp(144px, 16.7361vw, 241px));
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { background: #fff; color: var(--ink); font-family: "Ovo", Georgia, serif; font-optical-sizing: auto; font-size: 16px; font-weight: 400; }
a { color: inherit; text-decoration: none; }
a:focus-visible, .work-rail:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.monogram {
  position: absolute;
  left: var(--sidebar-x);
  top: var(--outer-space);
  display: block;
  width: 38px;
  height: 38px;
  background: url('/content/brand/akshay-seal.svg?v=2') center / contain no-repeat;
}
.monogram span { display: none; }
.navigation {
  position: absolute;
  top: calc(var(--outer-space) + 225px + var(--card-height) / 2 - 36px);
  left: var(--sidebar-x);
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 16px;
}
.navigation a { color: var(--tertiary-ink); }
.navigation a[aria-current], .navigation a:hover { color: var(--ink); }
.introduction {
  position: absolute;
  top: calc(var(--outer-space) + 10px);
  left: var(--content-x);
  width: min(535px, calc(100vw - var(--content-x) - 24px));
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0;
}
.introduction p { margin: 0 0 16px; }
.work-rail {
  position: absolute;
  top: calc(var(--outer-space) + 225px);
  left: 0;
  width: 100%;
  padding-left: var(--content-x);
  z-index: 2;
  pointer-events: none;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.work-rail::-webkit-scrollbar { display: none; }
.work-card { pointer-events: auto; flex: 0 0 calc(var(--card-height) * 364 / 350); display: flex; flex-direction: column; gap: 12px; }
.work-card__visual { display: block; height: var(--card-height); background: #efefef; overflow: hidden; position: relative; box-sizing: border-box; border: 1px solid rgba(0, 0, 0, .05); }
.work-card__visual > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__visual--reader { background: #fafafa url('/content/reader/thumbnail.webp?v=2') center / contain no-repeat; }
.work-card__visual--prodo { background: #fafafa url('/content/prodo/thumbnail.webp') center / cover no-repeat; }
.work-card__visual--snapsight-frame { background: #fafafa url('/content/work/snapsight-frame-18.webp') center / cover no-repeat; }
.work-card__visual--ai-script { background: #fafafa url('/content/work/ai-script-generation-frame-20.webp') center / cover no-repeat; }
.work-card__visual--analytics { background: #fafafa url('/content/work/analytics-frame-21.webp') center / cover no-repeat; }
.work-card__visual--design-system { background: #fafafa url('/content/work/design-system-frame-22.webp') center / cover no-repeat; }
.work-card__visual--water-tracker { background: #fafafa url('/content/work/water-tracker/thumbnail-frame-19-v2.webp') center / cover no-repeat; }
@media (max-width: 767px) and (scripting: enabled) {
  .defer-offscreen-covers .work-card:not(:first-child, .is-cover-visible) .work-card__visual { background-image: none; }
}
.work-card__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 24px; font-size: 16px; line-height: 17px; }
.work-card__caption time { flex-shrink: 0; }
.work-card--nda { cursor: default; }
.nda-message { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; color: #111; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .2s ease; }
.nda-message > [aria-hidden] { font-size: 0; width: 22px; height: 24px; background: currentColor; clip-path: polygon(18% 40%,18% 24%,25% 10%,40% 3%,60% 3%,75% 10%,82% 24%,82% 40%,100% 40%,100% 100%,0 100%,0 40%,30% 40%,30% 25%,36% 17%,64% 17%,70% 25%,70% 40%); }
.nda-message strong { font-size: 18px; font-weight: 500; }
.nda-message > span:last-child { font-size: 14px; color: #9AA3AD; }
.nda-message { color: #32404F; inset: -2px; }
.nda-message .nda-lock { display: block; position: static; width: 24px; height: 24px; flex: none; margin-bottom: 4px; }
.work-card--nda:is(:hover,:focus-within) .work-card__visual { border-color: transparent; }
.work-card--nda:is(:hover,:focus-visible,:focus-within) .nda-message { opacity: 1; }
.work-card--nda .work-card__visual--design-system .nda-description { font-size: clamp(12px, 1.8vw, 20px); }
.social-icon { display: block; width: 16px !important; height: 16px !important; flex: 0 0 16px; background-color: rgba(50, 64, 79, .55) !important; opacity: 1 !important; filter: none !important; mask: var(--social-icon) center / contain no-repeat; -webkit-mask: var(--social-icon) center / contain no-repeat; }
/* Optical sizing: the filled utility marks and Behance have more internal whitespace. */
body.home-redesign :is(.introduction__socials, .about-socials) > :nth-child(-n+3) .social-icon { transform: scale(1.16); }
body.home-redesign :is(.introduction__socials, .about-socials) > :is(a,button):is(:hover,:focus-visible) .social-icon { background-color: #000 !important; }
body.home-redesign :is(.introduction__socials, .about-socials) > :is(a,button) { color: rgba(50, 64, 79, .55) !important; opacity: 1 !important; filter: none !important; }
body.home-redesign :is(.introduction__socials, .about-socials) .social-icon { background: rgba(50, 64, 79, .55) !important; opacity: 1 !important; filter: none !important; mask-mode: alpha; -webkit-mask-source-type: alpha; }
body.home-redesign :is(.introduction__socials, .about-socials) > :is(a,button):is(:hover,:focus-visible) { color: #000 !important; }
.nda-message { gap: 5px; }
.introduction__socials > :is(a,button), .about-socials > :is(a,button) { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 20px; padding: 0; border: 0; background: transparent; color: #9AA3AD; font: 16px Arial,sans-serif; cursor: pointer; text-decoration: none; }
.introduction__socials > :is(a,button):hover, .about-socials > :is(a,button):hover { color: #000; }
:is(.introduction__socials, .about-socials) button[data-copied] { position: relative; }
:is(.introduction__socials, .about-socials) button .email-icon-frame { display: grid; place-items: center; width: 16px; height: 16px; opacity: 1; }
:is(.introduction__socials, .about-socials) button[data-copied]::after {
  content: attr(data-copied);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.nda-message strong { margin: 0; line-height: 1.2; }
.nda-message > span:last-child { line-height: 1.25; }
.nda-message .nda-lock { margin-bottom: 16px; }
.work-card--nda .nda-message { align-items: flex-end; justify-content: flex-end; padding: 22px; gap: 14px; color: #fff; background: rgba(0,0,0,.08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); text-align: right; text-shadow: 0 0 8px rgba(0,0,0,.16); }
.work-card--nda .nda-message .nda-description { position: absolute; top: 22px; left: 22px; right: 22px; text-align: left; font-family: 'TASA Orbiter', sans-serif; font-size: clamp(14px, 2vw, 22px); line-height: 1.364; letter-spacing: -.32px; color: #fff; }
.work-card--nda .nda-message strong { font-size: 16px; font-weight: 400; color: #fff; }
.work-card--nda .nda-message .nda-lock { filter: brightness(0) invert(1); margin: 0; width: 22px; height: 22px; }
.work-card--nda .nda-message { color: #32404F; background: rgba(255,255,255,.55); text-shadow: none; }
.work-card--nda .nda-message .nda-description,
.work-card--nda .nda-message strong { color: #32404F; }
.work-card--nda .nda-message .nda-lock { filter: none; }
.nda-message > [hidden] { display: none !important; }
@media (max-width: 400px) { .work-card--nda .nda-message { padding: 14px; gap: 8px; } .work-card--nda .nda-message .nda-description { top: 14px; left: 14px; right: 14px; font-size: 13px; line-height: 1.3; } .work-card--nda .nda-message strong { font-size: 11px; } }
@media (hover: none) {
  .work-card--nda:is(:hover,:focus-visible,:focus-within) .nda-message { opacity: 0; }
  .work-card--nda.is-nda-open .nda-message { opacity: 1; }
}
.work-card:focus-visible { outline-offset: -3px; }
@media (max-width: 700px) {
  :root { --sidebar-x: 24px; --content-x: 24px; }
  .monogram { top: 24px; }
  .navigation { top: 37px; left: auto; right: 24px; flex-direction: row; gap: 18px; font-size: 14px; }
  .introduction { top: 124px; width: calc(100% - 48px); line-height: 21px; }
  .desktop-break { display: none; }
  .work-rail { top: auto; bottom: calc(24px + var(--bottom-extra)); }
  .work-card { flex-basis: min(364px, 80vw); }
  .work-card__visual { height: min(350px, 77vw); }
}

/* Experiments shares the Work shell; only the main content changes. */
[hidden] { display: none !important; }
.experiment-grid {
  position: absolute;
  top: 0;
  left: var(--content-x);
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 28px 16px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: auto;
  scrollbar-color: #5A6672 transparent;
  scrollbar-gutter: stable;
  padding: var(--outer-space) var(--outer-space) calc(var(--outer-space) + 64px) 2px;
  overscroll-behavior: contain;
}
.experiment-card,
.art-placeholder { position: relative; }
.experiment-card { min-width: 0; }
.experiment-card::before,
.art-placeholder::before {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  min-width: 28px;
  padding: 4px 6px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .92);
  color: #1f2d3d;
  font-family: 'TASA Orbiter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .02em;
  text-align: center;
  pointer-events: none;
}
.experiment-card::before,
.art-placeholder::before { content: attr(data-item-number); }
.experiment-card::before,
.art-placeholder::before { display: none; }
.art-placeholder { aspect-ratio: 1; background: #efefef; border: 1px solid #f3f3f3; }
@media (max-width: 700px) {
  .navigation { gap: 12px; font-size: 13px; right: 16px; }
}
.experiment-column { display: flex; min-width: 0; flex-direction: column; gap: 28px; }
.experiment-filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.experiment-filters button { appearance: none; border: 0; border-radius: 0; background: transparent; padding: 2px 4px; color: #8b8f93; font-family: 'TASA Orbiter', Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px; cursor: pointer; }
.experiment-filters button span { margin-left: 3px; color: #a9adb0; }
.experiment-filters button { --filter-background: #fff3ce; --filter-ink: #806335; transition: background-color 150ms ease, color 150ms ease; }
.experiment-filters button:nth-child(2) { --filter-background: #e8efff; --filter-ink: #52678e; }
.experiment-filters button:nth-child(3) { --filter-background: #f3e8fa; --filter-ink: #805f91; }
.experiment-filters button:nth-child(4) { --filter-background: #e4f2eb; --filter-ink: #527563; }
.experiment-filters button:nth-child(5) { --filter-background: #fce8e1; --filter-ink: #966951; }
.experiment-filters button:is(:hover, :focus-visible, [aria-pressed="true"]) { background: var(--filter-background); color: var(--filter-ink); }
.experiment-filters button:is(:hover, :focus-visible, [aria-pressed="true"]) span { color: var(--filter-ink); opacity: .75; }
.photo-grid .experiment-visual { display: block; }
.photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.photo-column { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.art-grid { align-items: start; }
.art-column { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.photo-grid .experiment-visual { aspect-ratio: auto; background: transparent; }
.photo-grid .experiment-visual img { width: 100%; height: auto; object-fit: contain; }
.experiment-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
.experiment-grid::-webkit-scrollbar-track { background: transparent; }
.experiment-grid::-webkit-scrollbar-thumb { background: #5A6672; border-radius: 999px; border: 3px solid #fff; }
.experiment-visual { overflow: hidden; background: #efefef; border: 1px solid #f3f3f3; }
.experiment-visual :is(img,video) { display: block; width: 100%; height: auto; object-fit: contain; }
.experiment-card .work-card__caption { margin-top: 10px; justify-content: center; text-align: center; }
.experiment-copy { display: block; }
.experiment-copy strong { font-size: 14px; font-weight: 400; line-height: 20px; }
.experiments-view { background: #fff; }
.about-view {
  position: absolute;
  top: 0;
  left: var(--sidebar-x);
  width: calc(100vw - var(--sidebar-x));
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: auto;
  scrollbar-color: #5A6672 transparent;
  scrollbar-gutter: stable;
  padding: calc(var(--outer-space) + 10px) var(--outer-space) 72px 0;
  overscroll-behavior: contain;
}
.about-view__eyebrow { margin: 0 0 28px; color: var(--muted-ink); font-size: 16px; line-height: 24px; }
.about-profile { display: block; }
.about-profile__seal { display: block; width: 42px; height: 42px; object-fit: contain; }
.about-profile__content { min-width: 0; }
.about-view__copy { display: grid; gap: 24px; max-width: 600px; }
.about-view__copy p { margin: 0; font-size: 15px; line-height: 1.55; }
.about-companies { display: grid; gap: 6px; margin-top: 38px; font-size: 15px; line-height: 20px; }
.about-companies > div { display: flex; align-items: center; gap: 8px; }
.about-companies a { color: var(--ink); }
.about-companies a:hover { text-decoration: underline; text-underline-offset: 3px; }
.about-companies :is(time, span) { color: var(--tertiary-ink); margin-left: 2px; }
.company-mark { display: inline-grid; width: 18px; height: 18px; place-items: center; border-radius: 5px; color: #fff; font: 700 11px/1 Arial, sans-serif; }
.company-mark--gevme { background: linear-gradient(135deg, #3521c9, #7b61ff); }
.company-mark--hexnode { background: linear-gradient(135deg, #ff9d00, #f0522d); }
.about-socials { display: flex; align-items: center; gap: 16px; margin-top: 38px; }
.about-socials span { display: block; width: 16px; height: 16px; opacity: .68; }
.about-socials img { display: block; width: 16px; height: 16px; }
.about-socials span:hover,
.about-socials span:focus-within { opacity: 1; }
.about-socials span:hover img,
.about-socials span:focus-within img,
.introduction__socials span:hover img,
.introduction__socials span:focus-within img { filter: brightness(0); }
.about-view::-webkit-scrollbar { display: none; width: 0; height: 0; }
.about-view::-webkit-scrollbar-track { background: transparent; }
.about-view::-webkit-scrollbar-thumb { background: #5A6672; border-radius: 999px; border: 3px solid #fff; }
.about-sections { display: grid; gap: 72px; margin-top: 72px; margin-left: 0; max-width: 100%; }
.about-section { display: grid; gap: 18px; }
.about-section h2 { margin: 0; color: var(--muted-ink); font-size: 16px; line-height: 24px; font-weight: 400; }
.about-grid { display: grid; margin: 0; border-top: 1px solid #e8e8e8; border-left: 1px solid #e8e8e8; }
.about-grid > div { display: flex; align-items: flex-end; min-height: 0; aspect-ratio: 1; padding: 16px; border-right: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; color: var(--muted-ink); font-size: 14px; line-height: 1.35; }
.about-grid--stack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-grid > .device-cell { position: relative; padding: 0; align-items: center; justify-content: center; overflow: hidden; }
.device-cell img { position: absolute; display: block; object-fit: contain; }
.device-cell .device-phone { height: 54%; width: auto; max-width: 70%; }
.device-cell .device-laptop { width: 80%; height: auto; }
.device-cell .device-iems { width: 72%; height: auto; }
.device-cell .device-ipad { width: 58%; }
.device-cell[data-device="Moondrop Chu 2"] .device-iems { width: 64%; }
.product-device { position: relative; background-image: none !important; }
.product-device.product-image { align-items: center; justify-content: center; overflow: hidden; }
.product-device.product-image::before { display: none; }
.product-device.product-image img { display: block; width: 72%; height: 72%; object-fit: contain; transition: transform 280ms ease; }
.product-device.product-image:is(:hover,:focus-visible) img { transform: translateY(-12px); }
.about-grid--products [aria-label="Google Pixel 2 XL"]::before,
.about-grid--products [aria-label="Pixel 2"]::before { transform: scale(1.16); transform-origin: center; }
.about-grid--products [aria-label="iPhone X"] img,
.about-grid--products [aria-label="Asus Zenfone Max Pro M1"] img,
.about-grid--products [aria-label="Asus Zenfone 9"] img,
.about-grid--products [aria-label="Vivo X200 Pro Mini"] img,
.about-grid--products [aria-label="Oppo Find X9 Ultra"] img,
.about-grid--products [aria-label="Sony Xperia X Ultra"] img,
.about-grid--products [aria-label="Nothing 4a"] img,
.about-grid--products [aria-label="Nothing Phone 3"] img { width: 58%; height: 58%; }
.about-grid--products [aria-label="Google Pixel"] img,
.about-grid--products [aria-label="Samsung Galaxy S7 Edge"] img { width: 78%; height: 78%; }
.about-grid--products [aria-label="Oppo Find X9 Ultra"] img { width: 78%; height: 78%; }
.product-device::before { content: ""; position: absolute; inset: 14%; background-size: 200% 200%; background-repeat: no-repeat; background-position: inherit; }
.sprite-a::before { background-image: url('/content/devices/products-a.webp'); }
.sprite-b::before { background-image: url('/content/devices/products-b.webp'); }
.sprite-a { background-image: url('/content/devices/products-a.webp'); }
.sprite-b { background-image: url('/content/devices/products-b.webp'); }
.pos-1 { background-position: 0 0; }
.pos-2 { background-position: 100% 0; }
.pos-3 { background-position: 0 100%; }
.pos-4 { background-position: 100% 100%; }
.device-cell img, .product-device::before { transition: transform 280ms ease; }
.device-cell::after, .product-device::after { position: absolute; bottom: 12%; left: 8%; right: 8%; text-align: center; color: var(--ink); font-size: 14px; line-height: 20px; opacity: 0; transform: translateY(6px); transition: opacity 280ms ease, transform 280ms ease; pointer-events: none; }
.device-cell::after { content: attr(data-device); }
.product-device::after { content: attr(aria-label); }
.device-cell:is(:hover,:focus-visible) img, .product-device:is(:hover,:focus-visible)::before { transform: translateY(-12px); }
.device-cell:is(:hover,:focus-visible)::after, .product-device:is(:hover,:focus-visible)::after { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .device-cell img, .product-device::before, .device-cell::after, .product-device::after { transition: none; } }
.about-grid--products, .about-grid--homes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-grid--posters { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.about-grid--music { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-grid > .poster-cell { position: relative; align-items: center; justify-content: center; aspect-ratio: 1; padding: 0; }
.poster-cell img { display: block; width: auto; height: 54%; max-width: 60%; object-fit: contain; border-radius: 3px; box-shadow: 0 4px 12px #00000014; transition: transform 280ms ease; }
.poster-caption { position: absolute; bottom: 6%; left: 6%; right: 6%; text-align: center; font-size: 13px; line-height: 1.3; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity 280ms ease, transform 280ms ease; pointer-events: none; }
.poster-cell:is(:hover,:focus-visible) img { transform: translateY(-8px); }
.poster-cell:is(:hover,:focus-visible) .poster-caption { opacity: 1; transform: translateY(0); }
.about-grid > .music-cell { position: relative; align-items: center; justify-content: center; aspect-ratio: 1; padding: 0; overflow: hidden; }
.music-cell img { display: block; width: 52%; height: 52%; object-fit: contain; box-shadow: 0 4px 12px #00000014; transition: transform 280ms ease; }
.music-caption { position: absolute; bottom: 6%; left: 6%; right: 6%; text-align: center; font-size: 13px; line-height: 1.3; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity 280ms ease, transform 280ms ease; pointer-events: none; }
.music-cell:is(:hover,:focus-visible) img { transform: translateY(-8px) scale(1.03); }
.music-cell:is(:hover,:focus-visible) .music-caption { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .poster-cell img, .poster-caption { transition: none; }
}
@media (max-width:700px) {
  .poster-caption { font-size: 9px; line-height: 1.1; }
}
@media(max-width:700px) {
  .experiment-grid {
    top: 0;
    left: 24px;
    right: 0;
    bottom: 0;
    gap: 24px 12px;
    padding: 124px 24px 64px 0;
  }
  .experiment-column { gap: 24px; }
  .about-view { top: 0; inset-inline: 24px; bottom: 0; width: auto; padding: 124px 0 64px; scrollbar-gutter: auto; }
  .about-profile { grid-template-columns: 1fr; gap: 28px; }
  .about-profile__seal { width: 38px; height: 38px; }
  .about-sections { margin-left: 0; max-width: none; }
  .about-view__copy p { font-size: 15px; line-height: 1.55; }
  .about-sections { gap: 56px; margin-top: 56px; }
  .about-grid > div { padding: 12px; font-size: 12px; }
  .music-caption { font-size: 10px; line-height: 1.15; }
}
@media (width < 500px) {
  .about-grid--stack,
  .about-grid--products,
  .about-grid--homes,
  .about-grid--posters,
  .about-grid--music { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid :is(.device-cell, .product-device)::after,
  .about-grid :is(.poster-caption, .music-caption) { display: none; }
}
@media (max-width: 400px) {
  .about-grid > div { padding: 10px; }
}

/* Layered perspective hover, with a stable outer link for pointer tracking. */
.work-card { perspective: 1000px; position: relative; }
.work-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 450ms cubic-bezier(.22,1,.36,1);
}
.work-card__visual, .work-card__body > .work-card__caption {
  transition: transform 450ms cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Extra paint room keeps the lifted edges and shadow inside the scroll rail. */
  .work-rail { padding: 32px 24px 32px var(--content-x); margin-top: -32px; }
  .work-card.is-tilting { z-index: 1; }
  .work-card.is-tilting .work-card__body { transition-duration: 140ms; }
  .work-card.is-tilting .work-card__visual { transform: translateZ(28px); }
  .work-card.is-tilting .work-card__caption { transform: translateZ(45px); }
}
@media (max-width: 700px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .work-rail { margin-top: 0; margin-bottom: -32px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-card__body, .work-card__visual, .work-card__body > .work-card__caption { transition: none; transform: none; }
}

/* Lead title. */
body:not(.project-page) .introduction > p:first-child {
  font-family: "Ovo", Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.4 !important;
  -webkit-text-stroke: 0;
}

.navigation {
  z-index: 20;
  opacity: 1;
  filter: blur(0);
  transition: opacity 280ms ease, filter 360ms ease;
}
.navigation.is-covered {
  opacity: 0;
  filter: blur(7px);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .navigation { transition: none; }
}

/* Homepage introduction reading width. */
body:not(.project-page) .introduction {
  width: min(600px, calc(100vw - var(--content-x) - 24px));
}

/* MP-03 frame 562:3402: centered content column with top-aligned rail navigation. */
@media (min-width: 701px) {
  :root {
    --sidebar-x: 31px;
    --content-x: max(155px, calc((100vw - 922px) / 2));
    --outer-space: max(40px, calc((100svh - 752px) / 2));
    /* 200px intro band + 12px caption gap + 28px caption; equal outer margins. */
    --card-height: min(500px, max(220px, calc(100svh - 2 * var(--outer-space) - 240px)));
  }
  body:not(.project-page) .introduction { top: var(--outer-space); width: min(922px, calc(100vw - var(--content-x) - 31px)); }
  body:not(.project-page) .introduction p:not(:first-child) { width: min(600px, 100%); font-size: 16px; line-height: 26.4px; letter-spacing: -.32px; color: var(--ink); }
  body:not(.project-page) .introduction p { margin-bottom: 14px; }
  body:not(.project-page) .work-rail { top: calc(var(--outer-space) + 200px); gap: 24px; }
  body:not(.project-page) .work-card { flex-basis: calc(var(--card-height) * 1.04); }
  /* Keep the homepage navigation aligned to the same top edge as the work-card rail. */
  body:not(.project-page) .navigation { top: calc(var(--outer-space) + 200px); gap: 4px; line-height: 28px; }

}

html, body, .experiment-grid, .about-view, .work-rail { scrollbar-width: none !important; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .experiment-grid::-webkit-scrollbar, .about-view::-webkit-scrollbar, .work-rail::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
