/* Liquid-glass-inspired control layer. Content remains opaque and readable. */
:root {
  --glass-surface: rgba(31, 37, 33, .9);
  --glass-edge: rgba(255, 255, 255, .24);
  --glass-shadow: 0 12px 32px #0002, inset 0 1px 0 #ffffff38;
  --ease-ui: cubic-bezier(.23, 1, .32, 1);
}
html { scroll-padding-top: 86px; scroll-behavior: auto; }
button, a, summary, select { touch-action: manipulation; }
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
/* Hiding must not depend on transforms: the legacy motion-off rule clears them. */
.skip-link { top: -100px; transform: none !important; }
.skip-link:focus { top: 8px; }
.site-header {
  position: sticky;
  top: max(8px, env(safe-area-inset-top));
  width: min(1440px, calc(100% - 24px));
  height: 68px;
  margin: 8px auto 0;
  border: 1px solid #ffffffc7;
  border-radius: 22px;
  background: #f5f6f2;
  box-shadow: 0 8px 30px #0002, inset 0 1px 0 #fff, inset 0 -1px 0 #0000000d;
  z-index: 60;
}
.site-header .header-inner { width: calc(100% - 40px); height: 100%; min-height: 0; gap: 18px; }
.site-header .nav { gap: 6px; }
.site-header .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; color: #252a26; }
.site-header .nav a:hover, .site-header .nav a[aria-current] { background: #18251b0d; text-decoration: none; }
.site-header .brand-signature { width: 126px; height: 54px; }
.site-header .menu-toggle { min-width: 44px; min-height: 44px; border-radius: 50%; }
:root[data-theme="dark"] body.editorial-home { display: flow-root; background: #fff; }
.editorial-home main > section:not(.home-hero):not(.cano-feature) { background: var(--bg); }
.editorial-home .hero { height: calc(100svh - 76px); }
.editorial-home .hero-copy { padding-top: clamp(20px, 3vh, 46px); }
.editorial-home .hero .eyebrow { margin-bottom: clamp(24px, 4vh, 44px); }
.editorial-home .hero h1 { min-height: 1.98em; }
.cycle-title { display: block; }
.cycle-title.is-typing::after {
  content: ""; display: inline-block; width: .045em; height: .76em; margin-left: .06em;
  background: currentColor; animation: work-caret 650ms steps(1, end) infinite;
}
.editorial-home #work-heading { white-space: nowrap; }
.editorial-home .cravate-feature {
  grid-column: auto; margin-top: 0; padding: clamp(72px, 8vw, 128px) var(--space);
  border-top: 0;
}
.editorial-home .cravate-intro { padding-top: 0; }
.ventures-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.ventures-heading h2 { font-size: clamp(44px, 6vw, 88px); font-weight: 400; letter-spacing: -.065em; }
.ventures-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 84px); }
.venture-route { position: relative; display: block; min-height: 250px; padding: 25px 46px 30px 0; border-top: 1px solid var(--line); text-decoration: none; }
.venture-route-label { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.venture-route h3 { margin: 42px 0 10px; font-size: clamp(34px, 4.2vw, 62px); font-weight: 400; letter-spacing: -.06em; line-height: 1.04; }
.venture-route p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.venture-route-arrow { position: absolute; top: 22px; right: 4px; font-size: 24px; transition: transform 220ms var(--ease-ui); }
@media (hover: hover) and (pointer: fine) { .venture-route:hover .venture-route-arrow { transform: translate(4px, -4px); } }
.project-link, .detail-page .footer-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.home-project-note { align-self: center; max-width: 35ch; padding-block: 24px; }
.editorial-work { display: block; }
.featured-project {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center; gap: clamp(28px, 7vw, 110px);
}
.featured-project + .featured-project { margin-top: clamp(64px, 8vw, 116px); padding-top: clamp(64px, 8vw, 116px); border-top: 1px solid var(--line); }
.featured-project .work-card { min-width: 0; }
.featured-project--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.featured-project--reverse .work-card { order: 2; }
.featured-project--reverse .home-project-note { order: 1; }
.featured-project .work-image { aspect-ratio: 4 / 3; }
.featured-project .work-image img { width: 100%; height: 100%; object-fit: contain; }
.featured-project .work-line h3 { font-size: clamp(22px, 2.4vw, 34px); }
.home-project-note h3 { font-size: clamp(32px, 3.8vw,54px); font-weight: 400; line-height: 1.08; margin: 22px 0; }
.home-project-note > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.project-facts { margin: 26px 0; padding: 0; }
.project-facts > div { padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-size: 13px; }
.project-facts dd { margin: 0; font-size: 14px; text-align: right; }
.cano-copy .eyebrow { color: #202320; }
.cano-copy .eyebrow::before { background: #202320; }
.cano-copy h2 { min-height: 1.72em; }
@media (min-width: 761px) {
  .editorial-home .cano-feature {
    height: clamp(760px, calc(100svh - 76px), 940px);
    min-height: 0; padding-block: 0; align-items: stretch;
  }
  .editorial-home .cano-copy { padding-block: clamp(44px, 6vw, 72px); }
  .editorial-home .cano-copy h2 { margin-block: 34px; }
  .editorial-home .cano-note { margin-top: 36px; }
  .editorial-home .cano-screen { height: 100%; max-width: none; min-height: 0; overflow: hidden; }
  .editorial-home .cano-screen video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.work-type-heading { min-height: 1.1em; }
.work-type-heading [data-typewriter].is-typing::after {
  content: ""; display: inline-block; width: 2px; height: .78em; margin-left: .08em;
  background: currentColor; animation: work-caret 650ms steps(1, end) infinite;
}
@keyframes work-caret { 50% { opacity: 0; } }
.work-filters, .demo-choices {
  display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 4px; padding: 5px;
  border: 1px solid var(--glass-edge); border-radius: 26px; background: #1f2521; box-shadow: var(--glass-shadow);
}
.work-filters button, .demo-choices span {
  min-height: 44px; padding: 12px 17px; border: 0; border-radius: 22px; color: #edf0e9;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-ui);
}
.work-filters button[aria-pressed=true], .demo-choices input:checked+span { background: #eff1eb; color: #172019; }
.demo-submit { border-radius: 16px; }
.demo-result:focus:not(:focus-visible) { outline: none; }
.demo-constraints select { font-size: 16px; min-height: 48px; }
.jolly-product-title .text-link { font-size: 14px; }
.jolly-visual { aspect-ratio: 1; border-radius: 4px; }
.jolly-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 18px 0 0; color: var(--ink-2); font-size: 14px; }
.jolly-caption { font-size: 14px; }
.diary-strip img { border-radius: 3px; }
.diary-strip small { font-size: 13px; }

/* Listing archive: one image at a time, with facts and provenance beside it. */
.listing-intro { padding-block: clamp(48px, 7vw, 100px); }
.listing-intro .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 6vw; align-items: end; }
.listing-intro h1 { font-size: clamp(62px, 9vw, 126px); margin: 18px 0 24px; max-width: none; }
.listing-intro .section-intro { max-width: 35ch; font-size: 19px; }
.listing-intro .intro-meta { color: var(--muted); font-size: 14px; line-height: 1.7; }
.listing-jumps { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.listing-jumps a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 6px; }
.archive-product { padding-block: clamp(50px, 7vw, 100px); border-top: 1px solid var(--line); scroll-margin-top: 0; }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.archive-gallery { min-width: 0; margin: 0; }
.archive-gallery noscript a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.archive-media { display: block; aspect-ratio: 1; background: #fff; border-radius: 4px; overflow: hidden; }
.archive-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.archive-controls {
  display: flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; padding: 8px; margin: 20px auto 0;
  background: #1f2521; border: 1px solid var(--glass-edge); border-radius: 24px; box-shadow: var(--glass-shadow);
}
.archive-controls[hidden] { display: none; }
.archive-controls button { width: 58px; height: 58px; padding: 5px; border: 2px solid transparent; border-radius: 15px; background: #ffffff12; cursor: pointer; }
.archive-controls button[aria-pressed=true] { border-color: #f2f4ee; background: #fff; }
.archive-controls img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.gallery-caption { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; margin: 20px 0 0; min-height: 3.2em; }
.gallery-caption a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: start; text-underline-offset: 5px; }
.archive-copy h2 { font-size: clamp(44px, 6vw, 76px); font-weight: 400; margin: 15px 0 20px; }
.listing-title-original { max-width: 44ch; margin: 0 0 36px; color: var(--ink); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.listing-wording { border-top: 1px solid var(--line); }
.listing-wording h3 { margin: 30px 0 16px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.listing-wording ol { margin: 0; padding: 0; list-style: none; counter-reset: listing-point; }
.listing-wording li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.7; counter-increment: listing-point; }
.listing-wording li::before { content: counter(listing-point, decimal-leading-zero); color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.listing-wording > p { max-width: 58ch; margin: 0 0 32px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.archive-copy .product-description { color: var(--ink-2); font-size: 18px; line-height: 1.65; max-width: 42ch; }
.archive-copy .project-facts { margin-top: 32px; }
.archive-copy details { border-top: 1px solid var(--line); padding: 0; margin-top: 18px; }
.archive-copy summary { cursor: pointer; padding: 18px 0; min-height: 56px; font-size: 15px; }
.archive-copy details p, .archive-copy details li { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.archive-copy details ul { padding-left: 20px; }
.archive-copy .record-status { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 20px 0; }
.archive-copy .archive-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.archive-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-underline-offset: 6px; }
.archive-process { padding-block: 60px; border-top: 1px solid var(--line); }
.archive-process h2 { font-size: clamp(32px, 4vw, 54px); max-width: 18ch; font-weight: 400; }
.archive-process > p { max-width: 62ch; line-height: 1.7; color: var(--ink-2); }
.archive-process .launch-sequence { margin: 30px 0; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(247, 249, 245, .9); -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35); }
  .archive-controls, .work-filters, .demo-choices { background: var(--glass-surface); -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25); }
}
@media (min-width: 761px) {
  .site-header .nav { display: flex; position: static; }
  .site-header .header-actions { display: none; }
}
@media (min-width: 761px) and (min-height: 780px) {
  .archive-gallery { position: sticky; top: 110px; }
}
@media (max-width: 760px) {
  html:not(.js-ui) .site-header { height: auto; position: relative; }
  html:not(.js-ui) .site-header .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js-ui) .site-header .nav { display: flex; position: static; flex-wrap: wrap; width: 100%; padding: 0; border: 0; }
  html:not(.js-ui) .site-header .header-actions { display: none; }
  .site-header { height: 60px; top: max(6px, env(safe-area-inset-top)); margin: 6px auto 0; border-radius: 18px; }
  .site-header .header-inner { width: calc(100% - 28px); }
  .site-header .brand-signature { width: 100px; height: 43px; }
  .site-header .header-actions { display: flex; }
  .site-header .nav { display: none; }
  .site-header .nav.is-open { display: grid; position: absolute; top: calc(100% + 12px); left: auto; right: 0; width: min(300px, calc(100vw - 32px)); max-height: calc(100svh - 110px); overflow-y: auto; padding: 12px; border-radius: 22px; background: #f5f6f2; color: #252a26; box-shadow: 0 16px 36px #0003; }
  .site-header .nav a { font-size: 16px; }
  .home-project-note { max-width: none; }
  .listing-intro .wrap, .archive-layout { grid-template-columns: 1fr; }
  .listing-intro .wrap { gap: 24px; }
  .listing-intro h1 { font-size: clamp(58px, 15vw, 90px); }
  .archive-copy h2 { font-size: 48px; }
  .archive-controls button { width: 48px; height: 48px; }
  .archive-controls { gap: 4px; padding: 6px; }
  .editorial-home .hero { height: auto; }
  .editorial-home .cravate-feature { grid-template-columns: 1fr; gap: 28px; padding-block: 64px; }
  .ventures-heading { margin-bottom: 24px; }
  .ventures-pair { grid-template-columns: 1fr; gap: 0; }
  .venture-route { min-height: 190px; }
  .venture-route h3 { margin-top: 30px; }
  .diary-strip a>span { align-items: start; flex-wrap: wrap; gap: 8px; }
}
@media (hover: hover) and (pointer: fine) {
  .archive-controls button:hover { background: #ffffff45; }
  .archive-controls button[aria-pressed=true]:hover { background: #fff; }
  .work-filters button:hover { box-shadow: inset 0 0 0 1px #ffffff55; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header { background: #f5f6f2; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: #252a26; }
  .archive-controls, .work-filters, .demo-choices { background: #1f2521; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: #f1f1ec; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  button:active, .text-link:active { transform: none; }
}
@media (forced-colors: active) {
  .site-header, .archive-controls, .work-filters, .demo-choices { background: Canvas; color: CanvasText; border: 1px solid CanvasText; box-shadow: none; }
  .site-header .nav a { color: LinkText; }
  [aria-pressed=true] { outline: 2px solid Highlight; }
}
/* The three homepage objects lead to working, interactive 3D views. */
.featured-project .work-card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 17px; padding-bottom: 6px; border-bottom: 1px solid currentColor;
  color: var(--ink); font-size: 14px; line-height: 1.25;
}
.featured-project .work-card-cta span { transition: transform 220ms var(--ease-ui); }
@media (hover: hover) and (pointer: fine) {
  .featured-project .work-card:hover .work-card-cta span { transform: translate(4px, -3px); }
}

/* A gallery rather than a matrix: variable image scale, open captions and pace. */
.catalogue-page .work-index { padding-block: clamp(56px, 7vw, 100px) clamp(100px, 12vw, 180px); }
.catalogue-page .work-index .wrap { max-width: 1380px; }
.catalogue-page .work-index h1 { margin-bottom: 20px; }
.catalogue-page .work-index .section-intro { max-width: 42ch; }
.catalogue-page .work-catalogue {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(22px, 3vw, 48px); row-gap: clamp(72px, 8vw, 130px);
  align-items: end;
}
.catalogue-page .catalogue-item { grid-column: span 6; min-width: 0; margin: 0; }
.catalogue-page .catalogue-item:nth-child(4n + 1) { grid-column: span 8; }
.catalogue-page .catalogue-item:nth-child(4n + 2) { grid-column: span 4; }
.catalogue-page .catalogue-item:nth-child(4n + 3) { grid-column: span 5; }
.catalogue-page .catalogue-item:nth-child(4n + 4) { grid-column: span 7; }
.catalogue-page .catalogue-item img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; object-position: center; background: #202522;
  transition: transform 500ms var(--ease-ui), filter 500ms var(--ease-ui);
}
.catalogue-page .catalogue-item:nth-child(4n + 2) img { aspect-ratio: 4 / 5; object-fit: contain; }
.catalogue-page .catalogue-item:nth-child(4n + 3) img { aspect-ratio: 1 / 1; object-fit: contain; }
.catalogue-page .catalogue-item:nth-child(7) img { object-fit: contain; }
.catalogue-page .catalogue-item h2 {
  margin: 18px 0 6px; font-size: clamp(28px, 3.3vw, 48px);
  font-weight: 400; line-height: 1.1; letter-spacing: -.05em;
}
.catalogue-page .catalogue-item p { color: #c5c9c1; font-size: 15px; line-height: 1.5; }
.catalogue-page .catalogue-item::after {
  content: 'Explore project ↗'; display: inline-block; margin-top: 16px;
  padding-bottom: 5px; border-bottom: 1px solid #aeb4a8;
  color: var(--ink); font-size: 13px; transition: border-color 180ms, transform 180ms;
}
.catalogue-page .catalogue-item:nth-child(1)::after,
.catalogue-page .catalogue-item:nth-child(3)::after { content: 'View in 3D ↗'; }
@media (hover: hover) and (pointer: fine) {
  .catalogue-page .catalogue-item:hover img { transform: scale(1.012); filter: brightness(1.08); }
  .catalogue-page .catalogue-item:hover::after { border-color: currentColor; transform: translate(4px, -2px); }
}
.catalogue-page .work-index.has-filter .work-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalogue-page .work-index.has-filter .catalogue-item { grid-column: auto; }
.catalogue-page .work-index.has-filter .catalogue-item img { aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
  .catalogue-page .work-catalogue, .catalogue-page .work-index.has-filter .work-catalogue { grid-template-columns: 1fr; row-gap: 54px; }
  .catalogue-page .catalogue-item, .catalogue-page .catalogue-item:nth-child(n),
  .catalogue-page .work-index.has-filter .catalogue-item { grid-column: 1; }
  .catalogue-page .catalogue-item img, .catalogue-page .catalogue-item:nth-child(n) img,
  .catalogue-page .work-index.has-filter .catalogue-item img { aspect-ratio: 4 / 3; }
  .catalogue-page .catalogue-item h2 { font-size: clamp(26px, 7.5vw, 36px); }
}

/* Cravate borrows its own warm dark palette without changing the rest of the site. */
.editorial-home .cravate-feature {
  --cr-bg: #12100e; --cr-surface: #1b1815; --cr-surface-2: #252119;
  --cr-line: #42392e; --cr-text: #f6f1ea; --cr-dim: #b7a99a; --cr-amber: #ffa62b;
  background: var(--cr-bg) !important; color: var(--cr-text);
  border-top: 1px solid #322d28; gap: clamp(34px, 7vw, 104px);
}
.cravate-feature .eyebrow { color: var(--cr-amber); }
.cravate-feature .eyebrow::before { background: var(--cr-amber); }
.cravate-feature .cravate-intro h2 { font-weight: 700; letter-spacing: -.07em; }
.cravate-feature .cravate-intro h2 span { color: var(--cr-amber); }
.cravate-feature .cravate-intro > p:not(.eyebrow) { color: var(--cr-dim); }
.cravate-feature .cravate-links .text-link { color: var(--cr-amber); border-color: currentColor; }
.cravate-feature .cravate-demo { padding: 0; }
.cravate-feature .cravate-demo h3 { font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1.06; letter-spacing: -.045em; }
.cravate-feature .demo-note { color: var(--cr-dim); }
.cravate-feature .cravate-demo legend,
.cravate-feature .demo-constraints label { color: var(--cr-text); font-weight: 600; }
.cravate-feature .demo-choices {
  width: auto; gap: 8px; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none;
}
.cravate-feature .demo-choices span {
  min-height: 44px; border: 1px solid var(--cr-line); border-radius: 999px;
  background: var(--cr-surface); color: var(--cr-text);
}
.cravate-feature .demo-choices input:checked + span { background: var(--cr-amber); border-color: var(--cr-amber); color: #1d1915; }
.cravate-feature .demo-choices input:focus-visible + span { outline-color: var(--cr-amber); }
.cravate-feature .demo-constraints select {
  min-height: 50px; padding: 10px 14px; border: 1px solid var(--cr-line);
  border-radius: 12px; background: var(--cr-surface-2); color: var(--cr-text);
  color-scheme: dark;
}
.cravate-feature .demo-submit {
  min-height: 58px; align-items: center; border-radius: 14px;
  background: var(--cr-amber); color: #1d1915; font-weight: 700;
}
.cravate-feature .demo-submit:hover { background: #ffc06b; }
.cravate-feature .demo-result { border-color: var(--cr-line); }
.cravate-feature .demo-result .text-link { color: var(--cr-amber); }

/* The diary toolbar sits on the dark page; its controls must not inherit a white masthead. */
.diary-page .diary-toolbar {
  top: 88px; background: #1b1f1c; border-color: #444a43;
  box-shadow: 0 12px 28px #0004;
}
.diary-page .diary-projects button, .diary-page .diary-view button {
  color: #e6e9e2; border-color: #5d655c; background: #262b27;
}
.diary-page .diary-projects button[aria-pressed=true],
.diary-page .diary-view button[aria-pressed=true] { color: #172019; border-color: #f1f1ec; background: #f1f1ec; }
.diary-page .diary-search span { color: #c9cec5; }
.diary-page .diary-search input { color: #f1f1ec; border-color: #5d655c; background: #262b27; }
.diary-page .diary-search input::placeholder { color: #afb7ac; }
.diary-page .diary-hero-actions { flex-wrap: wrap; }
.diary-page .diary-hero-actions .button { min-height: 48px; }
.gcse-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gcse-hero-actions .button { margin: 0; }

@media print {
  .site-header, .archive-controls, .listing-jumps { display: none !important; }
  .archive-layout { grid-template-columns: 1fr 1fr; }
  .archive-product { break-inside: avoid; }
}

/* A single, quiet opening pattern for the secondary pages. The work itself
   supplies the right-hand image; the CV and research archive keep their own
   document-first layouts. */
.standard-intro .intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}
.standard-intro .intro-copy { min-width: 0; }
.standard-intro h1 { max-width: 13ch; margin: 18px 0 28px; }
.standard-intro .section-intro { max-width: 42ch; }
.intro-routes { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; }
.intro-routes a {
  min-height: 44px; display: inline-flex; align-items: center;
  color: var(--ink); font-size: 13px; text-decoration: underline;
  text-decoration-color: var(--muted); text-underline-offset: 7px;
}
.intro-routes a:hover { text-decoration-color: currentColor; }
.intro-visual { min-width: 0; margin: 0; }
.intro-visual > img, .intro-product-pair {
  display: block; width: 100%; height: clamp(360px, 40vw, 520px);
  object-fit: contain; background: #e8e8e5;
}
.intro-visual--cano > img { background: #bdbdbd; }
.intro-visual--app > img { background: #f6f3ed; }
.intro-visual--portrait > img { background: #fff; object-fit: cover; object-position: right center; }
.personal-collage figure:first-child img {
  height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: center bottom;
}
.grade-subject small {
  display: block; margin-top: 4px; color: var(--muted); font-size: 10px;
  font-weight: 400; letter-spacing: .025em;
}
.grade-row .grade { align-self: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.intro-product-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.intro-product-pair img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.intro-visual figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px;
  color: var(--muted); font-size: 12px; line-height: 1.5;
}
.intro-visual figcaption span:first-child { color: var(--ink); }
.site-header .nav a.is-section { background: #18251b0d; }
.detail-page .reading-progress, .full-cv-page .reading-progress,
.catalogue-page .reading-progress { display: block; height: 2px; z-index: 80; }
.detail-page .reading-progress span, .full-cv-page .reading-progress span,
.catalogue-page .reading-progress span { background: #e9ebe5; }
.contact-tools { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }
.contact-tools button {
  min-height: 44px; padding: 0; color: inherit; background: transparent;
  border: 0; cursor: pointer; font-size: 13px;
  text-decoration: underline; text-underline-offset: 6px;
}
.contact-section {
  --on-accent: #f1f1ec;
  --accent: #f1f1ec;
  background: #1c1d1c;
  color: #f1f1ec;
  border-top: 1px solid #41443f;
}
.contact-section .eyebrow, .contact-side p { color: #c1c4bc; }
.contact-section h2 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(40px, 6vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.contact-section h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.contact-section .button { border-color: #696d66; color: #f1f1ec; border-radius: 3px; }
.contact-section .button:hover { background: #f1f1ec; border-color: #f1f1ec; color: #1c1d1c; }
.contact-section .footer { border-color: #484b46; color: #c1c4bc; }
.diary-page .contact-section { padding-top: 0; }
@media (max-width: 760px) {
  .featured-project { grid-template-columns: 1fr; gap: 26px; }
  .featured-project--reverse { grid-template-columns: 1fr; }
  .featured-project--reverse .work-card,
  .featured-project--reverse .home-project-note { order: initial; }
  .featured-project + .featured-project { margin-top: 54px; padding-top: 54px; }
  .standard-intro .intro-layout { grid-template-columns: 1fr; gap: 32px; }
  .standard-intro h1 { max-width: 16ch; }
  .intro-visual > img, .intro-product-pair { height: min(105vw, 460px); }
  .intro-visual--portrait > img { height: min(105vw, 460px); }
  .editorial-home .hero-copy { padding-top: 16px; }
  .editorial-home .hero .eyebrow { margin-bottom: 18px; }
  .editorial-home .hero h1 { min-height: 1.98em; }
  .personal-collage figure:first-child img { height: auto; aspect-ratio: 5 / 6; }
}
@media print {
  .reading-progress, .contact-tools { display: none !important; }
  .standard-intro .intro-layout { grid-template-columns: 1fr 1fr; }
  .contact-section { background: #fff !important; color: #000 !important; border-color: #aaa; }
  .contact-section .eyebrow, .contact-section .contact-side p,
  .contact-section .footer { color: #000 !important; }
}
