/* Homepage art direction. Re-enter the existing important theme layer so a
   saved alternate theme cannot repaint this page's gallery surfaces. The
   repeated root class gives these scoped rules priority over its broad skins. */
@layer dnSignalBrand {
  html.gallery-home.gallery-home {
    --gallery-charcoal: #151515 !important;
    --gallery-ivory: #f4f1ea !important;
    --gallery-champagne: #b79b6f !important;
    --gallery-text: #f4f1ea !important;
    --gallery-muted: #c2bcb1 !important;
    --gallery-rule: #f4f1ea2e !important;
    --gallery-emphasis: #b79b6f !important;
    --dark: #151515 !important;
    --ink: #151515 !important;
    --cream: #f4f1ea !important;
    --gold: #b79b6f !important;
    --muted: #c2bcb1 !important;
    --line: #f4f1ea2e !important;
    --serif: "Cormorant Garamond", Georgia, serif !important;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    --dn-brand-carbon: #151515 !important;
    --dn-brand-graphite: #202020 !important;
    --dn-brand-paper: #f4f1ea !important;
    --dn-brand-steel: #817b71 !important;
    --dn-brand-signal: #b79b6f !important;
    --dn-brand-display: "Cormorant Garamond", Georgia, serif !important;
    --dn-brand-system: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    --dn-brand-machine: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    color-scheme: dark !important;
    scroll-padding-top: 100px !important;
  }

  html.gallery-home.gallery-home body {
    margin: 0 !important;
    background: var(--gallery-charcoal) !important;
    color: var(--gallery-text) !important;
    font-family: var(--sans) !important;
    font-weight: 400 !important;
    text-rendering: optimizeLegibility !important;
  }
  html.gallery-home.gallery-home body :is(.dark, .hero, .home-footer, .home-footer-tools, #about, #contact) {
    --gallery-text: #f4f1ea !important;
    --gallery-muted: #c2bcb1 !important;
    --gallery-rule: #f4f1ea2e !important;
    --gallery-emphasis: #b79b6f !important;
    background-color: var(--gallery-charcoal) !important;
    background-image: none !important;
    color: var(--gallery-text) !important;
  }
  html.gallery-home.gallery-home body :is(.light, .portfolio, .article-dialog, .director-panel) {
    --gallery-text: #151515 !important;
    --gallery-muted: #656058 !important;
    --gallery-rule: #15151529 !important;
    --gallery-emphasis: #79613c !important;
    color-scheme: light !important;
    background-color: var(--gallery-ivory) !important;
    background-image: none !important;
    color: var(--gallery-text) !important;
  }
  html.gallery-home.gallery-home body :is(h1, h2, h3, h4, .ex-destination-title, .ribbon-title) {
    font-family: var(--serif) !important;
    font-weight: 400 !important;
    font-stretch: normal !important;
    text-transform: none !important;
    letter-spacing: -.035em !important;
    text-shadow: none !important;
  }
  html.gallery-home.gallery-home body :is(h1, h2, h3, h4) :is(span, em, strong) {
    font-family: inherit !important;
    font-weight: inherit !important;
    text-transform: none !important;
    text-shadow: none !important;
  }
  html.gallery-home.gallery-home body :is(h1, h2, h3, h4) em {
    font-style: italic !important;
    color: var(--gallery-emphasis) !important;
  }
  html.gallery-home.gallery-home body :is(p, li, dd, label, input, select, textarea) {
    font-family: var(--sans) !important;
  }
  html.gallery-home.gallery-home body :is(.eyebrow, .journal-meta, .ribbon-meta, .journal-timeline, .hero-bottom, .ex-destination-index) {
    font-family: var(--sans) !important;
    font-weight: 500 !important;
    letter-spacing: .105em !important;
    text-shadow: none !important;
  }
  html.gallery-home.gallery-home body :is(.hero-copy > p, .about-copy p, .perspective-details p, .contact-bottom p) {
    color: var(--gallery-muted) !important;
    text-shadow: none !important;
  }
  html.gallery-home.gallery-home body :is(main > section, .section-kicker, .section-heading, .journal-entry, .header, .footer) {
    outline: none !important;
    border-color: var(--gallery-rule) !important;
    box-shadow: none !important;
  }

  /* Solid, quiet navigation; optional tools live in the separate drawer. */
  html.gallery-home.gallery-home body :is(.header, .header.scrolled) {
    min-height: 64px !important;
    padding: 8px 20px !important;
    border: 1px solid #f4f1ea2e !important;
    border-radius: 8px !important;
    background: #151515 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #f4f1ea !important;
    gap: 20px !important;
  }
  html.gallery-home.gallery-home .header .wordmark {
    font-family: var(--sans) !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    color: #f4f1ea !important;
    flex-shrink: 0 !important;
  }
  html.gallery-home.gallery-home .header :is(.home-resume-link, .home-portfolio-link) {
    color: #f4f1ea !important;
    font-family: var(--sans) !important;
  }
  html.gallery-home.gallery-home .brand-dot { color: var(--gallery-champagne) !important; }

  html.gallery-home.gallery-home body :is(
    a.button, a.home-discover-link, .home-portfolio-collections > summary,
    .journal-wayfinding button, .copy-email,
    .contact-arrow, .doc-controls button, .docnil-artwork-disclosure > summary
  ) {
    --gd-control-radius: 8px !important;
    --gd-glass-fill: transparent !important;
    --gd-glass-shadow: none !important;
    min-height: 44px !important;
    border: 1px solid var(--gallery-rule) !important;
    border-radius: 8px !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--gallery-text) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    font-family: var(--sans) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    letter-spacing: .005em !important;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease !important;
  }
  html.gallery-home.gallery-home body :is(a.button-light, .journal-wayfinding button.active, .journal-wayfinding button[aria-pressed="true"]) {
    background: var(--gallery-champagne) !important;
    color: #151515 !important;
    border-color: var(--gallery-champagne) !important;
  }
  html.gallery-home.gallery-home body :is(a, button, input, summary):focus-visible {
    outline: 2px solid var(--gallery-emphasis) !important;
    outline-offset: 4px !important;
  }
  html.gallery-home.gallery-home body :is(.text-link, .hero-work-link, .home-contact-links a, .email-link, .lf-biography-links a) {
    color: var(--gallery-text) !important;
    border-color: var(--gallery-rule) !important;
    text-shadow: none !important;
    font-family: var(--sans) !important;
  }

  /* The opening retains its sculpture and two destinations, with clear labels
     labels beneath each image rather than lettering cast across a photograph. */
  html.gallery-home.gallery-home .hero-top {
    color: var(--gallery-muted) !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
  }
  html.gallery-home.gallery-home .hero-copy > p { font-size: 15px !important; line-height: 1.6 !important; max-width: 39ch !important; }
  html.gallery-home.gallery-home .hero-copy .title-italic { color: var(--gallery-champagne) !important; }
  html.gallery-home.gallery-home .ex-destinations { gap: 14px !important; }
  html.gallery-home.gallery-home .ex-destination {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 82px auto auto !important;
    align-content: start !important;
    align-items: start !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    min-height: 0 !important;
    padding: 0 14px 13px !important;
    border: 1px solid #f4f1ea38 !important;
    border-radius: 8px !important;
    background: #202020 !important;
    box-shadow: none !important;
  }
  html.gallery-home.gallery-home .ex-destination::before { display: none !important; }
  html.gallery-home.gallery-home .ex-destination-art {
    position: relative !important;
    z-index: 0 !important;
    inset: auto !important;
    grid-row: 1 !important;
    width: calc(100% + 28px) !important;
    max-width: none !important;
    height: 82px !important;
    margin-inline: -14px !important;
    object-fit: cover !important;
    object-position: 50% 35% !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  html.gallery-home.gallery-home .ex-destination--resume .ex-destination-art { object-position: 50% 18% !important; }
  html.gallery-home.gallery-home .ex-destination-index {
    display: block !important;
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    background: #151515 !important;
    color: #f4f1ea !important;
    font-size: 8px !important;
    line-height: 1.4 !important;
    letter-spacing: .065em !important;
  }
  html.gallery-home.gallery-home .ex-destination-title {
    grid-row: 2 !important;
    margin: 12px 26px 4px 0 !important;
    color: #f4f1ea !important;
    font-size: clamp(27px, 2.3vw, 34px) !important;
    line-height: 1 !important;
  }
  html.gallery-home.gallery-home .ex-destination-caption {
    grid-row: 3 !important;
    min-height: 2.8em !important;
    color: #c2bcb1 !important;
    font: 12px/1.4 var(--sans) !important;
  }
  html.gallery-home.gallery-home .ex-destination-arrow {
    top: 94px !important;
    right: 12px !important;
    width: 24px !important;
    border: 0 !important;
    background: none !important;
    color: var(--gallery-champagne) !important;
    font-size: 18px !important;
  }

  /* Neutral gallery rooms support the authored 3D ribbon and card movement. */
  html.gallery-home.gallery-home .portfolio-ribbon-track { background: var(--gallery-ivory) !important; }
  html.gallery-home.gallery-home .portfolio-ribbon-pin {
    --ribbon-bg: #f4f1ea !important;
    color: #151515 !important;
  }
  html.gallery-home.gallery-home .portfolio-ribbon-pin::before {
    border-radius: 8px !important;
    background: #eae6dd !important;
    border-color: #15151520 !important;
  }
  html.gallery-home.gallery-home .portfolio-ribbon-pin::after {
    border-radius: 0 0 8px 8px !important;
    background: linear-gradient(transparent, #f4f1eabf 66%, #f4f1ea) !important;
  }
  html.gallery-home.gallery-home .ribbon-meta {
    color: #656058 !important;
    text-shadow: none !important;
  }
  html.gallery-home.gallery-home .ribbon-title h3 { color: #151515 !important; text-shadow: none !important; }
  html.gallery-home.gallery-home .ribbon-title h3 em { color: #79613c !important; }
  html.gallery-home.gallery-home .journal-project-link {
    display: block;
    color: #151515 !important;
    text-decoration: none;
  }
  html.gallery-home.gallery-home .portfolio .journal-cover {
    aspect-ratio: 4 / 3 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border: 1px solid #15151526 !important;
    border-radius: 8px !important;
    background: #202020 !important;
    filter: none !important;
    box-shadow: none !important;
  }
  /* Leave opacity, depth and transform on rotating layers to the scroll renderer. */
  html.gallery-home.gallery-home .portfolio .journal-cover .portfolio-cover-image:not(.home-media-layer) {
    inset: 0 0 auto !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 38% !important;
    filter: none !important;
    background: #eae6dd !important;
    mix-blend-mode: normal !important;
    z-index: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html.gallery-home.gallery-home .portfolio .journal-cover[data-home-media="logos"] .portfolio-cover-image:not(.home-media-layer) {
    object-fit: contain !important;
  }
  html.gallery-home.gallery-home .portfolio .journal-cover::after { display: none !important; }
  html.gallery-home.gallery-home .journal-project-link h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    margin: 6px 0 0 !important;
    font-size: clamp(27px, 3vw, 39px) !important;
    line-height: 1.06 !important;
  }
  html.gallery-home.gallery-home .journal-project-link h3 > span {
    color: #79613c;
    font: 400 .65em/1 var(--sans);
  }
  html.gallery-home.gallery-home .journal-project-link:is(:hover, :focus-visible) h3 {
    text-decoration: underline;
    text-underline-offset: .15em;
  }
  html.gallery-home.gallery-home .journal-case-link { min-height: 44px !important; font-size: 13px !important; }
  html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-wayfinding {
    gap: 8px !important;
    margin: 0 0 clamp(12px, 2.4svh, 22px) !important;
  }
  html.gallery-home.gallery-home .journal-wayfinding button {
    justify-content: center;
    padding: 8px !important;
    text-align: center;
  }

  /* Remove decorative veils and giant watermarks, never the actual artworks. */
  html.gallery-home.gallery-home :is(.world-frame, .hero-glow, .static-monogram, .contact-watermark, .journal-orbit-lines) { display: none !important; }
  html.gallery-home.gallery-home :is(.hero, #about, #contact)::after { background-image: none !important; }
  html.gallery-home.gallery-home .website-library-thanks {
    background: #151515 !important;
    color: #f4f1ea !important;
  }
  html.gallery-home.gallery-home .website-library-thanks .thanks-note { color: #c2bcb1 !important; }
  html.gallery-home.gallery-home .website-library-thanks h2 { font-weight: 300 !important; letter-spacing: -.02em !important; }
  html.gallery-home.gallery-home .website-library-thanks .thanks-note { font-family: var(--serif) !important; font-style: italic !important; }
  html.gallery-home.gallery-home .home-footer-tools { border-color: #f4f1ea2e !important; color: #c2bcb1 !important; }
  html.gallery-home.gallery-home .footer { border-top: 1px solid #f4f1ea2e !important; }
  html.gallery-home.gallery-home #about.luxury-about {
    --lf-ivory: #f4f1ea !important;
    --lf-gold: #b79b6f !important;
    --lf-muted: #c2bcb1 !important;
  }
  html.gallery-home.gallery-home #about.luxury-about canvas[data-lf-canvas] {
    filter: grayscale(1) !important;
  }
  html.gallery-home.gallery-home .experience-group h3 {
    font-family: var(--sans) !important;
    font-weight: 500 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }
  html.gallery-home:not([data-gallery-scene="home"]) #hero-art { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

  html.gallery-home [data-core-fx-cursor-root] { display: none !important; }
  html.gallery-home:not(.gallery-game-active)[data-core-fx-pointer="on"],
  html.gallery-home:not(.gallery-game-active)[data-core-fx-pointer="on"] * { cursor: revert !important; }

  @media (hover: hover) and (pointer: fine) {
    html.gallery-home.gallery-home body :is(a.button, a.home-discover-link, .home-portfolio-collections > summary, .journal-wayfinding button, .copy-email):hover {
      border-color: var(--gallery-emphasis) !important;
      box-shadow: none !important;
    }
    html.gallery-home.gallery-home .ex-destination:hover { border-color: #b79b6f !important; }
  }

  @media (max-width: 760px) {
    html.gallery-home.gallery-home { --gutter: 20px !important; scroll-padding-top: 88px !important; }
    html.gallery-home.gallery-home body :is(.header, .header.scrolled) {
      left: 12px !important;
      right: 12px !important;
      min-height: 58px !important;
      padding: 6px 12px !important;
      gap: 12px !important;
    }
    html.gallery-home.gallery-home .header .wordmark { font-size: 15px !important; }
    html.gallery-home.gallery-home .home-header-links { gap: 12px !important; min-width: 0 !important; }
    html.gallery-home.gallery-home .header :is(.home-resume-link, .home-portfolio-link, .home-discover-link) { font-size: 11px !important; gap: 5px !important; }
    html.gallery-home.gallery-home .home-discover-link { padding-inline: 10px !important; }
    html.gallery-home.gallery-home #home .hero-with-destinations { padding-top: 100px !important; }
    html.gallery-home.gallery-home #home .hero-copy { margin-top: 12px !important; }
    html.gallery-home.gallery-home #home .hero-copy h1 { font-size: clamp(49px, 12.5vw, 83px) !important; }
    html.gallery-home.gallery-home .hero-top { font-size: 8px !important; letter-spacing: .08em !important; }
    html.gallery-home.gallery-home .hero-copy > p { font-size: 13px !important; line-height: 1.5 !important; }
    html.gallery-home.gallery-home .ex-destinations { gap: 10px !important; }
    html.gallery-home.gallery-home .ex-destination { grid-template-rows: 70px auto auto !important; padding-inline: 11px !important; padding-bottom: 11px !important; }
    html.gallery-home.gallery-home .ex-destination-art { width: calc(100% + 22px) !important; height: 70px !important; margin-inline: -11px !important; }
    html.gallery-home.gallery-home .ex-destination-index { display: none !important; }
    html.gallery-home.gallery-home .ex-destination-title { margin: 11px 0 4px !important; font-size: 29px !important; }
    html.gallery-home.gallery-home .ex-destination-caption { font-size: 11px !important; line-height: 1.4 !important; min-height: 4.2em !important; }
    html.gallery-home.gallery-home .ex-destination-arrow { top: 8px !important; right: 8px !important; width: 25px !important; background: #111310d9 !important; border-radius: 50% !important; font-size: 15px !important; }
    html.gallery-home.gallery-home #home .hero-actions { flex-wrap: wrap !important; gap: 8px 16px !important; margin-top: 16px !important; }
    html.gallery-home.gallery-home #home .hero-actions :is(.button, .hero-work-link) { min-height: 44px !important; font-size: 12px !important; }
    html.gallery-home.gallery-home .hero-bottom { font-size: 8px !important; line-height: 1.5 !important; }
    html.gallery-home.gallery-home .home-portfolio-entry h2 { font-size: clamp(41px, 10vw, 64px) !important; }
    html.gallery-home.gallery-home .portfolio .journal-entry h3 { font-size: clamp(26px, 7vw, 34px) !important; }
    html.gallery-home.gallery-home .journal-meta { font-size: 9px !important; gap: 10px !important; }
    html.gallery-home.gallery-home .journal-wayfinding button { min-height: 44px !important; padding: 8px 10px !important; font-size: 11px !important; }
    html.gallery-home.gallery-home .gallery-art-caption { margin-top: 10px !important; font-size: 12px !important; gap: 12px !important; }
    html.gallery-home.gallery-home .gallery-art-caption > small { font-size: 8px !important; }
    html.gallery-home.gallery-home #contact.home-contact-compact .contact-content { gap: 22px !important; }
    html.gallery-home.gallery-home #contact.home-contact-compact .home-contact-links { gap: 3px 18px !important; }
    html.gallery-home.gallery-home .website-library-thanks .thanks-note { font-size: 18px !important; line-height: 1.45 !important; }
  }

  @media (max-width: 380px) {
    html.gallery-home.gallery-home { --gutter: 18px !important; }
    html.gallery-home.gallery-home body :is(.header, .header.scrolled) { padding-inline: 9px !important; gap: 8px !important; }
    html.gallery-home.gallery-home .header .wordmark { font-size: 13px !important; }
    html.gallery-home.gallery-home .home-header-links { gap: 8px !important; }
    html.gallery-home.gallery-home .header :is(.home-resume-link, .home-portfolio-link, .home-discover-link) { font-size: 10px !important; }
    html.gallery-home.gallery-home .home-discover-link { padding-inline: 7px !important; }
    html.gallery-home.gallery-home .home-discover-link > span { display: none !important; }
    html.gallery-home.gallery-home #home .hero-copy h1 { font-size: 45px !important; }
    html.gallery-home.gallery-home .ex-destination-title { font-size: 26px !important; }
    html.gallery-home.gallery-home .ex-destination-arrow { right: 7px !important; }
    html.gallery-home.gallery-home #home .hero-actions { gap: 8px 11px !important; }
    html.gallery-home.gallery-home #home .hero-actions .button { gap: 8px !important; padding-inline: 12px !important; }
    html.gallery-home.gallery-home #home .hero-actions .hero-work-link { font-size: 11px !important; gap: 6px !important; }
    html.gallery-home.gallery-home .journal-wayfinding button { padding-inline: 8px !important; font-size: 10px !important; }
  }

  @media (max-width: 760px) and (min-height: 481px) {
    html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-entry { display: block !important; }
    html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-cover { height: clamp(165px, 28svh, 245px) !important; }
  }
  @media (max-width: 760px) and (max-height: 640px) and (min-height: 481px) {
    html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-cover { height: clamp(96px, 18svh, 110px) !important; }
    html.gallery-home.gallery-home .portfolio .journal-entry h3 { font-size: 24px !important; }
    html.gallery-home.gallery-home .journal-wayfinding button { font-size: 10px !important; line-height: 1.25 !important; }
  }
  html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-entry[hidden] { display: none !important; }
  html.gallery-home [hidden] { display: none !important; }
  @media (max-height: 480px) {
    html.gallery-home.gallery-home #home .hero-with-destinations { padding-top: 88px !important; }
    html.gallery-home.gallery-home #home .hero-copy h1 { font-size: 44px !important; }
    html.gallery-home.gallery-home .ex-destination { grid-template-rows: 45px auto auto !important; }
    html.gallery-home.gallery-home .ex-destination-art { height: 45px !important; }
    html.gallery-home.gallery-home .ex-destination-arrow { top: 55px !important; }
    html.gallery-home.gallery-home .ex-destination-caption { min-height: 2.8em !important; }
  }

  /* Short phones read the whole opening naturally rather than squeezing
     destinations, actions and the colophon into a pinned viewport. */
  @media (max-width: 760px) and (max-height: 700px) {
    html.gallery-home.gallery-home.scroll-cinema .intro-track { height: auto !important; }
    html.gallery-home.gallery-home.scroll-cinema .hero {
      position: relative !important;
      height: auto !important;
      min-height: 0 !important;
      overflow: clip !important;
      padding-bottom: 36px !important;
    }
    html.gallery-home.gallery-home #home .hero-actions {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 10px !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-right: 115px !important;
    }
    html.gallery-home.gallery-home #home .hero-actions :is(.button, .hero-work-link) { min-height: 44px !important; }
    html.gallery-home.gallery-home.scroll-cinema .hero-bottom {
      position: relative !important;
      inset: auto !important;
      width: 100% !important;
      margin-top: 28px !important;
      padding: 22px 0 !important;
    }
    html.gallery-home.gallery-home.scroll-cinema .hero-bridge {
      position: relative !important;
      inset: auto !important;
      display: block !important;
      max-width: 100% !important;
      margin: 64px 0 20px !important;
    }
    html.gallery-home.gallery-home.scroll-cinema .hero-bridge h2 { font-size: clamp(40px, 10vw, 48px) !important; line-height: 1.04 !important; }
  }

  @media (prefers-reduced-motion: reduce) {
    html.gallery-home.gallery-home body :is(a.button, .ex-destination, .home-portfolio-collections > summary, .journal-wayfinding button) { transition: none !important; }
  }
  @media (forced-colors: active) {
    html.gallery-home.gallery-home body :is(.dark, .light, .hero, .portfolio, #about, #contact, .header, .footer, .website-library-thanks) { background: Canvas !important; color: CanvasText !important; }
    html.gallery-home.gallery-home body :is(a.button, a.home-discover-link, .home-portfolio-choices a, .ribbon-jumps a, .journal-wayfinding button, .copy-email) { background: ButtonFace !important; color: ButtonText !important; border-color: ButtonText !important; }
    html.gallery-home.gallery-home .ex-destination { background: Canvas !important; border-color: LinkText !important; }
    html.gallery-home.gallery-home .ex-destination :is(.ex-destination-title, .ex-destination-caption, .ex-destination-arrow) { color: LinkText !important; }
  }
}

/* The fixed preferences launcher owns a reserved utility strip on phones. */
@layer dnSignalBrand {
  @media (max-width: 760px) {
    html.gallery-home.gallery-home.scroll-cinema .portfolio-story .journal-pin {
      padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    }
    html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-grid {
      min-height: 0 !important;
      flex-shrink: 1 !important;
    }
  }
}

@layer dnSignalBrand {
  @media (max-width: 760px) and (max-height: 480px) {
    html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-entry {
      display: block !important;
    }
    html.gallery-home.gallery-home.scroll-cinema .journal-project-link {
      display: grid !important;
      grid-template-columns: minmax(0, .38fr) minmax(0, .62fr);
      gap: 12px;
      align-items: center;
    }
    html.gallery-home.gallery-home.scroll-cinema .portfolio .journal-cover {
      height: clamp(54px, calc(100svh - 292px), 124px) !important;
    }
    html.gallery-home.gallery-home.scroll-cinema .journal-entry h3 {
      font-size: 22px !important;
      margin: 0 !important;
    }
  }
  @media (max-width: 760px) and (max-height: 430px) {
    html.gallery-home.gallery-home.scroll-cinema .portfolio-story .journal-pin {
      padding-top: 80px !important;
      padding-bottom: 76px !important;
    }
  }
}
