@import url("assets/tokens.css");/* v1.6.5 Niaur-only bilingual type pilot. These are the official, unmodified
   IBM WOFF2 builds recorded in FONT-PROVENANCE-v1.6.5.md. Latin is resolved
   first; Traditional Chinese falls through to the matching TC family. */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans TC";
  src: url("assets/fonts/IBMPlexSansTC-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans TC";
  src: url("assets/fonts/IBMPlexSansTC-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans TC";
  src: url("assets/fonts/IBMPlexSansTC-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Niaur-local editorial palette: cooler and greyer than the canonical
     Family moss. Shared tokens and the other family sites stay unchanged. */
  --family-carbon: #151c1e;
  --family-mineral: #f1f3f2;
  --family-slate: #5d686b;
  --family-moss: #2d4a4d;
  --page-bg: var(--family-mineral);
  --page-ink: var(--family-carbon);
  --page-muted: var(--family-slate);
  --page-surface: #f6f8f7;
  --page-feature: #dbe4e3;
  --niaur-accent-light: #b3c9ca;

  /* Pilot stays local to Niaur. OtherMode and AITabTower retain the shared
     native stacks until the bilingual trial receives visual sign-off. */
  --font-family-primary: "IBM Plex Sans", "IBM Plex Sans TC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --font-family-utility: "IBM Plex Mono", ui-monospace, "SFMono-Regular",
    Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --niaur-tracking-display: -0.025em;
  --niaur-tracking-heading: -0.018em;
  --niaur-tracking-compact: -0.012em;
  --niaur-tracking-label: 0.055em;
  --niaur-tracking-data: 0.075em;
  --niaur-size-hero: clamp(4.1rem, 6.15vw, 7.1rem);
  --niaur-size-section: clamp(3rem, 4.25vw, 4.75rem);
  --niaur-size-feature: clamp(2.6rem, 3.75vw, 3.9rem);
  --niaur-size-work: clamp(2.2rem, 3vw, 3.4rem);
  --niaur-size-statement: clamp(2.8rem, 3.75vw, 4.25rem);
  --niaur-leading-hero: 1.03;
  --niaur-leading-section: 1.05;
  --niaur-leading-feature: 1.04;
  --niaur-leading-work: 1.08;
  --type-heading-tracking: var(--niaur-tracking-heading);
  --type-heading-weight: 500;
  --type-lede-size: clamp(1.0625rem, 0.45vw + 0.98rem, 1.3rem);
  --type-lede-leading: 1.62;

  /* v1.5 editorial rhythm: every large interval is a multiple of 12px. */
  --niaur-rhythm: 0.75rem;
  --niaur-space-2: calc(var(--niaur-rhythm) * 2);
  --niaur-space-3: calc(var(--niaur-rhythm) * 3);
  --niaur-space-4: calc(var(--niaur-rhythm) * 4);
  --niaur-space-6: calc(var(--niaur-rhythm) * 6);
  --niaur-space-8: calc(var(--niaur-rhythm) * 8);
  --niaur-space-12: calc(var(--niaur-rhythm) * 12);
  --niaur-section-space: clamp(var(--niaur-space-8), 7vw, 8rem);
  --niaur-head-gap: clamp(var(--niaur-space-6), 5vw, var(--niaur-space-8));
  --niaur-feature-tail-gap: clamp(var(--niaur-space-8), 7vw, var(--niaur-space-12));
  --niaur-feature-mat: #101719;

  /* v1.6.2 optical alignment: the grid boxes already share a top edge, but
     system-font cap lines sit at different heights inside those boxes. */
  --niaur-optical-display-lift: -0.3125rem;
  --niaur-optical-lede-lift: -0.375rem;
  --niaur-optical-reading-lift: -0.1875rem;
  --niaur-optical-pill-lift: -0.35rem;
}

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--page-ink);
  background: var(--page-bg);
  font-family: var(--font-family-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-leading);
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

p,
li,
dd {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  font-kerning: normal;
  text-wrap: balance;
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--family-moss);
  outline-offset: 4px;
}

/* The Niaur pilot uses one public Sans voice. Mono remains an evidence accent,
   and the former clipped registration cross is removed from this site only. */
.family-shell {
  letter-spacing: 0.065em;
}

.family-shell::after {
  display: none;
}

.family-parent {
  font-weight: 600;
}

.family-drawer__eyebrow,
.family-drawer__group-title,
.family-drawer__here {
  font-family: var(--font-family-primary);
  font-weight: 500;
  letter-spacing: var(--niaur-tracking-label);
}

.family-drawer__meta {
  font-family: var(--font-family-utility);
  letter-spacing: var(--niaur-tracking-data);
}

::selection {
  color: var(--family-mineral);
  background: var(--family-moss);
}

.page-section {
  padding: var(--niaur-section-space) var(--page-pad);
  border-bottom: 1px solid var(--family-line);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  align-items: start;
  margin-bottom: var(--niaur-head-gap);
}

.section-head > .section-index {
  grid-column: 1 / span 2;
}

.section-head > .section-title {
  grid-column: 3 / span 6;
  transform: translateY(var(--niaur-optical-display-lift));
}

.section-head > .section-intro {
  grid-column: 9 / span 4;
  transform: translateY(var(--niaur-optical-lede-lift));
}

.section-index__number,
.section-index__label {
  display: inline;
}

.section-index__number {
  color: var(--family-moss);
}

.section-index,
.status,
.record-field dt,
.hero-fact dt,
.footer-meta,
.work-card__top,
.record-banner {
  font-family: var(--font-family-utility);
  font-size: var(--type-label-size);
  font-variant-numeric: tabular-nums;
  font-weight: var(--type-label-weight);
  letter-spacing: var(--niaur-tracking-data);
  line-height: var(--type-label-leading);
  text-transform: uppercase;
}

.eyebrow,
.meta-label,
.filter-label,
.featured-slot {
  font-family: var(--font-family-primary);
  font-size: var(--type-label-size);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: var(--niaur-tracking-label);
  line-height: var(--type-label-leading);
  text-transform: uppercase;
}

.section-index,
.work-card__top,
.company-intro .section-index {
  margin: 0;
}

.section-index,
.eyebrow,
.meta-label,
.filter-label,
.hero-fact dt,
.record-field dt,
.footer-meta {
  color: var(--page-muted);
}

.section-title {
  max-width: 12ch;
  margin: 0;
  font-size: var(--niaur-size-section);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--type-heading-tracking);
  line-height: var(--niaur-leading-section);
  text-wrap: balance;
}

.section-intro {
  max-width: 30rem;
  margin: 0;
  color: var(--page-muted);
  font-size: clamp(1.0625rem, 0.5vw + 0.98rem, 1.25rem);
  line-height: 1.66;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: calc(100svh - var(--shell-height));
  padding: clamp(3rem, 6vw, 7rem) var(--page-pad) 2.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--family-line-strong);
}

.hero::before,
html[data-view="record"] body::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--family-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--family-line) 1px, transparent 1px);
  background-size: calc((100vw - 2 * var(--page-pad)) / 12) 100%, 100% 4.5rem;
  background-position: var(--page-pad) 0;
  content: "";
  opacity: 0.08;
}

.hero__rail {
  position: relative;
  z-index: 1;
  grid-column: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.hero__rail p {
  margin: 0;
}

.hero__main {
  position: relative;
  z-index: 1;
  grid-column: 3 / -1;
  display: flex;
  flex-direction: column;
}

.hero h1 {
  max-width: 17ch;
  margin: 0;
  font-size: var(--niaur-size-hero);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--niaur-tracking-display);
  line-height: var(--niaur-leading-hero);
  text-wrap: balance;
  transform: translateY(var(--niaur-optical-display-lift));
}

.hero-line {
  display: block;
}

.hero-accent {
  position: relative;
  display: inline-block;
  color: var(--hero-accent-fallback, var(--family-carbon));
  font-weight: 600;
}

.hero-accent--does {
  --hero-accent-fallback: #2f5153;
  --hero-accent-gradient: linear-gradient(105deg, #29494a 0%, #34585a 100%);
}

.hero-accent--helps {
  --hero-accent-fallback: #3a6062;
  --hero-accent-gradient: linear-gradient(105deg, #34575a 0%, #41676a 100%);
}

.hero-accent--matters {
  --hero-accent-fallback: #315369;
  --hero-accent-gradient: linear-gradient(105deg, #2b4659 0%, #385c73 100%);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-accent {
    background-image: var(--hero-accent-gradient);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-accent::selection {
    color: var(--family-mineral);
    -webkit-text-fill-color: var(--family-mineral);
  }

  @keyframes niaur-accent-reink {
    0% {
      clip-path: inset(0 0 0 0);
    }

    30% {
      clip-path: inset(0 0 0 100%);
    }

    31% {
      clip-path: inset(0 100% 0 0);
    }

    100% {
      clip-path: inset(0 0 0 0);
    }
  }

  @media (hover: hover) and (pointer: fine) {
    .hero-accent:hover {
      background-image: linear-gradient(var(--family-carbon), var(--family-carbon));
    }

    .hero-accent:hover::after {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background-image: var(--hero-accent-gradient);
      background-repeat: no-repeat;
      background-position: left center;
      background-size: 100% 100%;
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      content: attr(data-accent);
      white-space: nowrap;
      -webkit-text-fill-color: transparent;
      animation: niaur-accent-reink 520ms cubic-bezier(0.65, 0, 0.35, 1) both;
    }
  }
}

.hero__lede {
  max-width: 43rem;
  margin: clamp(2.25rem, 3.5vw, 3.5rem) 0 0 auto;
  color: var(--page-muted);
  font-size: var(--type-lede-size);
  letter-spacing: 0;
  line-height: var(--type-lede-leading);
}

.hero__orientation {
  display: grid;
  /* The main rail occupies ten of the visible twelve hero columns. Keep every
     card divider on that same public grid instead of cutting those ten columns
     into three fractional tracks. */
  grid-template-columns: repeat(10, minmax(0, 1fr));
  margin-top: auto;
  padding-top: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--family-line-strong);
}

.hero-path {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-column: span 3;
  grid-template-rows: 1fr minmax(4.25rem, auto);
  min-height: 7.5rem;
  padding: 1.1rem 1.35rem 1.3rem;
  overflow: hidden;
  border-right: 1px solid var(--family-line);
  color: inherit;
  text-decoration: none;
}

.hero-path::before,
.hero-path::after {
  position: absolute;
  pointer-events: none;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-micro) var(--ease-standard);
}

.hero-path::before {
  z-index: 0;
  inset: 0;
  background: color-mix(in srgb, var(--family-moss) 8%, transparent);
}

.hero-path::after {
  right: 1.35rem;
  bottom: 0;
  left: 1.35rem;
  height: 2px;
  background: var(--family-moss);
}

.hero-path:last-child {
  grid-column: span 4;
  border-right: 0;
}

.hero-path:hover,
.hero-path:focus-visible {
  color: var(--page-ink);
}

.hero-path:hover::before,
.hero-path:hover::after,
.hero-path:focus-visible::before,
.hero-path:focus-visible::after {
  transform: scaleX(1);
}

.hero-path > strong,
.hero-path > span {
  position: relative;
  z-index: 1;
}

.hero-path strong {
  align-self: end;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-heading);
  line-height: 1.12;
}

.hero-path span {
  align-self: start;
  max-width: 25ch;
  color: var(--page-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.record-banner {
  display: none;
  grid-column: 3 / -1;
  align-self: start;
  width: max-content;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.65rem;
  color: var(--family-mineral);
  background: var(--family-moss);
}

html[data-view="record"] .record-banner {
  display: inline-block;
}

/* Research */
.research-section {
  background: #e1e7d5;
}

.research-feature {
  --niaur-research-inset-y: clamp(1.5rem, 3vw, 3rem);

  display: grid;
  grid-template-columns: minmax(18rem, 0.86fr) minmax(0, 1.14fr);
  border: 1px solid var(--family-line-strong);
  background: var(--page-surface);
}

.research-feature__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 34rem;
  padding: var(--niaur-research-inset-y) clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem);
  border-right: 1px solid var(--family-line-strong);
}

.research-feature h3 {
  max-width: 10.5ch;
  margin: auto 0 1.75rem;
  font-family: var(--font-family-primary);
  font-size: var(--niaur-size-feature);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-display);
  line-height: var(--niaur-leading-feature);
  text-wrap: balance;
}

.research-feature__description {
  max-width: 34rem;
  margin: 0;
  color: var(--page-muted);
  font-size: clamp(1.0625rem, 0.45vw + 1rem, 1.22rem);
  line-height: 1.66;
}

.research-questions {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  min-width: 0;
}

.research-questions article {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(6rem, 0.25fr) minmax(11rem, 0.65fr) minmax(14rem, 1fr);
  gap: clamp(1rem, 2vw, 2.25rem);
  align-items: start;
  padding: var(--niaur-research-inset-y) clamp(1.5rem, 3vw, 3rem);
  border-bottom: 1px solid var(--family-line-strong);
  transition: background var(--motion-micro) ease;
}

.research-questions article:last-child {
  border-bottom: 0;
}

.research-questions article:hover {
  background: color-mix(in srgb, var(--family-moss) 7%, transparent);
}

.research-questions__index {
  color: var(--page-muted);
  font: var(--type-label-size)/var(--type-label-leading) var(--font-family-mono);
  letter-spacing: var(--type-label-tracking);
}

.research-questions h4,
.research-questions p {
  margin: 0;
}

.research-questions h4 {
  font-size: clamp(1.25rem, 1.7vw, 1.875rem);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-heading);
  line-height: 1.16;
  transform: translateY(var(--niaur-optical-reading-lift));
}

.research-questions p {
  max-width: 38ch;
  color: var(--page-muted);
  font-size: 0.96875rem;
  line-height: 1.64;
  transform: translateY(var(--niaur-optical-reading-lift));
}

.research-feature > .record-panel {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 clamp(2rem, 5vw, 5rem) 2rem;
}

html[data-view="record"] .research-feature .record-panel {
  display: block;
}

html[data-view="record"] .research-feature__description {
  display: none;
}

/* Current work */
.current-work {
  background: var(--page-surface);
}

.public-work {
  background: var(--page-bg);
}

/* A framed module already owns the end of its section. The following chapter
   owns the 96–144px transition, so adjacent section paddings never stack. */
.research-section,
.current-work,
.public-work {
  padding-bottom: 0;
  border-bottom: 0;
}

.current-work,
.public-work,
.work-index {
  padding-top: var(--niaur-feature-tail-gap);
}

.featured {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  border: 1px solid var(--family-line-strong);
  overflow: hidden;
}

.featured__copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 4;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--page-surface);
  container-type: inline-size;
}

.featured > .project-shot {
  grid-column: 5 / span 8;
  grid-row: 1;
}

.featured--reverse .featured__copy {
  grid-column: 9 / span 4;
  grid-row: 1;
}

.featured--reverse .project-shot {
  grid-column: 1 / span 8;
  grid-row: 1;
}

.featured-slot {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--page-muted);
}

.featured h3 {
  max-width: 10ch;
  margin: var(--niaur-space-8) 0 0;
  font-family: var(--font-family-primary);
  font-size: var(--niaur-size-feature); /* fallback for engines without container queries */
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-display);
  line-height: var(--niaur-leading-feature);
  text-wrap: balance;
}

/* Type follows the column, not the viewport: "OtherMode" and "LucidField" must fit their own container. */
@supports (font-size: 1cqw) {
  .featured h3 { font-size: clamp(2.6rem, 9cqw, 3.9rem); }
}

.featured__description {
  max-width: 34rem;
  margin: var(--niaur-space-2) 0 0;
  color: var(--page-muted);
  font-size: clamp(1.0625rem, 0.45vw + 1rem, 1.22rem);
  line-height: 1.66;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 31rem);
  margin-top: auto;
  padding: 1rem 0;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  transition: transform var(--motion-micro) ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translate(0.2rem, -0.2rem);
}

.featured__cta {
  position: relative;
  isolation: isolate;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  margin-top: var(--niaur-space-4);
  padding: 1rem 0;
  border-top: 0;
  border-bottom: 1px solid currentColor;
  font-size: 1rem;
}

.featured__cta::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: var(--family-moss);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-standard);
}

.featured__cta::after {
  content: none;
}

.featured__cta-label,
.featured__cta-arrow {
  position: relative;
  z-index: 1;
}

.featured__cta-label {
  display: flex;
  align-items: center;
  min-width: 0;
}

.featured__cta-arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: inherit;
  background: transparent;
  font-size: 1.2rem;
}

.featured__cta-arrow > span {
  transition: transform 220ms var(--ease-standard);
}

.featured__cta:hover::before,
.featured__cta:focus-visible::before {
  transform: scaleX(1);
}

.featured__cta:hover .featured__cta-arrow > span,
.featured__cta:focus-visible .featured__cta-arrow > span {
  transform: translate(0.18rem, -0.18rem);
}

.project-shot {
  display: flex;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--family-mineral);
  background: #080b0a;
  flex-direction: column;
}

.project-shot__open {
  position: relative;
  display: block;
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: #080b0a;
  cursor: zoom-in;
}

.project-shot__open::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent);
  content: "";
}

.project-shot__open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-layer) var(--ease-standard), opacity var(--motion-micro) ease;
}

.project-shot__open:hover img,
.project-shot__open:focus-visible img {
  opacity: 0.94;
  transform: scale(1.018);
}

.project-shot__zoom {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(242, 243, 239, 0.55);
  color: var(--family-mineral);
  background: rgba(8, 11, 10, 0.74);
  font: var(--type-label-size)/1.2 var(--font-family-mono);
  letter-spacing: var(--type-label-tracking);
  text-transform: uppercase;
}

.project-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(242, 243, 239, 0.26);
  color: color-mix(in srgb, var(--family-mineral) 68%, transparent);
  font: var(--type-label-size)/var(--type-label-leading) var(--font-family-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.project-shot figcaption a {
  color: var(--family-mineral);
  font-weight: 600;
  text-underline-offset: 0.25rem;
}

.project-shot--featured .project-shot__open {
  min-height: 32rem;
}

.record-panel {
  display: none;
  margin-top: 2.5rem;
  border-top: 1px solid var(--family-line-strong);
}

html[data-view="record"] .featured .record-panel,
html[data-view="record"] .work-card .record-panel {
  display: block;
}

.featured .record-panel {
  margin-top: var(--niaur-space-4);
}

html[data-view="record"] .featured__description,
html[data-view="record"] .work-card__site,
html[data-view="record"] .featured .text-link {
  display: none;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.record-field {
  min-width: 0;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--family-line);
}

.record-field dt,
.record-field dd {
  margin: 0;
}

.record-field dd {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.record-pending {
  color: var(--family-vermilion);
}

/* Study / Build / Explain */
.orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--family-line-strong);
  border-bottom: 1px solid var(--family-line-strong);
}

.orientation-card {
  display: flex;
  flex-direction: column;
  min-height: 34rem;
  padding: clamp(1.6rem, 3.3vw, 3.4rem);
  border-right: 1px solid var(--family-line-strong);
}

.orientation-card:last-child {
  border-right: 0;
}

.orientation-card__verb {
  margin: 0;
  font-size: clamp(2.55rem, 4.5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: var(--niaur-tracking-display);
  line-height: 1.03;
}

.orientation-card__zh {
  margin: 0.55rem 0 0;
  color: var(--page-muted);
  font-size: 0.95rem;
}

.orientation-card p {
  max-width: 28rem;
  margin: auto 0 2rem;
  color: var(--page-muted);
}

.orientation-card ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--family-line);
  list-style: none;
}

.orientation-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--family-line);
  font-size: 0.88rem;
}

.orientation-card li span:last-child {
  color: var(--page-muted);
  font-family: var(--font-family-mono);
  font-size: var(--type-label-size);
  text-transform: uppercase;
}

/* Work index */
.work-index {
  background: var(--family-carbon);
  color: var(--family-mineral);
}

/* The last work-row rule is the actual Work / Record boundary. The section no
   longer continues as an unowned dark band after that rule. */
.page-section.work-index {
  padding-bottom: 0;
  border-bottom: 0;
}

.work-index .section-index,
.work-index .section-intro,
.work-index .filter-label {
  color: color-mix(in srgb, var(--family-mineral) 62%, transparent);
}

.work-index .section-head {
  margin-bottom: var(--niaur-space-4);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(242, 243, 239, 0.22);
  border-bottom: 1px solid rgba(242, 243, 239, 0.22);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-button,
.status-select {
  min-height: 2.75rem;
  border: 1px solid rgba(242, 243, 239, 0.25);
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.filter-button {
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
}

.filter-button[aria-pressed="true"],
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--family-carbon);
  background: var(--family-mineral);
}

.status-select {
  margin-left: auto;
  padding: 0.55rem 2.2rem 0.55rem 0.8rem;
}

.status-select option {
  color: var(--family-carbon);
}

.result-count {
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--family-mineral) 62%, transparent);
  font: var(--type-label-size)/var(--type-label-leading) var(--font-family-mono);
  text-transform: uppercase;
}

.work-list {
  border-top: 1px solid rgba(242, 243, 239, 0.28);
}

.work-card {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: 0;
  min-height: 13rem;
  padding: var(--niaur-space-3) 0;
  border-bottom: 1px solid rgba(242, 243, 239, 0.28);
}

.work-card[hidden] {
  display: none;
}

.work-card__top {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  display: grid;
  align-content: start;
  gap: calc(var(--niaur-rhythm) / 2);
  color: color-mix(in srgb, var(--family-mineral) 58%, transparent);
}

.work-card__top span {
  display: block;
}

.work-card__body,
.work-card__side {
  display: contents;
}

.work-card h3 {
  grid-column: 3 / span 6;
  grid-row: 1;
  margin: 0;
  font-size: var(--niaur-size-work);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-heading);
  line-height: var(--niaur-leading-work);
  transform: translateY(var(--niaur-optical-display-lift));
}

.work-card__site {
  grid-column: 3 / span 6;
  grid-row: 2;
  max-width: 35rem;
  margin: var(--niaur-space-2) 0 0;
  color: color-mix(in srgb, var(--family-mineral) 68%, transparent);
  font-size: 1rem;
  line-height: 1.62;
}

.work-card__side {
  text-align: right;
}

.status {
  display: inline-block;
  grid-column: 9 / span 4;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(242, 243, 239, 0.32);
  color: color-mix(in srgb, var(--family-mineral) 74%, transparent);
  transform: translateY(var(--niaur-optical-pill-lift));
}

.work-card__side a {
  grid-column: 9 / span 4;
  grid-row: 2;
  align-self: start;
  justify-self: end;
  margin-top: var(--niaur-space-2);
  font-weight: 600;
  line-height: 1.58;
  text-underline-offset: 0.3rem;
}

.work-card__media {
  grid-column: 3 / -1;
  margin-top: 0.75rem;
  border: 1px solid rgba(242, 243, 239, 0.28);
}

.work-card .record-panel {
  grid-column: 3 / -1;
  margin-top: 0.2rem;
  border-color: rgba(242, 243, 239, 0.3);
}

.work-card .record-field {
  border-color: rgba(242, 243, 239, 0.18);
}

.work-card .record-field dt {
  color: color-mix(in srgb, var(--family-mineral) 55%, transparent);
}

/* Guide */







/* Image preview */
.image-lightbox {
  width: min(94vw, 100rem);
  max-width: none;
  max-height: 94svh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 243, 239, 0.38);
  color: var(--family-mineral);
  background: #080b0a;
}

.image-lightbox::backdrop {
  background: rgba(5, 8, 7, 0.84);
  backdrop-filter: blur(8px);
}

.image-lightbox__frame {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: 94svh;
}

.image-lightbox__head {
  display: flex;
  align-items: first baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(242, 243, 239, 0.25);
  font: var(--type-label-size)/var(--type-label-leading) var(--font-family-mono);
  letter-spacing: var(--type-label-tracking);
  text-transform: uppercase;
}

/* Niaur-only optical corrections for the shared All Work drawer. The shared
   shell assets remain unchanged for OtherMode and AITabTower. */
.family-drawer__group-title {
  margin-top: 0.9rem;
}

.family-drawer__name {
  display: inline-block;
  transform: translateY(var(--niaur-optical-reading-lift));
}

.image-lightbox__head p {
  margin: 0;
}

.image-lightbox__head button {
  padding: 0.4rem 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
}

.image-lightbox img {
  display: block;
  width: 100%;
  max-height: 80svh;
  object-fit: contain;
  background: #050706;
}

.image-lightbox__caption {
  margin: 0;
  padding: 0.8rem 1rem;
  color: color-mix(in srgb, var(--family-mineral) 68%, transparent);
  font: var(--type-label-size)/var(--type-label-leading) var(--font-family-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Record / About / Footer */
.open-record {
  color: var(--family-mineral);
  background: var(--family-moss);
}

.open-record .section-index,
.open-record .section-intro {
  color: color-mix(in srgb, var(--family-mineral) 68%, transparent);
}

.work-index .section-index__number,
.open-record .section-index__number {
  color: var(--niaur-accent-light);
}

.record-ledger {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid rgba(242, 243, 239, 0.42);
  border-bottom: 1px solid rgba(242, 243, 239, 0.42);
}

.ledger-item {
  min-height: 18rem;
  padding: var(--niaur-space-2);
  border-right: 1px solid rgba(242, 243, 239, 0.32);
}

.ledger-item:nth-child(1) { grid-column: span 2; }
.ledger-item:nth-child(2) { grid-column: span 3; }
.ledger-item:nth-child(3) { grid-column: span 3; }
.ledger-item:nth-child(4) { grid-column: span 4; }

.ledger-item:last-child {
  border-right: 0;
}

.ledger-item h3 {
  margin: 4rem 0 1rem;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-heading);
  line-height: 1.12;
}

.ledger-item p {
  color: color-mix(in srgb, var(--family-mineral) 70%, transparent);
  font-size: 0.96875rem;
  line-height: 1.64;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  row-gap: var(--niaur-space-4);
  align-items: start;
}

.company-intro {
  display: contents;
}

.company-intro .section-index {
  grid-column: 1 / span 2;
  transform: translateY(1.2rem);
}

.company-statement {
  grid-column: 3 / span 6;
  max-width: 15ch;
  margin: 0;
  font-size: var(--niaur-size-statement);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-heading);
  line-height: 1.06;
  text-wrap: balance;
  transform: translateY(calc(1.2rem + var(--niaur-optical-display-lift)));
}

.company-facts {
  grid-column: 9 / span 4;
  margin: 0;
  border-top: 1px solid var(--family-line-strong);
}

.hero-fact {
  display: grid;
  grid-template-columns: minmax(9rem, 0.48fr) 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--family-line);
}

.hero-fact dd {
  max-width: var(--measure-compact);
  line-height: 1.55;
  transform: translateY(var(--niaur-optical-reading-lift));
}

.hero-fact dt,
.hero-fact dd {
  margin: 0;
}

/* Restrained entrance motion: content remains visible when JavaScript is unavailable. */
html.motion-ready [data-reveal] {
  opacity: 0.86;
  transform: translateY(0.7rem);
  transition:
    opacity 300ms var(--ease-standard),
    transform 420ms var(--ease-standard);
}

html.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  row-gap: clamp(var(--niaur-space-6), 6vw, var(--niaur-space-8));
  min-height: 24rem;
  padding: clamp(var(--niaur-space-6), 6vw, var(--niaur-space-8)) var(--page-pad) var(--niaur-space-3);
  color: var(--family-mineral);
  background: var(--family-carbon);
}

.footer-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  padding-bottom: var(--niaur-space-3);
  border-bottom: 1px solid rgba(242, 243, 239, 0.28);
}

.footer-contact p {
  grid-column: 1 / span 8;
  max-width: 58ch;
  margin: 0;
  color: color-mix(in srgb, var(--family-mineral) 58%, transparent);
  font: 500 var(--type-label-size)/1.6 var(--font-family-primary);
  letter-spacing: var(--niaur-tracking-label);
  text-transform: uppercase;
}

.footer-contact a {
  grid-column: 9 / span 4;
  display: inline-flex;
  gap: 0.8rem;
  justify-self: end;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: var(--niaur-tracking-compact);
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a span {
  transition: transform var(--motion-micro) ease;
}

.footer-contact a:hover span,
.footer-contact a:focus-visible span {
  transform: translate(0.15rem, -0.15rem);
}

.footer-mark {
  grid-column: 1 / span 4;
  align-self: start;
  font-size: clamp(3.2rem, 5.4vw, 6.25rem);
  font-weight: var(--type-heading-weight);
  letter-spacing: var(--niaur-tracking-display);
  line-height: 0.96;
  transform: translateY(var(--niaur-optical-display-lift));
}

.footer-note {
  grid-column: 5 / span 4;
  max-width: 32rem;
  margin: 0;
  color: color-mix(in srgb, var(--family-mineral) 65%, transparent);
  line-height: 1.64;
  transform: translateY(var(--niaur-optical-reading-lift));
}

.footer-meta {
  grid-column: 9 / span 4;
  align-self: start;
  color: color-mix(in srgb, var(--family-mineral) 65%, transparent);
  text-align: right;
}

html[data-view="record"] body {
  background: var(--family-trace);
}

html[data-view="record"] body::before {
  position: fixed;
  z-index: 0;
  opacity: 0.14;
}

html[data-view="record"] main,
html[data-view="record"] .site-footer {
  position: relative;
  z-index: 1;
}

html[lang="zh-Hant"] body {
  line-height: 1.72;
}

html[lang="zh-Hant"] .hero h1,
html[lang="zh-Hant"] .section-title,
html[lang="zh-Hant"] .research-feature h3,
html[lang="zh-Hant"] .research-questions h4,
html[lang="zh-Hant"] .work-card h3,
html[lang="zh-Hant"] .hero-path strong,
html[lang="zh-Hant"] .ledger-item h3,
html[lang="zh-Hant"] .company-statement {
  letter-spacing: 0;
  line-height: 1.16;
  word-break: normal;
}

html[lang="zh-Hant"] .hero h1 {
  max-width: 14em;
  font-size: clamp(3.55rem, 5.45vw, 6.1rem);
}

html[lang="zh-Hant"] .section-title {
  max-width: 10em;
  font-size: clamp(2.85rem, 4vw, 4.3rem);
}

html[lang="zh-Hant"] .section-intro,
html[lang="zh-Hant"] .hero__lede,
html[lang="zh-Hant"] .research-feature__description,
html[lang="zh-Hant"] .featured__description {
  max-width: var(--measure-cjk);
  line-height: 1.72;
}

@media (max-width: 70rem) {
  .section-index__label {
    display: block;
    margin-top: calc(var(--niaur-rhythm) / 3);
  }

  .hero__rail {
    grid-column: 1 / span 3;
  }

  .hero__main,
  .record-banner {
    grid-column: 4 / -1;
  }

  .hero__orientation {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }

  .hero-path,
  .hero-path:last-child {
    grid-column: span 3;
  }

  .featured,
  .research-feature {
    grid-template-columns: 1fr;
  }

  .featured__copy {
    min-height: 30rem;
  }

  .research-feature__copy {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 24rem;
  }

  .research-feature__copy > .meta-label {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .research-feature h3 {
    grid-column: 1 / span 5;
    grid-row: 2 / 4;
    align-self: start;
    margin: var(--niaur-space-6) 0 0;
  }

  .research-feature__description {
    grid-column: 7 / span 6;
    grid-row: 2;
    align-self: start;
    margin-top: var(--niaur-space-6);
  }

  .research-feature__copy > .text-link {
    grid-column: 7 / span 6;
    grid-row: 3;
    align-self: end;
    width: 100%;
    margin-top: var(--niaur-space-4);
  }

  .featured__copy,
  .research-feature__copy {
    border-right: 0;
    border-bottom: 1px solid var(--family-line-strong);
  }

  .featured__copy,
  .featured > .project-shot,
  .featured--reverse .featured__copy,
  .featured--reverse .project-shot {
    grid-column: 1;
    grid-row: auto;
  }

  .project-shot--featured .project-shot__open {
    min-height: 0;
  }

  .orientation-grid {
    grid-template-columns: 1fr;
  }

  .orientation-card {
    min-height: 24rem;
    border-right: 0;
    border-bottom: 1px solid var(--family-line-strong);
  }

  .orientation-card:last-child {
    border-bottom: 0;
  }

  .record-ledger {
    grid-template-columns: repeat(2, 1fr);
  }

  .ledger-item:nth-child(n) {
    grid-column: auto;
  }

  .ledger-item:nth-child(2) {
    border-right: 0;
  }

  .ledger-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(242, 243, 239, 0.32);
  }
}

@media (max-width: 48rem) {
  .page-section {
    padding: 4.5rem 1.25rem;
  }

  .research-section,
  .current-work,
  .public-work {
    padding-bottom: 0;
  }

  .current-work,
  .public-work,
  .work-index {
    padding-top: var(--niaur-space-8);
  }

  .section-head {
    grid-template-columns: 1fr;
    row-gap: var(--niaur-space-2);
  }

  .section-head > .section-index,
  .section-head > .section-title,
  .section-head > .section-intro {
    grid-column: 1;
  }

  .section-index__label {
    display: inline;
    margin-top: 0;
  }

  .section-head > .section-title,
  .section-head > .section-intro,
  .hero h1,
  .research-questions h4,
  .research-questions p,
  .work-card h3,
  .status,
  .company-intro .section-index,
  .company-statement,
  .hero-fact dd,
  .footer-mark,
  .footer-note {
    transform: none;
  }

  .section-intro {
    margin-top: var(--niaur-rhythm);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3.25rem 1.25rem 1rem;
  }

  .hero::before {
    background-size: calc((100vw - 2.5rem) / 4) 100%, 100% 4.5rem;
    background-position: 1.25rem 0;
  }

  .hero__rail,
  .hero__main,
  .record-banner {
    grid-column: 1;
  }

  .hero__rail {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 12.5vw, 4.35rem);
  }

  .section-title,
  .company-statement {
    font-size: clamp(2.6rem, 10.8vw, 3.65rem);
  }

  .hero__lede {
    margin-left: 0;
  }

  .hero__orientation {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .hero-path,
  .hero-path:last-child,
  .hero-path + .hero-path {
    grid-column: auto;
    grid-template-rows: auto auto;
    min-height: 6.5rem;
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--family-line);
  }

  .hero-path::after {
    right: 0;
    left: 0;
  }

  .featured h3,
  .research-feature h3 {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
    overflow-wrap: normal;
  }

  .featured h3 {
    margin-top: var(--niaur-space-6);
  }

  .featured__copy,
  .research-feature__copy {
    min-height: 27rem;
    font-size: inherit;
    overflow-wrap: normal;
  }

  .research-feature__copy {
    display: flex;
    flex-direction: column;
  }

  .research-feature__copy > .meta-label,
  .research-feature h3,
  .research-feature__description,
  .research-feature__copy > .text-link {
    grid-column: auto;
    grid-row: auto;
  }

  .research-feature h3 {
    align-self: auto;
    margin: auto 0 1.75rem;
  }

  .research-feature__description {
    align-self: auto;
    margin: 0;
  }

  .research-feature__copy > .text-link {
    align-self: auto;
    width: min(100%, 31rem);
    margin-top: auto;
  }

  .research-questions article {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem;
  }

  .research-feature > .record-panel {
    padding-inline: 1.75rem;
  }

  .featured-slot {
    flex-direction: column;
    gap: 0.4rem;
  }

  .record-grid {
    grid-template-columns: 1fr;
  }

  .orientation-card {
    padding: 2rem 0;
  }

  .filters {
    align-items: stretch;
  }

  .filter-group {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 auto;
  }

  .status-select {
    width: 100%;
    margin-left: 0;
  }

  .work-card {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: var(--niaur-rhythm);
  }

  .work-card__top,
  .work-card h3,
  .work-card__site,
  .status,
  .work-card__side a {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .work-card__top {
    margin-bottom: var(--niaur-rhythm);
  }

  .work-card__site,
  .work-card__side a {
    margin-top: var(--niaur-rhythm);
  }

  .status {
    margin-top: var(--niaur-rhythm);
  }

  .work-card .record-panel {
    grid-column: 1;
  }

  .work-card__media {
    grid-column: 1;
  }

  .project-shot figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100svh - 1rem);
  }

  .image-lightbox__frame {
    max-height: calc(100svh - 1rem);
  }

  .image-lightbox img {
    max-height: 72svh;
  }

  
  .record-ledger {
    grid-template-columns: 1fr;
  }

  .ledger-item,
  .ledger-item:nth-child(2) {
    min-height: 13rem;
    border-right: 0;
    border-bottom: 1px solid rgba(242, 243, 239, 0.32);
  }

  .company-grid {
    grid-template-columns: 1fr;
    row-gap: var(--niaur-space-3);
  }

  .company-intro .section-index,
  .company-statement,
  .company-facts {
    grid-column: 1;
  }

  .hero-fact {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    row-gap: var(--niaur-space-6);
    min-height: auto;
    padding-inline: 1.25rem;
  }

  .footer-contact,
  .footer-mark,
  .footer-note,
  .footer-meta {
    grid-column: 1;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: var(--niaur-space-2);
  }

  .footer-contact p,
  .footer-contact a {
    grid-column: 1;
    justify-self: start;
  }

  .footer-contact a {
    font-size: clamp(1.2rem, 5.8vw, 1.65rem);
  }

  .footer-meta {
    text-align: left;
  }

  .hero-line {
    display: block;
  }

  html[lang="zh-Hant"] .hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 11.8vw, 4.05rem);
    line-height: 1.16;
  }
}

@media (max-width: 42rem) {
  .family-drawer__group-title {
    margin-top: 0;
  }

  .family-drawer__name {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-path::before,
  .hero-path::after,
  .featured__cta::before,
  .featured__cta-arrow,
  .featured__cta-arrow > span {
    transition: none;
  }

  .hero-accent:hover {
    background-image: var(--hero-accent-gradient);
  }

  .hero-accent:hover::after {
    content: none;
    animation: none;
  }
}

/* v1.1: hero self-record (record view flips the hero itself) */
html[data-view="record"] .hero-record { display: block; margin-top: 2.25rem; border-top: 1px solid var(--family-line-strong); }
html[data-view="record"] .hero__lede,
html[data-view="record"] .hero__orientation { display: none; }

/* v1.1: dated ledger entries */
.ledger-entry { margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--family-line); font-size: 0.88rem; }
.ledger-entry time { display: block; margin-bottom: 0.35rem; font-family: var(--font-family-mono); font-size: var(--type-label-size); letter-spacing: var(--type-label-tracking); }

/* v1.6: framed capture art direction. LucidField is mounted on a carbon mat
   and remains complete; OtherMode keeps its full source at the current ratio,
   ready for an editorial crop later without changing the lightbox source. */
.project-shot--whole { align-self: stretch; width: 100%; }
.project-shot--whole .project-shot__open { min-height: 0; }
.project-shot--mat { background: var(--niaur-feature-mat); }
.project-shot--mat .project-shot__open {
  flex: 0 0 auto;
  background: var(--niaur-feature-mat);
}
.project-shot--mat .project-shot__open::after { content: none; }
.project-shot--mat .project-shot__open img { object-fit: contain; }
.project-shot--mat figcaption { margin-top: auto; }
.project-shot--mat .project-shot__open:hover img,
.project-shot--mat .project-shot__open:focus-visible img {
  opacity: 0.98;
  transform: none;
}
.project-shot--editorial .project-shot__open { flex: 0 0 auto; }
.project-shot--editorial .project-shot__open img { object-position: center top; }
.project-shot--strip .project-shot__open::after { content: none; }
