/* Match the standalone prototype defaults before its component styles. */
body.sha-homepage-review { line-height:normal; }
.sha-homepage-review h1, .sha-homepage-review h2, .sha-homepage-review h4 { font-family:inherit; }
.sha-homepage-review .menu-groups h4, .sha-homepage-review .foot h4 { line-height:normal; }

  @font-face { font-family: "Fact"; src: url("/wp-content/themes/sha-theme/assets/homepage-review/fonts/fact_light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
  @font-face { font-family: "Fact"; src: url("/wp-content/themes/sha-theme/assets/homepage-review/fonts/fact_regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Fact"; src: url("/wp-content/themes/sha-theme/assets/homepage-review/fonts/fact_medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

  :root { --surface: #FAFAF9; --ink: #31312C; --deep: #151513; --muted: #9c9a98; --hair: #d9d7d4; --white: #FFFFFF; --gutter: clamp(20px, 3.2vw, 56px); --ease: cubic-bezier(.22,.61,.36,1); }
  * { box-sizing: border-box; }
  html, body { margin: 0; height: 100%; background: var(--deep); overflow: hidden; overscroll-behavior: none; }
  body { color: var(--white); font-family: "Fact", "Inter", system-ui, sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h4, p, figure { margin: 0; font-weight: inherit; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  img { display: block; user-select: none; -webkit-user-drag: none; }

  /* header: quiet, fixed */
  .hdr { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: clamp(22px, 3vw, 40px) var(--gutter); color: var(--white); transition: color 1s var(--ease); pointer-events: none; }
  .hdr > * { pointer-events: auto; }
  .hdr.on-light { color: var(--ink); }
  .logo { display: block; line-height: 1.02; font-size: clamp(16px, 1.35vw, 20px); letter-spacing: .01em; }
  .logo b { display: block; font-weight: 500; }
  .menu-btn { width: 36px; height: 36px; position: relative; }
  .menu-btn i { position: absolute; left: 4px; right: 4px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
  .menu-btn i:nth-child(1) { top: 10px; } .menu-btn i:nth-child(2) { top: 17px; } .menu-btn i:nth-child(3) { top: 24px; }
  body.menu-open .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open .hdr { color: var(--white); }

  /* progress: one tick per chapter, the active one long, the number rolls */
  .rail-ui { position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--white); transition: color 1s var(--ease); pointer-events: none; }
  .rail-ui .ticks { pointer-events: auto; padding: 8px 0 8px 40px; margin: -8px 0; }
  .rail-ui.on-light { color: var(--ink); }
  .rail-ui .num { height: 14px; overflow: hidden; line-height: 14px; display: flex; gap: 5px; }
  .rail-ui .num .tot { opacity: .5; }
  .ticks { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; transition: gap .5s var(--ease); }
  .ticks i { display: block; width: 8px; height: 1px; background: currentColor; opacity: .35; transition: width .8s var(--ease), opacity .8s; position: relative; cursor: pointer; }
  .ticks i::before { content: ""; position: absolute; left: -12px; right: -12px; top: -6px; bottom: -6px; }   /* a comfortable target */
  .ticks:hover { gap: 12px; }
  .ticks:hover i { width: 16px; opacity: .6; }
  .ticks:hover i.on { width: 30px; opacity: 1; }
  .ticks i:hover { width: 24px; opacity: 1; }
  .ticks i.on:hover { width: 30px; }
  .rail-tip { position: absolute; right: 44px; z-index: 41; transform: translateY(-50%); font-size: 13px; white-space: nowrap; color: inherit; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
  .rail-tip.show { opacity: .9; }
  .ticks i.done { opacity: .7; }
  .ticks i.on { width: 22px; opacity: 1; }

  /* menu */
  .menu { position: fixed; inset: 0; z-index: 30; color: var(--white); background: rgba(21,21,19,.95); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; padding: 0 var(--gutter); display: flex; flex-direction: column; justify-content: center; }
  body.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
  .menu-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1416px; }
  .menu-groups h4 { margin: 0 0 20px; font-weight: 400; font-size: 14px; opacity: .55; }
  .menu-groups a { display: block; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.8; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
  body.menu-open .menu-groups a { opacity: 1; transform: none; }
  .menu-groups a:hover { opacity: .6; }
  .menu-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vh, 48px); border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; font-size: 13px; opacity: .7; display: flex; gap: 48px; flex-wrap: wrap; }

  /* deck */
  .deck { position: fixed; inset: 0; overflow: hidden; background: var(--deep); }
  .slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; background: var(--deep); will-change: transform, clip-path; }
  .slide.on { visibility: visible; }
  .veil { position: absolute; inset: 0; background: var(--deep); opacity: 0; pointer-events: none; z-index: 5; }
  .slide.light { background: var(--surface); color: var(--ink); }
  .slide.light .veil { background: var(--surface); }
  /* a high-key photograph: no shadow, ink words placed in the empty white the subject looks toward */
  .slide.highkey .bg::after { display: none; }
  .slide.highkey .bg img { object-position: 50% 62%; }
  .slide.highkey .block { top: clamp(120px, 20vh, 200px); bottom: auto; max-width: 620px; }
  .slide.highkey .body { max-width: 30ch; }

  /* photograph with words on it: a soft foot of shadow only where the words sit */
  .bg { position: absolute; inset: 0; overflow: hidden; }
  .bg img { width: 100%; height: 100%; object-fit: cover; }
  .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 30%, rgba(0,0,0,0) 55%); }
  .block { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(52px, 8vh, 96px); max-width: 1100px; z-index: 3; }
  .statement { font-size: clamp(26px, 3.1vw, 48px); line-height: 1.22; max-width: 30ch; }
  .body { font-size: clamp(17px, 1.6vw, 24px); line-height: 1.45; max-width: 44ch; }
  .quote { font-size: clamp(28px, 3.6vw, 56px); line-height: 1.12; max-width: 22ch; }
  .quote.hang { text-indent: -.46em; }
  .quote.hang .w, .quote.hang .word-tail { text-indent: 0; }   /* the opening quotation mark hangs into the margin so the first letter aligns with the line below */
  .sub { margin-top: 16px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; opacity: .85; }
  .sub .m { opacity: .7; }
  .link { display: inline-block; margin-top: 30px; font-size: 15px; font-weight: 300; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.45); transition: border-color .4s; }
  .link:hover { border-color: currentColor; }
  .light .link { border-color: var(--hair); }
  .light .link:hover { border-color: var(--ink); }
  .cue { position: absolute; right: var(--gutter); bottom: 34px; width: 40px; text-align: center; font-size: 11px; color: var(--white); opacity: 0; z-index: 3; }
  .cue::before { content: ""; display: block; width: 1px; height: 48px; margin: 0 auto 10px; background: currentColor; animation: cue 2.8s var(--ease) infinite; }
  @keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
  .keys { position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--white); opacity: 0; z-index: 3; white-space: nowrap; }
  .keys kbd { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 3px; font: inherit; opacity: .8; }
  .keys .grp { display: flex; gap: 4px; }
  .cue.auto { opacity: .85; }
  .light .cue { color: var(--ink); }
  .light .keys { color: var(--ink); }

  /* project details: a panel that becomes part of the page and pushes the picture aside.
     Type and colours inside follow the live site (root 18px: xs 14, sm 16, md 18, lg 22; foreground #31312C, header-muted #BAB7B8, text-subtle #777). */
  .panel { position: fixed; top: 0; right: 0; bottom: 0; width: 50%; z-index: 45; background: var(--surface); color: #31312C; visibility: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; font-size: 18px; }
  .panel.open { visibility: visible; }
  .panel .inner { padding: clamp(96px, 14vh, 140px) var(--gutter) 88px; max-width: 720px; }
  .pd-title { font-size: 22px; font-weight: 400; letter-spacing: .2px; line-height: 1.2; }
  .pd-facts { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; }
  .pd-fact { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .pd-label { color: #BAB7B8; font-size: 14px; font-weight: 300; letter-spacing: .66px; line-height: 1.3; text-transform: uppercase; }
  .pd-value { color: #31312C; font-size: 16px; font-weight: 300; letter-spacing: .78px; line-height: 1.4; }
  .pd-team { margin-top: 16px; }
  .pd-team .pd-label { letter-spacing: .78px; margin-bottom: 6px; }
  .pd-team-grid { display: grid; gap: 6px 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-team-grid p { font-size: 16px; font-weight: 300; }
  .pd-body { margin-top: 28px; }
  .pd-body p { color: #31312C; font-size: 18px; font-weight: 300; line-height: 1.5; margin: 0 0 20px; }
  .pd-body p:last-child { margin-bottom: 0; }
  .pd-awards { border-top: 1px solid rgba(186,183,184,.25); margin-top: 32px; padding-top: 24px; }
  .pd-awards .pd-label { letter-spacing: .78px; margin-bottom: 16px; }
  .pd-years { display: flex; flex-direction: column; gap: 32px; }
  .pd-year-title { color: #BAB7B8; font-size: 14px; font-weight: 300; line-height: 1.3; margin: 0 0 4px; }
  .pd-items { display: flex; flex-direction: column; gap: 18px; }
  .pd-item-title { color: #31312C; font-size: 16px; font-weight: 300; line-height: 1.3; margin: 0 0 4px; }
  .pd-item-meta { color: #BAB7B8; font-size: 14px; font-weight: 300; }
  .pd-credits { border-top: 1px solid rgba(186,183,184,.25); margin-top: 24px; padding-top: 24px; }
  .pd-credits .pd-label { letter-spacing: .78px; margin-bottom: 16px; }
  .pd-credits-grid { display: flex; flex-direction: column; gap: 12px; }
  .pd-credit { display: flex; gap: 16px; font-size: 16px; font-weight: 300; }
  .pd-credit.group { flex-direction: column; gap: 8px; }
  .pd-role { color: #BAB7B8; min-width: 120px; white-space: nowrap; }
  .pd-subs { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; }
  .pd-sub { display: flex; gap: 16px; }
  .pd-sub .pd-role { min-width: 100px; }
  /* about: intro, image, team, as on the live About page */
  .pd-eyebrow { color: #777; font-size: 14px; font-weight: 300; letter-spacing: .6px; line-height: 1.35; margin: 0 0 8px; text-transform: uppercase; }
  .pd-intro-title { color: #31312C; font-size: 22px; font-weight: 400; line-height: 24px; margin: 0 0 24px; }
  .pd-intro p { color: #777; font-size: 18px; font-weight: 300; line-height: 24px; margin: 0 0 24px; }
  .pd-intro p:last-child { margin-bottom: 0; }
  .pd-image { margin: 28px 0 0; }
  .pd-image img { display: block; width: 100%; height: auto; }
  .pd-portrait { margin: 0 0 28px; max-width: 320px; }
  .pd-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 68%; }
  .pd-entry { border-top: 1px solid #bbb; margin-top: 48px; padding-top: 48px; }
  .pd-entry-title { color: #31312C; font-size: 22px; font-weight: 400; line-height: 24px; margin: 0 0 28px; }
  .pd-team-cards { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem) 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-member img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 18px; filter: saturate(0); transition: filter 280ms ease; }
  .pd-member:hover img { filter: saturate(1); }
  .pd-member h3 { color: #31312C; font-size: 18px; font-weight: 300; line-height: 1.3; margin: 0 0 10px; }
  .pd-member p { color: #BAB7B8; font-size: 14px; font-weight: 300; line-height: 1.4; margin: 0 0 6px; }
  .pd-member p:last-child { margin: 0; }
  /* press listing, as on the live About page */
  .press-list { display: flex; flex-direction: column; gap: 32px; }
  .press-item + .press-item { border-top: 1px solid rgba(186,183,184,.25); padding-top: 32px; }
  .press-cover { margin: 0 0 12px; max-width: 50%; }
  .press-cover img { display: block; width: 100%; height: auto; transition: filter 250ms ease; }
  .press-link { display: block; position: relative; text-decoration: none; }
  .press-link:hover img { filter: brightness(.7); }
  .press-icon { align-items: center; color: #fff; display: flex; inset: 0; justify-content: center; opacity: 0; position: absolute; transition: opacity 250ms ease; }
  .press-link:hover .press-icon { opacity: 1; }
  .press-cover.external .press-icon::before { border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; content: ""; height: 18px; transform: translateX(-3px) translateY(3px); width: 18px; }
  .press-cover.external .press-icon::after { border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; content: ""; height: 14px; position: absolute; transform: translateX(-5px) translateY(5px); width: 14px; }
  .press-cover.pdf .press-icon::before { border: 1.5px solid currentColor; border-radius: 50%; content: ""; height: 20px; width: 20px; }
  .press-cover.pdf .press-icon::after { background: currentColor; content: ""; height: 1.5px; position: absolute; transform: translate(10px, 10px) rotate(45deg); width: 10px; }
  .press-pub { color: #31312C; font-size: 18px; font-weight: 400; line-height: 1.3; margin: 0 0 4px; }
  .press-article { color: #31312C; font-size: 16px; font-weight: 300; line-height: 1.3; margin: 0 0 2px; }
  .press-date { color: #BAB7B8; font-size: 14px; font-weight: 300; line-height: 1.3; margin: 0; }
  .panel-close { position: fixed; top: clamp(22px, 3vw, 40px); right: var(--gutter); z-index: 46; width: 36px; height: 36px; color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease); }
  .panel-close i { position: absolute; left: 4px; right: 4px; top: 17px; height: 1.5px; background: currentColor; }
  .panel-close i:nth-child(1) { transform: rotate(45deg); } .panel-close i:nth-child(2) { transform: rotate(-45deg); }
  body.panel-open .panel-close { opacity: 1; visibility: visible; }
  body.panel-open .hdr .menu-btn, body.panel-open .rail-ui, body.menu-open .rail-ui { opacity: 0; transition: opacity .4s; }
  body.menu-open .rail-ui .ticks, body.panel-open .rail-ui .ticks { pointer-events: none; }
  body.panel-open .deck { cursor: pointer; }
  /* the site's PDF viewer, transcribed from the theme */
  .sha-theme-press-viewer { inset: 0; position: fixed; z-index: 1200; }
  .sha-theme-press-viewer[hidden] { display: none; }
  .sha-theme-press-viewer__backdrop { background: rgba(0,0,0,.92); inset: 0; position: absolute; }
  .sha-theme-press-viewer__dialog { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; position: relative; width: 100%; }
  .sha-theme-press-viewer__close { appearance: none; background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 28px; height: 44px; line-height: 1; padding: 0; position: fixed; right: 24px; top: 24px; width: 44px; z-index: 1210; }
  .sha-theme-press-viewer__close::before { content: "\00d7"; font-weight: 300; }
  .sha-theme-press-viewer__close:hover { opacity: .7; }
  .sha-theme-press-viewer__spinner { border: 2px solid rgba(255,255,255,.2); border-radius: 50%; border-top-color: #fff; display: none; height: 32px; position: absolute; width: 32px; }
  .sha-theme-press-viewer.is-loading .sha-theme-press-viewer__spinner { animation: sha-theme-spin .8s linear infinite; display: block; }
  @keyframes sha-theme-spin { to { transform: rotate(360deg); } }
  .sha-theme-press-viewer__canvas-wrap { -webkit-overflow-scrolling: touch; align-items: center; display: flex; flex-direction: column; gap: 4px; height: 100%; overflow: auto; padding: 60px 24px 80px; width: 100%; }
  .sha-theme-press-viewer__canvas-wrap canvas { display: block; max-width: 100%; }
  .sha-theme-press-viewer__controls { align-items: center; background: rgba(0,0,0,.6); border-radius: 8px; bottom: 20px; display: flex; gap: 24px; justify-content: center; left: 50%; padding: 8px 20px; position: fixed; transform: translateX(-50%); z-index: 1210; }
  .sha-theme-press-viewer__nav { align-items: center; display: flex; gap: 12px; }
  .sha-theme-press-viewer__page-info { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 300; min-width: 50px; text-align: center; }
  .sha-theme-press-viewer__prev, .sha-theme-press-viewer__next, .sha-theme-press-viewer__zoom-out, .sha-theme-press-viewer__zoom-in, .sha-theme-press-viewer__zoom-reset { appearance: none; background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 16px; font-weight: 300; line-height: 1; padding: 4px 8px; }
  .sha-theme-press-viewer__prev:hover, .sha-theme-press-viewer__next:hover, .sha-theme-press-viewer__zoom-out:hover, .sha-theme-press-viewer__zoom-in:hover, .sha-theme-press-viewer__zoom-reset:hover { opacity: .7; }
  .sha-theme-press-viewer__prev:disabled, .sha-theme-press-viewer__next:disabled { opacity: .3; pointer-events: none; }
  .sha-theme-press-viewer__zoom { align-items: center; display: flex; gap: 4px; }
  .sha-theme-press-viewer__zoom-reset { font-size: 13px; min-width: 44px; text-align: center; }
  .sha-theme-press-viewer__hint { align-items: center; appearance: none; background: transparent; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 12px; opacity: .7; padding: 0; position: fixed; top: 50%; transform: translateY(-50%); transition: opacity .4s ease; z-index: 1210; }
  .sha-theme-press-viewer__hint:hover { opacity: 1; }
  .sha-theme-press-viewer__hint--prev { left: 24px; } .sha-theme-press-viewer__hint--next { right: 24px; }
  .sha-theme-press-viewer__hint-key { align-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; color: rgba(255,255,255,.8); display: flex; font-size: 18px; font-weight: 300; height: 36px; justify-content: center; width: 36px; }
  .sha-theme-press-viewer__hint-label { color: rgba(255,255,255,.5); font-size: 14px; font-weight: 300; letter-spacing: .3px; text-align: center; transition: opacity .4s ease; white-space: nowrap; }
  .sha-theme-press-viewer__hint.is-hidden { opacity: 0; pointer-events: none; }
  .cap .more { margin-top: 22px; font-size: 14px; opacity: .85; }

  /* cards */
  .card .mid { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 1150px; }
  .headline { font-size: clamp(28px, 3.4vw, 54px); line-height: 1.14; max-width: 24ch; }
  .mastheads { margin: 40px 0 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; opacity: .6; max-width: 46ch; }
  .note { display: block; margin-top: 28px; font-size: 15px; opacity: .55; }
  .hint { position: absolute; left: var(--gutter); bottom: 40px; font-size: 14px; opacity: .55; z-index: 3; }
  .lineart { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-46%); width: min(50vw, 860px); height: auto; opacity: .6; pointer-events: none; z-index: 1; --wipe: 0%; -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 14%), transparent var(--wipe)); mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 14%), transparent var(--wipe)); }
  .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
  .w > span { display: inline-block; transform: translateY(112%); }
  .fade { opacity: 0; }

  /* projects: frames with parallax, one shared caption over the picture */
  .frame { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
  .frame.on { visibility: visible; }
  .slide:not(.on) .frame { visibility: hidden; }   /* a frame never shows through a hidden slide */
  .frame img { width: 100%; height: 100%; object-fit: cover; }
  .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 30%, rgba(0,0,0,0) 55%); }
  .frame.text { display: grid; grid-template-columns: 58% 42%; background: var(--surface); color: var(--ink); }
  .frame.text::after { display: none; }
  .frame.text .narrative { padding: 0 var(--gutter); align-self: center; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; max-width: 50ch; }
  .frame.text .narrative p + p { margin-top: 1em; }
  .frame.empty { background: #2a2a27; display: grid; place-items: center; }
  .frame.empty span { font-size: 14px; opacity: .5; }
  .cap { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 200px); bottom: clamp(52px, 8vh, 96px); z-index: 3; transition: opacity .7s var(--ease); }
  .cap .t { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.06; }
  .cap .s { margin-top: 14px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; opacity: .85; }
  .cap .s .m { opacity: .7; }
  .cap .link { margin-top: 22px; }
  .prog { position: absolute; right: var(--gutter); bottom: clamp(52px, 8vh, 96px); z-index: 3; display: flex; align-items: center; gap: 14px; font-size: 13px; font-variant-numeric: tabular-nums; opacity: .9; transition: color .9s var(--ease); }
  .dashes { display: flex; gap: 5px; align-items: center; }
  .dashes i { display: block; width: 10px; height: 1px; background: currentColor; opacity: .35; transition: width .6s var(--ease), opacity .6s; }
  .dashes i.on { width: 26px; opacity: 1; }
  .keys2 { display: flex; gap: 6px; align-items: center; opacity: 0; font-size: 12px; }
  .keys2 kbd { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 3px; font: inherit; opacity: .7; }
  .project.textslide .prog { color: var(--ink); }
  .project.textslide .cap { opacity: 0; }
  .frame.historic img { object-fit: contain; }
  .frame.historic figcaption { position: absolute; top: 100px; left: var(--gutter); right: var(--gutter); padding: 10px 14px; width: fit-content; max-width: calc(100% - 2 * var(--gutter)); background: rgba(0,0,0,.75); color: #fff; font-size: 14px; line-height: 1.5; }

  /* contact */
  #contact { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(96px, 16vh, 160px) var(--gutter) clamp(24px, 4vh, 40px); }
  #contact .details { margin: 28px 0 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; }
  .foot { border-top: 1px solid var(--hair); padding-top: 32px; }
  .foot-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .foot h4 { margin: 0 0 14px; font-weight: 400; font-size: 14px; color: var(--muted); }
  .foot a { display: block; font-size: 14px; line-height: 1.75; }
  .legal { margin-top: 30px; border-top: 1px solid var(--hair); padding-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 40px; flex-wrap: wrap; }

  @media (max-width: 900px) {
    .menu-groups, .foot-groups { grid-template-columns: 1fr 1fr; }
    .frame.text { grid-template-columns: 1fr; grid-template-rows: 52% 48%; }
    .frame.text .narrative { font-size: 13.5px; }
    .cap { right: var(--gutter); bottom: 96px; }
    .slide.highkey .bg img { object-position: 72% 50%; }
    .slide.highkey .block { top: 96px; }
    .prog { bottom: 44px; left: var(--gutter); right: auto; }
    .keys, .keys2 { display: none; }
    .panel { width: 100%; }
    .pd-facts, .pd-team-grid { grid-template-columns: 1fr 1fr; }
    .pd-team-cards { grid-template-columns: 1fr 1fr; }
    .press-cover { max-width: 70%; }
    .sha-theme-press-viewer__canvas-wrap { padding: 52px 12px 72px; }
    .sha-theme-press-viewer__close { right: 12px; top: 12px; }
    .rail-ui { display: flex; right: 14px; font-size: 11px; gap: 10px; }
    .rail-ui .tot { display: none; }
    .rail-ui .ticks { padding: 10px 0 10px 28px; gap: 5px; transition: gap .35s var(--ease); }
    .rail-ui .ticks i { width: 6px; transition: width .35s var(--ease), opacity .35s; }
    .rail-ui .ticks i.on { width: 16px; }
    .rail-ui .ticks:hover { gap: 5px; }
    .rail-ui .ticks:hover i { width: 6px; opacity: .35; }
    .rail-ui .ticks:hover i.on { width: 16px; opacity: 1; }
    .rail-ui.expanded .ticks { gap: 13px; }
    .rail-ui.expanded .ticks i { width: 18px; opacity: .6; }
    .rail-ui.expanded .ticks i.on { width: 34px; opacity: 1; }
    .rail-ui.expanded .rail-tip { right: 52px; font-size: 14px; }
    .rail-ui.expanded .ticks i.scrub { width: 34px; opacity: 1; }
    .lineart { width: 100vw; right: -8vw; top: 16%; transform: none; opacity: .35; }
    #contact { padding-top: 90px; }
    .foot a { font-size: 13px; line-height: 1.6; }
  }

.hero-follow { margin-top:24px; max-width:800px; font-size:clamp(15px,1.4vw,21px); }
#about .block { max-width:700px; }
#about .body + .body { margin-top:20px; }
.about-label { font-size:16px; margin-bottom:20px; }
#contact { overflow-y:auto; overscroll-behavior:contain; gap:60px; }
#contact .foot { flex-shrink:0; padding-bottom:32px; }
.menu { overflow-y:auto; overscroll-behavior:contain; }
.nav-controls { display:none; }
.nav-controls button { width:38px; height:38px; border:1px solid #aaa; border-radius:50%; background:rgba(30,30,28,.8); color:#fff; }
.nav-controls button:focus-visible, a:focus-visible, .ticks i:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
body.menu-open .nav-controls,body.panel-open .nav-controls { display:none; }
@media(max-width:900px) {
 #about .block { top:90px; bottom:85px; overflow:auto; max-width:calc(100% - 60px); }
 #about .body { font-size:16px; line-height:1.5; }
 .hero-follow { font-size:15px; line-height:1.5; }
}

.nav-controls button[hidden] { display:none; }
#hero h1 { margin:0; font-weight:300; }

/* Lift the dark furniture beneath the About copy without washing out the portrait. */
#about .bg::after { display:block; background:radial-gradient(ellipse 90% 100% at bottom left, #fff 0%, rgba(255,255,255,.97) 35%, rgba(255,255,255,.78) 48%, rgba(255,255,255,0) 75%); pointer-events:none; }

/* Keep the final two words together without changing the supplied copy. */
.word-tail { display:inline-block; white-space:nowrap; }
.statement, .headline, .quote, .cap .t { text-wrap:balance; }
.body, .hero-follow, .narrative p { text-wrap:pretty; }
.project.show-key-cues .keys2 { opacity:.7; }
body.horizontal-keys-used .project .keys2 { opacity:0; }

/* Keep the home reset accessible above drawers and the publication viewer. */
body.panel-open .hdr, body.sha-theme-press-viewer-open .hdr { z-index:1300; }
body.sha-theme-press-viewer-open .hdr { color:#fff; }
body.sha-theme-press-viewer-open .hdr .menu-btn { visibility:hidden; }
@media(max-width:900px) { body.panel-open:not(.sha-theme-press-viewer-open) .hdr { color:var(--ink); } }

/* Reveal navigation after the opening text, without a first-paint flash. */
body:not(.intro-ready) .hdr,
body:not(.intro-ready) .rail-ui,
body:not(.intro-ready) .nav-controls,
body:not(.intro-ready) .keys,
body:not(.intro-ready) .keys2,
body:not(.intro-ready) .cue { visibility:hidden; }

/* Illustrations are temporarily hidden at Marius's request. */
#recognition .lineart, #featured .lineart { display:none; }
